From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost by hawkwind.utcs.toronto.edu with SMTP id <2702>; Thu, 25 Jun 1992 19:35:25 -0400 To: rc Subject: Re: Another little challenge In-reply-to: culliton's message of Thu, 25 Jun 92 18:29:46 -0400. <9206251829.aa10786@ceres.srg.af.mil> Date: Thu, 25 Jun 1992 19:35:16 -0400 From: Chris Siebenmann Message-Id: <92Jun25.193525edt.2702@hawkwind.utcs.toronto.edu> You can't run something on every subshell, but you can run something on every interactive subshell. For the people who weren't around for my discovery process of this last year: fn prompt { if (! ~ $cpid $pid) {cpid=$pid; ... } } This will let you run something every time a new interactive shell starts up and runs prompt. - cks