delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/21/04:22:39

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
Date: Mon, 21 Jan 2002 10:21:57 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Strange sh prompt
Message-ID: <20020121102157.C11608@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3C4BC23A DOT 9E04C1EE AT orleans DOT inra DOT fr>
Mime-Version: 1.0
In-Reply-To: <3C4BC23A.9E04C1EE@orleans.inra.fr>
User-Agent: Mutt/1.3.22.1i

On Mon, Jan 21, 2002 at 08:24:42AM +0100, Frederic Darboux wrote:
> Hello.
> 
> I have just installed cygwin on my new computer.
> Now, when I use sh, the prompt looks like :
> 
> $ sh
> \[\033]0;\w\007
> \033[32m\]\u@\h \[\033[33m\w\033[0m\]
> $ 
> 
> It seems "\[\033]0;\w\..." is the value of the PS1 environment variable.
> I looked for that on the mailing list archives and could just figured
> out other users have the same PS1 value.
> I re-installed the ash package, but this strange problem is still here.
> I think the only thing I modify myself since the installation is the
> drive mouting.
> 
> Does somebody have a clue about what I did wrong ?

Use bash as login shell, not ash.

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 -


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