🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1232

IRIS-to-CRAY rsh

#1232
From: Dorothy Carney
Date: Tue, 25 Sep 1990 14:22
37 lines
1579 bytes
This is a repeat of posting 285.  The gremlins ate the top half of my posting!

A user is submitting jobs to our Cray X-MP and Y-MP from his IRIS 4D
workstation.  He uses UNIX shell scripts with rsh to execute commands on the
Cray from his IRIS.  It works fine, but when the commands to run on the Cray
are FORTRAN, there is a problem with sequencing.  Here is his example:

		WRITE (6,' PROMPT CHARLIE (0/1)')
		READ (5,*) IRESP
		STOP
		END

Run interactively on the Cray without rsh, he enters the name of his executable
and gets:

		testrsh.e
		PROMPT CHARLIE (0/1)
		1
		STOP
		CP: 0.001s,  Wallclock:3.808s

where the 1 was his input in rseponse to the READ prompt.

Trying the same commands using rsh, he gets:

		rsh lercymp testrsh.e
		1
		STOP
		PROMPT CHARLIE (0/1)
		CP: 0.001s,  Wallclock: 8.670s

After typing the rsh, the job seems to hang ... but it is open to read
standard input.  So when he types 1, it proceeds with the prompt appearing
later.

The user's question:  WHY DOESN'T THE  PROMPT GET WRITTEN BEFORE THE KEYBOARD
OPENS FOR THE READ  ??    E-mail replies will be appreciated.  Thanks.
Technical Details
Message-ID: <1990Sep25.142237.3638@eagle.lerc.nasa.gov>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!uwm.edu!mailrus!usenet.ins.cwru.edu!eagle!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!uwm.edu!mailrus!usenet.ins.cwru.edu!eagle!news
From: uudot@venus.lerc.nasa.gov (Dorothy Carney)
Newsgroups: comp.unix.shell
Subject: IRIS-to-CRAY rsh
Message-ID: <1990Sep25.142237.3638@eagle.lerc.nasa.gov>
Date: 25 Sep 90 14:22:37 GMT
Reply-To: uudot@venus.lerc.nasa.gov
Organization: NASA Lewis Research Center
Lines: 37
News-Software: VAX/VMS VNEWS 1.3-4