Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2003 13:56:14 -0400
From:      Guy Middleton <guy@obstruction.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Nethack, xterm, 5.1-RELEASE
Message-ID:  <20030618175614.GA21353@chaos.obstruction.com>
In-Reply-To: <bcq3v5$r36$1@kemoauc.mips.inka.de>
References:  <20030618145100.GA16272@chaos.obstruction.com> <bcq3v5$r36$1@kemoauc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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';



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030618175614.GA21353>