www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/02/20:36:02

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <30364512.post@talk.nabble.com>
Date: Thu, 2 Dec 2010 17:35:44 -0800 (PST)
From: orbita <thinhqq AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: unable to type command into Cygwin after running 'tail'
In-Reply-To: <20101202193841.GA672@trikaliotis.net>
MIME-Version: 1.0
References: <30355317 DOT post AT talk DOT nabble DOT com> <4CF70A11 DOT 8020604 AT acm DOT org> <76B81B8B64B6254B98733990F38621DA6A77 AT sron-chi-exc05 DOT ronin DOT roncap DOT com> <4CF7E501 DOT 9080901 AT acm DOT org> <4CF7E822 DOT 2050705 AT cwilson DOT fastmail DOT fm> <786EBDA1AC46254B813E200779E7AD36013E5FAD AT srv1163ex1 DOT flightsafety DOT com> <20101202193841 DOT GA672 AT trikaliotis DOT net>
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


Spiro Trikaliotis-12 wrote:
> 
> Hello,
> 
> * On Thu, Dec 02, 2010 at 12:51:22PM -0600 Thrall, Bryan wrote:
>> Charles Wilson wrote on 2010-12-02: 
>> > On 12/2/2010 1:27 PM, David Rothenberger wrote:
>> >> Illia Bobyr wrote:
>> >>> On 12/1/2010 8:53 PM, David Rothenberger wrote:
>> >>>> Try typing "reset" or "stty sane" (without the quotes) and pressing
>> >>>> Enter. You won't see what you're typing, but after the shell should
>> >>>> work again.
>> >>> 
>> >>> Would you, please, elaborate on this a little bit?
>> >>> Maybe a link or a reference that explains why this is happening?
>> >> 
>> >> I'm sorry, I can't. I don't know why it is happening. I just know how
>> >> to recover from it as a user.
>> > 
>> > I've noticed that this misbehavior occurs more frequently these days:
>> > ctrl-c'ing some tasks (tail, less, maybe a few others) ends up with the
> 
> I can totally second that behaviour.
> 
>> I've seen it ctrl-c'ing to get out of a tail in an xterm, so it isn't
>> specific to mintty.
> 
> I do not use mintty (yet?), so it is not specific to it. I have seen it
> when connecting remotely via ssh (for example, putty to localhost), as
> well as when using the "prepared" cygwin.bat file to get cygwin in a
> Windows console.
> 
> 
> For me, it first happened when I moved from Cygwin 1.5 to 1.7. Note that
> I was not one of the early adaptors, though, thus, I cannot say if this
> was present in 1.7.1 from the beginning.
> 
> One thing I noticed:
> 
> Sometimes, when this happens, you have to wait some minutes. Afterwards,
> the behaviour fixes itself.
> 
> I feel this is strange. Is it occurs to me very often I thought about a
> local problem on my side, that's why I did not report it yet.
> 
>> > terminal settings all scrogged up, and requires you to "blindly" type
>> in
>> > 'reset' (or stty sane) to fix it.
> 
> Yes, I can second this, too: You still can type and execute commands,
> you just cannot see what you are typing.
>  
> 
> Best regards,
>    Spiro.
> 
> -- 
> Spiro R. Trikaliotis                              http://opencbm.sf.net/
> http://www.trikaliotis.net/                     http://www.viceteam.org/
> 
> --
> 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
> 
> 
> 



Hi, I'm the original poster here. Thanks for all the reply. 'stty sane' does
help. It's much better than close the shell and reopen it. 

I'm not sure what shell I'm using, maybe bash. Quite new to cygwin, all I
did was that I installed cygwin and clicked on the cygwin icon and got the
shell. I'm not using mintty. 

The problem is not occurring with either tail or grep alone. It happened
when I piped tail to grep.













-- 
View this message in context: http://old.nabble.com/unable-to-type-command-into-Cygwin-after-running-%27tail%27-tp30355317p30364512.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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