LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-25-2009, 12:20 AM   #1
davender84
Member
 
Registered: Feb 2009
Posts: 42

Rep: Reputation: 15
Smile 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
 
Old 04-26-2009, 09:48 AM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Quote:
Originally Posted by davender84 View Post
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?
 
Old 04-28-2009, 03:56 AM   #3
davender84
Member
 
Registered: Feb 2009
Posts: 42

Original Poster
Rep: Reputation: 15
Smile hi

Quote:
Originally Posted by jhwilliams View Post
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
 
Old 05-25-2009, 06:12 PM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
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 _.
 
Old 06-05-2009, 03:17 PM   #5
dickey
Member
 
Registered: Jun 2009
Posts: 43

Rep: Reputation: 18
Post "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).
 
Old 06-06-2009, 10:57 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by dickey View Post
(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.
 
Old 06-07-2009, 05:55 AM   #7
dickey
Member
 
Registered: Jun 2009
Posts: 43

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

Also, of course -

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

Last edited by dickey; 06-07-2009 at 05:56 AM. Reason: add terminfo url
 
Old 06-08-2009, 07:29 AM   #8
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
"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.
 
Old 06-09-2009, 03:48 AM   #9
dickey
Member
 
Registered: Jun 2009
Posts: 43

Rep: Reputation: 18
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
 
Old 06-15-2009, 04:25 AM   #10
davender84
Member
 
Registered: Feb 2009
Posts: 42

Original Poster
Rep: Reputation: 15
Smile thanks to u

Quote:
Originally Posted by dickey View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tput davender84 Linux - General 2 02-27-2009 03:33 AM
regarding use of fuctional keys with tput davender84 Linux - General 0 02-23-2009 02:01 AM
LXer: GPL advocates urged<strike>told</strike> to pay for love LXer Syndicated Linux News 0 02-22-2007 12:16 PM
LXer: Cassatt and XenSource to sell<strike>hype</strike> software together LXer Syndicated Linux News 0 10-03-2006 12:21 PM
LXer: Third XP Service Pack slips to boost Vista<strike>sales</strike> tools LXer Syndicated Linux News 0 01-17-2006 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration