9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Axel Belinfante <Axel.Belinfante@cs.utwente.nl>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] spaces in file/dir names? (and acme)?
Date: Tue,  4 Jun 2002 18:23:08 +0200	[thread overview]
Message-ID: <200206041623.g54GN8c19674@zamenhof.cs.utwente.nl> (raw)
In-Reply-To: Your message of "Thu, 30 May 2002 19:16:59 +0100." <20020530181217.5C2D019ABA@mail.cse.psu.edu>

To solve my particular case at hand (playing mp3 files made available
via u9fs, where I don't want to do any special work at the remote end),
I resorted to writing (hacking) what I've named so far 'substfs',
a file server that is supposed to sit between 'the user'
(usually mount) and the remote u9fs, and does do file name substitution.
Apart from the file server that it should work on, it is given
two edit programs (filter scripts) that (should) do the remote->local
and local->remote conversions. The edit programs could then
be 'tr '' '' `{unicode whatever}' (and the reverse).
(actually, I use something like: cat|tcs -f 8859-1| tr ' ' @
 where @ is one of the special space characters mentioned in this thread
 which number I don't recall right now).

So far it seems to work -- even though the editing is not yet done
for all message types, and mememory management is a joke.
I also haven't tried yet what happens if I mount its /srv/bla
file in two different places and try to access it 'simultaniously'.
I built by glueing together bits and pieces taken from u9fs, 9pcon,
lib9p and probably some other places.
When it is slightly more complete (and there is interest?)
I will probably post it to 9fans or it make available via the web.
Writing it has been quite instructive in getting more insight in
the 9p2000 protocol.

Regards,
Axel.

> i quite like the way that spaces in r3 dosfs map to colons (and vice
> versa, presumably).  of course you wouldn't want to do that in general
> 'cos colon is a useful char, but what about that glyph that i've seen
> in Word (i think) that looks like a very small dot at the bottom of
> the line and represents a space; that's fairly unambiguous, and if
> most fonts displayed 0xa0 as that glyph, and if /lib/keyboard mapped
> ALT-space to 0xa0, and imported filesystems mapped 0xa0 1-1 with 0x20,
> we'd have quite a workable situation and no confused
> shellscripts/cut&paste/double-click.




  reply	other threads:[~2002-06-04 16:23 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-30 18:16 rog
2002-06-04 16:23 ` Axel Belinfante [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-06 10:29 Fco.J.Ballesteros
2002-06-06 10:48 ` Axel Belinfante
2002-06-06  8:11 Fco.J.Ballesteros
2002-06-06 10:22 ` Axel Belinfante
2002-06-05 18:39 Geoff Collyer
2002-06-05 17:55 rog
2002-06-05 17:04 anothy
2002-06-05 13:46 Russ Cox
2002-06-03  7:48 Fco.J.Ballesteros
2002-06-03 16:05 ` Dan Cross
2002-06-05 10:05   ` Douglas A. Gwyn
2002-06-01 21:37 jmk
2002-06-01 22:06 ` Dan Cross
2002-05-30 22:01 forsyth
2002-05-30 20:16 rog
2002-05-30 20:14 rsc
2002-05-30 19:29 rog
2002-05-30 19:12 forsyth
2002-05-30 18:58 rog
2002-05-30 18:55 rsc
2002-05-30 18:15 rsc
2002-05-30 18:13 Geoff Collyer
2002-05-31  4:53 ` Lucio De Re
2002-05-31  8:59   ` Boyd Roberts
2002-05-30 18:09 Sape Mullender
2002-05-30 17:58 Fco.J.Ballesteros
2002-05-30 17:10 ` Sam
2002-05-30 17:52 presotto
2002-05-30 17:46 Geoff Collyer
2002-05-30 17:00 Fco.J.Ballesteros
2002-06-01 21:34 ` Dan Cross
2002-05-30 16:57 Fco.J.Ballesteros
2002-05-30 17:03 ` Lucio De Re
2002-06-05  9:55   ` Douglas A. Gwyn
2002-05-30 16:30 rsc
2002-05-30 16:35 ` Axel Belinfante
2002-06-05  9:54 ` Douglas A. Gwyn
2002-05-30 16:30 rsc
2002-05-30 16:21 Axel Belinfante
2002-05-30 16:27 ` Boyd Roberts

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=200206041623.g54GN8c19674@zamenhof.cs.utwente.nl \
    --to=axel.belinfante@cs.utwente.nl \
    --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).