9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: John Floren <slawmaster@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] rio with virtuals
Date: Wed, 12 Aug 2009 13:20:55 -0700	[thread overview]
Message-ID: <7d3530220908121320n5f323ae0ta7f24ebc04e1b5c8@mail.gmail.com> (raw)
In-Reply-To: <5bb5eb6954cf188a69c95db80aff77b2@csplan9.rit.edu>

On Mon, Jun 15, 2009 at 3:54 PM, <john@csplan9.rit.edu> wrote:
> I spent a couple hours this afternoon reading rio source and hacking
> it to do virtual desktops.  /n/sources/contrib/john/rio-virtual.tgz
> contains the files from /sys/src/cmd/rio with my changes made.  At
> this time, there is no support for specifying the number of virtuals,
> because I'm lazy--you get six and you will ENJOY IT.
>

A followup for anyone using rio-virtual: I did a bit of hacking today
and have some updates.
* Virtual desktop switching should be a bit faster thanks to a
slightly smarter algorithm governing who gets drawn and who doesn't.
Oh, and hiding a window, switching desktops, then switching back now
leaves the window hidden, instead of drawing it again like in the old
version.
* The "-b 0xrrggbbFF" switch allows you to set the background color;
the default is 0x777777FF, but I also like 0xBBBBBBFF, and some shades
of dark red or blue can also be nice.
* To get a little silly, the "-n" switch makes window borders look as
close to the old 8 1/2 windows as I could easily come. The current
window has 4 pixel black borders, while the other windows have one
pixel black borders.

The new source is still in /n/sources/contrib/john/rio-virtual.tgz.
I've also put it on Bitbucket, so you can fetch it via Mercurial:
http://bitbucket.org/floren/rio-virtual/


John
-- 
"Object-oriented design is the roman numerals of computing" -- Rob Pike



      parent reply	other threads:[~2009-08-12 20:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-15 22:54 john
2009-06-15 23:00 ` J.R. Mauro
2009-06-15 23:13   ` john
2009-08-12 20:20 ` John Floren [this message]

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=7d3530220908121320n5f323ae0ta7f24ebc04e1b5c8@mail.gmail.com \
    --to=slawmaster@gmail.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).