9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9fans@9fans.net
Subject: Re: [9fans] kbdputc() in devcons.c in 9front?
Date: Thu, 17 Jul 2014 09:39:46 +0200	[thread overview]
Message-ID: <97b8c27495a8ebca030bd23bbf5f47e8@felloff.net> (raw)
In-Reply-To: <c7eda64ae294e2710da9be93044b8320@jitaku.localdomain>

the problem is that rio reads /dev/kbd instead of
/dev/cons which in addition provides key press
and release events. so translating /dev/cons has
no effect on rio. (rio reads and multiplexes
/dev/kbd file)

/dev/kbd is used by:

games/doom, games/nes, games/snes, games/md
and vnc.

changing ktrans to translate /dev/kbd format
instead of /dev/cons should not be hard. i can
do that when i get back from my day job.

kbdfs removes some code duplication like the
latin1 composing. vncs in 9front just runs another
instance of kbdfs to provide cons and kbd files
instead of reimplementing the kernels console code.

kbdfs also lets you interrupt programs on the
plan9 console.

--
cinap



  reply	other threads:[~2014-07-17  7:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-17  1:59 kokamoto
2014-07-17  7:39 ` cinap_lenrek [this message]
2014-07-17 16:44   ` erik quanstrom
2014-07-17  8:02 ` cinap_lenrek
2014-07-17 16:15   ` erik quanstrom
2014-07-17 17:54     ` sl
2014-07-17 18:41     ` cinap_lenrek
2014-07-17 10:45 ` Steve Simon
2014-07-17 10:58 ` Steffen Nurpmeso
2014-07-17 12:17 ` cinap_lenrek
2014-07-18  0:13   ` kokamoto
2014-07-18  0:16     ` cinap_lenrek
2014-07-19 12:56 ` kokamoto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=97b8c27495a8ebca030bd23bbf5f47e8@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).