Recall previous commands at a single keystroke

Eduardo E. Horvath eeh@btr.com eeh at public.BTR.COM
Thu Jun 6 10:54:38 AEST 1991


In article <1991Jun04.143418.18495 at convex.com> swarren at convex.com (Steve Warren) writes:
>In article <5546 at cernvax.cern.ch> perretg at cernvax.cern.ch (denis perret-gallix) writes:
>>I Miss A Very Useful Feature Found On Many Unix-Like Shell (Amiga)
>>That Is The Mapping Of The Arrow Up And Arrow Down Key To The History
                 [...]
>>I am currently using KSH on A3000UX, Csh on Ultrix.

>Under the ksh shell you should be able to ....

	I have been using Ultrix for a while and can tell you that it is
absolutely not the same.  The Ultrix Csh flips into vi- or emacs-mode when
you type the up arrow key (or hit escape.)  This works on Xterm windows, 
rlogins, dumb terminals, etc.  The Ksh Ultrix provides is a completely
different story.  (I have not tried Ksh under Amiga UNIX yet...)  While
it does accept editing commands, just like vi or emacs, the cursor only 
respods to the appropiate cursor movement commands (i.e. 'h', 'j', 'k',
and 'l' for vi, ^P, ^N, ^B, ^F for emacs. )   This makes editing extremely
painful for those who don't have a brain-dead editor implementation.

	The other thing I really love about the Ultrix C-shell, is that it
also accepts standard C-shell history, so you can use which ever version has
fewer keystrokes.  You can recall the appropriate command with a bang-whatever,
or cursor-up until you find the appropriate command.  Well C=, if you want to
do a little bit of value-adding, this is certainly a great place to start!

	
-- 
=========================================================================
Eduardo Horvath				eeh at btr.com
					..!{decwrl,mips,fernwood}!btr!eeh
	"Trust me, I am cognizant of what I am doing." - Hammeroid



More information about the Comp.unix.amiga mailing list