Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mailrus!umix!nancy!eecae!fmsrl7!mibte!gamma!ulysses!terminus!rolls!mtuxo!mtgzz!avr From: avr@mtgzz.UUCP (XMRP50000[jcm]-a.v.reed) Newsgroups: comp.unix.wizards Subject: ksh history editing Summary: Yes Message-ID: <4108@mtgzz.UUCP> Date: 19 May 88 17:12:48 GMT References: <2599@usceast.UUCP> <2601@usceast.UUCP> <4095@mtgzz.UUCP> <2199@quacky.mips.COM> Organization: AT&T, Middletown NJ Lines: 21 In article <2199@quacky.mips.COM>, dce@mips.COM (David Elliott) writes: < 2. Having used the csh history mechanism for nearly 8 years, I'm used < to being able to do things like < < % foo bar < ... < % ^oo^ob^ # change first foo to foob < fob bar < ... < % mv foo.c foo.c.old < % !!:gs/foo/bar/ # change all foo to bar < mv bar.c bar.c.old < < I was told once that there was a ksh with a complete csh-style history < machanism. Is this true? Yes. What's beautiful is that you can use it with the command set of your favorite editor, whether vi or emacs; there is no need to learn another set of editing commands just for the shell. Adam Reed (mtgzz!avr)