ULTRIX Command Line Editing in /usr/new/csh

Michael Rhysling rhysling at tramp.Colorado.EDU
Tue Feb 7 08:34:25 AEST 1989


I've noticed some conflicting and inaccurate info being posted about
command editing in newcsh.  Since I started this whole mess, I guess
I ought to try to clear things up.

Newcsh does indeed offer extensive editing of past commands.  There
are several ways to do this.  If you press ESC as the first character
on a line, your last command is displayed and can be edited with a
subset of vi or emacs commands (depending on what your CSHEDIT environment
variable is set to).  Using the up and down arrow keys, you can scroll
through your history list.  Alternatively, you can use the ! character
and a new qualifier, :v, to recall and edit the last matching command.
For example, !cp:v retrieves the last cp command for editing.

Hope this clears up any confusion.


Michael Rhysling
rhysling at tramp.colorado.edu



More information about the Comp.unix.questions mailing list