From owner-freebsd-ports Tue May 9 12:20: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8EF6E37BF09 for ; Tue, 9 May 2000 12:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA18657; Tue, 9 May 2000 12:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 9 May 2000 12:20:02 -0700 (PDT) Message-Id: <200005091920.MAA18657@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: "Kazuho Okui" Subject: Re: ports/17496: /usr/ports/editors/emacs termcap problem Reply-To: "Kazuho Okui" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/17496; it has been noted by GNATS. From: "Kazuho Okui" 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 */ + p++; /* Under FreeBSD 4.0R ignore %pn format. */ + break; + case 'd': /* %d means output in decimal. */ if (tem < 10) goto onedigit; Thanks, ---------------- Kazuho Okui http://www.naan.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message