From owner-freebsd-questions Mon Dec 3 8: 9:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [195.39.16.12]) by hub.freebsd.org (Postfix) with ESMTP id 06D0C37B405 for ; Mon, 3 Dec 2001 08:09:54 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id fB3G9mC13255 for ; Mon, 3 Dec 2001 17:09:52 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.7) with ESMTP id 2001120317092379:7059 ; Mon, 3 Dec 2001 17:09:23 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id fB3GGHV37317 for freebsd-questions@freebsd.org; Mon, 3 Dec 2001 17:16:17 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Mon, 3 Dec 2001 17:16:17 +0100 From: Roman Neuhauser To: freebsd-questions@freebsd.org Subject: $TERM woes Message-ID: <20011203171617.D35627@roman.mobil.cz> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 User-Agent: Mutt/1.3.23i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.7 |March 21, 2001) at 12/03/2001 05:09:23 PM, Serialize by Router on ester/Mobil(Release 5.0.7 |March 21, 2001) at 12/03/2001 05:09:32 PM, Serialize complete at 12/03/2001 05:09:32 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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, 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