Ticket #1926: Ctrl-\ key behaviour in NCurses-based MC.
commit56bf77ae57ba493126a2d1a1e0dd56eb947ccca1
authorAndrew Borodin <aborodin@vmail.ru>
Sat, 6 Feb 2010 10:07:35 +0000 (6 13:07 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sat, 6 Feb 2010 10:21:25 +0000 (6 13:21 +0300)
treeed8c0479b04e45c7721854b4b9f62afb6b439edd
parente23b0d5a95798ce06fd48f9ef8ea55570a45cda6
Ticket #1926: Ctrl-\ key behaviour in NCurses-based MC.

Generally, Ctrl-\ is a default assignment to SIGQUIT signal.
S-Lang breaks this assignment. NCurses doesn't, therefore
MC just quits when user presses the Ctrl-\ key.

This commit emulates the S-Lang way in NCurses-based MC.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/tty/tty-internal.h
lib/tty/tty-ncurses.c
lib/tty/tty-slang.c