Hi all,
Thanks for all your response ... I actually found that the following does get it to work on HP-UX, not sure if it works on the SUN box though ...
alias __A=`echo '\020'` # ^P = up = previous command
alias __B=`echo '\016'` # ^N = down = next command
alias __C=`echo '\006'` # ^F = right = forward a character
alias __D=`echo '\002'` # ^B = left = back a character
alias __H=`echo '\001'` # ^A = home = beginning of line
export VISUAL=emacs
-----Original Message-----
From: "Riley David " <oracledba-ezmlmshield-x35350400.[Email address protected]
Sent: Sun, 27 Nov 2005 16:04:59 -0500
To: "LazyDBA Discussion" <[Email address protected] RE: RES: Arrows key in UNIX for command history ...
What is the drawback to using korn shell (ksh)?
Put set -o vi in your .profile or .kshrc file. then you can do <esc> k to recall commands. You can even edit the command before running it(just like your in the vi editor). To search for a previous command do; /<commandstring> (or some piece of the command).
David Riley
IKON The Way Business Gets Communicated
-----Original Message-----
From: oracledba-ezmlmshield-x84122889.[Email address protected]
[mailto:oracledba-ezmlmshield-x84122889.[Email address protected]
Sent: Saturday, November 26, 2005 1:29 PM
To: LazyDBA Discussion
Subject: Re: RES: Arrows key in UNIX !
for command history ...
DBA FARMASA wrote:
> Nice question, is there any zsh implementation for HP-UX?
> Thanks.
http://hpux.connect.org.uk/hppd/hpux/Shells/zsh-4.2.3/
http://www.adamspiers.org/computing/zsh/
for zshrc.
http://www.dotfiles.com/index.php3?app_id=4
for more zshrc, but the previous one is my favorite.
Regards
Kuon
--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these terms:http://www.lazydba.com/legal.html
--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subs!
cribe: see http://www.lazydba.com
By using this list you a!
gree to
these terms:http://www.lazydba.com/legal.html
Oracle LazyDBA home page