some of the code comments are also enjoyable. For example the "Sigh" cracks me up:
/*----------------------------------------------------------------------
; because the code was written using a different IO model (that is, if
; there's no data in the file to begin with, we automatically end up in
; EOF mode, let's trigger EOF. Sigh.
;-----------------------------------------------------------------------*/