home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.amiga
- Path: sparky!uunet!usc!cs.utexas.edu!convex!egsner!lerami!ler
- From: ler@lerami.lerctr.org (Larry Rosenman)
- Subject: Re: Broken term? sag?
- Message-ID: <Btu8t1.K50@lerami.lerctr.org>
- Date: Mon, 31 Aug 1992 07:58:12 GMT
- Distribution: usa
- References: <23061@hacgate.SCG.HAC.COM> <BtoK0J.86J@agora.rain.com> <1992Aug28.140829.4440@isc-br.isc-br.com>
- Organization: Larry Rosenman's personal SVR4 Box
- Lines: 17
-
- In article <1992Aug28.140829.4440@isc-br.isc-br.com> ricks@odin.isc-br.com (Rick Schaeffer 99) writes:
- >
- >I dunno about csh, but ksh *does* do command line editing. You have to
- >do "set -o emacs" in your .profile (or "set -o vi" although I've not tried
- >that). Then control characters are used for the editing. Control-P recalls
- >the previously typed command, Control-B moves back 1 char, Control-F moves
- >forward 1 char, Control-D deletes a char, and-so-on.
- set -o vi works just fine, thank you. ESC to get into edit mode, h to move back
- l to move forward, j to move down in hist, k to move back up in hist, d to delete
- and all the combinations vi loves for editing (dw, et al).
-
- It is a NICE way to edit lines if you like vi.
-
- --
- Larry Rosenman Internet: ler@lerami.lerctr.org
- ATT: +1 214-399-0210 (voice) BIX: ler UUCP: ..!utacfd.uta.edu!lerami!ler
- US Mail: 900 Lake Isle Circle, Irving, TX 75060-7726
-