9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@9fans.net
Subject: Re: [9fans] Rio windows size and location
Date: Fri,  4 Jul 2008 11:49:05 -0400	[thread overview]
Message-ID: <20080704154700.509E71E8C75@holo.morphisms.net> (raw)
In-Reply-To: <36a1d00ea12f162fcd7c7c09d8097289@comcast.net>

Rather than fiddle with rio's guts, you'd do better
to implement your own window command that
surveys the screen size
(cat /dev/draw/new >[2]/dev/null | awk '{print $7, $8}')
the locations of current windows (wloc)
and then implements any algorithm you like for
placing windows.

Russ



  reply	other threads:[~2008-07-04 15:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-04 13:00 Gregory Pavelcak
2008-07-04 15:49 ` Russ Cox [this message]
2008-07-04 13:05 Gregory Pavelcak
2008-07-04 13:47 Gregory Pavelcak
2008-07-04 13:49 ` erik quanstrom

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=20080704154700.509E71E8C75@holo.morphisms.net \
    --to=rsc@swtch.com \
    --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).