Xref: utzoo comp.mail.misc:2322 comp.unix.xenix:7367 comp.unix.wizards:17905 Path: utzoo!utgpu!watmath!att!dptg!rutgers!apple!bridge2!csi!nsc!taux01!amos From: amos@taux01.UUCP (Amos Shapir) Newsgroups: comp.mail.misc,comp.unix.xenix,comp.unix.wizards Subject: Re: Checking for new mail (and killing bkgnd process on logout?) Message-ID: <2477@taux01.UUCP> Date: 30 Aug 89 14:44:59 GMT References: <105@csnz.co.nz> <1989Aug26.200813.15629@twwells.com> <64@calcite.UUCP> <128@isgtec.UUCP> Organization: National Semiconductor (IC) Ltd, Israel Home of the 32532 Lines: 18 Summary: Followup-To: Hdate: 29 Av 5749 In article <128@isgtec.UUCP> bmw@isgtec.UUCP (Bruce Walker) writes: >You end up with dozens of the little buggers. > >My (slightly klugey) solution is to add a line to my .logout (csh): > > /bin/kill -9 `ps x | awk '$5=="checkmail" {print $1}'`& > >Anyone know a better way? alias logout 'kill -1 0' This works in most versions of csh. -- Amos Shapir amos@taux01.nsc.com or amos@nsc.nsc.com National Semiconductor (Israel) P.O.B. 3007, Herzlia 46104, Israel Tel. +972 52 522261 TWX: 33691, fax: +972-52-558322 34 48 E / 32 10 N (My other cpu is a NS32532)