*BSD News Article 17757


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!cs.mu.OZ.AU!summer
From: summer@ee.mu.OZ.AU (Mark Summerfield)
Subject: Re: [NETbsd - XFree86] termcap entry for xterm
Message-ID: <summer.741485888@mullian.ee.Mu.OZ.AU>
Sender: news@cs.mu.OZ.AU
Organization: Computer Science, University of Melbourne, Australia
References: <1993Jun29.085723.1@thor.li.cubic.com>
Date: Thu, 1 Jul 1993 00:18:08 GMT
Lines: 30

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've had the same problem all along.  My solution is to use tcsh, which
actively intervenes in the processing of backspace and delete.  Actually,
the problem seems to have something to do with terminal initialisation.
I find that after running any program which actually *uses* the termcap
entry, and performs some kind of initialisation (e.g. tcsh, vi) then
the backspace and delete work correctly (as does ^U, which also fails to
visibly erase under csh).

I think that the backspace/delete characters are being sent to the xterm,
but for some reason it is failing to act on them unless some type of
initialisation has been done.  I've mentioned this before, and not
received a proper explanation/solution.

Mark.
          --------------------------------------------------------
              Mark Summerfield,  Photonics Research Laboratory
Department of Electrical and Electronic Engineering, University of Melbourne  
                ACSnet[AARN/Internet]: summer@ee.mu.oz[.au] 
          --------------------------------------------------------
library, n., a place with a large number of people, a slightly larger number
  of books, and a very small number of photocopiers, of which at any given
                   time at least 50% will be out of order.