i've seen that dialog however it just changes color settings i.e your terminal must be preconfigured for displaying colors, the next line doesn't work for me:
I have started a new job for 2 weeks not. I am distributing software packages through Tivoli and connecting to the servers using Putty in X11 and SSH.
But on the command line, the backspace is disabled. I know its a command I have to enter in my .profile but I don't remember. There is a Ctrl+H... (2 Replies)
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)
Dear all,
We have a practice of getting user's passwords expired after 60 days and a strong password policy.
When a user tries to enter a password which is not compliant to the policy which is set putty exists without giving any feedback to the user. Below is something i captured from the... (3 Replies)
Hi,
I had add the following line into .profile and .bash_profile for the timeout session to avoid putty close automatically :
timeout=10800
However, i still keep encounter session time out every after 60 seconds.
Can anyone please help advice.
Many Thanks! (2 Replies)
Hi,
sorry if this is the wrong forum for this question but I couldnt spot another obvious forum for it.
I have a windows shortcut which opens up a saved session in putty. From this session I then ssh to another remote server. I was wondering is there a way that I can either edit my shortcut... (2 Replies)
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)
I am running a process in nohup .
nohup getkeys.ksh 132 > 132.out &
When I close the putty terminal,The process is getting killed .
default_signal_handler called for signal no: 1
Is there a way to keep the process running even If I close the terminal (2 Replies)
Hi,
Is there any way to refresh the session(for the profile file changes get reflect) in putty?
I am tired of closing reopening putty.
Thanks,
Pandeeesh
CTRL + Q to Enable/Disable GoPhoto.it (4 Replies)
I have a Windows batch file with the below entry for auto login.
putty.exe -ssh user1@10.10.10.7 -pw passwd1 -m command.txtcommnd.txt contains the below entries
pwd
sudo su - user2Switching from user1 to user2 does not require any password .
Output just prints the pwd and not sudo
When i... (6 Replies)
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
LEARN ABOUT PHP
ncurses_pair_content
NCURSES_PAIR_CONTENT(3) 1 NCURSES_PAIR_CONTENT(3)ncurses_pair_content - Retrieves foreground and background colors of a color pairSYNOPSIS
int ncurses_pair_content (int $pair, int &$f, int &$b)
DESCRIPTION
Retrieves the foreground and background colors that constitute the given color pair. Terminal color capabilities must be initialized with
ncurses_start_color(3) prior to calling this function.
PARAMETERS
o $pair
- The number of the color pair to retrieve information for.
o $f
- A reference to which to return the foreground color of the color pair. The information returned will be a color number referring
to one of the pre-defined colors or a color defined previously by ncurses_init_color(3) if the terminal supports color changing.
o $b
- A reference to which to return the background color of the color pair. The information returned will be a color number referring
to one of the pre-defined colors or a color defined previously by ncurses_init_color(3) if the terminal supports color changing.
RETURN VALUES
Returns -1 if the function was successful, and 0 if ncurses or terminal color capabilities have not been initialized.
SEE ALSO ncurses_init_pair(3), ncurses_start_color(3).
PHP Documentation Group NCURSES_PAIR_CONTENT(3)