Re: [9fans] Input/output

2009-12-04 Thread Jorden Mauro
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

Re: [9fans] Input/output

2009-12-04 Thread erik quanstrom
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

Re: [9fans] Input/output

2009-12-04 Thread Jorden Mauro
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/.

Re: [9fans] Input/output

2009-12-04 Thread Maurí­cio CA
>> 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

Re: [9fans] Input/output

2009-12-04 Thread Russ Cox
> 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

Re: [9fans] Input/output

2009-12-04 Thread Maurí­cio CA
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

Re: [9fans] Input/output

2009-12-03 Thread erik quanstrom
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

Re: [9fans] Input/output

2009-12-03 Thread Russ Cox
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