ghosr@essex.ac.UK (Ghosh-Roy R) (10/11/90)
I am using XView-2.0 for a graphics interface to my programs. The output is just a collection of few `fprintf's. I have created my own tty window which is attached just underneath the panels with buttons (to call parts of my program). To use this tty window as my stdout, I have used TTY_TTY_FD and dup2. It works perfect if the output to this window is small. But it hangs up if the output (or the printing) is bit larger than usual. If I do not use this tty window, then the output prints fine on the stdout (my initial starting tty window). It gives me a feeling that there is probably some sort of buffer length restriction on the tty window created by the user. If you have come across this problem or know its solution, please send me an e-mail. ghosr@essex.ac.uk Thanks. Rana PS: Just after displaying the window, if I push the `Quit' button (i.e., xv_destroy_safe(frame)) the frame is of course destroyed but I also get a `Hangup' message. Why? I am quite sure that my other programs do not initialize anything of this XView-2.0 progarm before the `Quit' button is pushed.