Unix and arrows; Was: HP-UX PH 7.33.D3 Behavior?
STEWARTM@dteenergy.com
STEWARTM@dteenergy.com
02 Dec 98 15:20:39 -0500
--=_ORCL_2420167_0_0
Content-Transfer-Encoding:quoted-printable
Content-Type:text/plain; charset="iso-8859-1"
John Bell our local UNIX guru says that there shouldn't be a problem here if=
you are used to using the arrow keys. The only thing is you are not in emac=
mode at the shell as opposed to vi mode. Other keys no longer do what they
normally do at the prompt. If you are in the vi editor some basic key
functions can operate the same at the shell prompt. By switching to emac
you
change these key functions to the emac set. If you arn't using vi at all
then
it doesn't make much difference. For someone who has been using vi for 10
years and never performed a set -o emac might find this a headache.
-----------------------------------------
Mark Stewart
Consultants Club Corp.
--=_ORCL_2420167_0_0
Content-Type:message/rfc822
Date: 02 Dec 98 13:41:27
From:"John Hunter" <jthunter@nbnet.nb.ca>
To:<powerh-l>
Subject:Unix and arrows; Was: HP-UX PH 7.33.D3 Behavior?
Return-Path:<powerh-l-owner@lists.swau.edu>
Received:by mail.detroitedison.com with ESMTP id NAA23987; Wed, 2 Dec 1998 13:53:20 -0500 (EST)
Received:by dte.detroitedison.com with ESMTP id NAA02686; Wed, 2 Dec 1998 13:53:18 -0500 (EST)
Received:from localhost (daemon@localhost) by sphere.swau.edu (8.9.1/8.9.1) with SMTP id MAA29653; Wed, 2 Dec 1998 12:51:06 -0600
Received:by sphere.swau.edu (bulk_mailer v1.9); Wed, 2 Dec 1998 12:46:04 -0600
Received:(from daemon@localhost) by sphere.swau.edu (8.9.1/8.9.1) id MAA29440 for powerh-l-outgoing; Wed, 2 Dec 1998 12:45:43 -0600
Received:from quartz.nbnet.nb.ca (quartz.nbnet.nb.ca [198.164.200.18]) by sphere.swau.edu (8.9.1/8.9.1) with ESMTP id MAA29421 for <powerh-l@lists.swau.edu>; Wed, 2 Dec 1998 12:44:39 -0600
Received:from huntjoh.coop.com ([198.164.199.97]) by quartz.nbnet.nb.ca (Post.Office MTA v3.1.2 release (PO203-101c) ID# 607-54382U75000L75000S0V35) with ESMTP id AAA15354 for <powerh-l@lists.swau.edu>; Wed, 2 Dec 1998 14:44:33 -0400
X-MSMail-Priority:Normal
X-Priority:3
Message-ID:<19981202184432.AAA15354@huntjoh.coop.com>
Sender:owner-powerh-l@sphere.swau.edu
MIME-Version: 1.0
Content-Type:text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:7bit
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.
--=_ORCL_2420167_0_0--
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.