home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / question / 14891 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.7 KB

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