delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/19/15:53:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199909191952.PAA00024@dagda.sunflower.com>
From: "Doug Wyatt" <dwyatt AT sunflower DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Date: Sun, 19 Sep 1999 14:51:50 -0500
MIME-Version: 1.0
Subject: Re: How to set the prompt?
Reply-to: dwyatt AT sunflower DOT com
In-reply-to: <3422B7D8.A5CD0CE1@sti.com.br>
X-mailer: Pegasus Mail for Win32 (v3.11)

Date sent:      	Fri, 19 Sep 1997 14:35:20 -0300
From:           	Leonardo Pedrosa <lion AT sti DOT com DOT br>
To:             	cygwin AT sourceware DOT cygnus DOT com
Subject:        	How to set the prompt?

I would recommend getting a copy of the Bash manual and reading
about "Prompting".  The shell variable which controls the initial
interactive session prompt is 'PS1'.  For other interactive states
there are 3 others, PS2, PS3 and PS4.  The manual tells you what
special values you may use for them.

There are many other good reasons to read the Bash manual, too.

Regards,
Doug


> Hello, I'm starting with the cygwin recently and cause my lack of
> experience I have this basic/fool question.
> When a I run Cygnus form Windows98 the prompt stay fixed at BASH.EXE
> 2.02$
> How can I set it like the "prompt $p$g" command of MS-DOS ?
> 
> Thank you.
> Leonard
> 
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> 



==========================================================
Doug Wyatt                    E-Mail: dwyatt AT sunflower DOT com
Sys Admin                      Phone: 785-843-4099
Kohlman Systems Research, Inc.   Fax: 785-843-6459
319 Perry St., Lawrence, KS  66044  USA

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