prompt not dislayed correctly using in.telnetd
Christopher Faylor
cgf@redhat.com
Tue Dec 5 16:20:00 GMT 2000
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
More information about the Cygwin
mailing list