Re: scotty under SunOS 4.1.3/4

Robert Premuz (rpremuz@srce.hr)
Mon, 18 Mar 1996 08:21:04 +0100 (MET)

On Sun, 17 Mar 1996, Network Smurf wrote:

> I'm having a major problem with scotty under SunOS.
> it compiles cleanly, but it refuses to take input from a script.
> instead it defaults to standard in (my terminal) whenever I run it or
> a script with a #!/usr/local/bin/scotty line in it. has anyone
> seen this problem before? I've had no trouble under Solaris2 and Linux.

Try to use -f option in the first line of your scripts:

#!/usr/local/bin/scotty -f

If you run a script without -f option, scotty tries to read stdin.
But, my experience tells me that this is not an OS dependent feature
because it behaves the same way on every system available to me
(SunOS, Solaris, Ultrix).

Hope this helps.

v
-- rpr. : Robert B. Premuz
Internet: rpremuz@malik.srce.hr * Voice at home: +385 (0)1 687564