[issue39811] Curses crash on ^4

2020-03-01 Thread toonn


toonn  added the comment:

Vim can handle ^4 just fine while still responding to SIGQUIT though.
Is there a way to determine where the signal's coming from to decide whether to 
react to it?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39811] Curses crash on ^4

2020-03-01 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

It is not related to curses and Python.

Run arbitrary program (for example `cat` or `sleep 100`) and press Ctrl-4. You 
will get a core dump. This is because your terminal generates the signal 
SIGQUIT on Ctrl-4, and default action on SIGQUIT is core dump. So it all works 
as expected.

If you want to change it, ignore the signal.

--
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39811] Curses crash on ^4

2020-03-01 Thread toonn


New submission from toonn :

We got a report about a crash which seems to happen in the curses library when 
a user pressed ^4.

How do we go about debugging this?
https://github.com/ranger/ranger/issues/1859

--
components: Library (Lib)
messages: 363057
nosy: toonn
priority: normal
severity: normal
status: open
title: Curses crash on ^4
type: crash
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com