Bug#2841: Bug in tput.
In message <[🔎] m0uMnBn-0002YBC@chiark.chu.cam.ac.uk>, Ian Jackson writes:
>John F. Bunch writes ("Bug#3088: Bug in tput."):
>> When a terminfo(5) capability contains a delay in milliseconds,
>> $<..>, the delay is output instead of being removed from the string
>> before output.
>Thanks for this bug report. I believe this sheds some light on my bug
>report #2841 `top produces `$<3>' at end of each line !', so I've put
>that bug# in the Subject here rather than #3088 to get this message
>filed there.
>> Linux Bug Report from John F. Bunch (jfbunch@ingr.com)
>>
>> Package: tput
>> Version: 1.0-5
>>
>> Operating system: Linux 1.2.13
>> Distribution: Debian 0.93 Release 6
>> Compiler: Software used as packaged.
>>
>> Problem description:
>>
>[ moved to above my text ]
>>
>> Procedure to generate bug:
>>
>> $ export TERM=vt100
>> $ tput bold
>> $ 2>$
I'll note that tput in ncurses-bin does not show this behavior (though I
shortened the test to `TERM=vt100 tput bold`) I'm not sure it's actually
related. I think the top problem is either an actual, legitimate
difference between a vt100 and xterm/console/etc, or a problem in the
terminfo file. I'm hoping someone can produce an authoritative answer
WRT the behavior on a true vt100.
Mike.
--
"Don't let me make you unhappy by failing to be contrary enough...."
Reply to: