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

  1. Newsgroups: comp.unix.amiga
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!ncar!csn!kbsw1!jose
  3. From: jose@kbsw1 (Jose Sousa 806 9999)
  4. Subject: Re: Broken term? sag?
  5. Message-ID: <1992Aug28.192133.15423@kbsw1>
  6. Date: Fri, 28 Aug 1992 19:21:33 GMT
  7. Distribution: usa
  8. Reply-To: jose@kbsw2.UUCP (Jose Sousa 806 9999)
  9. References: <23061@hacgate.SCG.HAC.COM> <BtoK0J.86J@agora.rain.com> <1992Aug28.140829.4440@isc-br.isc-br.com>
  10. Organization: Kentek Information Systems
  11. Lines: 20
  12.  
  13. In article <1992Aug28.140829.4440@isc-br.isc-br.com> ricks@odin.isc-br.com (Rick Schaeffer 99) writes:
  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. >>>
  20. >
  21. >I dunno about csh, but ksh *does* do command line editing.  You have to
  22. >do "set -o emacs" in your .profile (or "set -o vi" 
  23.  
  24. Ksh uses 'ed' by default.  You can use 'set -o ...' to set the editor ksh uses.
  25. Another way is to set the environment variable EDITOR to your favorite editor.
  26. Thus in your .profile do EDITOR=vi or EDITOR=emacs and export it.  Ksh will
  27. the use the specified editor. 
  28. ( You may need to set EDITOR=/<path_to_editor>/vi )
  29. All this stuff is documented in the ksh man entry.
  30.  
  31. Jose A. Sousa
  32. Kentek Information Systems     jose@kentek.com
  33.