rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Chris Siebenmann <cks>
To: rc
Subject: Re: Another little challenge
Date: Thu, 25 Jun 1992 19:35:16 -0400	[thread overview]
Message-ID: <92Jun25.193525edt.2702@hawkwind.utcs.toronto.edu> (raw)
In-Reply-To: culliton's message of Thu, 25 Jun 92 18:29:46 -0400. <9206251829.aa10786@ceres.srg.af.mil>

 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


  reply	other threads:[~1992-06-25 23:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-06-25 22:29 Tom Culliton x2278
1992-06-25 23:35 ` Chris Siebenmann [this message]
1992-06-26  0:31 Tom Culliton x2278
1992-06-26  2:34 ` Scott Schwartz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=92Jun25.193525edt.2702@hawkwind.utcs.toronto.edu \
    --to=rc@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).