emacs alias

emacs alias

am 24.01.2008 19:33:36 von apogeusistemas

Hi:

Im my job I use this .kshrc file:

# cat .kshrc
set -o emacs
alias __A=3D`echo "\020"` # up arrow =3D ^p =3D back a command
alias __B=3D`echo "\016"` # down arrow =3D ^n =3D down a command
alias __C=3D`echo "\006"` # right arrow =3D ^f =3D forward a character
alias __D=3D`echo "\002"` # left arrow =3D ^b =3D back a character
alias __H=3D`echo "\001"` # home =3D ^a =3D start of line
alias __z=3D`echo "\017"` # send ^o and use z to list after the others
stty columns 132
stty erase


and I=B4d like know if is there any way to set this commands to:

control_h --> send cursor to the start of the line

control_e --> send cursor to the end of the line


Thanks in advance.