Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!decwrl!deccrl!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!axion!rtf.bt.co.uk!duplain From: duplain@rtf.bt.co.uk (Andy Duplain) Newsgroups: comp.unix.wizards Subject: Re: dosedit style command edit in UNIX? Message-ID: <1991Apr14.090638.25344@rtf.bt.co.uk> Date: 14 Apr 91 09:06:38 GMT References: <1991Apr10.212905.2234@cimcor.mn.org> Organization: BT Customer Systems, Brighton, UK Lines: 24 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. The Korn shell can do this. Try these in your .kshrc file, using emacs editing mode: alias __A= # cursor up alias __B= # cursor down alias __C= # cursor right alias __D= # cursor left alias __H= # start of line (home) alias __F= # end -- =============================================================================== Andy Duplain, BT Customer Systems, Brighton, UK. #define DISCLAIMER My views and opinions are not necessarily that of my company Internet: duplain@rtf.bt.co.uk UUCP: ...!uunet!ukc!axion!bscsq1!duplain