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
Date: Tue, 5 Dec 2000 19:20:39 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin support <cygwin AT cygwin DOT com>
Subject: Re: prompt not dislayed correctly using in.telnetd
Message-ID: <20001205192039.B16709@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin support <cygwin AT cygwin DOT com>
References: <3A2D7E97 DOT A69A6E91 AT sattel DOT com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <3A2D7E97.A69A6E91@sattel.com>; from bedge@sattel.com on Tue, Dec 05, 2000 at 03:47:35PM -0800

On Tue, Dec 05, 2000 at 03:47:35PM -0800, Bruce Edge wrote:
>When I telnet to my cygwin box, my prompt is not displayed correctly.
>
>My .profile sets it to:
>export PS1='\[\033]0;\w\007\033[32m\]\u@\h \[\033[33m\w\033[0m\]
>$ ' 
>
>When I login via telnet, it's shown as:
>\[\033]0;\w\007
>\033[32m\]\u@\h
>\[\033[33m\w\033[0m\]                                           
>
>instead of:
>user AT HOST PWD
>$
>
>This happens regardless of which telnet client I use, eg: cygwin, Linux,
>QNX...
>The other OSs _do_ expand the $PS1 path setting correctly.
>Am I missing something else?

You login shell is probably /bin/sh rather than /bin/bash.

Change your /etc/passwd.

cgf

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