www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/23/02:20:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <5EBF47293E902F4AAB62FE0A0C84E59A53D935@exunz175ttw02.oceania.corp.anz.com>
References: <5EBF47293E902F4AAB62FE0A0C84E59A53D935 AT exunz175ttw02 DOT oceania DOT corp DOT anz DOT com>
Date: Tue, 23 Mar 2010 07:20:34 +0000
Message-ID: <416096c61003230020s3a96bb4en47e32ce5981482fa@mail.gmail.com>
Subject: Re: text cursor is not being positioned
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

John Lewis wrote:
> My text cursor is not being positioned correctly. This is a fresh
> install of 1.7.1-1 onto Microsoft Windows XP Professional, Service Pack
> 2.
>
> In the bash shell the backspace key doesn't back up and overwrite the
> last character, same with ctrl-U, the line remains on the screen, with
> the cursor at the end.
>
> The key strokes are being recognised, the characters have been removed
> from the input buffer correctly.
> I have the same issue with other tools, less and vi are unable to paint
> the screen correctly, and the up arrow at the command line just appends
> the history to the end of the current line.

Well, for some reason control sequences are being ignored, but I've
got no idea why that might be. So here's a bunch of questions:

How do you invoke bash? Are you sure you're running the Cygwin
versions of bash, vi and less? Have you got any stty commands or
printing of escape sequences in your bash startup files? Have you
customised the prompt (i.e. the PS1 variable)?

Also, cygcheck output might give a clue; please see

> Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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