From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Thu, 14 Oct 2004 10:39:30 -0400 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] acme tags for shell scripts In-Reply-To: <8df3e4b1f270ba00f6d3c533753751f9@plan9.escet.urjc.es> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <8df3e4b1f270ba00f6d3c533753751f9@plan9.escet.urjc.es> Topicbox-Message-UUID: ee38fd64-eacd-11e9-9e20-41e7f4b1d025 > I was trying to access the tag of the current window on acme from a > shell script and found it impossible. The problem is that there is no > way to get back the id of the current window (the one the script is > run on) in the shell script in order to access to /dev/wsys/%d. cat /mnt/acme/$winid/tag works. Your solution may be cleaner, but the task isn't currently impossible. Russ