From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay2.UU.NET ([192.48.96.7]) by hawkwind.utcs.toronto.edu with SMTP id <2773>; Wed, 21 Apr 1993 20:19:08 -0400 Received: from spool.uu.net (via LOCALHOST.UU.NET) by relay2.UU.NET with SMTP (5.61/UUNET-internet-primary) id AA08746; Wed, 21 Apr 93 20:19:04 -0400 Received: from srg.UUCP by spool.uu.net with UUCP/RMAIL (queueing-rmail) id 201821.7807; Wed, 21 Apr 1993 20:18:21 EDT Received: from ceres.srg.af.mil by srg.srg.af.mil id aa16439; Wed, 21 Apr 93 19:25:34 EDT From: culliton@srg.srg.af.mil (Tom Culliton x2278) X-Mailer: SCO System V Mail (version 3.2) To: rc@hawkwind.utcs.toronto.edu Subject: trip took a wrong turn: dot -i Date: Wed, 21 Apr 1993 19:26:12 -0400 Message-Id: <9304211926.aa18149@ceres.srg.af.mil> 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