![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Font Color Change Using .profile | fifo_vs_lifo23 | Shell Programming and Scripting | 0 | 01-25-2007 08:31 AM |
| Change background color in VI editor | tictactoe | UNIX for Dummies Questions & Answers | 1 | 09-14-2006 11:19 PM |
| how to get background job to foreground | sandilya | Shell Programming and Scripting | 4 | 02-02-2006 08:29 AM |
| Execute SAS Foreground | terala | Shell Programming and Scripting | 0 | 10-21-2005 12:50 PM |
| problems with ctrl-z, to switch foreground, background | yls177 | UNIX for Dummies Questions & Answers | 9 | 04-15-2003 09:09 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
set background/foreground color in .profile
I am using a telnet session (VT100) and need to modify my .profile so that it will set the color of the telnet session. I am not using Xterm (ie: can't use .Xdefaults). I am able to change the colors via menu's but need to preset in .profile. Is this possible??? Can't find anything at all on how to do it. Please help
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Check the list of ANSI escape codes here: http://www.bluesock.org/~willg/dev/ansi.html
You just need to "echo" the appropriate codes to the screen. Note that any other command/program which uses ANSI color codes will reset your choices, so you may not get the desired affect by setting these in your profile. |
|
#3
|
||||
|
||||
|
This is usually a function of the termainal you are using and not your environment. You can change the text color in the way you describe, to some extent, but if it is the same functionality as you get in your terminals menu then I doubt you'll be able to do what you want.
|
|
#4
|
|||
|
|||
|
Thank you for your assistance
|
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|