From c9a1c7f39e99fca51ffeafa003bc73acdc627bcc Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Wed, 16 Dec 2009 15:14:00 +0300 Subject: [PATCH] Ticket #1876: Fix of Ctrl-c behaviour for S-Lang. Since Ctrl-C is used as common shortcut, don't use it to generate the SIGINN signal in S-Lang library. Signed-off-by: Andrew Borodin --- src/tty/tty-slang.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tty/tty-slang.c b/src/tty/tty-slang.c index 316ca335f..15a662b45 100644 --- a/src/tty/tty-slang.c +++ b/src/tty/tty-slang.c @@ -264,7 +264,8 @@ tty_init (gboolean slow, gboolean ugly_lines) tcgetattr (fileno (stdin), &boot_mode); /* 255 = ignore abort char; XCTRL('g') for abort char = ^g */ - SLang_init_tty (XCTRL ('c'), 1, 0); + /* SLang_init_tty (XCTRL ('c'), 1, 0); */ + SLang_init_tty (255, 1, 0); if (ugly_lines) SLtt_Has_Alt_Charset = 0;