2009-03-24 10:53:42

by Samuel Thibault

[permalink] [raw]
Subject: Re: Audit: Log TIOCSTI

Hello,

Just a late follow-up.

From: Miloslav Trmac <[email protected]>
> (The only program I could find that uses TIOCSTI is mailx/nail in
> "header editing" mode, e.g. using the ~h escape. mailx is used very
> rarely, and the escapes are used even rarer.)

TIOCSTI is used daily by people typing on a braille device. The brltty
daemon uses TIOCSTI to synthesize the keypresses. Yes, it can also
use uinput (and it does) but not in all case: uinput doesn't permit
to synthesize an 'A' (I really mean an ascii 'A', not the key whose
physical position is the position of 'A' on a qwerty keyboard).

Samuel