From owner-freebsd-current Fri Oct 29 12:30:20 1999 Delivered-To: freebsd-current@freebsd.org Received: from cx281057-a.irvn1.occa.home.com (cx281057-a.irvn1.occa.home.com [24.5.32.114]) by hub.freebsd.org (Postfix) with ESMTP id 1E4AA14D41 for ; Fri, 29 Oct 1999 12:30:15 -0700 (PDT) (envelope-from housel@cx281057-a.irvn1.occa.home.com) Received: from cx281057-a.irvn1.occa.home.com (localhost [127.0.0.1]) by cx281057-a.irvn1.occa.home.com (8.9.3/8.9.3) with ESMTP id MAA35072; Fri, 29 Oct 1999 12:29:05 -0700 (PDT) (envelope-from housel@cx281057-a.irvn1.occa.home.com) Message-Id: <199910291929.MAA35072@cx281057-a.irvn1.occa.home.com> To: Brian Dean Cc: freebsd-current@FreeBSD.ORG Subject: Re: emacs / ncurses - problem somewhere In-Reply-To: Message from Brian Dean of "Fri, 29 Oct 1999 13:56:47 EDT." <199910291756.NAA20672@dean.pc.sas.com> Date: Fri, 29 Oct 1999 12:29:05 -0700 From: "Peter S. Housel" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Ever since the libtermcap / libncurses consolidation, change emacs has > problems positioning the cursor and properly updating the screen for > character-only devices like the console. It also affects the display > in an xterm in non-X mode, i.e., when DISPLAY is *not* set. > > This is emacs 20.4, by the way on current as of yesterday. I've tried > emacs from packages as well as a freshly built one from the ports and > both exhibit the problem. > > Note that emacs works fine when it brings up is own window due to > DISPLAY being set. > > Has anyone else seen this and already have a fix or know for sure > whether this is an emacs bug or a FreeBSD bug? I filed a bug report for this. I fixed it in Emacs with the following patch. I think it's a FreeBSD bug, though. -Peter- housel@acm.org --- /tmp/tparam.c Fri Oct 29 12:27:03 1999 +++ tparam.c Thu Oct 7 23:07:24 1999 @@ -290,6 +290,9 @@ case 'D': /* %D means weird Delta Data transformation. */ argp[0] -= 2 * (tem % 16); break; + case 'p': /* from terminfo */ + p++; + break; } } else To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message