public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Re: 113: plugin/keyboard vs. plugin/kbd_unicode ?
@ 2002-07-29 20:21 Stas Sergeev
  2002-07-29 21:34 ` Bart Oldeman
  2002-07-30  9:49 ` Per Jessen
  0 siblings, 2 replies; 4+ messages in thread
From: Stas Sergeev @ 2002-07-29 20:21 UTC (permalink / raw)
  To: linux-msdos

Hello.

Per Jessen wrote:
> In plugin/kbd_unicode, "no keyboard" is explicitly recognised,
> but doesn't seem to default to reading stdin ?
Looking in keyb_none.c it seems
that "no keyboard" does absolutely
nothing - just a dummy client.
Raw keyboard client seems to be
using stdin (see raw_keyboard_init() ).

> Which part of the keyboard code is actually being used for 113 ?
non-unicode one.

> Eric Biedermans kbd_unicode looks somewhat cleaner, but it is
> not the default that is "shipped"?
It is default since 1.1.3.2 so
upgrade if you are going to do
some hacking.

As of your other message: lredir
still works OK for me (1.1.3.2)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 113: plugin/keyboard vs. plugin/kbd_unicode ?
  2002-07-29 20:21 113: plugin/keyboard vs. plugin/kbd_unicode ? Stas Sergeev
@ 2002-07-29 21:34 ` Bart Oldeman
  2002-07-30  9:54   ` Per Jessen
  2002-07-30  9:49 ` Per Jessen
  1 sibling, 1 reply; 4+ messages in thread
From: Bart Oldeman @ 2002-07-29 21:34 UTC (permalink / raw)
  To: linux-msdos

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 ?
> Looking in keyb_none.c it seems
> that "no keyboard" does absolutely
> nothing - just a dummy client.
> Raw keyboard client seems to be
> using stdin (see raw_keyboard_init() ).

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 ;)

Bart


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 113: plugin/keyboard vs. plugin/kbd_unicode ?
  2002-07-29 20:21 113: plugin/keyboard vs. plugin/kbd_unicode ? Stas Sergeev
  2002-07-29 21:34 ` Bart Oldeman
@ 2002-07-30  9:49 ` Per Jessen
  1 sibling, 0 replies; 4+ messages in thread
From: Per Jessen @ 2002-07-30  9:49 UTC (permalink / raw)
  To: stas.orel; +Cc: linux-msdos

Stas Sergeev wrote:

> Hello.
> 
> Per Jessen wrote:
> 
>> In plugin/kbd_unicode, "no keyboard" is explicitly recognised,
>> but doesn't seem to default to reading stdin ?
> 
> Looking in keyb_none.c it seems
> that "no keyboard" does absolutely
> nothing - just a dummy client.
> Raw keyboard client seems to be
> using stdin (see raw_keyboard_init() ).


Yeah, I saw that too - but when the actual keyboard client is
selected, it seems that raw is only picked if some option for
running as root is also picked ? (I'm away from my office,
can't check the code)

>> Eric Biedermans kbd_unicode looks somewhat cleaner, but it is
>> not the default that is "shipped"?
> 
> It is default since 1.1.3.2 so
> upgrade if you are going to do
> some hacking.


Thanks - that's exactly what I was looking for. I already went with the
kbd-unicode stuff - works fine.

> As of your other message: lredir
> still works OK for me (1.1.3.2)


OK, guess I'll have to do some more checking.


thanks,
Per


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 113: plugin/keyboard vs. plugin/kbd_unicode ?
  2002-07-29 21:34 ` Bart Oldeman
@ 2002-07-30  9:54   ` Per Jessen
  0 siblings, 0 replies; 4+ messages in thread
From: Per Jessen @ 2002-07-30  9:54 UTC (permalink / raw)
  To: Bart Oldeman; +Cc: linux-msdos

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-07-30  9:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-29 20:21 113: plugin/keyboard vs. plugin/kbd_unicode ? Stas Sergeev
2002-07-29 21:34 ` Bart Oldeman
2002-07-30  9:54   ` Per Jessen
2002-07-30  9:49 ` Per Jessen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox