home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aix / 13791 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.4 KB

  1. Path: sparky!uunet!shady!kevin
  2. From: kevin@shady.UUCP (Kevin Smith)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Re. AIX Function Equivalent To VM's "RETRIEVE" Function Re: AIX Function Equivalent To VM's "RETRIEVE" Function
  5. Message-ID: <109@shady.UUCP>
  6. Date: 27 Jan 93 04:34:45 GMT
  7. References: <19930126.010847.96@almaden.ibm.com>
  8. Organization: ShadeTree Software, Inc.
  9. Lines: 31
  10.  
  11. In article <19930126.010847.96@almaden.ibm.com> kraemerf@franvm3.VNET.IBM.COM writes:
  12. :>Ron Wigmore <SYST8103@RyeVm.Ryerson.Ca> writes:
  13. :>
  14. :>>On a VM system we can set up a PFkey to recall any commands just
  15. :>>entered *AND* modify them.  AIX's 'history function' only lets me
  16. :>>re-issue commands just entered *unmodified*.
  17. :>
  18. :>Try,
  19. :>
  20. :>$ set -o emacs  # for emacs command line editing
  21. :>
  22. :>  use <Ctrl-p>  # retrieve the last line
  23. :>  use <Ctrl-b>  # move one character backwards
  24. :>  use <Ctrl-f>  # move one character forwards
  25. :>  use <Ctrl-d>  # delete one character
  26. :>  use <Ctrl-a>  # move cursor to the first character
  27. :>  use <Ctrl-e>  # move cursor to end of line
  28. :>  use <......>  #
  29. :>
  30. :>$ set -o vi     # for vi style command line editing
  31. :>
  32. :>  <try yourself>
  33. :>
  34. :>-frank-
  35.  
  36. Don't forget... in vi mode anyway, use 'v' to vi the command.
  37. -- 
  38.         | Email - !shady!kevin uunet!shady!kevin kevin%shady@uunet.uu.net
  39. Kevin Smith | Voice - (+1) (908) 874-7980
  40.         | Mail  - ShadeTree Software, Inc., 192 Capricorn Dr. #10,
  41.         |         Somerville, NJ  08876, USA
  42.