Robert,
There's chrsaw() but it doesn't return the key. You could combine it with lastkey().
Cetin
>Hello Cetin,
>
>Actually I was looking for a way to read the buffer without taking the keystrokes out of it, but I guess I will have to read, manipulate, then stuff the buffer...Thanks
>
>>>Hello all,
>>>
>>>I am trying to either read keystrokes out of the keyboard buffer or insert a keystroke into the beginning of the buffer. I remember doing something like this a long time ago, but I can't seem to find what I need in the help.
>>>
>>>Any suggestions??
>>>
>>>TIA
>>>
>>>Bob
>>
>>inkey() would read from buffer, clear typeahead would clear, keyboard would write to buffer.
>>Cetin