Re: keyboard/swap bug?

Ulrich Windl (Ulrich.Windl@rz.uni-regensburg.de)
Tue, 19 Mar 1996 09:11:04 +0100


On 18 Mar 96 at 21:54, Jeffery S. Coy Jr. wrote:

> since about 1.3.72, i have been having problems with my keyboard. no
> oops's, it's just been acting up. i had been considering that my
> keyboard might be going bad, but i thought i would check here first.
>
> with 1.3.72 & 73 i was getting lots of "keyboard error" messages, and
> occasionally keystrokes on the qwerty side would generate "unrecognized
> scancode: xxx", while the numpad side would be fine.
>
> this stopped with 1.3.74, but the console occasionally stops recognizing
> the arrow keys, it would just display "OA", "OB", "OC", or "OD" rather
> than interpret the codes. running the ``reset'' program that comes with
> ncurses fixes the problem.

As you surely know the arrow keys under UN*X send so-called escape
sequences. Application programs distinguish escape sequences from
single key strokes via select(). If the application is VERY slow, and
escape sequence can be delivered as single characters. If you are
using vi, use ^F instead of making your finger rest on cursor-down.

>
> anyway, i just noticed that the arrow keys only seem to act up when i
> leave a console long enough for it to swap out to disk; IOW if i am
> logged into vt1, then switch to vt2 and stress the system (with a big
> compile or a long emacs session), then switch back to vt1 i usually have
> to type reset to get back the use of my arrow keys.
>
> has anyone else noticed anything like this?
>
> jeff
> BTW: linux has been running quite smoothly for me since about kernel
> v1.3.36. keep up the great job!
> ---
> Why Linux? source code. POSIX. tcpip. job control. support from the authors.
> drivers for most hardware. because one terminal or process is never enough.
> forget the other O/Ss, i use Linux- the choice of a gnu generation.
>
>
>
>
------------
Ulrich Windl Klinikum der Universitaet Regensburg
Rechenzentrum DV-med Franz-Josef-Strauss-Allee 11
Tel: +49 941 944-5879 D-93053 Regensburg
FAX: +49 941 944-5882
Just imagine my mail address were <Ulrich.Windl@rz.uni.r.de>...