Unix and arrows; Was: HP-UX PH 7.33.D3 Behavior?

John Hunter jthunter@nbnet.nb.ca
Wed, 2 Dec 1998 14:41:27 -0400


Hey Gang,
 
Without getting into debates on which unix editor is better, perhaps
someone who's running Powerhouse on Unix could try adding the following to
their script (or .profile) and let us know if the arrow keys will work? By
adding the following to your .profile (ksh login) the arrow keys will work
at the UNIX level like those on the VAX, but I don't think they will work
within QUIZ.
 
anyway, here it is:

set -o emacs

# map cursor keys for command-line editing
alias __A="$(print '\020')"    # Ctrl-P   (up)
alias __B="$(print '\016')"    # Ctrl-N   (down)
alias __C="$(print '\006')"    # Ctrl-F   (right)
alias __D="$(print '\002')"    # Ctrl-B   (left)
 
That's it!
 -John 
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.