Nethack, xterm, 5.1-RELEASE
Guy Middleton
guy at obstruction.com
Wed Jun 18 10:56:30 PDT 2003
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';
More information about the freebsd-ports
mailing list