Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!psuvax1!husc6!zariski!primer From: primer@math.harvard.edu (Jeremy Primer) Newsgroups: comp.unix.questions Subject: Answer on sockets; Question on screen under SunOS 4.[01] Message-ID: Date: 13 Nov 90 03:43:54 GMT References: Sender: news@husc6.harvard.edu Distribution: comp Organization: Harvard Math Department Lines: 24 In-reply-to: papp@remus.rutgers.edu's message of 11 Nov 90 06:33:13 GMT In article papp@remus.rutgers.edu (papp) writes: If anyone out in net-land has a piece of fairly simple and straightforward C code that creates the sockets and passes information back and forth, I would greatly appreciate a look-see. An elegantly written and useful piece of code which uses sockets is screen 2.0 by Oliver Laumann, which implements a detachable window system for a dumb terminal (and gives the virtual screens ANSI compatibility). This uses sockets. It is not overly simple (to me), but it is clearly written. It is available for anonymous ftp from isy.liu.se (and perhaps other places). I have a related question which is really about SunOS: I have been running screen 2.0 for several months, previously under SunOS 4.0 and now under SunOS 4.1. Previously, when one suspended the primary program in a window, it would automatically restart, which was fine. Now, under 4.1, any suspended program simply dies. For example, type "screen emacs" followed by C-z, and find that the one window has closed, allowing screen to terminate. Emacs has also terminated, and is not suspended somewhere. What has changed? -- Jeremy Primer, Department of Mathematics, 1 Oxford Street, Cambridge MA 02138 primer@math.harvard.edu ...!harvard!zariski!primer primer@zariski.bitnet