Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Oct 1999 23:20:43 -0700 (PDT)
From:      "Peter S. Housel" <housel@cx281057-a.irvn1.occa.home.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/14202: tgetstr() inserting termlib "%pn" into output
Message-ID:  <199910080620.XAA91457@cx281057-a.irvn1.occa.home.com>

next in thread | raw e-mail | index | archive | help

>Number:         14202
>Category:       bin
>Synopsis:       tgetstr() inserting termlib "%pn" into output
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct  7 23:30:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Peter S. Housel
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
None
>Environment:

4.0-current updated 1999.10.6

>Description:

The tgetstr() function is adding %p tags not originally present in the 
termcap file into its output format.  Gnu Emacs (the emacs20 port) interprets
these termcap strings itself, and is therfore not able to interpret them
correctly, resulting in incorrect cursor motion and such.

>How-To-Repeat:

Build emacs20 port and run emacs; note incorrect cursor positioning.

Build tc3.c from the TEST directory of libtermcap; note %p1 etc. tags
in the output.

>Fix:

Emacs can be patched to handle %p and work around this problem, but
it shouldn't have to be.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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