This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: prompt not dislayed correctly using in.telnetd


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]