9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] /dev/draw/new and /dev/draw/n/ctl
@ 2013-06-12  3:56 Jeremy Jackins
  2013-06-12  4:13 ` Federico G. Benavento
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Jackins @ 2013-06-12  3:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

from draw(3):

"Each client of the device connects by opening /dev/draw/new and
reading 12 strings, each 11 characters wide followed by a blank: the
connection number (n), the image id (q.v.)  of the display image
(always zero), the channel format of the image, the min.x, min.y,
max.x, and max.y of the display image, and the min.x, min.y, max.x,
and max.y of the clipping rectangle."

After acknowledging that there are 12 strings, it only describes 11.
What is the number that comes between the channel format and min.x?



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

* Re: [9fans] /dev/draw/new and /dev/draw/n/ctl
  2013-06-12  3:56 [9fans] /dev/draw/new and /dev/draw/n/ctl Jeremy Jackins
@ 2013-06-12  4:13 ` Federico G. Benavento
  0 siblings, 0 replies; 2+ messages in thread
From: Federico G. Benavento @ 2013-06-12  4:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 819 bytes --]

it's "repl", meaning that if it's non zero the image gets replicated when
used as source.
a better explanation can be found in draw(2).


On Wed, Jun 12, 2013 at 12:56 AM, Jeremy Jackins <jeremyjackins@gmail.com>wrote:

> from draw(3):
>
> "Each client of the device connects by opening /dev/draw/new and
> reading 12 strings, each 11 characters wide followed by a blank: the
> connection number (n), the image id (q.v.)  of the display image
> (always zero), the channel format of the image, the min.x, min.y,
> max.x, and max.y of the display image, and the min.x, min.y, max.x,
> and max.y of the clipping rectangle."
>
> After acknowledging that there are 12 strings, it only describes 11.
> What is the number that comes between the channel format and min.x?
>
>


--
Federico G. Benavento

[-- Attachment #2: Type: text/html, Size: 1217 bytes --]

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

end of thread, other threads:[~2013-06-12  4:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-12  3:56 [9fans] /dev/draw/new and /dev/draw/n/ctl Jeremy Jackins
2013-06-12  4:13 ` Federico G. Benavento

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