9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: yy <yiyu.jgl@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] Borderless rio
Date: Sun, 26 Apr 2009 20:30:19 +0200	[thread overview]
Message-ID: <a81fe9be0904261130k551347eg62e51a8236249466@mail.gmail.com> (raw)

I'm sending this to the list because I don't remember who was talking
about it in #plan9 some days ago. Somebody suggested to modify rio to
open all the windows at fullscreen, this way you could run several
rios as if they were workspaces.

I have found more practical to add an -I option to run rio in "non
interactive mode", which means: windows have no borders, there is no
button3 menu and new windows are open by default at full screen size.
Very few modifications were needed. If the person from the irc channel
or somebody else is interested I can send the code (I asked for a
contrib dir some time ago, btw).

I also have a question. I'm running this script to open rio with workspaces :
%vx ; cat bin/rc/riows
#!/bin/rc

labels=$*
if(test $#labels -lt 1)
	labels=(1 2 3 4)

rio.b -I -i'\
	for(label in $labels)
		window -miny 40 ''rio -i ''''label ''$label''''''''
	# give time to set all the labels
	sleep 0.5
	window -dy 39 ''winwatch -e ''''^(winwatch|stats|faces)'''''''

My question is: what is the better way to avoid that lot of quotes? I
can think of variables or functions, but I wonder what is the idiom
for nested quotes.

Kind regards,


--
- yiyus || JGL .



             reply	other threads:[~2009-04-26 18:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-26 18:30 yy [this message]
2009-04-27 11:39 ` erik quanstrom
2009-04-28 22:48 ` Russ Cox

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=a81fe9be0904261130k551347eg62e51a8236249466@mail.gmail.com \
    --to=yiyu.jgl@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).