HP3000-L Archives

June 1996, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jeff Kell <[log in to unmask]>
Reply To:
Jeff Kell <[log in to unmask]>
Date:
Sat, 22 Jun 1996 13:01:08 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
On Fri, 21 Jun 1996 15:17:24 GMT mark landin said:
>My developers are SO picky!!! :)
>We use Reflections 4.21 and 5.0 to connect to our 3000. When our developers
>go the shell and edit a file, they prefer to use vi.
 
Are they masochists? :-)
 
>Problem is, their arrow keys don't work. Is there a way to enable them?
>I tried to tell them that *real* programmers *like* to use h, j, k, and l
>to move the cursor the way God intended, but they want their sissy little
>arrow keys.
 
The arrow keys generate an escape sequence.  As you probably know, escape
is used to transfer from input mode to command mode in vi.  So you have
somewhat of a paradox reading escape sequences (though it can be done).
 
This has been discussed before, but I'm posting this in public so perhaps
someone in CSY will notice and do something about it.  You can setup a file
to remap the cursor keys to h/j/k/l but I don't remember the filename, the
format, nor the escape sequences.  This is one workaround (perhaps the best)
but someone else suggested remapping the cursor keys in Reflection to send
the proper characters (it works, but not fun if you're not in vi).  This is
yet another of the annoyances of Posix that would have been fixed long ago if
anybody had to use the shell for serious work; but even more unfortunately it
appears that CSY isn't too interested in shell enhancements/fixes/etc.
 
>Seriously, I miss the arrow keys also. I noticed there are terminfo
>entries only for hp2392a and generic hp, but we usually run in 70092
>emulation. Any hints?
 
The /etc/profile script *unconditionally* sets you to an hp2392a regardless
of what you really are and/or any existing TERM environment variable.  No
problem for a 700/92; they have trouble with basic 2392a functionality let
alone the added 700/92 features.  Sun Solaris has better hp terminal support
than the Posix shell.
 
(Yes, I am rather annoyed at this easily-fixed but long-ignored problem)
 
Jeff Kell <[log in to unmask]>

ATOM RSS1 RSS2