changed default INTR key to ^C instead of DEL
This commit is contained in:
parent
64695715da
commit
d41f3858fd
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Login shell profile.
|
# Login shell profile.
|
||||||
|
|
||||||
# Erase character, erase line, and interrupt keys.
|
# Erase character and erase line interrupt keys
|
||||||
stty sane erase '^H' kill '^U' intr '^?'
|
stty sane erase '^H' kill '^U'
|
||||||
|
|
||||||
# Check terminal type.
|
# Check terminal type.
|
||||||
case $TERM in
|
case $TERM in
|
||||||
|
|
|
@ -177,7 +177,7 @@ _PROTOTYPE( int tcsetattr, \
|
||||||
#define TEOF_DEF '\4' /* ^D */
|
#define TEOF_DEF '\4' /* ^D */
|
||||||
#define TEOL_DEF _POSIX_VDISABLE
|
#define TEOL_DEF _POSIX_VDISABLE
|
||||||
#define TERASE_DEF '\10' /* ^H */
|
#define TERASE_DEF '\10' /* ^H */
|
||||||
#define TINTR_DEF '\177' /* ^? */
|
#define TINTR_DEF '\3' /* ^C */
|
||||||
#define TKILL_DEF '\25' /* ^U */
|
#define TKILL_DEF '\25' /* ^U */
|
||||||
#define TMIN_DEF 1
|
#define TMIN_DEF 1
|
||||||
#define TQUIT_DEF '\34' /* ^\ */
|
#define TQUIT_DEF '\34' /* ^\ */
|
||||||
|
|
Loading…
Reference in a new issue