in reply to Re: cls and perl
in thread cls and perl
Is it possible that STDIN is getting closed or redirected by the telnet/sftp code? You could check for this by testing whether STDIN is open to a tty at the start of mmenu.
if (-t STDIN) { # go on with normal operations } else { # complain and/or re-open to the tty }
|
|---|