🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7389

X11R4 xdm, SunOS 4.1, and setsid()

#7389
From: John A. Shriver
Date: Wed, 17 Apr 1991 01:00
14 lines
1343 bytes
I think that the POSIX setsid() changes are doing bad things with my xdm
on SunOS 4.1.  I have zillions of zombies hanging in the Session ID that
was started by xdm, especially for programs run off of twm menus via rsh.
I would think that when a fork of xdm started running on a terminal, it
would become a session leader, but my individual xdm's are not visibly
attached to any terminal.

Has anyone improved the X11R4 xdm to do the "right thing" with setsid()?
Alternately, are the fixes to the existing setpgrp() calls to make them do
the right thing.

Process groups are not one of the strongly documented UNIX concepts.  The
discussion of the setsid(8) program in the release manual helps, but the
setsid(2V) and setpgrp(2V) man pages are really hoplelessly thin.
Technical Details
Message-ID: <2426@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: jas@proteon.com (John A. Shriver)
Newsgroups: comp.sys.sun
Subject: X11R4 xdm, SunOS 4.1, and setsid()
Keywords: Windows
Message-ID: <2426@brchh104.bnr.ca>
Date: 17 Apr 91 01:00:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 14
Approved: Sun-Spots@rice.edu
X-Original-Date: Tue, 9 Apr 91 19:24:24 EDT
X-Sun-Spots-Digest: Volume 10, Issue 70, message 12
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu