home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / amiga / 2054 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.3 KB  |  29 lines

  1. Newsgroups: comp.unix.amiga
  2. Path: sparky!uunet!usc!cs.utexas.edu!convex!egsner!lerami!ler
  3. From: ler@lerami.lerctr.org (Larry Rosenman)
  4. Subject: Re: Broken term? sag?
  5. Message-ID: <Btu8t1.K50@lerami.lerctr.org>
  6. Date: Mon, 31 Aug 1992 07:58:12 GMT
  7. Distribution: usa
  8. References: <23061@hacgate.SCG.HAC.COM> <BtoK0J.86J@agora.rain.com> <1992Aug28.140829.4440@isc-br.isc-br.com>
  9. Organization: Larry Rosenman's personal SVR4 Box
  10. Lines: 17
  11.  
  12. In article <1992Aug28.140829.4440@isc-br.isc-br.com> ricks@odin.isc-br.com (Rick Schaeffer 99) writes:
  13. >
  14. >I dunno about csh, but ksh *does* do command line editing.  You have to
  15. >do "set -o emacs" in your .profile (or "set -o vi" although I've not tried
  16. >that).  Then control characters are used for the editing.  Control-P recalls
  17. >the previously typed command, Control-B moves back 1 char, Control-F moves
  18. >forward 1 char, Control-D deletes a char, and-so-on.
  19. set -o vi works just fine, thank you.  ESC to get into edit mode, h to move back
  20. l to move forward, j to move down in hist, k to move back up in hist, d to delete
  21. and all the combinations vi loves for editing (dw, et al). 
  22.  
  23. It is a NICE way to edit lines if you like vi. 
  24.  
  25. -- 
  26. Larry Rosenman                            Internet: ler@lerami.lerctr.org
  27. ATT: +1 214-399-0210 (voice)  BIX: ler    UUCP: ..!utacfd.uta.edu!lerami!ler
  28. US Mail: 900 Lake Isle Circle, Irving, TX 75060-7726
  29.