delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/31/14:43:57

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
From: diedrich <diedrich AT sonic DOT net>
X-envelope-info: <diedrich AT sonic DOT net>
Message-ID: <59942.192.35.35.35.1049139801.squirrel@ssl.sonic.net>
Date: Mon, 31 Mar 2003 11:43:21 -0800 (PST)
Subject: [Bug] 1.3.22-1 - rxvt & xterm displaying escape codes, cursor problems
To: <cygwin AT cygwin DOT com>
X-Priority: 3
Importance: Normal
MIME-Version: 1.0

Hello,

I just upgraded my Cygwin installation on a Windows 2000 system to version
1.3.22-1. I don't remember exactly what version I was running previously.
In the previous version, xterm was functioning normally. I used the
default bash settings, which includes a $PS1 prompt variable of:
\[\033]0;\w\007 \033[32[32m\]\u@\h \[\033[33m\w\033[0m\] $

This displays correctly in the Cygwin console, and displayed correctly
under xterm in the previous installation, with color:

username AT hostname directory
$

Now that I have upgraded, the console still displays it correctly. But,
xterm outputs the escape codes by themselves. I also tried rxvt, and it
had the same problem:

\[\033]0;\w\007
\033[32[32m\]\u@\h \[\033[33m\w\033[0m\]
$

I'd also like to note that I haven't been able to use 'screen' with my
Cygwin install because it gave me this same problem, even when xterm by
itself worked.

I've seen this problem crop up before, but new installations made it go
away quickly.

A second problem is with the cursor keys and backspace. Backspace simply
doesn't work. ^H does, but it backspaces over the prompt ($) is I go back
too far. The up & down cursor keys scroll my cursor around the screen
instead of recalling previous lines. The left & right cursor keys will
scroll right past the end of where I have typed, and scroll left over the
top of the prompt ($).

Any suggestions on how I can resolve this would be greatly appreciated.

Thanks,

Ben




--
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