- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Colors in Telnet Sessions !!
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 04:27 AM
07-29-2003 04:27 AM
Colors in Telnet Sessions !!
How do i set Colors in telnet sessions ?
What commands shuold i add to .profile ?
Eran .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 04:30 AM
07-29-2003 04:30 AM
Re: Colors in Telnet Sessions !!
alternatively old 3d glasses can be useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 05:11 AM
07-29-2003 05:11 AM
Re: Colors in Telnet Sessions !!
You can use Exceed without modifying files. But you'll have one color for for the text in that particular session. Other servers can have different colors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 05:30 AM
07-29-2003 05:30 AM
Re: Colors in Telnet Sessions !!
Do you need the colors to be different for different sessions?
Thanks,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 06:04 AM
07-29-2003 06:04 AM
Re: Colors in Telnet Sessions !!
export PS1=$($HOME/bin/setPS1)
With a script like this
#!/usr/bin/ksh
# Make certain that the length of time fields is 2-digit:
#set -x
typeset -RZ2 hr min sec
# Get a string which is parsable to the number of seconds.
let SECONDS=$(/usr/bin/date '+3600*%H+60*%M+%S')
s='(hr=(SECONDS/3600)%24)==(min=(SECONDS/60)%60)==(sec=SECONDS%60)'
d=
TIME='"${d[s]}$hr:$min:$sec"'
#export MESSAGE=\\${TIME}':'"On "\\$PWD" "\\$MESSAGE
#echo $TIME $MESSAGE
echo "\e&v4S $LOGNAME \e&v5S $(uname -nmrv) \e&v2S:\e&v4S $MESSAGE
\e&v5S\\$PWD\e&v1S >\e&v0S"
Will give you a prompt in color
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 07:37 AM
07-29-2003 07:37 AM
Re: Colors in Telnet Sessions !!
http://www.cs.utk.edu/~shuford/terminal_index.html
which is the most exhuastive repository of terminal information on the net.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 07:45 AM
07-29-2003 07:45 AM
Re: Colors in Telnet Sessions !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 08:12 AM
07-29-2003 08:12 AM
Re: Colors in Telnet Sessions !!
echo '\033[1m\033[33m'
This will turn your text bold and yellow.
bold = \033[1m
yellow = \033[33m
green = \033[32m
red = \033[31m
blue = \033[34m
David