Re: [9fans] assigning acme windows to columns programmatically

2011-01-19 Thread Joseph Xu
Adding this feature turned out to be pretty easy. If anyone else is interested, here's a patch that allows you to write a message of the form col i\n to /n/ctl to move window n to the i th column from the left, starting with 0. diff -r ad2f6f64fbc8 src/cmd/acme/xfid.c --- a/src/cmd/acme/xfid.c

Re: [9fans] assigning acme windows to columns programmatically

2011-01-19 Thread Joseph Xu
Sorry, pretty sure gmail screwed up that inline patch. Attaching instead. patch Description: Binary data

Re: [9fans] assigning acme windows to columns programmatically

2011-01-18 Thread Sergey Zhilkin
Its impossible without modification. On Mon, Jan 17, 2011 at 11:04 AM, Joseph Xu joseph...@gmail.com wrote: Hi: In acme, is it possible to move an existing window into a specific column using its control file interface? I have a script that spawns several windows every run and I'm getting

[9fans] assigning acme windows to columns programmatically

2011-01-17 Thread Joseph Xu
Hi: In acme, is it possible to move an existing window into a specific column using its control file interface? I have a script that spawns several windows every run and I'm getting tired of manually rearranging the windows every time. Joseph