I think your problem is that Curses is going to write to STDOUT, so reopen that descriptor rather than opening a new one. If you need the original one save it beforehand.
open( SAVEOUT, ">&STDOUT" ) or die "Can't dup STDOUT: $!\n"; open( STDOUT, ">", "/dev/tty9" ) or die "Can't reopen STDOUT on tty9: +$!\n";
In reply to Re: output script to /dev/tty9
by Fletch
in thread output script to /dev/tty9
by jbush82
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |