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

  1. Path: sparky!uunet!ogicse!usenet.coe.montana.edu!caen!sol.ctr.columbia.edu!news.columbia.edu!cunixa.cc.columbia.edu!wyk1
  2. From: wyk1@cunixa.cc.columbia.edu (Won Y Kim)
  3. Newsgroups: comp.unix.amiga
  4. Subject: Re: Broken term? sag?
  5. Message-ID: <1992Aug29.202949.13304@news.columbia.edu>
  6. Date: 29 Aug 92 20:29:49 GMT
  7. Article-I.D.: news.1992Aug29.202949.13304
  8. References: <BtMoJL.Lp9@agora.rain.com> <23061@hacgate.SCG.HAC.COM>
  9. Sender: usenet@news.columbia.edu (The Network News)
  10. Reply-To: wyk1@cunixa.cc.columbia.edu (Won Y Kim)
  11. Distribution: usa
  12. Organization: Columbia University
  13. Lines: 36
  14. Nntp-Posting-Host: cunixa.cc.columbia.edu
  15.  
  16. In article <23061@hacgate.SCG.HAC.COM> johnl@SDFSERV.hac.com (John Lee) writes:
  17. >In article <BtMoJL.Lp9@agora.rain.com> chuff@agora.rain.com (Chris Hufnagel) writes:
  18. >>Maybe I'm wrong here, but when I use ksh or csh in Amix I am unable to
  19. >>call the last command with the cursor keys or with an [ESC]J/K combination.
  20. >>All I get are escape codes?  Do I have to set up my ENVironment diffently?
  21. >>If so, how?
  22. >>
  23. >>And how does one get sag to recognize *ANY* term?  I tried sag -T $term
  24. >>$term being vt100,ansi,amiga,xterm etc...to no avail. Is sag broken?
  25. >>Thanks for any info.
  26. >
  27. >I don't think "ksh" and I'm positive that "csh" can't handle command-line
  28. >editing in this fashion (using cursor keys/escape combinations.)  The
  29. >publically-available shell "tcsh" does, however.  I don't think it's
  30. >supplied with Amiga UNIX, but it's available via anonymous FTP somewhere.
  31. >
  32. First of all, hi chuff!
  33.  
  34. Well, Ok,, What is "sag"??
  35. If you guys need command line editing, there is one goo way to enable it
  36.  for ksh, and that is to issue the command "set -o emacs"
  37.  
  38. Then you will get emacs style command line eiting, ^P for the previous cmd, 
  39. ^B for move cursor left etc..
  40.  
  41. One other good thing that this feature has is "^[^[" filenamme completion,
  42. that is hit escape key 2wice with some startiyng chars and ksh wll try
  43.  tomatch it with a filename.
  44.  
  45. Its really useful.
  46.  
  47.                 -hope this helps.
  48. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  49. Won Kim. Programmer ReProgrammer.
  50. "I am the SuperGrunt. The *Orginal* SuperGrunt. Perhaps you have heard of me?"
  51.                         - The Orginal SuperGrunt
  52.