Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2001 17:16:17 +0100
From:      Roman Neuhauser <neuhauser@mobil.cz>
To:        freebsd-questions@freebsd.org
Subject:   $TERM woes
Message-ID:  <20011203171617.D35627@roman.mobil.cz>

next in thread | raw e-mail | index | archive | help
Hi there,

I have a problem that's been bugging me for way too long, and I don't know
how to solve it. I'll be more than glad if anyone can help. I'm afraid that
the description will be a bit long winded, so excuse me... Also, it's not
completely clear to me whether this is a blackbox, rxvt, freebsd issue, 
or a completely unrelated one.

I used rxvt-2.6.3 with afterstep-1.8.9. All was fine. Then I switched to
blackbox-0.61.1, and suddenly backspace stopped working in vim. (It also 
doesn't work in abook, but I started using it after I switched wmanagers,
so I don't know how it behaved in afterstep.) Note that nothing else 
(relevant) has changed in my setup, and I can demonstrate this strange 
behavior with just replacing "exec blackbox" with "exec afterstep" in my
.xinitrc. 

With $TERM set to xterm(-color) (via .Xdefaults), backspace beeps in vim.
With $TERM set to rxvt, it puts ^? in the buffer. Note that this is not
literal ^? you would get with ^V<BS>, this is two characters: caret and 
question mark. (Also, I'm not able to insert any literal control char in 
vim with $TERM=rxvt, but that's another story...)

So, what I'm asking here is something along the lines of "WTF is going on
here?", and, since I don't fully understand the principles, "where's the
FM?" (I've read X(7), xterm(1), termcap(3,5), but neither addresses my
problem. I learned lots of new stuff about all kinds of esoteric terminals,
though.)

I have other issues with the backspace and delete keys under various 
combinations of $TERM, bindkey settings, and vim/cmdline, but I'll leave
it for later.

BTW, this is on a 4.4-RELEASE cvsupped to RELENG_4 ~2 months ago.

Thanks a lot for any help.

-- 
Roman
 
FreeBSD 4.4-STABLE
3:27PM up 41 days, 2:10, 15 users, load averages: 0.06, 0.04, 0.00

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011203171617.D35627>