public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Dmitry Semyonov <linulin@gmail.com>
To: cygwin@cygwin.com
Subject: Re: automate SSH-HOST-CONFIG
Date: Fri, 16 Jan 2009 02:20:00 -0000	[thread overview]
Message-ID: <ddc185be0901151433v4742b1b0x37230aa2e94d896d@mail.gmail.com> (raw)
In-Reply-To: <21442493.post@talk.nabble.com>

On Tue, Jan 13, 2009 at 22:16, blazt wrote:

> I created the script based on yours but it never sends the expect back to
> the program.
>
> #!/bin/bash

This line was not included into my sample. I doubt it can work this way.

> #!./expect -f

Why the dot-slash? Do you have expect executable in your local
directory? Have you compiled it by yourself?
'expect' package could be installed through Cygwin setup. You should
use this method instead.

 [...]

> I took out the exec so I could see the script run and it simply hangs at the
> first query where it asks to overwrite existing files. Is there anything
> else I need to do to get this to work with cygwin?

If you don't have enough experience don't make unnecessary changes or
add your bits before ensuring that the provided sample works. Read the
man. Experiment with simple things.

-- 
...Bye..Dmitry.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  reply	other threads:[~2009-01-15 22:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-10  5:29 blazt
2009-01-10 11:53 ` Dmitry Semyonov
2009-01-13  2:31 ` blazt
2009-01-13  9:45   ` Dmitry Semyonov
2009-01-13 19:21     ` blazt
2009-01-16  2:20       ` Dmitry Semyonov [this message]
2009-01-16  3:01         ` blazt
2009-01-16 21:02           ` blazt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ddc185be0901151433v4742b1b0x37230aa2e94d896d@mail.gmail.com \
    --to=linulin@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).