Re: [9fans] /acme/edit commands?
> Unfortunately sam isn't available on Inferno I don't remember where I got this, and I don't know who wrote it, and it definitely seems pretty buggy, but: http://plan9.stanleylieber.com/inferno/src/sam.tgz sl
Re: [9fans] /acme/edit commands?
Skip Tavakkolian <9nut 9netics.com> writes: > all the recipes in /acme/edit/guide start with 'e' command (ee.l). 'e' > starts by looking in /mnt/acme/index for the buffer id of "file"; it > then operates on the corresponding buffer. so the edit commands are > meant to operate in /mnt/acme namespace (i.e. inside acme). > > you can use 'sam -d' for shell scripts. > Got it, thanks. Unfortunately sam isn't available on Inferno, so I'll have to make do with using acme. When I get around to it, I'll work on extracting the logic from acme/sam and write stand-alone versions of the /acme/edit commands. What would people generally prefer, separate commands for a, c, d, g, i, p and x, or one command that collectively implements the sam language?
Re: [9fans] /acme/edit commands?
> I had thought the /acme/edit commands (Limbo versions are included with the > latest Inferno distribution, which also has an Acme with Edit) allow for the > editing of files at the command line using the Sam command language > (without having to run Acme itself), while using Edit requires loading the > files > into Acme before operating on them. Am I wrong about either of these beliefs? > If I am correct, I like the idea of being able to use the /acme/edit commands > in shell scripts, just as I would use sed or other commands (rather than > having > to use Acme itself, which is more complicated), and I would be interested in > having the /acme/edit commands available on Plan 9 / plan9port for use there > as well. all the recipes in /acme/edit/guide start with 'e' command (ee.l). 'e' starts by looking in /mnt/acme/index for the buffer id of "file"; it then operates on the corresponding buffer. so the edit commands are meant to operate in /mnt/acme namespace (i.e. inside acme). you can use 'sam -d' for shell scripts.
Re: [9fans] /acme/edit commands?
Skip Tavakkolian <9nut 9netics.com> writes: > > i misunderstood the original question. as you noted, the Edit command > provides sam-style text editing, which is probably why nobody misses > /acme/edit. i don't think they were in 4ed (at all or for very long); > they were in 2ed, and the commands are written in Alef. > > i had forgotten about them! > I had thought the /acme/edit commands (Limbo versions are included with the latest Inferno distribution, which also has an Acme with Edit) allow for the editing of files at the command line using the Sam command language (without having to run Acme itself), while using Edit requires loading the files into Acme before operating on them. Am I wrong about either of these beliefs? If I am correct, I like the idea of being able to use the /acme/edit commands in shell scripts, just as I would use sed or other commands (rather than having to use Acme itself, which is more complicated), and I would be interested in having the /acme/edit commands available on Plan 9 / plan9port for use there as well.
Re: [9fans] /acme/edit commands?
i misunderstood the original question. as you noted, the Edit command provides sam-style text editing, which is probably why nobody misses /acme/edit. i don't think they were in 4ed (at all or for very long); they were in 2ed, and the commands are written in Alef. i had forgotten about them! >> Are the /acme/edit commands (as discussed in the Acme paper and included with >> the Inferno version of Acme) included in Plan 9 or plan9port? If not, what >> is the >> workflow replacement? Thanks. > > Doesn't the Edit command provide the same functionality?
Re: [9fans] /acme/edit commands?
On Thu, May 19, 2016 at 12:32:18AM +, Brian Vito wrote: > Are the /acme/edit commands (as discussed in the Acme paper and included with > the Inferno version of Acme) included in Plan 9 or plan9port? If not, what is > the > workflow replacement? Thanks. Doesn't the Edit command provide the same functionality?
Re: [9fans] /acme/edit commands?
i've attached a screen dump that shows /acme/bin in my Plan 9 environment. it tends to become customized after a while. > Are the /acme/edit commands (as discussed in the Acme paper and included with > the Inferno version of Acme) included in Plan 9 or plan9port? If not, what is > the > workflow replacement? Thanks.
[9fans] /acme/edit commands?
Are the /acme/edit commands (as discussed in the Acme paper and included with the Inferno version of Acme) included in Plan 9 or plan9port? If not, what is the workflow replacement? Thanks.