Mail Archives: cygwin/2001/12/11/03:35:02
On Mon, Dec 10, 2001 at 08:27:24PM -0800, Gene C. Ruzicka wrote:
> when i use the bourne shell (sh,) the literal characters
> that are used to form the prompt (i.e., environmental
> variable $PS1,) which is set in /etc/profile on my
> system, .are displayed instead. for example, on
> my windows 2000 professional system, i see
> the following gibberish:
>
> \[\033]0;\w\007
> \033[32m\]\u@\h \[\033[33m\w\033[0m\]
> $
>
> can something be done to fix this? note: this
> happens only on sh; no problems in bash,
Sure, the default login shell is bash. The prompt set in /etc/profile
has never been made with ash in mind. Why don't you just change PS1 in
your own ~/.profile?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -