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
how to modify font size and type from script helido UNIX for Advanced & Expert Users 3 02-08-2008 07:19 AM
How to change the font or color of text pssandeep UNIX for Dummies Questions & Answers 4 12-18-2007 03:15 PM
Font Color Change Using .profile fifo_vs_lifo23 Shell Programming and Scripting 0 01-25-2007 08:31 AM
Changing font and color in log file of Script satgo Shell Programming and Scripting 4 09-21-2006 06:12 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 03-13-2008
Registered User
 

Join Date: Mar 2008
Posts: 1
Specifying font type and color in a shell script

Hi,

I am new to shell script. Can you please tell me, whether can we specify font type and color in a shell script? If so, how to do this?

Thanks in advance.
Reply With Quote
Forum Sponsor
  #2  
Old 03-13-2008
Registered User
 

Join Date: Mar 2008
Location: /bin/sh
Posts: 352
Following can be used:

###################
## "style sheet" ##

my $ss_header = $mw -> fontCreate( -family => "Courier", -size => "14", -weight => "bold" );
my $ss_results_body = $mw->fontCreate(
-family => "screen",
-size => 12,
-weight => "normal"
);

Hope this is helpful!
Thanks!
nua7
Reply With Quote
  #3  
Old 03-13-2008
Registered User
 

Join Date: Dec 2006
Posts: 131
Question

Quote:
Originally Posted by nua7 View Post
Following can be used:

###################
## "style sheet" ##

my $ss_header = $mw -> fontCreate( -family => "Courier", -size => "14", -weight => "bold" );
my $ss_results_body = $mw->fontCreate(
-family => "screen",
-size => 12,
-weight => "normal"
);

Hope this is helpful!
Thanks!
nua7
nua7,

Can you please explain the usage please?
Reply With Quote
  #4  
Old 03-13-2008
Registered User
 

Join Date: Mar 2008
Location: /bin/sh
Posts: 352
Thumbs up

Please refer to the link below.

font - Create and inspect fonts.

Thanks!
nua7
Reply With Quote
  #5  
Old 03-13-2008
Registered User
 

Join Date: Dec 2006
Posts: 131
Post

Quote:
Originally Posted by nua7 View Post
Please refer to the link below.

font - Create and inspect fonts.

Thanks!
nua7
Great ! thanks nau7
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:53 AM.


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