Solved

Change the color of the PUTTY window

Posted on 2007-04-08
5
11,464 Views
Last Modified: 2012-05-05
I am using PUTTY and ksh is the default shell. Through isql i am connecting to databases. I have different aliases to connect to  DEV/PROD. What i want to be able to do is if i enter the alias to connect to PROD then the window color should change to RED. so by doing this i would be able to say which database server i am working on by looking at the color of the window.
  Now i am doing this manually like change the settings of PUTTY after i get connected. Please let me know if it is possible to acheive this ?

Thanks
0
Comment
Question by:koppcha
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 19

Accepted Solution

by:
NickUpson earned 250 total points
ID: 18874980
each connection in putty is saved seperately, so you could have 2 different connections defined, eachwith different colour settings, and you decide which one you start up. I don't see anyway to do exactly what you want
0
 
LVL 4

Expert Comment

by:vamsi_uk
ID: 18889874
You cannot change the colour of the window, but you can configure the background or font colour to be different everytime you login into different sessions.
If you want to load a session called xyz@abc.com in RED and xyz@123.com in BLUE you can do the following steps to acheive this.

1. open putty window
2. load the session (do not click on open)
3. then go to "colours" under "windows" option
4. select "Default Foreground" to change the font colour and then click on modify and choose the colour you want
5. click on session and click on save
6. Now everytime you open this particular session, you will get different colour.

You can play around a bit with other colour options
0
 
LVL 8

Author Comment

by:koppcha
ID: 19067792
That 's pretty much what i am doing now. I dont think we can do the way i want.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
auto mounter on hp-ux 2 38
Remote Change Dates on AIX Automation 7 76
Unix Question 19 53
How should I mount this 3 TB USB Hard disk to my Linux server? 9 130
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question