Sending output to the console device (stdout) is implemented by doing a DosWrtTty. DosWrtTty writes a character string to the display starting at the current cursor position. At the completion of the write, the cursor is positioned at the end of the string. Characters are written emulating an ASCII terminal. What control sequences are processed is based on whether the ANSI mode is set. If ANSI is off, only a small set of single byte control characters is used. If ANSI is on, a large set of editing controls are used.


[Back: OpenGL Sample]
[Next: Single Byte Controls]