9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "rob pike" <rob@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] rio window overlapping order
Date: Tue, 21 Aug 2001 07:46:16 -0400	[thread overview]
Message-ID: <20010821114618.40E581998A@mail.cse.psu.edu> (raw)

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

try this.  i call it /bin/top.  top -i (inventory) lists them
and produces a list of commands to 'top' any of the
windows.

#!/bin/rc

rfork e
ifs='
'

if(~ $#* 1 && ~ $1 -i) {
	shift
	for(i in /dev/wsys/*){
		x=`{read $i/label}
		if(~ $#* 0) echo top ''''$x'''' '#' $i 
	}
	exit
}

for(i in /dev/wsys/*){
	x=`{read $i/label}
	if(~ $#* 0) echo top $x
	if not if(~ $x $"*){
		echo top > $i/wctl
		echo current > $i/wctl
	}
}


[-- Attachment #2: Type: message/rfc822, Size: 1786 bytes --]

From: YAMANASHI Takeshi <uncover@beat.cc.titech.ac.jp>
To: 9fans@cse.psu.edu
Subject: [9fans] rio window overlapping order
Date: Tue, 21 Aug 2001 15:44:35 +0900
Message-ID: <10489.998376275@beat.cc.titech.ac.jp>

How can I find the order rio arranges its windows?

I often lost a small window overlapped entirely by other
large windows (like acme), and I feel like to write some
task-bar tool for rio to raise the small one.
-- 

             reply	other threads:[~2001-08-21 11:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-21 11:46 rob pike [this message]
2001-08-22  0:45 ` YAMANASHI Takeshi
  -- strict thread matches above, loose matches on Subject: below --
2001-08-21  6:49 Russ Cox
2001-08-21  7:07 ` YAMANASHI Takeshi
2001-08-21  6:44 YAMANASHI Takeshi

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=20010821114618.40E581998A@mail.cse.psu.edu \
    --to=rob@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /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).