good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: TERM problemsby saintmike (Vicar) |
on Sep 06, 2004 at 07:15 UTC ( [id://388739]=note: print w/replies, xml ) | Need Help?? |
Every program running on Unix can check if its input/output is connected to a tty or not. In Perl, this is done via
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. I suspect your program is checking this and prints an error if it finds out about it.
In Section
Seekers of Perl Wisdom
|
|