in reply to Re^2: Getting output to terminal
in thread Getting output to terminal
Hi Monks, I think I start getting sme ideas. Below is a code that still does not work and I do not know why
#!/usr/bin/perl use strict; use warnings; `gnome-terminal &`; open (my $OUT, '>>','/dev/pts/2'); select $OUT; while(1) { print "Testing on this termianal\n"; sleep(1); }
I have to go as root to open $OUT, but still nothing comes on new terminal windows. I did check and and new terminal is /dev/pts/2. Any ideas?? Robert
|
|---|