Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!ukc!its63b!xsimon From: xsimon@its63b.ed.ac.uk (Simon Brown) Newsgroups: comp.unix.questions Subject: Re: vms vs unix Message-ID: <429@its63b.ed.ac.uk> Date: Sun, 24-May-87 12:07:46 EDT Article-I.D.: its63b.429 Posted: Sun May 24 12:07:46 1987 Date-Received: Tue, 26-May-87 00:44:33 EDT Reply-To: xsimon@its63b.ed.ac.uk (Simon Brown) Organization: Computer Science Department, Edinburgh University Lines: 40 In article <19489@sun.uucp> guy%gorodish@Sun.COM (Guy Harris) writes: > >> 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". Ummm, if it doesn't use termcap/terminfo, then presumably it makes all sorts of unsafe assumptions about how your terminal works - otherwise editing of any kind would be impossible. (Eg, it has to know how to backspace, at the very least, and to edit multiple lines simultaneously it would have to know how to move the cursor up and down). What happens if your terminal uses some character other than \b for backspacing (as specified by a "bc" termcap entry)? [Disclaimer: I've never used ksh very seriously. Perhaps its not possible to edit lots of lines at once - unless you start up a "real" editor] -- ---------------------------------- | Simon Brown | UUCP: seismo!mcvax!ukc!{its63b,cstvax}!simon | Department of Computer Science | JANET: simon@uk.ac.ed.{its63b,cstvax} | University of Edinburgh, | ARPA: simon%{its63b,cstvax}.ed.ac.uk ... | Scotland, UK. | @cs.ucl.ac.uk ---------------------------------- "Life is full of woe, don't you know!" -- ---------------------------------- | Simon Brown | UUCP: seismo!mcvax!ukc!{its63b,cstvax}!simon | Department of Computer Science | JANET: simon@uk.ac.ed.{its63b,cstvax} | University of Edinburgh, | ARPA: simon%{its63b,cstvax}.ed.ac.uk ... | Scotland, UK. | @cs.ucl.ac.uk ---------------------------------- "Life's like that, you know"