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 <skon...@gmail.com> 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, screen-us...@frundle.com 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
>> 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
>

_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to