NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/43386: "tput longname" broke with terminfo

>Number:         43386
>Category:       bin
>Synopsis:       "tput longname" broke with terminfo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 29 19:35:00 +0000 2010
>Originator:     David A. Holland
>Release:        NetBSD 5.99.29 (20100529)
System: NetBSD valkyrie 5.99.28 NetBSD 5.99.28 (VALKYRIE) #6: Sat May 1 
21:46:59 EDT 2010 
Architecture: x86_64
Machine: amd64

valkyrie% ./obj/tput longname


whereas in pre-terminfo 5.99.22:

tanaqui% /usr/bin/tput longname
xterm terminal emulator (X Window System)

The problem is that prlongname() in tput copies the name out of what
it thinks is a termcap entry, but it isn't one, so it gets nothing
and/or binary garble instead.


as above


Dunno. The long names are in the terminfo source but it's not clear
from the documentation how to get them at runtime.

Home | Main Index | Thread Index | Old Index