Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Text color in Linux scripts via putty Post 302990284 by Yoda on Tuesday 24th of January 2017 11:19:00 AM
Old 01-24-2017
I guess you are using vim and syntax highlighting is turned on, to turn it back off, in command mode type:-
Code:
:syntax off

This User Gave Thanks to Yoda For This Post:
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Color putty

Right now I am using putty. I am using 2-3 terminals at a time. To differentiate each termianl I want to put each putty screen and background color to different colors. I tried changing the colors in normal putty but it's not working. Is there any other color putty ? Regards, Venkat (2 Replies)
Discussion started by: svenkatareddy
2 Replies

2. Shell Programming and Scripting

text color

Hi all I have a file contains columns showing figures as below : Input file A B C D 50 60 90 E 100 20 53 F 30 40 70 G 25 27 45 I want to color the value above or equal 90 by red and to be shown as below output file... (5 Replies)
Discussion started by: Bluetoot
5 Replies

3. AIX

Enabling color for putty session

Hi Everyone: Is there any way to enable colors through putty for a session into AIX? I've tried to set the TERM variable to xterm-256color but it doesn't work having a 8-color terminal would be okay for me thanks in advance (5 Replies)
Discussion started by: edgarvm
5 Replies

4. Red Hat

New Background and Text Color

Hi. How do I change the background color and text in Fedora. I did find the set_color -b command. Thanks (1 Reply)
Discussion started by: Ccccc
1 Replies

5. Programming

changing text color in c

I'm writing my own Unix ls command in c and I was wondering if anyone knows how to or can point me to a tutorial that shows me how to change the text color of the filename depending on if it's a directory, regular file, linked file, etc..., like the real ls command does? Thanks. (4 Replies)
Discussion started by: snag49ers
4 Replies

6. AIX

How to color text and mail

I want to color the text and bold the text and mail these text. input: hi..(in bold) good morning (in blue color) and mail these as in color and bold :wall: (1 Reply)
Discussion started by: AhmedLakadkutta
1 Replies

7. Shell Programming and Scripting

regarding Color scheme in linux console connected through putty.

Hi All, I am connecting to SunOs 5.8 server from windows machine through putty. My problem is commands are not showing any colours results. I want to see 'ls' command should list directories in 'red' and files in 'green' etc. How to do it . Please help. Also How to enable syntax colouring in... (6 Replies)
Discussion started by: Sooraj_Linux
6 Replies

8. Ubuntu

Using color in scripts

This is supposed to colorize. But it outputs this 3 GREEN='3; then echo -e "${GREEN}File exists.${RESET}" else echo -e "${RED}File does NOT exist.${RESET}" fi (18 Replies)
Discussion started by: drew77
18 Replies
text2gif(1)						      General Commands Manual						       text2gif(1)

NAME
text2gif - A program to generate GIF images out of regular text. Text can be one line or multi-line, and is converted using 8 by 8 fixed font. USAGE
text2gif [-q] [-s ClrMapSize] [-f FGClr] [-c R G B] [-t Text ] [-h] This program reads stdin if no text is provided on the command line (-t), and will dump the created GIF file to stdout. MEMORY REQUIRED
Line. OPTIONS
[-q] Quiet mode. Defaults off on MSDOS, on under UNIX. Controls printout of running scan lines. Use -q- to invert. [-s ClrMapSize] Explicitly defines the size of the color map of the resulting gif image. Usually the image will be bicolor with fg as color 1, unless [-f] is explicitly given in case the color map size will be big enough to hold it. However it is sometimes convenient to set the color map size to certain size while the fg color is small mainly so this image may be merged with another (images must match color map size). [-f FG] Select foreground index (background is always 0). By default it is one and therefore the image result is bicolored. if FG is set to n then color map will be created with 2^k entries where 2^k > n for minimum k, assuming k <= 8. This color map will be all zeros except this forground index. This option is useful if this text image should be integrated into other image colormap using their colors. [-c R G B] The color to use as the foreground color. White by default. [-t "Text"] One line of text can be provided on the command line. Note you must encapsulate the Text within quotes if it has spaces (The quotes themselves are not treated as part of the text). If no -t option is provided, stdin is read until end of file. [-h] Print one line command line help, similar to Usage above. NOTES
There is a hardcoded limit of 100 the number of lines. AUTHOR
Gershon Elber Man page created by T.Gridel <tgridel@free.fr>, originally written by Eric S. Raymond <esr@thyrsus.com> giflib-tools text2gif(1)
All times are GMT -4. The time now is 07:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy