home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp / 9686 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  3.0 KB

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