*BSD News Article 33458


Return to BSD News archive

Xref: sserve comp.unix.questions:52601 comp.unix.admin:21259 comp.unix.misc:13109 comp.unix.bsd:14431
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!agate!deep.rsoft.bc.ca!giant!a09878
From: a09878@giant.rsoft.bc.ca (Curt Sampson)
Newsgroups: comp.unix.questions,comp.unix.admin,comp.unix.misc,comp.unix.bsd
Subject: Re: waiting for tty input???
Date: 30 Jul 94 00:29:57 GMT
Organization: MIND LINK! Communications Corp.
Lines: 21
Message-ID: <a09878.775528197@giant>
References: <31b1dc$36g@news.CCIT.Arizona.EDU>
NNTP-Posting-Host: giant.rsoft.bc.ca
Keywords: tty

ron@argus.lpl.Arizona.EDU (Ron Watkins) writes:

>Problem is, it seems that on every [rsh] mt rewind command, the script
>pauses and produces a 'waiting for tty input' message.

Try using the -n option. From the rsh manual page:

----------
BUGS
     If you are using csh(1) and put a rsh in the background without redirect-
     ing its input away from the terminal, it will block even if no reads are
     posted by the remote command.  If no input is desired you should redirect
     the input of rsh to /dev/null using the -n option.
----------

cjs
--
Curt Sampson   a09878@giant.rsoft.bc.ca	 These opinions are not FDW's; they are
Fluor Daniel Wright, Ltd.  604 691 5458	 mine, MINE, ALL MINE, hahahahahaha...
1444 Alberni Street
Vanouver, B.C., V6G 2Z4		 Non scholae sed vitae discimus. --Cicero