Kevin wrote:

> The following will give you the hostname in bright magenta on
current
> background a colon in gray on black the current directory is bright
> yellow on black and the username is black on yellow/brown(reverse
> video).
>
> PS1="\033[1;35m\h\033[1;30;40m:\033[1;33;40m\w\033[0m
> \033[0;43;30m\u\033[0m $"
>
> SoloCDM wrote:
> >
> > How do I change the type of display characterizations for a Color
> > XTerm or maybe better well known as an NXTerm? Somehow the shell
> > doesn't read the \332 characters with the correct format for the
PS1
> > prompt.

My understanding of the codes and sequences are not questionable.

Below is a sample of my prompt:

     PS1="\[\033[36;01m\]\332\304\[\033[33;01m\][\[\033[36;01m\]\304\

     \[\033[33;01m\](\[\033[36;01m\]\u\[\033[33;01m\]@\[\033[36;01m\]\h\

     \[\033[33;01m\])\[\033[36;01m\]-\[\033[33;01m\](\
     \[\033[36;01m\]\$(date '+%r %Z')\
     \[\033[33;01m\]-:-\[\033[33;01m\033[36;01m\]$(date '+%A, %B
     %d, %Y')\
     \[\033[33;01m\])\[\033[36;01m\]\304\[\033[33;01m]\[\033[36;01m\]\\$\

     \[\033[33;01m\]\n\[\033[36;01m\]\300\304\[\033[33;01m\](\
     \[\033[36;01m\]\w\[\033[33;01m\])\
     \[\033[36;01m\] >> \[\033[00m\]"

What I've tried to achieve is best viewed after activating the codes.
The problem displayed itself through the use of other terminals:
either a remote login to the server through a telnet terminal or
NXTerm (color terminal in X windows).

*********************************************************************
Signed,
SoloCDM

P.'S. Detailed Documentation(s) and Sample(s) are more than welcome.
      When you reply to this message, please include
      the mailing list and my address.



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to