bug-ncurses
[Top][All Lists]
Advanced

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

Re: Small bug in tput ... it does not accept hex numbers anymore


From: Thomas Dickey
Subject: Re: Small bug in tput ... it does not accept hex numbers anymore
Date: Tue, 27 Feb 2024 14:53:37 -0500

On Tue, Feb 27, 2024 at 04:00:13PM +0100, Dr. Werner Fink wrote:
> Hi,
> 
> one of my scripts is using tput in a bash shell sript and checks
> the rep feature of the XTerm.
> 
> Now I see wrong line letters and indeed if I check line graphic q
> tput does throw error messages if hex is used:
> 
>   tput rep 0x71 10
>   tput: unknown terminfo capability '0x71'
>   qqqqqqqqqq
> 
> if I use decimal numbers it works
> 
>   tput rep 113 10
>   qqqqqqqqqq
> 
> in older ncurses versions hex numbers are accepted without such
> error messages.

I hadn't noticed - that probably happened when I provided for the
OpenBSD-variant (but probably can repair that).

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]