From owner-freebsd-ports@FreeBSD.ORG Wed Jun 18 10:56:30 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01F0F37B405 for ; Wed, 18 Jun 2003 10:56:30 -0700 (PDT) Received: from chaos.obstruction.com (CPE00e018983b2f-CM013349903124.cpe.net.cable.rogers.com [24.156.200.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E07543FDD for ; Wed, 18 Jun 2003 10:56:28 -0700 (PDT) (envelope-from guy-dated-1058550975.a2b5bd@obstruction.com) Received: from chaos.obstruction.com (localhost [127.0.0.1]) by chaos.obstruction.com (Postfix) with ESMTP id 655835C7B for ; Wed, 18 Jun 2003 13:56:15 -0400 (EDT) Received: by chaos.obstruction.com (tmda-sendmail, from uid 1000); Wed, 18 Jun 2003 13:56:15 -0400 (EDT) Date: Wed, 18 Jun 2003 13:56:14 -0400 To: freebsd-ports@freebsd.org Message-ID: <20030618175614.GA21353@chaos.obstruction.com> References: <20030618145100.GA16272@chaos.obstruction.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i From: Guy Middleton X-Delivery-Agent: TMDA/0.80 (Determine) Subject: Re: Nethack, xterm, 5.1-RELEASE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 17:56:30 -0000 On Wed, Jun 18, 2003 at 04:28:21PM +0000, Christian Weisgerber wrote: > (The thought of somebody still working with a 30-year old homebrew > terminal that supports cursor movement but no absolute positioning > is just a tad too ridiculous to entertain seriously.) > > How are things if we simply remove the offending check? Works fine with the diff applied. -Guy > --- win/tty/termcap.c.orig Wed Jun 18 18:21:29 2003 > +++ win/tty/termcap.c Wed Jun 18 18:21:51 2003 > @@ -217,10 +217,6 @@ > error("Terminal must backspace."); > # else > if(!(BC = Tgetstr("bc"))) { /* termcap also uses bc/bs */ > -# ifndef MINIMAL_TERM > - if(!tgetflag("bs")) > - error("Terminal must backspace."); > -# endif > BC = tbufptr; > tbufptr += 2; > *BC = '\b';