delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/28/14:08:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <000701c2c6fa$67babc50$505486d9@webdev>
From: "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk>
To: "cygwin" <cygwin AT cygwin DOT com>, "Quan Ding" <qd421 AT yahoo DOT com>
References: <20030128174216 DOT 69221 DOT qmail AT web40507 DOT mail DOT yahoo DOT com>
Subject: Re: strange characters in Xterm (in X-window)
Date: Tue, 28 Jan 2003 18:23:44 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

> After I started x-windows. There are strange extra
> characters on the top of every window (login,  xterm)
> which look like the following:
> \[\033]0;\w\007
> \022[32m\]\u@\h \[\033[33m\w\033[0m\]

It would appear that you are running sh (/bin/sh) with bash escapes in your
PS1 environment variable (your prompt). If you change your shell in
/etc/passwd to bash (/bin/bash) this will go away.


Regards,

Elfyn McBratney
elfyn AT exposure DOT org DOT uk
www.exposure.org.uk




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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