Oh good... I thought this was a FreeBSD-specific problem... I'm glad
to find out that its not :)
The problem appears to be in the xt5250 script. Where it says:
-V|--version)
exec "$bindir/tn5250 -V";;
It SHOULD say:
-V|--version)
exec "$bindir/tn5250" -V;;
The exec command in sh wants the program name to be the first argument,
and options to be the remaining arguments. In the first situation above,
it thinks the "-V" is part of the program name, and thus you get the
error: "exec: /usr/local/bin/tn5250 -V: cannot execute"
Can someone make this change in CVS?
thanks
On Wed, 12 Apr 2000, Sean Porterfield wrote:
> This is rather trivial, I suppose, but when I run `xt5250 -V` I get an
> error.
>
> /usr/local/bin/xt5250: /usr/local/bin/tn5250 -V: No such file or
> directory
> exec: /usr/local/bin/tn5250 -V: cannot execute: No such file or
> directory
>
> Seems strange since I can run `/usr/local/bin/tn5250 -V` without a
> problem
>
+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---