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
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
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