Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!husc6!ogccse!blake!uw-beaver!teknowledge-vaxc!mkhaw From: mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) Newsgroups: comp.unix.questions Subject: Re: history tricks... Message-ID: <26316@teknowledge-vaxc.ARPA> Date: 5 Jan 89 06:22:42 GMT References: <71@rpi.edu> Organization: Teknowledge, Inc., Palo Alto CA Lines: 22 > <945@cmx.npac.syr.edu> gefuchs@top.cis.syr.edu (Gill E. Fuchs): > 1 - how to redefine "foo" (anything else, that is) instead of > the "!" for the "YO UNIX, HISTORY COMMAND COMING UP"... set histchars = \!\^ # is the default > 2 - if #1 works, how about defining something which will not > require a (ala up arrow in vms) to retrieve the last > command. On the other hand, once i have the last command > up, i want to change a character and only then unleash it > with the appropriate Not in vanilla csh. There are variations like tcsh, ecsh and add-ons like led and ile that will do that. I think you have to be a source licensee to be able to make use of the csh diffs for making tcsh (and ecsh?). Led and ile may be available from comp.sources.unix archives. Mike Khaw -- internet: mkhaw@teknowledge.arpa uucp: {uunet|sun|ucbvax|decwrl|ames|hplabs}!mkhaw%teknowledge.arpa hardcopy: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303