From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <65cd39f4d41d55c39717cb717a9582ac@felloff.net> Date: Thu, 5 May 2016 04:45:43 +0200 From: cinap_lenrek@felloff.net To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] A couple questions about /dev/draw and /dev/kbmap Topicbox-Message-UUID: 8e7337e4-ead9-11e9-9d60-3106f5b1d025 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