[email protected]
[Top] [All Lists]

bin/43386: "tput longname" broke with terminfo

Subject: bin/43386: "tput longname" broke with terminfo
Date: Sat, 29 May 2010 19:35:00 +0000 UTC
>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 
[email protected]:/home/ocelot/netbsd/vfs/namei/sys/arch/amd64/compile/VALKYRIE 
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.

<Prev in Thread] Current Thread [Next in Thread>
  • bin/43386: "tput longname" broke with terminfo, dholland <=