If you run this program from the command line, it'll print tty. If you run it via a remote shell on another host, you'll see no tty.if(-t STDOUT) { print "tty\n"; } else { print "no tty\n"; }
I suspect your program is checking this and prints an error if it finds out about it.
In reply to Re: TERM problems
by saintmike
in thread TERM problems
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |