The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
tput smso (bold) ruins formatting pondlife Shell Programming and Scripting 2 02-07-2006 10:58 AM
tput clear whatisthis Shell Programming and Scripting 4 10-07-2004 07:44 AM
quick question! TPUT!? moxxx68 UNIX for Dummies Questions & Answers 3 09-04-2004 08:56 PM
problem with incorporating tput in a c program TRUEST High Level Programming 3 01-26-2003 08:04 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-15-2006
Registered User
 

Join Date: Mar 2006
Posts: 35
Use of tput ?

what is use of
tput smso
tput rmso
tput sgr0

Thanks
Reply With Quote
Forum Sponsor
  #2  
Old 03-15-2006
Registered User
 

Join Date: Mar 2006
Location: South Yorkshire, UK
Posts: 114
tput smso Set standout mode
tput rmso Cancel standout mode

There are four versions of the sgr command
tput sgr 0 1 turn off standout; turn on underline
tput sgr 0 0 turn off standout; turn off underline
tput sgr 1 1 turn on standout; turn on underline
tput sgr 1 0 turn on standout; turn off underline

The actual effects (if any) depend on the terminal's physical capabilities and the settings for it in the terminfo database.

All that and more is in tput's man pages (man tput)
Reply With Quote
  #3  
Old 03-15-2006
Registered User
 

Join Date: Mar 2006
Posts: 35
Thanks for the useful information
Reply With Quote
  #4  
Old 03-16-2006
Registered User
 

Join Date: Feb 2005
Posts: 71
Question

duplicate message

Last edited by gefa; 03-17-2006 at 07:20 AM. Reason: duplicate
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:59 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0