Hi all!
I have a command line interface for my software that works perfectly fine when running from the computer it's installed on (Linux RH9.0). The program can work in shell mode if no arguments are supplied or can execute one command when arguments are given (as in the example).
When running from a client (other computer), it still works but outputs warning/error to the console:
# running from the computer it's installed on:
prompt> su - user -c "myprog exports view"
These are the current defined exports:
Index Status Export
0 active /TestDir (insecure,rw)
1 active / (insecure,rw)
# running from the client machine:
client prompt> rsh mycomp "myprog exports view"
No value for $TERM and no -T specified
No value for $TERM and no -T specified
These are the current defined exports:
Index Status Export
0 active /TestDir (insecure,rw)
1 active / (insecure,rw)
Anyone has an idea what that means?
Thanks
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.