Did you try sending "SPACE"? This sometimes activates the currently selected button.
On 5 April 2012 22:44, Jeff Forcier <[email protected]> wrote: > On Thu, Apr 5, 2012 at 1:40 PM, Qitong Hu <[email protected]> > wrote: > > I'm wondering if there is a way to "click" > > the OK > > Nope. Fabric's not an expect clone, nor does it know how to move the > mouse or anything :) > > > or maybe add something in the > > command to make it default accept? > > This is always the right answer (for any scripting tool -- not just > Fabric.) You need to understand the installer well enough to figure > out how to script it so it can be run non-interactively. > > For example, on Debian Linux systems you can use the "debconf" system > to pre-set any question an installer might try to prompt you for. > Takes a little bit of researching to find out which settings those are > for the package in question, but it is definitely doable. > > Sometimes it's enough just to tell the package manager to run > non-interactively (e.g. DEBIAN_FRONTEND=noninteractive apt-get install > xyz) or to give it a "always say yes please" flag like -y. Many > packages will look at these hints and skip prompting you entirely. > > But again, this is all 100% Fabric agnostic and depends entirely on > your remote system :) > > Good luck, > Jeff > > > -- > Jeff Forcier > Unix sysadmin; Python/Ruby engineer > http://bitprophet.org > > _______________________________________________ > Fab-user mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/fab-user > -- I'd love to see your attachment, but please use OpenDocument, not a proprietary format like docx. It's an international standard, endorsed by the EU, and implemented in many office suites, such as LibreOffice, and commercial products from Oracle, Sun, IBM and Microsoft (from 2007).
_______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
