Return to BSD News archive
Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!brunix!cs.brown.edu!mhw
From: mhw@cs.brown.edu (Mark Weaver)
Subject: Re: [NETbsd - XFree86] termcap entry for xterm
In-Reply-To: peters@thor.li.cubic.com's message of 29 Jun 93 08:57:23 GMT
Message-ID: <MHW.93Jun29190412@vegas.cs.brown.edu>
Sender: news@cs.brown.edu
Organization: Dept. of Computer Science, Brown University
References: <1993Jun29.085723.1@thor.li.cubic.com>
Date: Wed, 30 Jun 1993 00:04:12 GMT
Lines: 26
In article <1993Jun29.085723.1@thor.li.cubic.com> peters@thor.li.cubic.com writes:
> Does anyone have a termcap entry which works well with xterm in
> XFree86 (1.3) under NETbsd? Mine works with vi. Using wermit
> it convinces the various VAX editors that it is a VT100. The
> shell (NETbsd - csh), however does not properly process the back space or
> delete characters.
I had this problem as well, and it appears to be an stty problem instead
of a termcap problem. I haven't figured out the real solution yet, but
this works.
In your shell startup files (eg .cshrc), put the following line:
stty echoe echoke
This tell the tty interface that it should echo erases and kills
(ctrl-U's). Without this, the delete and kill characters work
correctly internally, but don't update the display properly.
Mark
--
--------------------------------------------------------------------
Internet/CSnet: mhw@cs.brown.edu | Mark Weaver
BITNET: mhw@browncs | Box 2160, Brown University
UUCP: uunet!brunix!mhw | Providence, RI 02912-2160