This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: prompt not dislayed correctly using in.telnetd
- To: cygwin support <cygwin at cygwin dot com>
- Subject: Re: prompt not dislayed correctly using in.telnetd
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Tue, 5 Dec 2000 19:20:39 -0500
- References: <3A2D7E97.A69A6E91@sattel.com>
- Reply-To: cygwin at cygwin dot com
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@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@sourceware.cygnus.com