Date: Tue, 9 May 2000 12:20:02 -0700 (PDT) From: "Kazuho Okui" <kaz@naan.net> To: freebsd-ports@FreeBSD.org Subject: Re: ports/17496: /usr/ports/editors/emacs termcap problem Message-ID: <200005091920.MAA18657@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/17496; it has been noted by GNATS. From: "Kazuho Okui" <kaz@naan.net> To: freebsd-gnats-submit@FreeBSD.org, baram@HOME.NET Cc: Subject: Re: ports/17496: /usr/ports/editors/emacs termcap problem Date: Wed, 10 May 2000 04:17:55 JST It was to change termcap library in FreeBSD 4.0R. The old version's tgetstr("cm"...) return follows string at xterm. \E%i%d;%dH But, new version's it return follows that is likely terminfo format. \E%p1%d;%p2%dH The Emacs has 'tgoto' routine in itself that is in tparam.c. This routine doesn't support new format. So, We don't use system termcap library (Mr.Tomoyuki's patch) or must be modify tgoto routine. e.g) --- tparam.c.orig Wed Apr 10 07:14:20 1996 +++ tparam.c Wed May 10 04:14:24 2000 @@ -174,6 +174,10 @@ tem = *argp; switch (c) { + case 'p': /* 2000.05.10 Kazuho Okui <kaz@naan.net > */ + p++; /* Under FreeBSD 4.0R ignore %pn format. */ + break; + case 'd': /* %d means output in decimal. */ if (tem < 10) goto onedigit; Thanks, ---------------- Kazuho Okui <kaz@naan.net> http://www.naan.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005091920.MAA18657>