[BACK]Return to more.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / more

Diff for /src/usr.bin/more/Attic/more.c between version 1.12 and 1.13

version 1.12, 2001/07/18 17:17:39 version 1.13, 2001/09/04 23:35:59
Line 1853 
Line 1853 
 void  void
 onsusp ()  onsusp ()
 {  {
       sigset_t mask;
   
     /* ignore SIGTTOU so we don't get stopped if csh grabs the tty */      /* ignore SIGTTOU so we don't get stopped if csh grabs the tty */
     signal(SIGTTOU, SIG_IGN);      signal(SIGTTOU, SIG_IGN);
     reset_tty ();      reset_tty ();
Line 1860 
Line 1862 
     signal(SIGTTOU, SIG_DFL);      signal(SIGTTOU, SIG_DFL);
     /* Send the TSTP signal to suspend our process group */      /* Send the TSTP signal to suspend our process group */
     signal(SIGTSTP, SIG_DFL);      signal(SIGTSTP, SIG_DFL);
     sigsetmask(0);      sigemptyset(&mask);
       sigprocmask(SIG_SETMASK, &mask, NULL);
     kill (0, SIGTSTP);      kill (0, SIGTSTP);
     /* Pause for station break */      /* Pause for station break */
   

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13