home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aix / 13728 < prev    next >
Encoding:
Text File  |  1993-01-26  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!scifi!watson!xanadu.btv.ibm.com!lpickup
  3. From: lpickup@xanadu.btv.ibm.com (Lance Pickup)
  4. Subject: Re: AIX Function Equivalent To VM's "RETRIEVE" Function
  5. Sender: @watson.ibm.com
  6. Message-ID: <1993Jan26.125558.25967@watson.ibm.com>
  7. Date: Tue, 26 Jan 93 12:55:58 GMT
  8. Distribution: na
  9. Reply-To: lpickup@vnet.ibm.com
  10. References:  <93025.145117SYST8103@RyeVm.Ryerson.Ca>
  11. Organization: IBM Technology Products
  12. Lines: 23
  13.  
  14. In article <93025.145117SYST8103@RyeVm.Ryerson.Ca>, Ron Wigmore <SYST8103@RyeVm.Ryerson.Ca> writes:
  15. |> On a VM system we can set up a PFkey to recall any commands just
  16. |> entered *AND* modify them.  AIX's 'history function' only lets me
  17. |> re-issue commands just entered *unmodified*.
  18. ...
  19. Ron,
  20.  
  21.   The Korn shell (ksh) has vi and emacs editing modes which let you
  22. recall previous lines and use the standard editing keys to change
  23. a line.  To use it, just issue 'set -o vi' and then at the prompt,
  24. hit Esc to get into editing mode.  Then the 'J' and 'K' keys (or
  25. '+' and '-') will let you go "up" and "down" through your previous
  26. commands.  Use 'H' and 'L' to go left and right and you can use
  27. any other vi key as well.
  28. --
  29.     ...Lance
  30.  
  31. -----------------------------------------------------------------------
  32. Lance Pickup                VNET/IBM Internet: lpickup@btv
  33. IBM/Vendor Systems                   Internet: lpickup@vnet.ibm.com
  34. Technology Products
  35. Burlington, VT                          Phone: (802) 769-7104 (tie 446)
  36. -----------------------------------------------------------------------
  37.