bug-ncurses
[Top][All Lists]
Advanced

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

Re: testing for attrs like A_BLINK


From: Thomas Dickey
Subject: Re: testing for attrs like A_BLINK
Date: Thu, 5 Apr 2007 16:45:37 -0400 (EDT)

On Thu, 5 Apr 2007, Bryan Christ wrote:

Well according to termattrs() fbconsole, gnome-terminal, and xterm supposedly support A_BLINK, but when the attribute is enabled it does not work. konsole reports correctly and indeed the char does blink.

termattrs() can only tell you what the terminal description says.
It can't tell what the terminal really does...


William McBrine wrote:
On Thu, 5 Apr 2007, Bryan Christ wrote:

is there a way to test whether the underlying terminal support a certain attr like A_BLINK? looking for any answer, but a portable one is always the best

This is the purpose of termattrs().

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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