Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!spocm2!root From: root@spocm2.UUCP (System Administrator) Newsgroups: comp.unix.questions Subject: Re: Recalling Commands in Unix? Summary: ksh allows history and command line editing Message-ID: <982@spocm2.UUCP> Date: 8 Jan 90 22:22:16 GMT References: <5141@blake.acs.washington.edu> <8769.2597362d@ecs.umass.edu> Organization: Philips TDS, Stockholm, Sweden Lines: 25 ] Satam> On ULTRIX, a new "csh" is provided. It allows browsing thru' ] Satam> commands like VMS using up-down arrow keys. Once the command is ] Satam> recalled, it can be edited using "vi" like commands i.e. 'x' ] Satam> for delete, 'i' for insert etc. ] ] Satam> But, I am not aware of any other shell on any other UNIX doing ] Satam> such things. ] ] tcsh, available at most of the major FTP sites, provides you with ] command line editing with Emacs commands as well as the arrow keys, ] plus adds ALOT more to basic csh. It can be compiled to work with ] most of the major flavors of Unix and csh. ] ] ------------------------------------------------------------------- And for those of us who dislike the csh syntax, there is the ksh (Korn shell) which gives you a command history plus command line editing (Emacs-style or vi style), while preserving the standard Bourne shell syntax. I first started using it at AT&T many years ago and I have seen it advertised in Byte magazine now and then, but can't recall the name of the company that markets it. Leo Vermeulen Philips TDS, Stockholm, Sweden (..!sunic!spocm2!lhv) -------------------------------------------------------------------