On Mon, 2009-05-11 at 23:56 -0700, Robin Lee Powell wrote: > I'd love to be able to use it basically as a replacement for Expect. > Being able to actually *see* what was going one whilst driving a > full-screen application with a script would be *really* nice. >
A great idea. We can definitely achieve similar functionality with little difficulty. The problem is how to make it easy to use, since this will not be the only use pattern. I'm not an expert of Expect, but I think the core of it are the 'expect' and 'send' commands. The second can be done even without scripting support, and thus should not be a problem. The second is in fact an pattern matching event, which is already in the schedule. However, the expect command is kind of a special one-off version, which seems more handy in such a context. However, there will be still some different with the original Expect. By default, you can not tell which application is currently active in screen. This means that there may be no process handling support built in. One will need to use the mechanism provided by the embedded scripting language (does LUA provide this functionality?) after spawning a new application in a new window. Also, I currently have no clear idea of how to support debugging. Can I assume it's less important? Rui > -Robin > > On Wed, Apr 22, 2009 at 09:58:29AM +0800, Rui Guo wrote: > > Yep. please show any cool usages that comes to your mind. Let's > > work together to make screen even cooler. :-) > > > > Rui > > > > On Tue, 2009-04-21 at 12:54 -0400, Sadrul Habib Chowdhury wrote: > > > Hello Everyone! > > > > > > I am delighted to let everyone know that we have accepted Rui Guo's > > > application to work on embedding scripting support in screen for Summer > > > of Code 2009! Since different kind of usage patterns, i.e. what users > > > expect to be able to do with scripts, will determine what kind of > > > features we are going to add, and their respective priorities, I invite > > > people to come up with ideas for nifty things they want to do with > > > scripts. > > > > > > Cheers, > > > Sadrul > > > > > > > > _______________________________________________ > > screen-users mailing list > > screen-users@gnu.org > > http://lists.gnu.org/mailman/listinfo/screen-users > > > _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users