🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.computers.apollo
Article #261

Re: CRP eats typeahead?

#261
From: Robert Stanzel
Date: Mon, 22 Sep 1986 16:47
25 lines
1550 bytes
    I have a /bin/csh script which CRPs onto another node to run a program
    which is only licensed for that node.  If I type ahead of the display
    manager input window, the typeahead is somehow thrown away.  This is
    painful as I'd like to stack a bunch of calls to this script to be
    executed one after the other (they take a while to run).

CRP redirects all four standard streams to the remote process.
Hence your typeahead is being sent along, though your program isn't using it.

    Can anyone explain why this happens, and if it can be fixed?
    ...
    crp "/com/converter -args" -on //node -me -cp -nwp -n progname

The easiest fix is to redirect standard input from /dev/null:

    crp "/com/converter -args" -on //node -me -cp -nwp -n progname < /dev/null


"We walk backwards, say nothing
 We're young and strong in this Party"

Rob Stanzel             ARPA:  rps%apollo@eddie.mit.edu
Apollo Computer         UUCP:  ...{wanginst,mit-eddie}!apollo!rps
-------
Technical Details
Message-ID: <8609222222.AA15021@EDDIE>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!think!nike!ucbcad!ucbvax!apollo.UUCP!rps

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!think!nike!ucbcad!ucbvax!apollo.UUCP!rps
From: rps@apollo.UUCP (Robert Stanzel)
Newsgroups: mod.computers.apollo
Subject: Re: CRP eats typeahead?
Message-ID: <8609222222.AA15021@EDDIE>
Date: Mon, 22-Sep-86 12:47:03 EDT
Article-I.D.: EDDIE.8609222222.AA15021
Posted: Mon Sep 22 12:47:03 1986
Date-Received: Tue, 23-Sep-86 04:24:43 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 25
Approved: apollo@yale-comix.arpa