On Thu, May 16, 2013 at 12:56:18PM +1000, Toby Corkindale wrote: > On 16/05/13 12:34, Jason White wrote: > > Toby Corkindale <[email protected]> wrote: > >> I just wondered.. are there any terminals*, plugins for terminals, or > >> plugins for tmux, that will scan output and automatically send canned > >> responses -- whilst still letting me interact normally the rest of the > >> time? > >> > >> And secondly -- are there any tools that will simply let me assign > >> hotkeys or macros to be automatically typed upon being pressed? > >> > > > > Macro capabilities are usually provided by the application you're running, > > e.g., Emacs, Vi, Mutt, shell aliases, etc., so I would suggest looking first > > at what you're using and whether there are better tools for the task that > > provide the extensibility you need. > > The thing is, I'm working on a lot of machines via shell; when I think > of it in advance, I script things up in Fabric to be automated, but when > I'm just working ad-hoc investigating something, I'd like to be able to > automate some common commands. (Not so much shell commands, as commands > entered into programs run from the shell) > > > > If you ultimately do have to script terminal sessions, the only tool I know > > of > > is expect. Here's the Debian package description. > > Thanks, however I'm aware of expect. It completely fails my requirement > that the terminal remain completely interactive. > Huh? You can & off expect scripts - no need to tie up the terminal.
Cheers ... Duncan. -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html _______________________________________________ luv-main mailing list [email protected] http://lists.luv.asn.au/listinfo/luv-main
