From: Ben Gras Date: Fri, 12 Aug 2005 09:40:16 +0000 (+0000) Subject: changed default INTR key to ^C instead of DEL X-Git-Tag: v3.1.0~362 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.dnssec-checkds.html?a=commitdiff_plain;h=d41f3858fd91ad371b56964db9cb7f7abdb307a3;p=minix.git changed default INTR key to ^C instead of DEL --- diff --git a/etc/ast/.profile b/etc/ast/.profile index 80c15e3c8..490b26d32 100644 --- a/etc/ast/.profile +++ b/etc/ast/.profile @@ -1,7 +1,7 @@ # Login shell profile. -# Erase character, erase line, and interrupt keys. -stty sane erase '^H' kill '^U' intr '^?' +# Erase character and erase line interrupt keys +stty sane erase '^H' kill '^U' # Check terminal type. case $TERM in diff --git a/include/termios.h b/include/termios.h index f2e01743e..c5baf3c03 100755 --- a/include/termios.h +++ b/include/termios.h @@ -177,7 +177,7 @@ _PROTOTYPE( int tcsetattr, \ #define TEOF_DEF '\4' /* ^D */ #define TEOL_DEF _POSIX_VDISABLE #define TERASE_DEF '\10' /* ^H */ -#define TINTR_DEF '\177' /* ^? */ +#define TINTR_DEF '\3' /* ^C */ #define TKILL_DEF '\25' /* ^U */ #define TMIN_DEF 1 #define TQUIT_DEF '\34' /* ^\ */