Re: 113: plugin/keyboard vs. plugin/kbd_unicode ?

Per Jessen
2002-07-30T09:54:29Z

Bart Oldeman wrote:

> On Tue, 30 Jul 2002, Stas Sergeev wrote:
>
>>Per Jessen wrote:
>>
>>>In plugin/kbd_unicode, "no keyboard" is explicitly recognised,
>>>but doesn't seem to default to reading stdin ?
>>>
> It uses a special mode of stdin, raw mode, which is only available at
> the console.

>
> The slang keyboard should work with stdin eventually -- it should check
> for a tty at some places where it does not now. Feel free to look into
> it ;)

I did spend some time looking at slang stuff - decided I would rather
look at Erics kbd_unicode stuff :-)
Seriously - in Eric's code, he has X, raw, slang and none keyboard modes.
It seems to me that slang isn't the right place to add stdin support -
wouldn't it be better to add a 5th keyboard mode "piped" or "stdin" ?

/Per