Re: [9fans] Rio windows size and location

2008-07-04 Thread Russ Cox
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

Re: [9fans] Rio windows size and location

2008-07-04 Thread erik quanstrom
> I know that this self-conversation is getting silly, but I thought > I would report that, as far as just starting a new rio, the winwatch > that I'm trying to keep uncovered doesn't show windows opened > in the new rio, sort of defeating the purpose. So, I guess I'm > back to the original questio

Re: [9fans] Rio windows size and location

2008-07-04 Thread Gregory Pavelcak
I know that this self-conversation is getting silly, but I thought I would report that, as far as just starting a new rio, the winwatch that I'm trying to keep uncovered doesn't show windows opened in the new rio, sort of defeating the purpose. So, I guess I'm back to the original question. Now, I

[9fans] Rio windows size and location

2008-07-04 Thread Gregory Pavelcak
Sorry for the self follow-up, but it did just occur to me that a simple solution is to start a new instance of rio within a window withe the boundaries I want, then, obviously, all subsequent window-openings will take place in there. D'oh. Greg

[9fans] Rio windows size and location

2008-07-04 Thread Gregory Pavelcak
Here's the summary for the window command in the man page. window [ -m ] [ -r minx miny maxx maxy ] [ -dx n ] [ -dy n ] [ -minx n ] [ -miny n ] [ -maxx n ] [ -maxy n ] [ -cd dir ] [ -hide ] [ -scroll ] [ -noscroll ] [ cmd arg ... ] If I do window -r 200 200 10