Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!boulder!tramp!rhysling From: rhysling@tramp.Colorado.EDU (Michael Rhysling) Newsgroups: comp.unix.questions Subject: ULTRIX Command Line Editing in /usr/new/csh Message-ID: <6422@boulder.Colorado.EDU> Date: 6 Feb 89 22:34:25 GMT Sender: news@boulder.Colorado.EDU Reply-To: rhysling@tramp.Colorado.EDU (Michael Rhysling) Organization: University of Colorado, Boulder Lines: 18 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@tramp.colorado.edu