From owner-freebsd-doc Tue Jan 7 23:40: 6 2003 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 648BF37B401 for ; Tue, 7 Jan 2003 23:40:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F045D43EA9 for ; Tue, 7 Jan 2003 23:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h087e3NS027010 for ; Tue, 7 Jan 2003 23:40:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h087e3OF027009; Tue, 7 Jan 2003 23:40:03 -0800 (PST) Date: Tue, 7 Jan 2003 23:40:03 -0800 (PST) Message-Id: <200301080740.h087e3OF027009@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: Kazuo Horikawa Subject: Re: docs/46709: tables in terminfo.5 are broken Reply-To: Kazuo Horikawa Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/46709; it has been noted by GNATS. From: Kazuo Horikawa To: bug-followup@FreeBSD.org Cc: Thomas Dickey , Kazuo Horikawa 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 , 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" 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 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