From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] blanks in file names From: rog@vitanuova.com MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20020702180900.6B5F7199BF@mail.cse.psu.edu> Date: Tue, 2 Jul 2002 19:14:46 +0100 Topicbox-Message-UUID: bf9d9120-eaca-11e9-9e20-41e7f4b1d025 > - change the system to translate blanks in file names to the > same character. it might be worth identifying the exact points that would need changing should such a scheme be chosen. /sys/src/cmd/dossrv /sys/src/cmd/9660srv /sys/src/cmd/tapefs /sys/src/cmd/unix/u9fs /sys/src/cmd/ftpfs convert "space char" to/from external actual space on create, walk, wstat, stat and directory reads. /sys/src/9/port/latin1.c make it possible to have a single character ALT sequence (if ALT-space is what's desired). > - change the quote library so it does not quote that character. it doesn't matter if it does... however various places would need to change back so they didn't quote chars (e.g. ls, pwd?) a suitable character would need to be chosen (e.g. 00A0), and it would be nice if most fonts displayed it in a reasonably consistent manner. perhaps a new function could be added to libc that does the conventional conversion from ' ' to the new space char so that programs with GUI entry boxes that know that a string is being typed in a filename context can trivially do the conversion. what have i missed?