Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2659
  • Last Modified:

How to change the text color with .profile

Hi Experts,

Within the uers profile, our vendor created a menu system to load up three different environments.  Do any of you know how to change the text color within the .profile so that each environment is a different color?

Thanks for any assistance.
0
byd2k
Asked:
byd2k
  • 2
  • 2
1 Solution
 
omarfaridCommented:
Hi,

This can be done with terminal escape sequences which can be sent to the terminal. Please see:

http://www.termsys.demon.co.uk/vtansi.htm
0
 
byd2kAuthor Commented:
Hi Omarfarid,

Can you give me an example of manually typing in the command for a white background and a black text?

Thanks!
0
 
TintinCommented:
What type of terminal are you using?
0
 
omarfaridCommented:
Hi,

Well I tried my best, but I can not verify since I am using ssh client. try


 echo '^[[2;37;40m'
0
 
byd2kAuthor Commented:
Thank you for your help.  As it turns out, we are using a client application called WRQ.  I will reopen a new question for that since I am confident that your answer would work for a non-WRQ terminal client.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now