9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* re: [9fans] blanks in names
@ 2002-07-04  6:47 forsyth
  2002-07-04 19:45 ` rob pike, esq.
  0 siblings, 1 reply; 7+ messages in thread
From: forsyth @ 2002-07-04  6:47 UTC (permalink / raw)
  To: 9fans

>>otherwise, Plan 9 should prohibit space in its file names, as
>>previously,  ...

i ought to have said `and still', since /sys/src/fs/port/9p2.c still
blocks it.  perhaps just as well until it's sorted out!



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] blanks in names
  2002-07-04 19:45 ` rob pike, esq.
@ 2002-07-04 14:56   ` FJ Ballesteros
  0 siblings, 0 replies; 7+ messages in thread
From: FJ Ballesteros @ 2002-07-04 14:56 UTC (permalink / raw)
  To: 9fans



"rob pike, esq." ha escrito:
> I enabled blanks because they kept appearing, everyone else accepts
> them, and it seemed a challenge to find a good solution.  I still
> prefer the quoting solution because it leaves the underlying stuff
> alone, but it's easier to just say no.
> 
> -rob

Before you enabled them, I just said no.
Now that I have been able to use external names, I wouldn't want
to go back. I think you did a very good thing just by considering
the problem and trying to solve it; please, don't look back :-)


^ permalink raw reply	[flat|nested] 7+ messages in thread

* re: [9fans] blanks in names
  2002-07-04  6:47 [9fans] blanks in names forsyth
@ 2002-07-04 19:45 ` rob pike, esq.
  2002-07-04 14:56   ` FJ Ballesteros
  0 siblings, 1 reply; 7+ messages in thread
From: rob pike, esq. @ 2002-07-04 19:45 UTC (permalink / raw)
  To: 9fans


I have a simpler solution.  If you don't like blanks in file names,
prohibit them again. (It's the 'frog' array in /sys/src/9/port/chan.c
that determines this.)  Servers that give you blanks will get caught
(although the failures will often be mysterious).  Fix those that
do by relabeling as Nemo suggests, although please not with a variant
invisible blank.  Something visible but rarely used, such as the
0x80 rune.

I enabled blanks because they kept appearing, everyone else accepts
them, and it seemed a challenge to find a good solution.  I still
prefer the quoting solution because it leaves the underlying stuff
alone, but it's easier to just say no.

-rob



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] blanks in names
  2002-07-04 16:47 rog
  2002-07-04 17:06 ` FJ Ballesteros
@ 2002-07-04 22:29 ` arisawa
  1 sibling, 0 replies; 7+ messages in thread
From: arisawa @ 2002-07-04 22:29 UTC (permalink / raw)
  To: 9fans

>i agree that it should be visible; but i also think it should be
>visually distinguishable as a "spacer" character (i.e.  not a peter  
>face)
How about x7f ?
However these discussions are meaningless if we quote file name  
whenever spaces are contained,
Genuine space code is best for internal code.

Kenji Arisawa


^ permalink raw reply	[flat|nested] 7+ messages in thread

* re: [9fans] blanks in names
@ 2002-07-04 19:41 rob pike, esq.
  0 siblings, 0 replies; 7+ messages in thread
From: rob pike, esq. @ 2002-07-04 19:41 UTC (permalink / raw)
  To: 9fans

It always will. The only reason spaces arrive in file names is
that they are imported from outside.

-rob

--On Thursday, July 04, 2002 7:47 AM +0100 forsyth@caldo.demon.co.uk wrote:

>>> otherwise, Plan 9 should prohibit space in its file names, as
>>> previously,  ...
>
> i ought to have said `and still', since /sys/src/fs/port/9p2.c still
> blocks it.  perhaps just as well until it's sorted out!
>




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] blanks in names
  2002-07-04 16:47 rog
@ 2002-07-04 17:06 ` FJ Ballesteros
  2002-07-04 22:29 ` arisawa
  1 sibling, 0 replies; 7+ messages in thread
From: FJ Ballesteros @ 2002-07-04 17:06 UTC (permalink / raw)
  To: 9fans

If that's what we end up doing there is a "visible space" rune.

Although, this afternoon I'm more in the mood of not eating worms
and try to get the blank handled (still waiting for answers to my
last post :-) ).



rog@vitanuova.com ha escrito:
> 
> > Fix those that do by relabeling as Nemo suggests, although please not
> > with a variant invisible blank.  Something visible but rarely used,
> > such as the 0x80 rune.
> 
> try typing it... :-)
> 
> i agree that it should be visible; but i also think it should be
> visually distinguishable as a "spacer" character (i.e.  not a peter face)


^ permalink raw reply	[flat|nested] 7+ messages in thread

* re: [9fans] blanks in names
@ 2002-07-04 16:47 rog
  2002-07-04 17:06 ` FJ Ballesteros
  2002-07-04 22:29 ` arisawa
  0 siblings, 2 replies; 7+ messages in thread
From: rog @ 2002-07-04 16:47 UTC (permalink / raw)
  To: 9fans

> Fix those that do by relabeling as Nemo suggests, although please not
> with a variant invisible blank.  Something visible but rarely used,
> such as the 0x80 rune.

try typing it... :-)

i agree that it should be visible; but i also think it should be
visually distinguishable as a "spacer" character (i.e.  not a peter face)



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-07-04 22:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-04  6:47 [9fans] blanks in names forsyth
2002-07-04 19:45 ` rob pike, esq.
2002-07-04 14:56   ` FJ Ballesteros
2002-07-04 16:47 rog
2002-07-04 17:06 ` FJ Ballesteros
2002-07-04 22:29 ` arisawa
2002-07-04 19:41 rob pike, esq.

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).