delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/24/03:52:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.5 required=5.0 tests=AWL,BAYES_05,INVALID_DATE_TZ_ABSURD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com, "Andy Koppe" <andy DOT koppe AT gmail DOT com>
Subject: Re: text cursor is not being positioned
References: <op DOT u917u115alsrtd AT w0026b9ac0509 DOT oceania DOT corp DOT anz DOT com> <416096c61003240044p11cbf55ai15a46fe572ed9f73 AT mail DOT gmail DOT com>
Date: Wed, 24 Mar 2010 21:51:48 +1400
MIME-Version: 1.0
From: jal <jaychaff AT gmail DOT com>
Message-ID: <op.u92dkm10alsrtd@w0026b9ac0509.oceania.corp.anz.com>
In-Reply-To: <416096c61003240044p11cbf55ai15a46fe572ed9f73@mail.gmail.com>
User-Agent: Opera Mail/10.50 (Win32)
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

Andy:

Problem solved.

Thank you so much for your help. Very much appreciated.

I blew away the cygwin installation and started again from scratch. Now it  
works perfectly.

I took the laptop home, away from the corporate network environment which  
wouldn't let me use gmail. I've turned off the firewall and virus  
checkers, and am connected directly, as opposed to going through a proxy  
through a (ms?) proxy.

I presume that something in that tangled security net was interfering with  
the install processes, but... anyway, I've a good install and I am very  
happy. (There was a win app log message complaining about a virus checker  
which isn't installed.)

  many thanks,
John.

p.s. bash wasn't fixed after the 'cat -'


On Wed, 24 Mar 2010 21:44:45 +1400, Andy Koppe <andy DOT koppe AT gmail DOT com>  
wrote:

> John Lewis:
>> My apologies for
>> the new e-mail, I have subscribed to the mail list so that I can reply
>> properly in the future.
>
> Great, much better without the privacy guff.
>
>> This is a fresh install, with no modifications (I haven't even run  
>> mkpasswd
>> yet).
>>
>> I start bash with the desktop icon created during the installation, the  
>> bat
>> file has not been modified, it does a cd to the \bin then "bash --login  
>> -i".
>> The .bashrc files are untouched and contain only comments.
>>
>> Bash is definitely Cygwin version, I have no other. I mentioned less  
>> and vim
>> only to show the scope of the problem, I expect they'll work correctly  
>> once
>> the backspace issue is fixed.
>>
>> Here is my PS1 prompt:
>>
>> \[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$
>>
>> I tried changing the PS1 prompt to 'x' but this didn't change the  
>> behaviour.
>>
>> I've run "cygcheck -k", all keystrokes are seen and seem to have correct
>> values (backspace gives VK:0x08 VS: 0x0e A: 0x08)
>>
>> and also "cygcheck -s -v -r", see attached.
>
> Thanks. I can't spot anything wrong there. Could you also post the
> output of 'stty -a'?
>
> Another thing to try: install the 'mintty' terminal (by rerunning
> setup.exe and selecting it in the 'Shells' category) and run it from
> the entry created in the Cygwin start menu folder. That might show
> whether it's an issue with bash or the console.
>
>
>> I think this is a clue. I did this: "cat - > fred". The keyboard  
>> functions
>> correctly.
>> ! !
>>  O
>> Backspace works, ctrl-U clears the line, no erased characters are in the
>> file. Even the up arrow moves the cursor up a line. When used without
>> redirection the echoed lines are correct.
>
> Does it still misbehave in bash after the cat?
>
> 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
>


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

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