Category : C Source Code
Archive   : TECO.ZIP
Filename : PAGE.C
Output of file : PAGE.C contained in archive : TECO.ZIP
#include
#include
page() /* Push out this page, read next into buffer */
{
#include "teco.h"
bufptx=0; /* Initialize start */
while (++bufptx <= bufptr) { /* While work to do */
putc(buffer[bufptx],ot);/* Write out char */
if (ferror(ot)) {
fprintf(stderr,"?OUT, Output error\n\7");
clearerr(ot);
}
}
bufptr=0; /* Buffer now empty */
bufptx=0; /* ..reset context */
if (feof(in)) { /* No more to page */
fprintf(stderr,"[Eof]\n");
} else {
append(); /* Append mt buffer */
if (buffer[bufptr] == '\14') fprintf(stderr,"[Page]\n");
}
}
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/