From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200206061048.g56AmGF26653@zamenhof.cs.utwente.nl> To: 9fans@cse.psu.edu Subject: Re: [9fans] spaces in file/dir names? (and acme)? In-reply-to: Your message of "Thu, 06 Jun 2002 12:29:39 +0200." References: From: Axel Belinfante Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 6 Jun 2002 12:48:16 +0200 Topicbox-Message-UUID: a73cf0e4-eaca-11e9-9e20-41e7f4b1d025 The approach could work, but currently I only edit (because I only see) one path element at a time -- we would have to remember some 'context' information (names of parent directories). For the general case probably substfs should build its own file tree structure (in a demand driven, lazy, way) (based on the remote one combined with editing script(s)), use that structure for the directory structure shown to its user, and use the remote server to access the real data. I'll send the current code off-line. Axel. > Hmm, assuming you have an mp3info like program (which is actually > inside the mad mp3 player that I'm using in Plan 9) you could generate > a translation table for your file system. Something like: > > translate ' ' to '_' # general case > translate '/a/b/x.mp3' to 'The Best of Alan Parsons' > translate '/a/b/y.mp3' to 'All You Wanted to Listen from Alan Parsons' > > The table could be generated offline by a script, perhaps. > > Regarding the source code, I'd still like to take a look, just for fun.