public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* bug developed in bash in recent release...ignores control-c if typed during input.
@ 2012-03-26  2:02 Linda Walsh
  2012-03-26 10:28 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Linda Walsh @ 2012-03-26  2:02 UTC (permalink / raw)
  To: cygwin


Normally if I type control-c, it aborts the line I am on, and gives me a new prompt.

After an upgrade a few weeks ago (and retried today with a fresh re-inst of 
bash), the control-c has been getting ignored!

... have to remember line clear... the control-c doesn't echo -- just ignored.

If I look at stty, the setting there says
 > stty
speed 38400 baud; line = 0;
kill = ^X; susp = ^Y;
-imaxbel
-echoe -echok -echoctl -echoke
/Users/law> stty -a
speed 38400 baud; rows 60; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^X; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = ^Z; start = ^Q; stop = ^S; susp = ^Y; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo -echoe -echok -echonl -noflsh -tostop -echoctl -echoke
---
with relevant parts being the -ignbrk (don't ignore break), intr=^C -- control-c 
still set as interrupt char, though maybe it wasn't on before, but I tried it..
'echoctl'...
(it's on on my linux box)... made no difference...

still ignores controls-c

BUT  -- if I do a stty ignbrk -- then, it works the way it used to.

So is the fact that the settings of 'ignore break' on stty a new feature,
fodder for the 'incident queue', or what?





 > bash --version
bash --version
GNU bash, version 4.1.10(4)-release (i686-pc-cygwin)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 > uname -a
uname -a
CYGWIN_NT-6.1-WOW64 Athenae 1.7.11(0.260/5/3) 2012-02-24 14:05 i686 Cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bug developed in bash in recent release...ignores control-c if typed during input.
  2012-03-26  2:02 bug developed in bash in recent release...ignores control-c if typed during input Linda Walsh
@ 2012-03-26 10:28 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2012-03-26 10:28 UTC (permalink / raw)
  To: cygwin

On Mar 25 19:01, Linda Walsh wrote:
> 
> Normally if I type control-c, it aborts the line I am on, and gives me a new prompt.

Fixed in CVS for some time.  Please try the latest developer snapshot
from http://cygwin.com/snapshots/


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-26 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-26  2:02 bug developed in bash in recent release...ignores control-c if typed during input Linda Walsh
2012-03-26 10:28 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).