Thread View: comp.sys.ibm.pc.rt
1 messages
1 total messages
Started by Sergio Aponte
Tue, 05 Sep 1989 19:24
A puzzle, with pseudo devices :-)
Author: Sergio Aponte
Date: Tue, 05 Sep 1989 19:24
Date: Tue, 05 Sep 1989 19:24
32 lines
1815 bytes
1815 bytes
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 |
-------------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads