Sponsored Content
Full Discussion: Color putty
Top Forums Shell Programming and Scripting Color putty Post 302185481 by rein on Tuesday 15th of April 2008 04:55:26 AM
Old 04-15-2008
In PuTTY:

Right click top bar > Change settings > Window > Colours > Default background > Modify

usually works?
 

4 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. UNIX for Beginners Questions & Answers

Text color in Linux scripts via putty

hi Folks, Can anyone help with changing the color of the words in a linux shell script? I get how to change default background etc in putty, but for some reason the text in the script has different colors for different parts of the cript. Is there a way to have one color in a linux shell... (5 Replies)
Discussion started by: jonnyd
5 Replies
NCURSES_COLOR_SET(3)							 1						      NCURSES_COLOR_SET(3)

ncurses_color_set - Set active foreground and background colors

SYNOPSIS
int ncurses_color_set (int $pair) DESCRIPTION
Sets the active foreground and background colors. Any characters written after this function is invoked will have these colors. This func- tion requires terminal colors to be supported and initialized using ncurses_start_color(3) beforehand. ncurses uses color pairs to specify both foreground and background colors. Use ncurses_init_pair(3) to define a color pair. PARAMETERS
o $pair - The color pair from which to get the foreground and background colors to set as the active colors. RETURN VALUES
Returns -1 on success, and 0 on failure. EXAMPLES
Example #1 Writing a string with a specified color to the screen <?php ncurses_init(); // If the terminal supports colors, initialize and set active color if (ncurses_has_colors()) { ncurses_start_color(); ncurses_init_pair(1, NCURSES_COLOR_YELLOW, NCURSES_COLOR_BLUE); ncurses_color_set(1); } // Write a string at specified location ncurses_mvaddstr(10, 10, "Hello world! Yellow on blue text!"); // Flush output to screen ncurses_refresh(); ncurses_end(); ?> SEE ALSO
ncurses_init_pair(3), ncurses_start_color(3). PHP Documentation Group NCURSES_COLOR_SET(3)
All times are GMT -4. The time now is 02:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy