dosedit style command edit in UNIX?

Andy Duplain duplain at rtf.bt.co.uk
Sun Apr 14 19:06:38 AEST 1991


In article <1991Apr10.212905.2234 at cimcor.mn.org> dick at 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 at rtf.bt.co.uk         UUCP: ...!uunet!ukc!axion!bscsq1!duplain



More information about the Comp.unix.wizards mailing list