home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!unipalm!uknet!ieunet!ccvax.ucd.ie!njconway
- From: njconway@ccvax.ucd.ie
- Newsgroups: comp.sys.hp
- Subject: Re: 700/RX delete key - odd behaviour
- Message-ID: <1992Aug25.124927.49552@ccvax.ucd.ie>
- Date: 25 Aug 92 12:49:27 GMT
- References: <BtD7M2.AqG@waterloo.hp.com> <23016@hacgate.SCG.HAC.COM> <p0cc73c@fido.asd.sgi.com>
- Organization: University College Dublin
- Lines: 62
-
- In article <p0cc73c@fido.asd.sgi.com>, shankar@sgi.com (Shankar Unni) writes:
- > In article <23016@hacgate.SCG.HAC.COM> mobej@thaad-1g%hac2arpa.hac.com (Mario Obejas) writes:
- >>rypma@waterloo.hp.com (Ted Rypma) writes:
- >>: Mario Obejas (mobej@thaad-1g%hac2arpa.hac.com) wrote:
- >>: : have an odd behaviour when the delete key is used. Specifically,
- >>: : the char being deleted is replaced with an unprintable char -
- >>: : looks like a cursor sized checkerboard. Anybody seen this one?
- >>: : Are we missing a patch?
- >>:
- >>: Hmm.. Seems to me you need an 'stty erase ^?' so that DEL is your erase
- >>: character. HP-UX mostly (in my limited experience) has erase set to BS (^H).
- >>: Are your .profile and other login control files correctly set up and used?
- >>
- >>I thought vue did not look at .profile ?!?! In any case:
- >
- > No, it does not. But xterm and hpterm have X defaults (ttyMode?) that
- > give it an initial stty setting. As your listing shows, the 'erase'
- > character is ^H. Delete is simply ^? (ASCII 127).
- >
- >>Also, BackSpace does a destructive backspace. I want a real DEL char (i.e.,
- >>as it works when I log in from the 720 Console), namely a destructive
- >>*forward* space.
- >
- > [stuff deleted]
- >
- > What you are seeing is that when you press Delete, it sends a DEL to
- > the system (yes). I assume you are using the Courier fonts. Most fonts
- > have a "Chessboard" glyph for ASCII 127. Obviously, the tty driver is
- > simply echoing the "DEL" back at the terminal, which displays the
- > checkerboard.
- >
- > [stuff deleted]
- >
- > Shankar Unni E-Mail: shankar@sgi.com
- > Silicon Graphics Inc. Phone: +1-415-390-2072
-
-
- Hmm - just recently I discovered how to do a few things - map the console
- keyboard backspace key to delete (see the man page for xmodmap)
- and then do the escape code that lets the hpterm send stuff like arrow-keys
- to the shell (or whatever).
-
- I also set the resource '*ttyModes' to tell Vue that the erase key was now
- an ascii DEL, and so when I start up Xterm's and HPterms they have the correct
- mapping (check with stty).
-
- (btw, you have to do " stty erase '^?' " cos otherwise the shell grabs the ^
- character - well the csh does)
-
- I *still* have a problem though - when I run other Vue utilities, like
- Vuefile, any typing (like rename file) that goes wrong has to be aborted, cos
- the delete/backspace (;) key gets echo'ed as the checkerboard character...
-
- I can't figure out how else to tell Vue that the backspace key now sends
- keycode 127.. ?
-
- any ideas anyone ? the manuals are a minefield for this kind of problem...
-
- Neil
-
- njconway@ccvax.ucd.ie
- neil@nebula.ucd.ie
-