|
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 LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.