9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Axel Belinfante <Axel.Belinfante@cs.utwente.nl>
To: 9fans@cse.psu.edu
Subject: [9fans] finding acme window id from shell script?
Date: Wed,  3 Apr 2002 15:01:13 +0200	[thread overview]
Message-ID: <200204031301.g33D1Du17158@copernicus.cs.utwente.nl> (raw)
In-Reply-To: Your message of "Fri, 29 Mar 2002 00:23:49 -0500." <b8e73e9e1626267c87a7a09413f994e7@plan9.bell-labs.com>

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/<nr>/ctl
and to read that I already need to know <nr>.
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.



  parent reply	other threads:[~2002-04-03 13:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-29  5:23 [9fans] 'euro symbol' special in acme interface? Russ Cox
2002-03-29 13:07 ` Axel Belinfante
2002-04-03 13:01 ` Axel Belinfante [this message]
2002-04-03 13:45 [9fans] finding acme window id from shell script? rog
2002-04-03 14:16 ` Axel Belinfante
2002-04-03 14:58 rog
2002-04-03 15:47 ` Axel Belinfante

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=200204031301.g33D1Du17158@copernicus.cs.utwente.nl \
    --to=axel.belinfante@cs.utwente.nl \
    --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).