Re: Bug#569227: ncurses-base: break handling of ctrl-c in xterm and rxvt using bash
> On Tue, Feb 16, 2010 at 06:42:27AM -0500, Thomas Dickey wrote:
> > Your shell is not likely using the parts of ncurses which would change
> > the terminal modes. For instance, bash uses only the termcap interface.
> > I'd look at the shell.
>
> I finally found some time to verify this. Two observations:
>
> When I start an xterm and instantly hit ctrl-c I will see some ^C^C^C
> until the bash is fully loaded. Afterwards ctrl-c no longer produces any
> reaction.
>
> Invoking a zsh from that bash gives me a shell, that handles ctrl-c as
> it should.
>
> My conclusion is that this must be a fault of bash. Unfortunately
> downgrading bash to 4.0-4 did not solve the problem.
It's an interesting conclusion, but you have no data to support it. Can
we maybe start with `stty -a' from a shell session having the problem?
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
Reply to: