Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to change the font or color of text Post 302151854 by porter on Monday 17th of December 2007 07:37:10 PM
Old 12-17-2007
Plain text does not contain formatting information.

You would need to send HTML.

See https://www.unix.com/unix-advanced-ex...x-command.html

Now, what will happen to somebody not using an HTML capable mail reader?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Font Color Change Using .profile

Does anyone know how can I change font color, background color etc for a particular user using .profile? Any help is appreciated. (0 Replies)
Discussion started by: fifo_vs_lifo23
0 Replies

2. Shell Programming and Scripting

Change color or font when executing a script

I'm writing a simple menu script and I would like to output the whole script using background color: black AND foreground color:white. Meaning if the ssh terminal of a user is set to green for example, it will change to my desired color when menu script is executed. Once the script is exited, it... (1 Reply)
Discussion started by: lhareigh890
1 Replies

3. Shell Programming and Scripting

Change the font of text in output file in shell scipt

hi, I want to change the font of text in output file. :( I tried the below code code: if awk 'BEGIN{if('$RSS'>='1000')exit 0;exit 1}' then RED=`echo "\033 i can see colors in terminal but not in output file :wall: please help me how i can get colors text in output file. edit... (1 Reply)
Discussion started by: sreelu
1 Replies

4. Shell Programming and Scripting

font color in script

i am using ubuntu 11.04 and i just finished writing a shell script but i was wanting to know if their is a way to change the font color of just one sentence? (2 Replies)
Discussion started by: hotshot247
2 Replies

5. Shell Programming and Scripting

change text color in postscript file

Hi everyone, I have a program that produces postscript files on the fly The color of the files produced are in black and white I want to change the text color of postscript file as the file is being produced without having to manually go into the ps file and change it myself. Any Ideas?... (5 Replies)
Discussion started by: walforum
5 Replies

6. UNIX for Dummies Questions & Answers

How to change the background color in the init 3 mode(not line color)

Hello, I am using RHEL 6.1 on VMware I am searching for a way to change background color (not line by line color wich one can using tput command) basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Discussion started by: Dexobox
2 Replies

7. Shell Programming and Scripting

Change text color in Korn shell to highlight Error

Hi this is my first post, so forgive me if what I'm requesting doesn't make sense. I'm connecting into a Unix server via SSH and using a Korn Shell (#!/bin/ksh). The Unix server has Oracle 11g installed on it and there are a number of scripts already setup to query the Oracle database to perform... (2 Replies)
Discussion started by: KeithJ
2 Replies

8. UNIX for Beginners Questions & Answers

Change text color from echo command?

I have a bash script that starts and stops a game among other things through in.fifo and out.fifo In game the text comes out gray . Kinda hard to see in game window . I would like to change it to purple and maybe capitalize it. #!/bin/bash #nwservctl.sh cd... (5 Replies)
Discussion started by: 222222quick
5 Replies

9. Shell Programming and Scripting

Send mail with font color change

Hi All, I have a file that contains following entries. I want to highlight the line that has word as "FAILURE" while sending the email. File ------------------------------------------------------------ Job Name: ABC Start Time: 07/20/2019 07:32:39 End Time: 07/20/2019... (4 Replies)
Discussion started by: sdosanjh
4 Replies

10. UNIX for Beginners Questions & Answers

Change text font to greater one in this very good MOTIF texteditor ?

Hi, i have here found a very good texteditor source code programmed in the MOTIF GUI language. For myself i need NOTHING else to program. To start from a very easy point of view i want to RUN this editor on my LINUX machine and type simple C code. The reason for this post is that the text... (7 Replies)
Discussion started by: Sennenmut
7 Replies
IRC::Formatting::HTML(3pm)				User Contributed Perl Documentation				IRC::Formatting::HTML(3pm)

NAME
IRC::Formatting::HTML - Convert between HTML and IRC formatting VERSION
Version 0.29 SYNOPSIS
Convert raw IRC formatting to HTML use IRC::Formatting::HTML qw/irc_to_html html_to_irc/; ... my $irctext = "02031,2Iron & Wine"; my $html = irc_to_html($irctext); print $html # the above will print: # <span style="font-weight: bold;color: #000; background-color: #008">Iron &amp; Wine</span> ... my $html = "<b><em>Nicotine and gravy</em></b>"; my $irctext = html_to_irc($html); print $html; # the above will print: # 0226Nicotine and Gravy0226 FUNCTIONS
irc_to_html irc_to_html($irctext, invert => "italic") Takes an irc formatted string and returns the HTML version. Takes an option to treat inverted text as italic text. html_to_irc html_to_irc($html) Takes an HTML string and returns an irc formatted string AUTHOR
Lee Aylward, <leedo@cpan.org> BUGS
Please report any bugs or feature requests to "bug-irc-formatting-html at rt.cpan.org", or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IRC-Formatting-HTML <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IRC-Formatting-HTML>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc IRC::Formatting::HTML You can also look for information at: o RT: CPAN's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=IRC-Formatting-HTML <http://rt.cpan.org/NoAuth/Bugs.html?Dist=IRC-Formatting-HTML> o AnnoCPAN: Annotated CPAN documentation http://annocpan.org/dist/IRC-Formatting-HTML <http://annocpan.org/dist/IRC-Formatting-HTML> o CPAN Ratings http://cpanratings.perl.org/d/IRC-Formatting-HTML <http://cpanratings.perl.org/d/IRC-Formatting-HTML> o Search CPAN http://search.cpan.org/dist/IRC-Formatting-HTML/ <http://search.cpan.org/dist/IRC-Formatting-HTML/> ACKNOWLEDGEMENTS
This is a direct port of Sam Stephenson's ruby version. COPYRIGHT &; LICENSE Copyright 2009 Lee Aylward, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2011-01-13 IRC::Formatting::HTML(3pm)
All times are GMT -4. The time now is 10:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy