Re: Keyboard macros?
Alfredo Carlos López <[email protected]>
| Newsgroups | gmane.linux.mandrake.expert |
|---|---|
| Message-ID | <[email protected]> |
I think "expect" is what you need... 2010/11/1 David Guntner <[email protected]>: > Gilles Baudrillard grabbed a keyboard and wrote: >> On 27/10/2010 05:30, David Guntner wrote: >>> I've been using Konsole to do my terminal (shell) work in KDE. I like >>> it, but it doesn't seem to have any kind of keyboard macro >>> functionality. I'd like to have it be able to record what I'm doing as >>> I key my way through various repetitive steps and save it so that I can >>> then hit one key and have it repeat the whole bloody complicated >>> process, thus saving me typing. :-) >>> >>> Is there any such console program available under Mandriva 2010.1? >> >> use the command script (it opens a child shell) : >> >> script mysession >> >> ... do your session .... >> >> close the script file with control-D >> >> Now the file 'mysession' will contain all inputs and outputs >> of your session. > > Interesting looking program, but that's not what I'm looking for. I > need something that will record all my inputs to be saved to a macro > command file of some kind, so that I can simply run that macro script to > repeat all those key-ins in order with control keys as well as regular > alpha-numeric key-ins, to perform that task automatically. What I'm > trying to do is set something up so that it will start a "screen" > session, create several session windows within it and execute the > commands needed to get everything set up. If knowing that helps. :-) > > It seems like such a basic thing; I can't believe that there's no > terminal console program out there that doesn't have a "record > keystrokes" function to record a macro that can then be executed by the > terminal console program via a click or hotkey..... > > --Dave > > -- --------------------------------------------------------------- Lic. Alfredo Carlos López Administrador de Internet Fac. de Ciencias Naturales y Museo. UNLP