Date: Tue, 4 Nov 2003 01:21:59 +0100 From: Erik Trulsson <ertr1013@student.uu.se> To: Michael Sierchio <kudzu@tenebras.com>, Doug White <dwhite@gumbysoft.com>, freebsd-stable@freebsd.org Subject: Re: Serious bug in 4.9-RELEASE Message-ID: <20031104002159.GA26897@falcon.midgard.homeip.net> In-Reply-To: <20031103235046.GA25408@falcon.midgard.homeip.net> References: <3FA6CF61.2040007@tenebras.com> <3FA6D26B.8030707@tenebras.com> <20031103144116.B86138@carver.gumbysoft.com> <3FA6DF58.4090804@tenebras.com> <20031103231726.GA25093@falcon.midgard.homeip.net> <20031103235046.GA25408@falcon.midgard.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 04, 2003 at 12:50:46AM +0100, Erik Trulsson wrote: > On Tue, Nov 04, 2003 at 12:17:26AM +0100, Erik Trulsson wrote: > > On Mon, Nov 03, 2003 at 03:06:00PM -0800, Michael Sierchio wrote: > > > Doug White wrote: > > > >On Mon, 3 Nov 2003, Michael Sierchio wrote: > > > > > > > > > > > >>Michael Sierchio wrote: > > > >> > > > >>>Well, this depends on your point of view. A cvsup, buildworld, > > > >>>kernel, installworld causes: > > > >>> > > > >>>sapphire 214> /usr/games/hack > > > >>>Terminal must backspace. [snip] > Strange that no other program seems to complain. > (Or maybe not so strange. The "bs" capability that /usr/games/hack > insists on is decribed in termcap(5) as an obsolete capability that new > programs shouldn't depend on. It might be that it is /usr/games/hack > that need to be updated to modern conventions.) > > > As a workaround you can run 'hack' with TERM set to 'xterm-r6' Or you can try applying the following patch to source for hack. It probably qualifies as an ugly hack, but considering the name of this game, the age of the code, and the fact that to fix the code properly would probably require a lot of changes, I don't care much. Index: games/hack/hack.termcap.c =================================================================== RCS file: /ncvs/src/games/hack/Attic/hack.termcap.c,v retrieving revision 1.10 diff -u -4 -r1.10 hack.termcap.c --- games/hack/hack.termcap.c 16 Nov 1999 10:26:38 -0000 1.10 +++ games/hack/hack.termcap.c 4 Nov 2003 00:15:45 -0000 @@ -35,10 +35,8 @@ flags.nonull = 1; if(pc = tgetstr("pc", &tbufptr)) PC = *pc; if(!(BC = tgetstr("bc", &tbufptr))) { - if(!tgetflag("bs")) - error("Terminal must backspace."); BC = tbufptr; tbufptr += 2; *BC = '\b'; } -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031104002159.GA26897>