Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 1999 12:29:05 -0700
From:      "Peter S. Housel" <housel@cx281057-a.irvn1.occa.home.com>
To:        Brian Dean <brdean@unx.sas.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: emacs / ncurses - problem somewhere 
Message-ID:  <199910291929.MAA35072@cx281057-a.irvn1.occa.home.com>
In-Reply-To: Message from Brian Dean <brdean@unx.sas.com>  of "Fri, 29 Oct 1999 13:56:47 EDT." <199910291756.NAA20672@dean.pc.sas.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910291929.MAA35072>