9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <russcox@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] acme tags for shell scripts
Date: Thu, 14 Oct 2004 10:39:30 -0400	[thread overview]
Message-ID: <ee9e417a04101407397604c7e1@mail.gmail.com> (raw)
In-Reply-To: <8df3e4b1f270ba00f6d3c533753751f9@plan9.escet.urjc.es>

> 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


  reply	other threads:[~2004-10-14 14:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-14 13:28 Gorka Guardiola
2004-10-14 14:39 ` Russ Cox [this message]
2004-10-14 14:47   ` Gorka Guardiola
2004-10-15 13:27     ` Russ Cox
2004-10-15 13:54       ` Gorka Guardiola

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=ee9e417a04101407397604c7e1@mail.gmail.com \
    --to=russcox@gmail.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).