CompuServe Messages

Intermixed Raw Reads

    27-Jan-89 18:09:06
Fm: Bill Hawes 72230,267
To: Paul Whittemore 72007,3305
The problem with allowing raw reads is that then the console handler can't make any sort of rational display. For example, suppose that you've typed a few characters and they're displayed on the console, and taht the read task has already read them. What do you do now when you type a backspace? You can't ask the task to give back the character it read … If you're willing to undertake responsibility for rendering the display, you can always to character-by-character reads from RAW:. The issue of whether you get the qualifier keys depends on the keymap in place, but in principle you can get anything you want, at a cost of more processing required on your side.