Bug 14202

Summary: tgetstr() inserting termlib "%pn" into output
Product: Base System Reporter: Peter S. Housel <housel>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   

Description Peter S. Housel 1999-10-08 07:30:00 UTC
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.

Fix: 

Emacs can be patched to handle %p and work around this problem, but
it shouldn't have to be.
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.
Comment 1 jseger freebsd_committer freebsd_triage 1999-11-25 22:23:25 UTC
State Changed
From-To: open->closed

Emacs fixed to accomadate this.