Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!budd From: budd@bu-cs.BU.EDU (Philip Budne) Newsgroups: comp.unix.wizards Subject: Re: transferring processes under csh Summary: requested function mroe like ITS reown Message-ID: <24748@bu-cs.BU.EDU> Date: 5 Sep 88 01:27:34 GMT References: <1074@imagine.PAWL.RPI.EDU> <1264@mcgill-vision.UUCP> <5709@cg-atla.UUCP> <1988Sep1.185005.228@gpu.utcs.toronto.edu> Reply-To: budd@buita.bu.edu (Phil Budne) Followup-To: comp.unix.wizards Organization: Boston Univ. Lines: 22 While TOPS-20 (and TOPS-10) do have ATTACH/DETACH, they relate to changing the terminal a "job" is attatched to. While this would be wonderful (process trees could be detatched on loss of carrier), it would also be hard to implement in Un*x (As pointed out by Rick Ace). Strangely the gruesome S5 sxt kludge makes ATTACH/DETATCH easier, as it isolates interaction with the physical terminal. S.M. Bellovin described a similar implementation at the SF Usenix called the "Session TTY manager". Hewever it is best to liken to problem of moving a process from one csh to another to the ITS DISOWN/REOWN system calls. Which allow you to alter the shape of a "job tree". ITS has ATTACH and DETACH functions as well. The wonderful thing about the ITS job (process) interface is that processes are manipulated via the file system, each process has a unique name and thus you can manipulate any process without regard to superior/inferior (parent/child) relationships. Phil Budne, Boston University