delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/31/11:25:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-ORBL: [209.30.128.26]
Date: Mon, 31 Oct 2005 10:23:13 -0600
From: Wayne Willcox <wayne AT reliant DOT immure DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Ugly prompt with ksh
Message-ID: <20051031102313.A40191@reliant.immure.com>
Reply-To: Wayne Willcox <wayne AT reliant DOT immure DOT com>
References: <351cd7610510310822h6a7b6684o AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <351cd7610510310822h6a7b6684o@mail.gmail.com>; from al1.24.fr@gmail.com on Mon, Oct 31, 2005 at 05:22:48PM +0100
X-Operating-System: FreeBSD reliant.immure.com 4.4-RELEASE FreeBSD 4.4-RELEASE
X-IsSubscribed: yes

Sure change PS1 in your .profile or .kshrc file.  Export it to be
whatever you want it to be.  Not a cygwin specific question by the
way. 

On Mon, Oct 31, 2005 at 05:22:48PM +0100, al1_24 wrote:
> I would like to use ksh as shell but, if most of commands work as
> desired, an ugly prompt is displayed before each line, something like
> "[e]0;wa]n[e[32m]u AT h [e[33m]w[e[0m]n$", until I change the PS1 value.
> Is there a way to get the "user AT host pwd $" prompt inside ksh ?
> 
> --
> 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/

-- 
Slowly and surely the unix crept up on the Nintendo user ...
Wayne Willcox                          I will not eat green eggs and ham
wayne AT reliant DOT immure DOT com                     I will not eat them Sam I Am!!
A wise person makes his own decisions, a weak one obeys public opinion.
                -- Chinese proverb

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