On Fri, Dec 4, 2009 at 8:53 PM, erik quanstrom wrote:
> i general that's true, but double clicking at the start of a c block (or any
> other set of matching delimiters) is a notable exception.
Righto, forgot that escape hatch.
>
> which brings us around to acme. i was a devoted sam user for
> m
On Fri Dec 4 20:46:19 EST 2009, jrm8...@gmail.com wrote:
> On Fri, Dec 4, 2009 at 1:51 PM, Russ Cox wrote:
> > Why not just highlight the section you want to edit
> > and then type commands into the ~~sam~~ window?
> >
>
> You can't select more than a screenful with the mouse, and sometimes
> it
On Fri, Dec 4, 2009 at 1:51 PM, Russ Cox wrote:
> Why not just highlight the section you want to edit
> and then type commands into the ~~sam~~ window?
>
You can't select more than a screenful with the mouse, and sometimes
it easier to use the mouse for large selections than it is to write an
x/.
>> Thanks, that's exactly what I need. My idea is to use this
>> inside sam itself with '|', so that I can easily edit small
>> parts of big files.
> Why not just highlight the section you want to edit and then
> type commands into the ~~sam~~ window?
Major probable real reason is that I have no
> Thanks, that's exactly what I need. My idea is to use this inside
> sam itself with '|', so that I can easily edit small parts of big
> files.
Why not just highlight the section you want to edit
and then type commands into the ~~sam~~ window?
Russ
i think what you want is a modified ssam that reopens
the console. the reason for this is to seperate the editing from
the command stream. something like (for plan 9, run once)
(...)
or for linux (untested)
> (...)
Thanks, that's exactly what I need. My idea is to use this inside
sam itself
On Thu Dec 3 12:49:01 EST 2009, mauricio.antu...@gmail.com wrote:
> I would like to write a script that takes text from standard
> input, lets the user edit it with 'sam -d' and then prints it to
> standard output.
>
> Do you think that makes sense? After all, 'sam -d' needs standard
> input and
2009/12/3 Maurício CA :
> I would like to write a script that takes text from standard
> input, lets the user edit it with 'sam -d' and then prints it to
> standard output.
http://bitbucket.org/rsc/plan9port/src/tip/bin/ssam
Hi,
I would like to write a script that takes text from standard
input, lets the user edit it with 'sam -d' and then prints it to
standard output.
Do you think that makes sense? After all, 'sam -d' needs standard
input and output in order to edit anything.
Thanks,
Maurício