Date: Sat, 30 Oct 1999 19:27:51 -0400 (EDT) From: Kevin Street <street@iname.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/14615: Emacs scrambles the screen on the console Message-ID: <199910302327.TAA28785@mired.eh.local>
next in thread | raw e-mail | index | archive | help
>Number: 14615 >Category: ports >Synopsis: Emacs scrambles the screen on the console >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 30 16:30:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Kevin Street >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: 4.0-current as of Oct 23 1999 Emacs 20.4.1 built from ports/editors/emacs20 >Description: Emacs run on the console is unusable because it scrambles the screen. Problem caused by the late August (?) changes to -current which replaced libtermcap with a symlink to libncurses. Emacs tries to decode the string returned from tgetstr itself. Since the change in current the string is now in terminfo format rather than termcap format. The following patch forces Emacs to use the library versions of tparm and tgoto to do the decoding rather than rolling its own. It works by using the module intended for Emacs running on terminfo machines (ie. it uses terminfo.c rather than tparam.c). I tried this (briefly) on -current and -stable and it seems to work ok. See also pr bin/14202 from Peter S. Housel. >How-To-Repeat: Build the emacs port on current after the libtermcap changes. Run emacs on a text console. Move the cursor. >Fix: Install the following as ports/editors/emacs20/patches/patch-ce or merge this patch with patch-ca since they both affect src/Makefile.in Note: similar patches are likely needed for the other emacs ports. --- src/Makefile.in.orig Sat Oct 30 15:52:15 1999 +++ src/Makefile.in Sat Oct 30 15:55:28 1999 @@ -546,7 +546,7 @@ #define LIBS_TERMCAP termcapobj = termcap.o tparam.o #else /* LIBS_TERMCAP */ -termcapobj = tparam.o +termcapobj = terminfo.o #endif /* LIBS_TERMCAP */ #endif /* ! defined (TERMINFO) */ >Release-Note: >Audit-Trail: >Unformatted: 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?199910302327.TAA28785>