Date: Mon, 12 Aug 2002 11:40:03 -0700 (PDT) From: Ruslan Ermilov <ru@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/30778: libncurses/termcap.c does not handle escaped colons Message-ID: <200208121840.g7CIe3pd081059@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/30778; it has been noted by GNATS. From: Ruslan Ermilov <ru@FreeBSD.org> To: "Andrey A. Chernov" <ache@nagual.pp.ru> Cc: Peter Wemm <peter@FreeBSD.org>, bug-followup@FreeBSD.org Subject: Re: bin/30778: libncurses/termcap.c does not handle escaped colons Date: Mon, 12 Aug 2002 21:34:41 +0300 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 12, 2002 at 10:22:57PM +0400, Andrey A. Chernov wrote: > On Mon, Aug 12, 2002 at 21:18:21 +0300, Ruslan Ermilov wrote: >=20 > > - by grepping over src/share/termcap/termcap.src (dg460-ansi, wy60, > > wy60-25, wy60-42, and wy60-43 have these), > > - by looking over in the contrib/ncurses/ncurses/tinfo/comp_scan.c > > _nc_trans_string() code, > > - by running the test with the ncurses' stock read_termcap.c, > > - by seeing how tic(1) converts colons, > > - by hearing the following from Thomas Dickey (ncurses maintainer): >=20 > I agree with you, please commit it. >=20 I will wait for Peter's reply for some time. If we decide to commit this, the termcap(5) manpage needs to be fixed as well: %%% Index: termcap.5 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/share/termcap/termcap.5,v retrieving revision 1.21 diff -u -r1.21 termcap.5 --- termcap.5 8 Aug 2001 11:54:35 -0000 1.21 +++ termcap.5 12 Aug 2002 18:32:57 -0000 @@ -817,8 +817,9 @@ .Sy \&\e\e . If it is necessary to place a .Sy \&: -in a capability it must be escaped in -octal as +in a capability it must be escaped as +.Sy \e: +or be encoded as .Sy \&\e072 . If it is necessary to place a .Dv NUL %%% Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9V//BUkv4P6juNwoRAqSuAJsEmLmSiXbESNLclgbVySQ25cDFjQCgheDV 55rRF91gQf4fpeJXp3lrP4o= =l84K -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208121840.g7CIe3pd081059>
