> That is why I propose usage of real_tty in ioctl() handling:> > case TIOCGWINSZ:> return tiocgwinsz(real_tty, p);Congratulations we've finally got there - and that is exactly the code inthe current tty tree.Alan