delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/28/15:17:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <3.0.5.32.20000828151657.007e5100@email.psu.edu>
X-Sender: yxz11 AT email DOT psu DOT edu
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32)
Date: Mon, 28 Aug 2000 15:16:57 -0400
To: cygwin AT sources DOT redhat DOT com
From: Yu Zhang <yxz11 AT psu DOT edu>
Subject: Re: Change command prompt
In-Reply-To: <20000828190802.17965.qmail@web108.yahoomail.com>
Mime-Version: 1.0

Thanks for everyone replied, the problem is caused by the '\r' in .bashrc.

At 12:08 PM 08/28/2000 -0700, Earnie Boyd wrote:
>--- Yu Zhang <yxz11 AT psu DOT edu> wrote:
>> Hello there:
>> 
>> I tried to change command prompt by putting "export PS1='`cygpath -w
>> \w`>'"(no double quotation marks) in ~/.bashrc. The prompt changed but the
>> cursor is moved to the first column. However, if I execute "export
>> PS1='`cygpath -w \w`>'", then everything is fine. What did I do wrong and
>> what should I do to change command prompt.
>> 
>
>Make sure that the .bashrc file has UNIX style line endings.
>
>cp .bashrc .bashrc.old
>tr -d '\r' < .bashrc.old > .bashrc
>
>Cheers,
>
>=====
>---
>   Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
>            __Cygwin: POSIX on Windows__
>Cygwin Newbies: <http://gw32.freeyellow.com/>
>           __Minimalist GNU for Windows__
>  Mingw32 List: <http://www.egroups.com/group/mingw32/>
>    Mingw Home: <http://www.mingw.org/>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Mail - Free email you can access from anywhere!
>http://mail.yahoo.com/
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>
>
>

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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