- Timestamp:
- Dec 19, 2009, 10:19:04 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 1247aaa
- Parents:
- 99c1f46
- git-author:
- Nelson Elhage <nelhage@mit.edu> (12/16/09 17:50:34)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (12/19/09 22:19:04)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.c
r129e609 rb752f1e 135 135 tcgetattr(0, owl_global_get_startup_tio(&g)); 136 136 137 /* turn ISTRIP off */138 137 tcgetattr(0, &tio); 139 138 tio.c_iflag &= ~(ISTRIP|IEXTEN); 140 139 tio.c_cc[VQUIT] = 0; 140 tio.c_cc[VSUSP] = 0; 141 141 tcsetattr(0, TCSAFLUSH, &tio); 142 142 … … 396 396 } 397 397 398 void sigtstp_handler(int sig, siginfo_t *si, void *data)399 {400 owl_global_set_got_sigstp(&g);401 }402 403 398 void owl_register_signal_handlers(void) { 404 399 struct sigaction sigact; … … 417 412 sigact.sa_sigaction=sigint_handler; 418 413 sigaction(SIGINT, &sigact, NULL); 419 420 sigact.sa_sigaction=sigtstp_handler;421 sigaction(SIGTSTP, &sigact, NULL);422 414 } 423 415
Note: See TracChangeset
for help on using the changeset viewer.