From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200204031301.g33D1Du17158@copernicus.cs.utwente.nl> To: 9fans@cse.psu.edu In-reply-to: Your message of "Fri, 29 Mar 2002 00:23:49 -0500." References: From: Axel Belinfante Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [9fans] finding acme window id from shell script? Date: Wed, 3 Apr 2002 15:01:13 +0200 Topicbox-Message-UUID: 723b91e8-eaca-11e9-9e20-41e7f4b1d025 Another question about programming acme from rc: Can a shell script (or other program) find out from which acme window it was invoked (other than looking for a 'known' filename in/mnt/acme/index)? In the manual I only found acme's ID command, which I cannot use from within the shell script (or is there a way?), and reading the ctl file, but I assume that refers to e.g. /mnt/acme//ctl and to read that I already need to know . Currently I just look for a 'fixed' filename in /mnt/acme/index, which works ok; I'm just wondering whether there is a more 'direct' way. Thanks, Axel.