Home arrow Tips arrow Use cursor keys on the command line
Use cursor keys on the command line PDF Print
Written by Frank Schalude   
Monday, 17 March 2008
In order to use the cursor keys on the command line to navigate through your history or to edit an entry, you have to set the EDITOR variable to emacs. In addition, some aliases are needed which will map the emacs commands to the cursor keys. Make sure that the varaible ENV references the file that contains the needed aliases:

alias __A="^P"
alias __B="^N"
alias __C="^F"
alias __D="^B"
alias __P="^D"
alias __H="^A"
 
< Prev   Next >
Copyright © 2008 www.isarlab.de