home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:14891 comp.unix.aix:12786
- Newsgroups: comp.unix.questions,comp.unix.aix
- Path: sparky!uunet!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!torn!newshost.uwo.ca!uwovax.uwo.ca!brent
- From: brent@uwovax.uwo.ca (Brent Sterner)
- Subject: AIX, ksh, and <esc> sequence line editing
- Organization: University of Western Ont, London
- Date: Tue, 22 Dec 1992 19:34:35 GMT
- Message-ID: <1992Dec22.153435.1@uwovax.uwo.ca>
- Sender: news@julian.uwo.ca (USENET News System)
- Nntp-Posting-Host: hydra.uwo.ca
- Lines: 21
-
- Hi there. I'm a beginner at managing an aix system, using ksh as my
- base for learning this platform. Other systems I have access to (including
- several unix (tcsh-based) systems and VMS) provide a mode of line editing
- in which certain escape sequences map into command recall or cursor movement
- within a recalled command line. ksh doesn't seem to let me do this, from
- what I've located in the manuals. (Have I missed something?)
-
- Specifically, I'd like <esc>[A <esc>[B <esc>[C and <esc>[D to
- perform the equivalent of "emacs" style line editing <ctrl-P>, <ctrl-N>,
- <ctrl-F>, and <ctrl-B> respectively. (I'm using an X-station successfully
- at the moment to get at all those other systems; modifying the character
- mapping for my station is not very attractive to me. Obviously I'd prefer
- to do this at the RS/6000 end.)
-
- Here's hoping it is doable. Thanks, and seasons greetings to all. b.
- --
- Brent Sterner AIX System Manager Apprentice
- Fast: <brent@hazzard.engga.uwo.ca>
- Telephone: (519)661-2151 x 6036 Fax: (519)661-3486
- Slow: Computing & Communications Services, Natural Sciences Building
- The University of Western Ontario, London, Ontario, Canada N6A 5B7
-