Sample Header Ad - 728x90

KSH on old unix systemV: search history

1 vote
1 answer
1533 views
I have set a good ksh environement on old unix PATH=$PATH:/usr/lib/acct:/usr/sbin:/sbin:/usr/ucb export PATH EDITOR=vi FCEDIT=vi export EDITOR export FCEDIT HOSTNAME=uname -n HISTSIZE=500 LOGNAME=myname TERM=386AT PS1="\$LOGNAME@\$HOSTNAME:\$PWD\$ " set -o emacs stty 38400 intr ^C kill ^U tabs ixon ixoff ixany setcolor white black alias type="whence -v" alias __A=echo "\020" # up arrow = ^p = back a command alias __B=echo "\016" # down arrow = ^n = down a command alias __C=echo "\006" # right arrow = ^f = forward a character alias __D=echo "\002" # left arrow = ^b = back a charactoe alias __H=echo "\001" # home = ^a = start of line alias __Y=echo "\005" # end = ^e = end of line With this i have search history with arrows,etc,my question is: is possible to make an alias for ctrl+r search history?Old ksh support search history? I'm on unix svr4 ATT
Asked by elbarna (13710 rep)
Apr 24, 2015, 12:43 PM
Last activity: Apr 24, 2015, 11:34 PM