ray@vantage.UUCP (Ray Liere) (02/07/90)
In late December, I posted an inquiry. I was using a terminal in VT100 emulation mode with $TERM=vt100 on an HP9000/500, but was having trouble getting the del and backspace keys to behave as I had come to expect using HP terminals. I wanted backspace to back up the cursor ("erase" in termio-ese) and I wanted del to "kill" First, my thanks to those of you who responded to my plea for help. I thought, in case someone else has to do this, you might want to know how I eventually solved the problem. There was lots of trial and error involved: In the .profile, I put # set erase to DEL stty erase \^? # set interrupt to control-u stty intr \^u # have terminal echo erases stty echoe # have control-u be my kill character (instead of @) stty kill \^u (The above ^ are actual carets). This works find except in vi, so I added to .exrc: " backspace key in command mode does a backspace map ^? ^H (The above ^ are control key indicators: control-?, control-H) This results in backspace and del doing an erase, and control-u doing a kill, which was as close as I could get to my goal and fine with me as I am not much on using kill ... Again, my profuse thanks to everyone who provided assistance. Having the backup key cause kills, especially in vi, was making me old(er) and gray(er). Ray Liere Vantage Consulting and Research Corporation voice: (503)657-7294 uucp: uunet!nwnexus!vantage!ray -or- hplabs!hpfcla!hpubvwa!hpupora!vantage!ray Internet: vantage!ray@nwnexus.WA.COM