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: <514A99C9B14BD411A6600040052669AF0F632B@PDC-VEX-ATL>
From: Frank Merenda <fmerenda AT offmail DOT vetexchange DOT com>
To: Xianzhong Liu <liu AT newmonics DOT com>, cygwin AT sources DOT redhat DOT com
Subject: RE: cygwin: clear and path dir
Date: Wed, 30 Aug 2000 23:21:40 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"


you can clear the display by typing the command "clear" at the prompt. 

you can display your current directory by putting the following line in your
.bashrc file:

PS1="\w-\$"
that will show your current directory, and a "-$" after,so you will end up
with a prompt that looks like this:

/dev/vex-$

hope that helps!

Thanks,
Frank Merenda | Senior Software Engineer
VetExchange   | http://www.VetExchange.com 
fmerenda AT VetExchange DOT com

"Don't believe the hype." 

-- Public Enemy

> -----Original Message-----
> From: Xianzhong Liu [mailto:liu AT newmonics DOT com]
> Sent: Wednesday, August 30, 2000 12:02 PM
> To: cygwin AT sources DOT redhat DOT com
> Subject: cygwin: clear and path dir
> 
> 
> Hello,
> 
> I just wonder if I can clear the shell window after many lines
> accumulate and also if I can display the current directory path on the
> top of the shell.
> 
> Thanks.
> 
> 
> Jim
> 
> 
> --
> 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