delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/05/18:48:58

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
Message-ID: <3A2D7E97.A69A6E91@sattel.com>
Date: Tue, 05 Dec 2000 15:47:35 -0800
From: Bruce Edge <bedge AT sattel DOT com>
Organization: Sattel Global Networks
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.15-4mdk i686)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin support <cygwin AT sources DOT redhat DOT com>
Subject: prompt not dislayed correctly using in.telnetd

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?

TIA, Bruce.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019