X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4BA8A989.2070705@ltu.se>
Date: Tue, 23 Mar 2010 12:44:09 +0100
From: Bengt-Arne Fjellner <Bengt-Arne.Fjellner@ltu.se>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: text cursor is not being positioned
References: <5EBF47293E902F4AAB62FE0A0C84E59A53D935@exunz175ttw02.oceania.corp.anz.com>
In-Reply-To: <5EBF47293E902F4AAB62FE0A0C84E59A53D935@exunz175ttw02.oceania.corp.anz.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 2010-03-23 12:30 AM, Lewis, John 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.
>
> There exists a .inputrc in my $HOME, renaming it out of the way didn't
> change the behaviour. It contains (partially):
>
> # the following line is actually
> # equivalent to "\C-?": delete-char
> "\e[3~": delete-char
> # VT
> "\e[1~": beginning-of-line
> "\e[4~": end-of-line
> # kvt
> "\e[H": beginning-of-line
> "\e[F": end-of-line
>
>    
Show us the contents of your prompt PS1 these problem usually stems from 
that.


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

