* nano.c: Do call disable_signals at startup regardless, since under cygwin we can't generate
^C without it. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4326 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
86cab67339
commit
e137f12e5e
|
@ -1,3 +1,7 @@
|
||||||
|
2008-09-06 Chris Allegretta <chrisa@asty.org>
|
||||||
|
* nano.c: Do call disable_signals at startup regardless, since under cygwin we can't generate
|
||||||
|
^C without it.
|
||||||
|
|
||||||
GNU nano 2.1.5 - 2008.08.30
|
GNU nano 2.1.5 - 2008.08.30
|
||||||
2008-08-29 Chris Allegretta <chrisa@asty.org>
|
2008-08-29 Chris Allegretta <chrisa@asty.org>
|
||||||
* configure.ac, color.c, rcfile.c, utils.c: 1st attempt at supporting systems which don't support
|
* configure.ac, color.c, rcfile.c, utils.c: 1st attempt at supporting systems which don't support
|
||||||
|
|
|
@ -1273,7 +1273,6 @@ void disable_extended_io(void)
|
||||||
tcsetattr(0, TCSANOW, &term);
|
tcsetattr(0, TCSANOW, &term);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_SLANG
|
|
||||||
/* Disable interpretation of the special control keys in our terminal
|
/* Disable interpretation of the special control keys in our terminal
|
||||||
* settings. */
|
* settings. */
|
||||||
void disable_signals(void)
|
void disable_signals(void)
|
||||||
|
@ -1284,7 +1283,6 @@ void disable_signals(void)
|
||||||
term.c_lflag &= ~ISIG;
|
term.c_lflag &= ~ISIG;
|
||||||
tcsetattr(0, TCSANOW, &term);
|
tcsetattr(0, TCSANOW, &term);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
/* Enable interpretation of the special control keys in our terminal
|
/* Enable interpretation of the special control keys in our terminal
|
||||||
|
@ -1351,8 +1349,8 @@ void terminal_init(void)
|
||||||
if (ISSET(PRESERVE))
|
if (ISSET(PRESERVE))
|
||||||
enable_flow_control();
|
enable_flow_control();
|
||||||
|
|
||||||
#ifdef USE_SLANG
|
|
||||||
disable_signals();
|
disable_signals();
|
||||||
|
#ifdef USE_SLANG
|
||||||
if (!ISSET(PRESERVE))
|
if (!ISSET(PRESERVE))
|
||||||
disable_flow_control();
|
disable_flow_control();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue