From: cinap_lenrek@felloff.net
To: 9fans@9fans.net
Subject: Re: [9fans] A couple questions about /dev/draw and /dev/kbmap
Date: Thu, 5 May 2016 04:45:43 +0200 [thread overview]
Message-ID: <65cd39f4d41d55c39717cb717a9582ac@felloff.net> (raw)
In-Reply-To: <CAG2UyHqa41P05vmOjeSug_Jp+6rJ_jO=+Z1uZsO5mWNZ8CT6+A@mail.gmail.com>
you wont have that limitation on devdraw on the local machine. but
over 9p, your reads and writes are limited by the iounit of the
channel over which 9p is transfered.
the reson for having a iounit is that you'r not the only one doing
stuff over the channel. you chunk stuff up in packets, so multiple
things can appear as simultanious even tho theres only one serial
channel. the bigger you make the packets, the bigger the latency
for concurrent packets wanting to be transmitted.
for the keyboard stuff. you cant do that with /dev/cons. drawterm
only gives you runes, but no kbmap (you'r probably seeing the cpu
servers kbmap, not the one in drawterm). in 9front [1,2], theres
/dev/kbd [3] which also gives you button states.
[1] http://9front.org/
[2] http://drawterm.9front.org/
[3] http://man.9front.org/8/kbdfs
--
cinap
next prev parent reply other threads:[~2016-05-05 2:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-04 20:20 Dave MacFarlane
2016-05-04 21:53 ` hiro
2016-05-05 2:45 ` cinap_lenrek [this message]
2016-05-05 13:12 ` Dave MacFarlane
2016-05-05 13:16 ` Aram Hăvărneanu
2016-05-05 13:56 ` cinap_lenrek
2016-05-05 16:00 ` Charles Forsyth
2016-05-05 15:38 ` Skip Tavakkolian
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=65cd39f4d41d55c39717cb717a9582ac@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).