neverisk@tnl.UUCP (Michael Neverisky) (04/12/90)
I have an application which redirects stdin, stdout and stderr by closing 0,1 and 2 and re-opening as /dev/tty10, which has been disabled for logins. My application uses curses for windowing. The program works fine when started from a logged on userid - even as a background task. My problem is, I would like to start the task from /etc/rc.d/8/userdef during autoboot. The task starts ok, but the curses window formatting does not work properly. I have ioctl-ed the newly opened stdout to have the same features (as derived from stty) as my logged on tty - still no good. Any termio experts out there who might help? Thanks. Mike