From: Chris McGee <newton688@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] Trouble finding current window directory in acme
Date: Sat, 26 Nov 2016 12:41:21 -0500 [thread overview]
Message-ID: <99A7048A-C6DE-4B87-9806-B0AD004238E3@gmail.com> (raw)
Hi All,
I’m in the process of writing an interactive tutorial for plan9/acme. I’m hoping to demonstrate how to execute a command on a text file that uses the current selection as input.
According to the acme manual page there should be a /dev/acme/acme (or /mnt/acme/acme) directory that represents the current window within acme. There should be the usual body, ctl, addr, etc. files. On a regular document window I’m finding that the directory is empty. However, when I run an interactive “win” window the files are there for that window.
How does one get the /dev/acme/acme directory to be present in a normal document window? Alternatively, is there a simple way to find the index of the current acme window so that I can use the /dev/acme/x directory?
Thanks,
Chris
next reply other threads:[~2016-11-26 17:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-26 17:41 Chris McGee [this message]
2016-11-26 17:56 ` Antons Suspans
2016-11-26 17:59 ` Chris McGee
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=99A7048A-C6DE-4B87-9806-B0AD004238E3@gmail.com \
--to=newton688@gmail.com \
--cc=9fans@9fans.net \
/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).