Changeset b752f1e for global.c


Ignore:
Timestamp:
Dec 19, 2009, 10:19:04 PM (12 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, 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)
Message:
Allow ^Z to be rebound.

Rather than catching SIGTSTP and doing things with it, disable VSUSP,
which causes ^Z to get passed through to us as a normal keystroke. In
addition, change the binding so that it prints the warning SIGTSTP
used to.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r129e609 rb752f1e  
    117117  g->timerlist = NULL;
    118118  g->interrupted = FALSE;
    119   g->got_sigtstp = FALSE;
    120119}
    121120
     
    963962  g->interrupted = 0;
    964963}
    965 
    966 int owl_global_is_sigstp(const owl_global *g) {
    967   return g->got_sigtstp;
    968 }
    969 
    970 void owl_global_set_got_sigstp(owl_global *g) {
    971   g->got_sigtstp = 1;
    972 }
    973 
    974 void owl_global_unset_got_sigstp(owl_global *g) {
    975   g->got_sigtstp = 0;
    976 }
Note: See TracChangeset for help on using the changeset viewer.