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