From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] rio window overlapping order From: "rob pike" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-rfgxneeuelicssgthizdbbqute" Message-Id: <20010821114618.40E581998A@mail.cse.psu.edu> Date: Tue, 21 Aug 2001 07:46:16 -0400 Topicbox-Message-UUID: e455db18-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-rfgxneeuelicssgthizdbbqute Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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 } } --upas-rfgxneeuelicssgthizdbbqute Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Tue Aug 21 02:45:25 EDT 2001 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Tue Aug 21 02:45:23 EDT 2001 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.18.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id D8982199D7; Tue, 21 Aug 2001 02:45:10 -0400 (EDT) Received: from ginnan.cc.titech.ac.jp (ginnan.cc.titech.ac.jp [131.112.14.2]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id 87D531998A for <9fans@cse.psu.edu>; Tue, 21 Aug 2001 02:44:38 -0400 (EDT) Received: (qmail 30547 invoked from network); 21 Aug 2001 06:44:37 -0000 Received: from beat.cc.titech.ac.jp (131.112.4.22) by ginnan.cc.titech.ac.jp with SMTP; 21 Aug 2001 06:44:37 -0000 Received: (qmail 10491 invoked from network); 21 Aug 2001 06:44:36 -0000 Received: from localhost (HELO beat.cc.titech.ac.jp) (127.0.0.1) by localhost with SMTP; 21 Aug 2001 06:44:36 -0000 From: YAMANASHI Takeshi To: 9fans@cse.psu.edu Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Message-ID: <10489.998376275@beat.cc.titech.ac.jp> Subject: [9fans] rio window overlapping order Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Tue, 21 Aug 2001 15:44:35 +0900 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. -- --upas-rfgxneeuelicssgthizdbbqute--