From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <99A7048A-C6DE-4B87-9806-B0AD004238E3@gmail.com> Date: Sat, 26 Nov 2016 12:41:21 -0500 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: [9fans] Trouble finding current window directory in acme Topicbox-Message-UUID: af449274-ead9-11e9-9d60-3106f5b1d025 Hi All, I=E2=80=99m in the process of writing an interactive tutorial for = plan9/acme. I=E2=80=99m 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=E2=80=99m finding that the directory is empty. = However, when I run an interactive =E2=80=9Cwin=E2=80=9D 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=