[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: keyboard macro to record scp (password)
From: |
Tim X |
Subject: |
Re: keyboard macro to record scp (password) |
Date: |
Wed, 28 Mar 2012 19:18:43 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
C K Kashyap <ckkashyap@gmail.com> writes:
>
>
> Then I am afraid I don't know how to do this from emacs. According to
> my understanding this has to be solved on the ssh side.
>
> Also if what you are editing is inside the zip file, then you can still
> edit it with emacs. Just open it like a regular text file, emacs will
> list all its contents which you can then edit.
>
> I hope this helps.
>
>
>
>
>
>
>
> Let me generalize this a bit - I'd like to automate interactive command line
> apps. Is there a generic solution in emacs for this.
>
> I've never got expect to work - but I guess that's the kind of solution I am
> looking for. An arbitrary sleep is a little to fragile.
>
> Regards,
> KashyapÂ
>
Why do you want to use an editor to automate a process that does not
seem to involve editing - expect seems like the perfect tool for what
your trying to do - even a simple bash script could work and would be
easier than what your trying to do.
Tim
--
tcross (at) rapttech dot com dot au