Solved

Change the color of the PUTTY window

Posted on 2007-04-08
5
11,448 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

861 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now