X-Recipient: archive-cygwin AT delorie DOT 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 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 AT cygwin DOT com Subject: Re: text cursor is not being positioned References: <5EBF47293E902F4AAB62FE0A0C84E59A53D935 AT exunz175ttw02 DOT oceania DOT corp DOT anz DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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