From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] finding acme window id from shell script?
Date: Wed, 3 Apr 2002 14:45:01 +0100 [thread overview]
Message-ID: <20020403134211.CEEB219995@mail.cse.psu.edu> (raw)
> 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 alef version of acme i made a change so that the window id was
set in $acmewin so that shell scripts that wished to could operate on
the window they were executed from.
i did that largely so that i could implement aget and aput commands
which got or put some text into the selection of the current window so
you could do
aget|fmt|aput
however since the '|' functionality has been implemented that's not so
useful.
one feature i would find useful: an environment variable giving the
filename of the current window (from the tag). to save valuable space
in tags, it should probably be a single letter, maybe $% ?
cp $% $%.old
Edit ,>diff $% /fd/0
next reply other threads:[~2002-04-03 13:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-03 13:45 rog [this message]
2002-04-03 14:16 ` Axel Belinfante
-- strict thread matches above, loose matches on Subject: below --
2002-04-03 14:58 rog
2002-04-03 15:47 ` Axel Belinfante
2002-03-29 5:23 [9fans] 'euro symbol' special in acme interface? Russ Cox
2002-04-03 13:01 ` [9fans] finding acme window id from shell script? 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=20020403134211.CEEB219995@mail.cse.psu.edu \
--to=rog@vitanuova.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).