From: utzoo!decvax!cca!HOLSTEGE@CIT-20@sri-unix Newsgroups: net.unix-wizards Title: redo Article-I.D.: sri-unix.2331 Posted: Thu Jul 29 20:48:56 1982 Received: Fri Jul 30 06:29:37 1982 Date: 28 Jun 1982 1423-PDT We have here a command, "redo", which takes all its arguments and concatenates them together and allows you to edit the resulting string with things like ^W ^Uhorisontal arrow keys and similar screen editor type functions. It has an insert mode and an overstrike mode and so on. So what, you say. Well, if you alias: alias r redo \'\!-1\' in your .cshrc, then when you make a typing mistake, just type r and you can interactively fix it. UNLESS the command you incorrectly typed had single quotes in it. There should be a way within the csh history mechanism to get a previous command as a single word without further interpretation. -------