We need some help on our Sun's (SunOS 3.4) when debugging the 1986
Berkeley version of MAGIC (a VLSI layout tool).
In particular, when we use dbx to debug some local modifications
to MAGIC, we get the error
Stopped (tty output)
we get the prompt, then type
reset (because echo is turned off)
fg (because the job is in the background)
and then we get the error
signal IO (possible input/output) in ioctl at 0xee85c
ioctl+6: bcss isatty+0x3c
When we try it without the de*, the program runs properly.
The normal behavior is to create a new window on the monitor,
with a prompt in the original window.
This looks like a problem with stdout, fork, and dbx.
Can anyone give us a clue as to why this is occuring and how to debug
MAGIC without adding a lot of printf statements?
Thanks in advance.