GCG unix - up-arrow in history function????

Bruce Roe broe at aardvark.ucs.uoknor.edu
Mon Dec 14 07:24:00 EST 1992


In article <1992Dec14.090042.4792 at pollux.lu.se>, Bo.Servenius at wblag.lu.se (Bo Servenius) writes...
>Dear Netters:
> 
>I am just in the process of moving my GCG package from a VMS system
>to a SunOS UNIX one. Being used to use the up-arrow in VMS I was 
>frustrated when I realised that I have to use the csh with GCG under unix.
>And csh in contrast to tcsh can not support up-arrow in the history
>function. Anyone out there who has come up with a solution to this
>problem???????

Hi,
	The command !-1 on SunOS v1.1.1 is equivalant to the up arrow
on a VMS system.  I have absolutely no idea where this is documented.
If you type the word history, then you will see a listing of previous
commands issued and say you want to type command number 5 on the list,
then type !-5.  
Just another one of those intuitive SunOS or Unix features ;-)
Cheers......bruce
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 \  Bruce A. Roe               Professor of Chemistry and Biochemistry /
 /  University of Oklahoma     INTERNET: BROE at aardvark.ucs.uoknor.edu  \
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  - - -




More information about the Bio-soft mailing list