LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   use of over strike with tput (https://www.linuxquestions.org/questions/linux-general-1/use-of-over-strike-with-tput-721524/)

davender84 04-25-2009 12:20 AM

use of over strike with tput
 
hi
there is a command "tput os" here os means overstrike i dont understand what is it,in respect to computers can anybody tell me the meaning of over strike

jhwilliams 04-26-2009 09:48 AM

Quote:

Originally Posted by davender84 (Post 3520211)
hi
there is a command "tput os" here os means overstrike i dont understand what is it,in respect to computers can anybody tell me the meaning of over strike

I see no mention of this is the man page for tput ( ncurses version 5.6.20071124 ) on my Ubuntu system. What version of tput are you using?

davender84 04-28-2009 03:56 AM

hi
 
Quote:

Originally Posted by jhwilliams (Post 3521426)
I see no mention of this is the man page for tput ( ncurses version 5.6.20071124 ) on my Ubuntu system. What version of tput are you using?


i am using rhel-5 and ncurses-5.5-24.20060715
os=overstrike
"os" is a boolean capability used with tput command
i want to know the use of "os" with tput

archtoad6 05-25-2009 06:12 PM

Code:

$ tput -V
ncurses 5.5.20060422

Nor do I have any mention of "os" or "overstrike" in my tput man page.

However, "overstrike" usually means to print a 2nd character on top another, creating something not in the character set, e.g.: o, |, or _.

dickey 06-05-2009 03:17 PM

"os" with tput
 
"os" is a boolean value which tells an application whether
a terminal can do overstriking. "tput os" would make tput
recognize that it's a boolean, and set tput's exit-code to
0 or 1 (all of which is documented in the terminfo and tput
manpages).

archtoad6 06-06-2009 10:57 AM

Quote:

Originally Posted by dickey (Post 3564564)
(all of which is documented in the terminfo and tput
manpages).

A link, please, to a tput man page where this is documented -- 2 of us can't find find this on our systems.

dickey 06-07-2009 05:55 AM

http://invisible-island.net/ncurses/man/tput.1.html

Also, of course -

http://invisible-island.net/ncurses/man/terminfo.5.html

archtoad6 06-08-2009 07:29 AM

"os", "over_strike", is NOT mentioned in the tput man page you linked to, but rather in the one for terminfo. One has to read both man pages side by side to understand what
Code:

tput os
means/does.

From the terminfo man page:
Quote:

over_strike os os terminal can over-strike

As to the original Q, see the WikipediaŽ overstrike page.

dickey 06-09-2009 03:48 AM

I was responding to the question by davender84 (use of os with tput).
By the way, Wikipedia is not a reliable source of information.
The topic which you have pointed to does in fact need work, since
(a) it contains no references, and
(b) contains some personal opinion in lieu of facts.

hth

davender84 06-15-2009 04:25 AM

thanks to u
 
Quote:

Originally Posted by dickey (Post 3567719)
I was responding to the question by davender84 (use of os with tput).
By the way, Wikipedia is not a reliable source of information.
The topic which you have pointed to does in fact need work, since
(a) it contains no references, and
(b) contains some personal opinion in lieu of facts.

hth

thanks for ur support i got the ans.


All times are GMT -5. The time now is 09:56 AM.