rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: haahr@adobe.com (Paul Haahr)
To: cks@hawkwind.utcs.toronto.edu, rc@archone.tamu.edu
Subject: Re: early reaction(s) to rc
Date: Tue, 27 Aug 1991 01:24:10 -0500	[thread overview]
Message-ID: <9108270624.AA21539@adobe.com> (raw)

i used to set up a different history file for each window, and
just had xterm run an rc script which then invoked rc.  no muss,
no fuss, and didn't require any changes to rc.  Byron mentioned
last week that he uses one history file for all his windows; i
tried this last week, and now say i think it is the way to go.

as for per window startup commands themselves, if they are necessary
(the only thing my script did was set $history; everything else was
inherited) then just run a script that later invokes an interactive
rc.  one extra fork/exec is not that bad.  (or you can always do a
	. -i /dev/tty
if you really want to save that fork/exec)

on the other hand, it might (just MIGHT, i'm not advocating this)
be nice to be able to specify a different file that could be execute
prior to running rc, just like $home/.rcrc; maybe
	rc -L foo
would start an rc processes that did a . foo to start.


             reply	other threads:[~1991-08-27  7:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-08-27  6:24 Paul Haahr [this message]
1991-08-27  7:15 ` Chris Siebenmann
1991-08-27 10:22 ` Boyd Roberts
  -- strict thread matches above, loose matches on Subject: below --
1991-08-23 20:47 Arnold D. Robbins
1991-08-24  0:15 ` John Mackin
1991-08-24  3:48   ` John Mackin
1991-08-23 16:51 DaviD W. Sanderson
1991-08-23 17:07 ` Boyd Roberts
1991-08-23 16:24 Arnold D. Robbins
1991-08-27  2:33 ` Chris Siebenmann
1991-08-23  1:36 new list subscriber Byron Rakitzis
1991-08-23 13:40 ` early reaction(s) to rc John Mackin
1991-08-27  2:28   ` Chris Siebenmann

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=9108270624.AA21539@adobe.com \
    --to=haahr@adobe.com \
    --cc=cks@hawkwind.utcs.toronto.edu \
    --cc=rc@archone.tamu.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).