Mail Archives: djgpp/1999/09/27/19:55:40
Like Damien says, you can't send binary to the DOS console. If you do,
the console driver will interpret it however it's written to interpret
it.
The DOS console sort of stems from the Unix and CP/M consoles. If you
send it control characters, characters below 32, it will perform
actions just like a terminal would, eg printing character 7 will sound
a beep.
Anyway, Control-Q and Control-S are XON and XOFF in the ASCII
standard, and these cause the terminal to stop recieving incoming
data, to freeze the screen. That's probably what's happening here.
You're sending an XOFF to the screen, so you need to send an XON
after. Perhaps you can press one of the keys (I forget which is which)
yourself, but the best thing, is just not to send binary to the
console. It's stupid.
------------------------------------------------------------------------
Why pamper life's complexity,
when the leather runs smooth on the passenger seee-eee-aaat?
- - - - - - - - greenaum AT yahoo DOT co DOT uk
- Raw text -