03-05-2008
putty to change screen colours
Can any one tell me how to change the screen colors of the screen when connected unix using putty. I tryed setting from colors but it's not happening
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
If I want to change a Solaris 8 login screen to add a Company name what do I need to do ?
Current login prompt
SunOS 5.8
login:
... (2 Replies)
Discussion started by: miredale
2 Replies
2. UNIX for Advanced & Expert Users
Is it possible to change the putty window title from a Unix command line? (12 Replies)
Discussion started by: akbar
12 Replies
3. UNIX for Advanced & Expert Users
HI,
I have parsed a file and stored all my machine name and user name in a list.
Now I want to change in the putty code such that the machine name and user name can be passed through calling that one by one from tht list through an object. Then pass it to the place the putty takes user name... (7 Replies)
Discussion started by: madfox
7 Replies
4. Linux
Dear all
I install Cent OS 5.5 ( Linux OS), with bshell and also Windows OS on the my laptop (ASUA) maximum screen resolution in Windows OS is 1024*760 but in Cent OS 5.5 is 800 *600, I have a program that is necessary to install on Cent OS and I have problem with other Linux distributions... (2 Replies)
Discussion started by: mkhorami76
2 Replies
5. Solaris
Hi,
I use to work on solaris via putty
and always on session start
- i use to increase the font to 14 bold
- capture session output to a file
my requirement) to make these changes permanent, so that i need not to change the settings everytime i connect via putty
please advice.
... (0 Replies)
Discussion started by: saurabh84g
0 Replies
6. UNIX for Advanced & Expert Users
Hi everyone ,
Happy new year !
I have a question , hope someone will respond to me .
I will be logging into so many servers in the same putty . So , whenever i loggedoff and loggedin into anonther server , putty window will change accordingly to the server name .
If the above is... (7 Replies)
Discussion started by: radha254
7 Replies
7. UNIX for Dummies Questions & Answers
Hello all,
I have a not so unix question for you guys(or maybe it is). I use PUTTY to login to serverA (my putty title shows as serverA.domainname.com)
Now from ServerA i do ssh user@ServerB (i have ssh public private key setup)...
now my question is when i do ssh and logon to... (20 Replies)
Discussion started by: abdul.irfan2
20 Replies
8. AIX
Hello,
I have a problem with my putty session when i use the vi editor or when i do dbaccess on an Informix database.
Suddenly the background and foreground colour of my terminal change and it makes it difficult for me to see whats on the screen.
Why this is happening? Is there a way to keep... (2 Replies)
Discussion started by: omonoiatis9
2 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I am not sure if this is a known issue. I am using Putty and logging the session into a log, only the printable one.
On Solaris, all is working fine. But on Linux servers, Redhat or Suse, while the screen looks correct, the log file is not.
Note example below:
On the screen,... (1 Reply)
Discussion started by: newbie_01
1 Replies
10. UNIX for Dummies Questions & Answers
Hi all - just started using Linux Mint 17 and I need to change the Foreground & Background Colours for the Terminal, my eyesight is not what it used to be many years ago, so any help would be much appreciated.
Regards
Malcolm (6 Replies)
Discussion started by: electrocad
6 Replies
LEARN ABOUT PHP
ncurses_color_set
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)