home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / amiga / 2043 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.5 KB

  1. Path: sparky!uunet!olivea!isc-br!odin!ricks
  2. From: ricks@odin.isc-br.com (Rick Schaeffer 99)
  3. Newsgroups: comp.unix.amiga
  4. Subject: Re: Broken term? sag?
  5. Message-ID: <1992Aug28.140829.4440@isc-br.isc-br.com>
  6. Date: 28 Aug 92 14:08:29 GMT
  7. References: <BtMoJL.Lp9@agora.rain.com> <23061@hacgate.SCG.HAC.COM> <BtoK0J.86J@agora.rain.com>
  8. Sender: news@isc-br.isc-br.com (news user)
  9. Distribution: usa
  10. Organization: ISC-Bunker Ramo, An Olivetti Company
  11. Lines: 19
  12. Nntp-Posting-Host: odin.isc-br.com
  13.  
  14. In article <BtoK0J.86J@agora.rain.com> chuff@agora.rain.com (Chris Hufnagel) writes:
  15. >In article <23061@hacgate.SCG.HAC.COM> johnl@SDFSERV.hac.com (John Lee) writes:
  16. >>
  17. >>I don't think "ksh" and I'm positive that "csh" can't handle command-line
  18. >>editing in this fashion (using cursor keys/escape combinations.)  The
  19. >>publically-available shell "tcsh" does, however.  I don't think it's
  20. >>supplied with Amiga UNIX, but it's available via anonymous FTP somewhere.
  21. >>
  22.  
  23. I dunno about csh, but ksh *does* do command line editing.  You have to
  24. do "set -o emacs" in your .profile (or "set -o vi" although I've not tried
  25. that).  Then control characters are used for the editing.  Control-P recalls
  26. the previously typed command, Control-B moves back 1 char, Control-F moves
  27. forward 1 char, Control-D deletes a char, and-so-on.
  28. --
  29. Rick Schaeffer          UUCP:  uunet!isc-br.isc-br.com!ricks
  30. ISC-Bunker Ramo                ricks@isc-br.isc-br.com
  31. Box TAF-C8              Phone: (509)927-5114
  32. Spokane, WA  99220      Home:  (509)928-3533
  33.