Ramu Shetty
asked on
Coloring AIX console
I am planning to color up my text and background on a AIX console and would like to permanently add it to my .profile in the home directory.
I have searched some post on EE, I found a solution and I was trying to implement #25899388/#25920311 but for some reason its not working. I have both ksh versions. But for now I am using KSH
To color the text yellow, I tried ..
color=$(tput colf3); nocolor=$(tput sgr 0); export PS1='${color}[$PWD]>${noco lor}'
1. Can you please help if I need to do something else.
2. I would also like to know how to change the background color also..
Thank you
I have searched some post on EE, I found a solution and I was trying to implement #25899388/#25920311 but for some reason its not working. I have both ksh versions. But for now I am using KSH
To color the text yellow, I tried ..
color=$(tput colf3); nocolor=$(tput sgr 0); export PS1='${color}[$PWD]>${noco
1. Can you please help if I need to do something else.
2. I would also like to know how to change the background color also..
Thank you
ASKER
When I say Console, Its the putty session I am using to connect to an AIX server.
The tput sequences you define are dependent upon what is defined in the tic file for the terminal type you have set for your session.
From your putty session please type:
echo $TERM
and post the result.
From your putty session please type:
echo $TERM
and post the result.
ASKER
Here are the results
$ echo $TERM
vt100
So can you please let me know where should i update the tic file and what should i update with..??
$ echo $TERM
vt100
So can you please let me know where should i update the tic file and what should i update with..??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sriveena,
"When I say Console, Its the putty session I am using to connect to an AIX server."
What you really want to do is just chage the colors in your PuTTY session definition, and that way you can define different sessions to the same server, but using different color schemes, ie: you can have one to read logs, another to program scripts, etc.
This is done from within PuTTY itself:
"When I say Console, Its the putty session I am using to connect to an AIX server."
What you really want to do is just chage the colors in your PuTTY session definition, and that way you can define different sessions to the same server, but using different color schemes, ie: you can have one to read logs, another to program scripts, etc.
This is done from within PuTTY itself:
Select your saved session name from the Saved Sessions left pane and click Load,
expand the Window entry on the left and select Colours
now you can change the Default Foreground, and Default Background, for example to create a "whitepaper" feel try Foreground 0 (black) and Background 255 (white)
Is you console configured as CDE?