sergio@squid.rtech.com (Sergio Aponte) (09/06/89)
Ok, here is the setup. IBM RT PC AIX 2.2.1. I connect to the RT thru TCP/IP. I get loged into pseudo device 0 (pst0) After doing any kind of work, I logout and "loose" my connection (have hupcl on), no login prompt is re-spawned. Ok so far. I log in, and run a C program (myprog), which in turn does a fork of a detached process. This works fine. When I look at my "ps -ef" the process has parent pid "1" and does not have a port attached. myprog myproc (Spawns myproc as a detached process) UID PID PPID C STIME TTY TIME COMMAND myself 97 1 0 11:48:12 - 0:01 myproc Problem : When I go to log out, the line DOES NOT DROP, it actually re-spawns the login prompt. Why? What can I do in my fork that changes the behavior of my pseudo-tty? "stty -a" before and after the fork are identical. Hupcl is still set. No stty or ioctl calls are used. The program does not send any output to the screen. Hope somebody at least will know what to look at to notice change in behaviour of pseudo tty. ------------------------------------------------------------------------------- | Internet: sergio@squid.rtech.com Sergio L. Aponte, MTS @ RTI | | UUCP: {sun,mtxinu,pyramid,pacbell,hoptoad,amdahl,cpsc6a}!rtech!squid!sergio | -------------------------------------------------------------------------------