9fans archive / 1998 / 04 / 20 / prev next
From: G. David Butler gdb@dbS...
Subject: [9fans] allowing space (ASCII 0x20) in file names
Date: Wed, 8 Apr 1998 11:56:33 -0500
Why is the space (ASCII 0x20) excluded from file names? This is done
both in /sys/src/9/port/chan.c and /sys/src/fs/port/dentry.c.
/sys/src/fs/port/dentry.c disallows <= 0x20.
/sys/src/9/port/chan.c disallows <= 0x20, '/' (for obvious reasons)
and 0x7f (not so obvious).
Is the idea to disallow unprintables?
I was just looking at IMAP (RFC2060), and it specifies modified
UTF-7 for mailbox names. The only incompatability is the ASCII
space (0x20).
So, I was wondering, is there a problem allowing the space?
P.S. I plagiarized the idea for this sig from another, but it is cute.
-------------------------------------------------------------------
G. David Butler | Who I? Zathras, a Plan9er. Nobody uses Zathras'
| system, but Zathras not mind. Zathras used to
| having others ignore Zathras. Besides, Zathras
gdb@dbS... | have best system, so Zathras happy.