delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/10/23:20:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <003801c181fc$26b321a0$e8c6b3d1@HUNG>
From: "Gene C. Ruzicka" <gcruzicka AT earthlink DOT net>
To: <cygwin AT cygwin DOT com>
Subject: prompt malfunctions when invoking sh
Date: Mon, 10 Dec 2001 20:27:24 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

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,
tcsh.




--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019