[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cygnus, drone, etc... (was Re: drone and windows NT. Any success storie
From: |
Paul E Johnson |
Subject: |
Cygnus, drone, etc... (was Re: drone and windows NT. Any success stories? |
Date: |
Mon, 17 Jul 2000 23:50:30 -0500 |
"Theodore C. Belding" wrote:
>
> On Tue, 11 Jul 2000, Paul E Johnson wrote:
>
> > 4. Now I have no idea how the guy in indiana gets drone to run, but
> > after one run it crashes because it can't read from /dev/null.
> >
> > He says the error message is
> >
> > DoLocalCmd: couldn't read file "/dev/null": no such file or directory
>
> The only place referring to /dev/null in Drone 1.x is when it redirects
> stdin and stdout to /dev/null when starting the target simulation program.
>
> To prevent stdout from being sent to /dev/null, simply set saveStdout to 0
> in the control file.
>
> To prevent stdin from being redirected to /dev/null, you'll have to change
> line 2188 of drone:
>
> set redirectStdin "</dev/null"
>
> to:
>
> set redirectStdin ""
> -Ted
Thanks Ted!
I got the word back from my WinNT users that this did the trick. I can't
even get drone to be recognized as an executable on my NT system, but
that doesn't matter because I have Linux too. The NT users say, at
least, stublet works against the precompiled expect with setup package
available here: http://bmrc.berkeley.edu/people/chaffee/expectnt.html.
THey have promised me a set of notes explaining what steps were taken.
I've since learned that there is an expect package for the CygWin
environment. I'm still not quite clear/comfortable how the Swarm win32
tools are supposed to integrate with a Cygnus environment. Perhaps
there is community input? I have various things I've compiled myself
installed in c:\usr\local and in order to use them I edit the swarm bash
file to make the PATH=/bin:/usr/local/bin. I have not yet understood
what I'm supposed to do to make gcc look in /usr/local/include for
header files. I'm also unsure whether I have to rebuild the cygnus
things from their source, or if I can just dump their precompiled
executables somewhere (where?). The precompiled cygwin packages have a
directory structure like this:
-rwxr-xr-x dj/games 103936 2000-01-17 20:17:53 bin/expect.exe
-rw-r--r-- dj/games 2846 1999-09-13 21:27:36 usr/include/expect.h
-rw-r--r-- dj/games 5369 1999-09-13 21:27:38
usr/include/expect_comm.h
-rw-r--r-- dj/games 1595 1999-09-13 21:27:36
usr/include/expect_tcl.h
-rw-r--r-- dj/games 179734 1999-09-13 21:27:28
usr/lib/libexpect526.a
-rw-r--r-- dj/games 78229 1999-09-13 21:27:34 usr/man/man1/expect.1
-rw-r--r-- dj/games 22914 1999-09-13 21:27:34
usr/man/man3/libexpect.3
--
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66045 FAX: (785) 864-5700
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.