rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: culliton@srg.srg.af.mil (Tom Culliton x2278)
To: rc@hawkwind.utcs.toronto.edu
Subject: trip took a wrong turn: dot -i
Date: Wed, 21 Apr 1993 19:26:12 -0400	[thread overview]
Message-ID: <9304211926.aa18149@ceres.srg.af.mil> (raw)

I was reading back through old messsages to the mailing list and came
across a comment about trip.rc having "~!" in four places where it
should have "!~".  Being a damned fool, I went and fixed it, which of
course made me very unhappy because it revealed a problem with '. -i'
not printing a prompt like it should.  AAARGH! (Why couldn't I leave
well enough alone?)

For example on my system feeding the following script to rc makes it
stop and wait for user commands but doesn't ever print the prompt!

------------------------------------------------------------------------------
#! /bin/rc
echo 'This is test of ". -i"'
echo 'First we set the prompt to something we''ll recognize'
prompt=(PROMPT1 PROMPT2)
echo 'we now try to go interactive'
. -i /dev/tty
echo 'end of interaction'
------------------------------------------------------------------------------

Anybody got a clue?

Tom


             reply	other threads:[~1993-04-22  0:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-04-21 23:26 Tom Culliton x2278 [this message]
1993-04-21 23:55 Tom Culliton x2278
1993-04-22  2:01 Paul Haahr
1993-05-10 22:56 Tom Culliton x2278
1993-05-11 12:15 rsalz
1993-05-12  5:37 Byron Rakitzis

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=9304211926.aa18149@ceres.srg.af.mil \
    --to=culliton@srg.srg.af.mil \
    --cc=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).