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: Fri, 15 Oct 2004 09:27:01 -0400	[thread overview]
Message-ID: <ee9e417a0410150627664eab91@mail.gmail.com> (raw)
In-Reply-To: <725ea6b28a715adbec4b126456613df6@plan9.escet.urjc.es>

> The problem here is that this mechanisms are not uniform.  In rio, /dev/winid is
> the current id of the window.  In an script run in acme this is done
> with $winid.  In win (in acme) the dir is bound in /dev/acme. Wouldn't all this
> have to be the same?.

It's true that they're not uniform.  I'm not sure what you mean by
"have to be the same".  It would definitely be confusing if /dev/winid
gave you acme id's under acme but rio id's under rio.
I agree if you mean that all the context should be in the name
space where it belongs.

The reason acme sets $winid is that I put it in (originally for
the Getdir script, which replaced the builtin Dotfiles) while
I was using the Unix acme, and there I don't have the luxury
of per-process name spaces, but I do have per-process environments.

I'll probably add your bind next time I'm in there.

Russ


  reply	other threads:[~2004-10-15 13:27 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
2004-10-14 14:47   ` Gorka Guardiola
2004-10-15 13:27     ` Russ Cox [this message]
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=ee9e417a0410150627664eab91@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).