From owner-freebsd-hackers Wed Mar 19 03:00:45 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA16268 for hackers-outgoing; Wed, 19 Mar 1997 03:00:45 -0800 (PST) Received: from bunyip.cc.uq.edu.au (daemon@bunyip.cc.uq.edu.au [130.102.2.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA16261 for ; Wed, 19 Mar 1997 03:00:42 -0800 (PST) Received: (from daemon@localhost) by bunyip.cc.uq.edu.au (8.8.5/8.8.5) id VAA12308; Wed, 19 Mar 1997 21:00:30 +1000 Received: by ogre.dtir.qld.gov.au (8.7.5/DEVETIR-E0.3a) id UAA22114; Wed, 19 Mar 1997 20:04:41 +1000 (EST) Date: Wed, 19 Mar 1997 20:04:41 +1000 (EST) From: Stephen McKay Message-Id: <199703191004.UAA22114@ogre.dtir.qld.gov.au> To: "Jordan K. Hubbard" cc: freebsd-hackers@freebsd.org, syssgm@dtir.qld.gov.au Subject: Re: dup3() - I've thought it over and decided... X-Newsreader: NN version 6.5.0 #1 (NOV) Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk "Jordan K. Hubbard" wrote: >Anyone remember a timesharing system called ITS (from MIT)? If you >got disconnected from the modem (not uncommon in those days of >Pennywhistle, 300 baud acoustically-coupled modems :-) you wouldn't >lose your session, like you do under UNIX, rather the next time you >logged in it would ask you: > >[Attach your detached tree?] > >And if you said 'y' you'd get your old process tree back, everything >right where you left it. > >Now I'm not sure if ITS accomplished this by leaving your processes >suspended and under the ownership of some foster parent for a certain >period of time, or if it genuinely saved them to disk and then >resurrected them on demand, but it sure was a bloody convenient >feature which I've always missed! :-) Look at the "screen" port. It can do this detach/reattach stuff even if you only use one screen. It uses pseudo terminals, of course. Wonderful stuff. No need for checkpointing processes. Then again, maybe we could get a good TOPS-10 emulation going. Had lots of fun in the Good Old Days(tm) of University detaching and reattaching other people. As usual, they had not the slightest comprehension of how an OS worked, so it was all Black Magic to them. :-) Stephen.