Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!ncar!mephisto!prism!gt0178a From: gt0178a@prism.gatech.EDU (JIM BURNS) Newsgroups: comp.unix.questions Subject: Re: Preventing Idle in telnet, security, and bg. Message-ID: <14275@hydra.gatech.EDU> Date: 28 Sep 90 23:28:01 GMT References: <2911@idunno.Princeton.EDU> Distribution: comp Organization: Georgia Institute of Technology Lines: 17 in article <2911@idunno.Princeton.EDU>, pfalstad@dae.Princeton.EDU (Paul John Falstad) says: >>$ csh (or whatever) >>% sleep 100 & >>% kill -HUP $$ >>$ ps > Well that was dumb of me. Of course this works in any shell, but it You also might not want to use '$$'=current shell. Try '$!' in ksh, '%1' in [ck]sh w/job control, or just use the PID reported by '&'. -- BURNS,JIM Georgia Institute of Technology, Box 30178, Atlanta Georgia, 30332 uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt0178a Internet: gt0178a@prism.gatech.edu