From owner-freebsd-current Sun Sep 8 14: 2:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F1A737B400 for ; Sun, 8 Sep 2002 14:02:08 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id A987A43E75 for ; Sun, 8 Sep 2002 14:02:07 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0291.cvx21-bradley.dialup.earthlink.net ([209.179.193.36] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17o9By-0002RD-00; Sun, 08 Sep 2002 14:02:03 -0700 Message-ID: <3D7BBA8C.4081BB77@mindspring.com> Date: Sun, 08 Sep 2002 14:01:00 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Adam Kranzel Cc: current@freebsd.org Subject: Re: Termcap broken? References: <20020908130632.5d429828.adam@blacktabby.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Adam Kranzel wrote: > I'm getting the error "Terminal must backspace." when trying to run > Slash'EM (a Nethack-derived game). I'm not sure what's gotten broken, > but if I copy over the termcap and termcap.db from a 4.6-STABLE machine > (of mid-August), it works again. Any suggestions on how to fix this? > My TERM environment variable is set to "xterm-color" right now, but > changing it to "xterm" doesn't seem to make a difference. The best thing to do would be to look at the source code for the program, and see what is making it spit out the message, and figure out how to correct that. One common issue in this are is terminals whose left arrow emits ASCII BS (^H) instead of having a seperate escape sequence (e.g. Televideo, Wyse, Hazeltine terminals). Another is people who define the PC console backspace key to send ASCII DEL instead of ASCII BS. The last is when there is no such thing as a backspace that is non-destructive (e.g. some terminals do not allow you to use ASCII BS sent to the terminal to move the curosr left, without actually erasing the character under the cursor). Like I said: look at the code, and find out what entries make it emit the error message that you are seeing. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message