Solved

Change the color of the PUTTY window

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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 …
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

744 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

12 Experts available now in Live!

Get 1:1 Help Now