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' /* ^\ */