From mboxrd@z Thu Jan 1 00:00:00 1970 From: Per Jessen Subject: Re: 113: plugin/keyboard vs. plugin/kbd_unicode ? Date: Tue, 30 Jul 2002 11:54:29 +0200 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <3D466255.8060406@computer.org> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Bart Oldeman Cc: linux-msdos@vger.kernel.org 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