Re: While we're fantasizing about scripting...

From:

Kevin Van Workum

Subject:

Re: While we're fantasizing about scripting...

Date:

Fri, 24 Sep 2010 14:54:37 -0400

Take a look at Expect. It has macro-recording (autoexpect), and you
can control multiple screen sessions (or anything ttyish). It's my
goto for problems like this. Adding a convenience extension for screen
wouldn't be to bad. As John B. suggested, just "stuff" your commands
into tcl procedures and use Expect to interact with Screen.
On Fri, Sep 24, 2010 at 2:18 PM, Artur Skonecki <address@hidden> wrote:
> Telepathy? Thinking about macros for screen for a couple of days.
> It would be probably conveniant to use existing registers to store data. All
> what we really need to do (I hope so) is to find the right part of source
> for copying input so it works for all modes.
>
> --
> Artur Skonecki
>http://adb.cba.pl
>
> On Fri, 24 Sep 2010, address@hidden wrote:
>
>> I've hobbled together the occasional macro via a script with a lot of
>> "stuff" commands. But if there were a simple macro-recording in screen
>> (like vi's 'q') it would be a super power-tool...
>>
>> Sincerely yours,
>> John B.
>>
>> _______________________________________________
>> screen-users mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/screen-users
>>
>
> _______________________________________________
> screen-users mailing list
> address@hidden
>http://lists.gnu.org/mailman/listinfo/screen-users
>