|
|
1.1 ! root 1: #include "univ.h" ! 2: ! 3: ALARMServe() ! 4: { ! 5: if( own()&ALARM ){ ! 6: Cycle(); ! 7: alarm( 60 ); ! 8: } ! 9: } ! 10: ! 11: main(argc, argv) ! 12: char *argv[]; ! 13: { ! 14: request(KBD|MOUSE|SEND|RCV|ALARM); ! 15: initdisplay(argc, argv); ! 16: initcursors(); ! 17: cursswitch(&Coffee); ! 18: Configuration |= NOVICEUSER; ! 19: Configuration |= BIGMEMORY; ! 20: PadClip(); ! 21: alarm( 60 ); ! 22: for( ;; ){ ! 23: wait(RCV|MOUSE|KBD|ALARM); ! 24: LayerReshaped(); ! 25: MOUSEServe(); ! 26: KBDServe(); ! 27: RCVServe(); ! 28: ALARMServe(); ! 29: if( !(P->state&RCV) ) Dirty((Pad*)0); ! 30: } ! 31: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.