Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!sdd.hp.com!wuarchive!csus.edu!ucdavis!csusac!usenet From: emmonsl@athena.ecs.csus.edu (L. Scott Emmons) Newsgroups: comp.unix.wizards Subject: Re: dosedit style command edit in UNIX? Message-ID: <1991Apr11.174455.7363@csusac.csus.edu> Date: 11 Apr 91 17:44:55 GMT References: <1991Apr10.212905.2234@cimcor.mn.org> Sender: usenet@csusac.csus.edu (News account (alt)) Organization: California State University, Sacramento Lines: 21 In article <1991Apr10.212905.2234@cimcor.mn.org> dick@cimcor.mn.org (Dick Schlotfeldt) writes: >The MS-DOS public domain TSR 'dosedit' keeps a circular >stack of recently executed commands. The user may retrieve the >most recent command with a single keystroke (up-arrow), next >most recent with an additional keystroke, etc. The user may also >edit a selected command with simple cursor motion and overtype >or character insertion. > >Is UNIX so sophisticated that no one has been able to implement >such a simple-minded utility? Well, the 'command stack' is already there, at least in csh and ksh via the command history... Try the newest newcsh, it has vi-type editing of the command history. Ksh has this feature as well. I still prefer the standard csh type command retreival though: !!, !?, !$, et.al. Old habits die hard (even the good ones!) L. Scott Emmons --------------- emmons@csus.csus.edu ...[ucbvax]!ucdavis!csus!emmons Packet: kc6nfp@kg6xx.#nocal.ca.usa.na