Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!burl!codas!ablnc!latham From: latham@ablnc.UUCP Newsgroups: comp.unix.questions Subject: Re: C-shell on System V shell Message-ID: <347@ablnc.ATT.COM> Date: Wed, 4-Nov-87 11:50:05 EST Article-I.D.: ablnc.347 Posted: Wed Nov 4 11:50:05 1987 Date-Received: Sat, 7-Nov-87 17:16:33 EST References: <195900002@uxc.cso.uiuc.edu> Organization: AT&T, Maitland, Florida Lines: 28 Summary: Use ksh In article <195900002@uxc.cso.uiuc.edu>, arunc@uxc.cso.uiuc.edu writes: > > Does anyone have shell scripts which emulate C-shell functions on the > System V shell? > > In particular, I need the history capability .... > > Arun Chandra (arunc@uxc.cso.uiuc.edu) Get yourself a copy of the Korn shell (ksh). If you have AT&T Sys V r2.1 or later, I believe that you should already have it. If not you could talk to your administrator about getting. ( If you are the Admin, Call AT&T ). Korn shell has history using a very similar interface to 4.2BSD Csh, PLUS the ability to provide a one line vi or emacs window into the history file. The window mode is GREAT! you are allowed forward and backward searches file line editing ( complete with undo! ). As far as Csh programming though, forget it. Csh was never very good as a programming language anyway. Ksh expands shell's programability with defineable variable types, arrays, functions and mathmatical expression calculation. Ken Latham ihnp4!ablnc!latham AT&T UNIX Technical Support