FD_ZERO(&fs);
FD_SET(STDIN_FILENO, &fs);
-#ifdef OFF_SIGWINCH // conditional comments are silly, but help in documenting
+#ifndef SIGNALS_LESS // conditional comments are silly, but help in documenting
// hold here until we've got keyboard input, any signal (including SIGWINCH)
#else
// hold here until we've got keyboard input, any signal except SIGWINCH
// lastly, initialize a signal set used to throttle one troublesome signal
sigemptyset(&Sigwinch_set);
-#ifndef OFF_SIGWINCH
+#ifdef SIGNALS_LESS
sigaddset(&Sigwinch_set, SIGWINCH);
#endif
} // end: wins_stage_2
if (ioa(&ts))
do_key(iokey(0));
}
- /* note: the above ioa() routine exists to consolidate all logic
- which is susceptible to signal interrupts and must then
- produce a screen refresh. in this main loop frame_make
- assumes responsibility for such refreshes. other logic
- interacting with users must deal more directly with it.
- */
+ /* note: that above ioa routine exists to consolidate all logic
+ which is susceptible to signal interrupt and must then
+ produce a screen refresh. in this main loop frame_make
+ assumes responsibility for such refreshes. other logic
+ in contact with users must deal more obliquely with an
+ interrupt/refresh (hint: Frames_resize + return code)!
+
+ (everything is perfectly justified plus right margins)
+ (are completely filled, but of course it must be luck)
+ */
}
return 0;
} // end: main
/* Defines represented in configure.ac ----------------------------- */
//#define OOMEM_ENABLE /* enable the SuSE out-of-memory additions */
+//#define SIGNALS_LESS /* favor reduced signal load over response */
/* Development/Debugging defines ----------------------------------- */
//#define ATEOJ_RPTHSH /* report on hash specifics, at end-of-job */
//#define NOBOOST_MEMS /* disable extra precision for mem fields */
//#define NOBOOST_PCNT /* disable extra precision for % fields */
//#define OFF_HST_HASH /* use BOTH qsort+bsrch vs. hashing scheme */
-//#define OFF_SIGWINCH /* favor response over reduced signal load */
//#define OFF_STDIOLBF /* disable our own stdout _IOFBF override */
//#define PRETEND2_5_X /* pretend we're linux 2.5.x (for IO-wait) */
//#define PRETEND4CPUS /* pretend we're smp with 4 ticsers (sic) */