delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/27/16:37:48

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 27 Mar 2008 14:37:10 -0700
From: Gary Johnson <garyjohn AT spk DOT agilent DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin Visuals
Message-ID: <20080327213710.GB24628@suncomp1.spk.agilent.com>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <9d10e4a00803271138x10779e65r507cafccf34c9148 AT mail DOT gmail DOT com> <183c528b0803271330t539f235en22640670a7acdf77 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <183c528b0803271330t539f235en22640670a7acdf77@mail.gmail.com>
X-Operating-System: SunOS suncomp1 5.8 sparc
User-Agent: Mutt/1.5.17 (2007-11-01)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 2008-03-27, Brian Mathis wrote:
> On Thu, Mar 27, 2008 at 2:38 PM, Diego Costa <costa DOT o DOT diego AT gmail DOT com> wrote:
> > Please how can i configure the cygwin shell to be exactly like the
> >  solaris command prompt ?

> Cygwin by default uses the "bash" shell and runs it in the "Command
> Prompt" window for windows.  You can change the shell to something
> else if you like, by editing the cygwin.bat file.  You can change the
> window it runs in by using either xterm (also requires X Windows to be
> installed and running) or by using rxvt, which doesn't require X
> Windows.  'rxvt' is a great solution and you will probably think it
> works very much like solaris.
> 
> Remember that cygwin is not solaris (or any other type of unix) -- it
> is its own thing and has its own unique feel to it (though it may be
> similar to unix).

The look of the prompt itself is set by the PS1 variable.  You can 
look in /etc/profile for examples, then put your own definition in 
~/.profile or ~/.bash_profile.

Regards,
Gary


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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