Date: Tue, 7 Jan 2003 23:40:03 -0800 (PST) From: Kazuo Horikawa <horikawa@FreeBSD.org> To: freebsd-doc@FreeBSD.org Subject: Re: docs/46709: tables in terminfo.5 are broken Message-ID: <200301080740.h087e3OF027009@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/46709; it has been noted by GNATS. From: Kazuo Horikawa <horikawa@FreeBSD.org> To: bug-followup@FreeBSD.org Cc: Thomas Dickey <dickey@herndon4.his.com>, Kazuo Horikawa <horikawa@FreeBSD.org> Subject: Re: docs/46709: tables in terminfo.5 are broken Date: Wed, 08 Jan 2003 00:31:55 -0700 (MST) I got valuable feedback from Thomas Dickey <dickey@herndon4.his.com>, who is the owner of ftp://dickey.his.com/ncurses/ where FreeBSD obtained the ncurses sources from. I confirmed that suggested modification works on FreeBSD (following is diff to original MKterminfo.sh). --- MKterminfo.sh.bak Thu Jan 2 20:22:55 2003 +++ MKterminfo.sh Wed Jan 8 00:24:12 2003 @@ -68,9 +68,9 @@ /%%-STOP-HERE-%%/q /^#%/s///p /^#/d -s/[ ]\+/ /g +s/[ ][ ]*/ /g s/$/T}/ -s/ [A-Z0-9_()\-]\+ [0-9\-]\+ [Y\-][B\-][C\-][G\-][EK\-]\** / T{/ +s/ [A-Z0-9_()\-][A-Z0-9_()\-]* [0-9\-][0-9\-]* [Y\-][B\-][C\-][G\-][EK\-]\** / T{/ s/ bool / /p s/ num / /p s/ str / /p -- Kazuo Horikawa On Mon, Jan 06, 2003 at 08:04:53PM -0700, Kazuo Horikawa wrote: > "Thomas E. Dickey" <dickey@herndon4.his.com> wrote: > > On Sun, 5 Jan 2003, Kazuo Horikawa wrote: > > > > > (cc'ing peter, as he imported ncurses-5.2-20020518 to FreeBSD 7 monthes ago) > > > > > > Hi, > > > > > > Do you mind if FreeBSD will have the modification (e.g., my proposed > > > diff to MKterminfo.sh) locally? > > > > I suppose it won't hurt. Which version of sed is that? I had thought > > FreeBSD was using GNU sed, because of the previous conversation regarding > > the POSIXLY_CORRECT feature (which changes the behavior of GNU sed to > > make it incompatible with most other versions of sed). > > It seems for me the sed is not GNU. I see a better fix - had forgotten that the '+' mark is not considered part of the "basic" regular expressions for which sed is standardized. (I recall having some problems with lynx over this). I'll replace those with a different expression, e.g., [0-9]+ by [0-9][0-9]* -- Thomas E. Dickey <dickey@invisible-island.net> http://invisible-island.net ftp://invisible-island.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301080740.h087e3OF027009>