Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!brutus.cs.uiuc.edu!apple!hercules!hogan From: hogan@csl.sri.com (Emmett Hogan) Newsgroups: comp.unix.questions Subject: Re: Recalling Commands in Unix? Message-ID: Date: 5 Jan 90 01:58:46 GMT References: <5141@blake.acs.washington.edu> <8769.2597362d@ecs.umass.edu> Sender: usenet@csl.sri.com Organization: Computer Science Lab, SRI International, Menlo Park, CA. Lines: 33 In-reply-to: satam@ecs.umass.edu's message of 26 Dec 89 09:13:17 GMT >>>>> On 26 Dec 89 09:13:17 GMT, satam@ecs.umass.edu (Kirtikumar Satam) said: In article <5141@blake.acs.washington.edu>, gnat@blake.acs.washington.edu (Laura Frazier) writes: > Is there any command in Unix comparable to ^B in VMS that will allow me > to recall previous commands instead of typing them repeatedly? > > Are there likewise commands like ^J , ^A, etc., that will edit > commands once I recall them? > 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. -- ------------------------------------------------------------------- Emmett Hogan Computer Science Lab, SRI International Inet: hogan@csl.sri.com UUCP: {ames, decwrl, pyramid, sun}!fernwood!hercules!hogan USMAIL: BN179, 333 Ravenswood Ave, Menlo Park, CA 94025 PacBell: (415)859-3232 (voice), (415)859-2844 (fax) ICBM: 37d 27' 14" North, 122d 10' 52" West -------------------------------------------------------------------