3 This is a tiny test program that can be used to track down
4 strange effects of the emulation.
12 - In TEShell.C let syslog be stdout.
14 - produce the effect in question.
16 pressing any key advances the audit
19 You need to make sure that the size of the screen matches
20 the one being debugged.
22 This code was written by Lars Doelle <lars.doelle@on-line.de>.
23 This code is in the public domain.
35 #define HERE fprintf(stderr,"%s(%d): here.\n",__FILE__,__LINE__)
39 FILE* sysin
= fopen("ttt","r");
43 tcsetattr(0, TCSANOW
, &curr
);
49 fputc(cc
,stdout
); cc
= fgetc(sysin
);
50 if (cc
== 0x1b) break;
55 tcsetattr(0, TCSANOW
, &save
);