Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!oliveb!sun!gorodish!guy From: guy%gorodish@Sun.COM (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: vms vs unix Message-ID: <19489@sun.uucp> Date: Thu, 21-May-87 17:42:48 EDT Article-I.D.: sun.19489 Posted: Thu May 21 17:42:48 1987 Date-Received: Sat, 23-May-87 13:16:17 EDT References: <7494@brl-adm.ARPA> <12970@teknowledge-vaxc.ARPA> Sender: news@sun.uucp Lines: 21 > Ksh is not a standard component of 4bsd/Ultrix, but you can get it, and it > does history editing using your choice of emacs or vi commands (unfortunately > you lose filename completion via ESC, because emacs uses ESC a lot). Well, not really; "ksh" can be tweaked so that, for example, and ^D in EMACS mode do what and ^D do when "filec" is set in the C shell. (In "vi" mode, the problem doesn't exist.) > It uses arrow keys to move fore/backwards in the history list, and is > not tied to vt100s. Unfortunately, those two don't go together, unless you have "ksh" figure out from a "termcap" or "terminfo" entry what the arrow keys are. Since it doesn't use "termcap" or "terminfo", it can't do so; it would either have to have the arrow keys wired in or not use them, and in this case it doesn't use them. In EMACS mode, you use ^N and ^P to move up and down; in "vi" mode, you use "k" and "j". Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com