i fork my program and i need it to print some information in my open tty1, but failed to do so. I have tried open the /dev/tty1 and print it there but that didn't do the trick. I know im missing something here and i would be thankful of any information where to go from here.
alright my bad i opened it read-only so that's why it didn't work, thanx for your great help anyway.open (TTY, ">>/dev/tty1 ) or die "$!\n"; print TTY "Hello there tty1 console\n"; close (TTY);
In reply to Printing information to tty by coldhawk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |