Re: help to use screen command

2008-12-06 Thread Trent W. Buck
On Sat, Dec 06, 2008 at 11:59:22AM -0800, Micah Cowan wrote: > > FWIW, sh -c 'vim find . -name \*.c -o -name \*.cpp -exec vim {} +' would > > be better, if your system supports POSIX 2003's variadic -exec {} +. > > (Failing that, xargs.) > > Both are good points. Though I think xargs will only rea

Re: help to use screen command

2008-12-06 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Trent W. Buck wrote: > Micah Cowan <[EMAIL PROTECTED]> writes: >> screen sh -c "vim `find . -name '*.c' -o -name '*.cpp'`" >> title vim > > FWIW, sh -c 'vim find . -name \*.c -o -name \*.cpp -exec vim {} +' would > be better, if your system supports

Re: help to use screen command

2008-12-04 Thread Trent W. Buck
Micah Cowan <[EMAIL PROTECTED]> writes: > Zaphod wrote: >> Hi >> >> 1st of all, i am using screen for number of years now and like it very >> much. >> lately decided to upgrade my environment. So my question is. >> >> Using .screenrc file where wants to open window with vim. The vim should >> al

Re: help to use screen command

2008-12-04 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zaphod wrote: > Hi > > 1st of all, i am using screen for number of years now and like it very > much. > lately decided to upgrade my environment. So my question is. > > Using .screenrc file where wants to open window with vim. The vim should > also >

help to use screen command

2008-12-04 Thread Zaphod
Hi 1st of all, i am using screen for number of years now and like it very much. lately decided to upgrade my environment. So my question is. Using .screenrc file where wants to open window with vim. The vim should also open number of files. If running such vim from bash: vim `find . -name '*.c'