Path: utzoo!utgpu!watserv1!watmath!att!tut.cis.ohio-state.edu!cs.utexas.edu!rice!sun-spots-request From: guy@auspex.com (Guy Harris) Newsgroups: comp.sys.sun Subject: Re: Miscellaneous questions Keywords: Software Message-ID: <6639@brazos.Rice.edu> Date: 11 Apr 90 18:22:16 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 18 Approved: Sun-Spots@rice.edu X-Refs: Original: v9n118 X-Sun-Spots-Digest: Volume 9, Issue 121, message 1 >3. As a former VMS user, I'm still looking for some way to implement the > up-arrow (command recall) feature in SunOS. By using the "^" and "!" > commands you can get the job done but it doesn't compare in convenience > sometimes when you just want to delete a garbage character you > accidentally threw on to the last command. > >[[Some shells support recall/edit of previous command lines, I _think_ >ksh is one of these. -bdg]] "ksh" is definitely one of them; it has both EMACS-like and "vi"-like editing modes. I think "tcsh", which is distributed in the form of patches to C shell source, is another. "bash", the Bourne-Again Shell, is another as well; it's a GNU program, and is Bourne shell compatible. Another alternative might be Ken Almquist's "atty", which is a user-mode tty driver that offers similar functionality; it runs a pseudo-tty and runs your program in that pseudo-tty. It's available in the "comp.sources.unix" archive.