From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <52ADCCE9.7000507@gmx.de> Date: Sun, 15 Dec 2013 16:38:17 +0100 From: Friedrich Psiorz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Acme: spaces in file names Topicbox-Message-UUID: 9af02faa-ead8-11e9-9d60-3106f5b1d025 I think the reason is that filenames with spaces are not very common in Plan 9. If you're running plumber, you can probably adjust the regular exressions for file matching in your $HOME/lib/plumbing file. If you don't have that file yet: 9p read plumb/rules >$HOME/lib/plumbing ~Fritz Am 15.12.2013 16:25, schrieb Blake McBride: > Discovering button-3-drag, is there a reason button-3-drag could not be > made to load a file or directory with spaces in it? In other words, > would this conflict with some other intended operation? >=20 > Thanks. >=20 > Blake >=20 >=20 >=20 > On Thu, Dec 12, 2013 at 3:10 PM, Blake McBride > wrote: >=20 > When you button-2-click on text acme executes the word. If you wan= t > to execute something larger with spaces, you highlight the whole > thing and then button-2-click on it to execute the whole thing. >=20 > When you button-3-click on text in a file list buffer acme loads th= e > file with that name. I should be able to highlight a file name wit= h > spaces and then button-3-click on it to load the file. This would > be totally consistent. >=20 > It there a reason this hasn't been done? >=20 > Thanks. >=20 > Blake >=20 >=20 >=20 > On Thu, Dec 12, 2013 at 11:00 AM, Rub=E9n Berenguel > > wrote: >=20 > A kind of crude workaround is using the whole > /Users/whatever/file with spaces, selecting it with first butto= n > and 1-2 chording it to Get. This works on Mac, problem is that > it's quite horrible to do. An intermediate solution may be to > use some piping rule like sp:filename with spaces, but I don't > remember if piping works with right-button and selected text or > follows the same rules as opening a file. >=20 > Ruben >=20 >=20 > On Thu, Dec 12, 2013 at 5:53 PM, Robert Raschke > > wrot= e: >=20 > Someone once made a little filesystem that would substitute > spaces in filenames with a different character. When placed > between the normal fs and Acme, this would make things work > quite nicely. >=20 > If I remember correctly, Acme-SAC (built on top of Inferno) > does that by default. >=20 > No idea where you can find such a fs for Mac though. But > this might give you a start. >=20 > Robby >=20 > On Dec 11, 2013 6:19 PM, "Blake McBride" > wrote: >=20 > Greetings, >=20 > Just started using acme (and sam). Cool. >=20 > I am using acme on a Mac form plan9port. >=20 > Within a file list one can right-click a listing in > order to decend into another directory or load a file. > The problem is that neither work if a space is > contained within the name. Apparently, the right-click > functionality only looks at non-white space strings. A= n > easy fix to this would be to allow the user to highligh= t > the entire string (including spaces) and then > right-click as normal. The system would allow the > highlight facility to override the "just test for > contigous non-space string" current functionality. >=20 > Any thoughts on this? >=20 > Thanks. >=20 > Blake McBride >=20 >=20 >=20 >=20