home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / question / 15405 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  849 b 

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!Germany.EU.net!kommu!robert
  2. From: robert@kommu.UUCP (3730)
  3. Newsgroups: comp.unix.questions
  4. Subject: Problems with /usr/ucb/rsh ISC3.0
  5. Message-ID: <1280@kommu.UUCP>
  6. Date: 11 Jan 93 06:30:47 GMT
  7. Organization: SNC
  8. Lines: 21
  9. X-Newsreader: Tin 1.1 PL5
  10.  
  11. I need some help with the Berkeley RSH.
  12. The problem description:
  13. A script is called like 
  14.        /usr/ucb/rsh host12 /usr/gast/script1
  15. script1 is calling another script2 which is reading
  16. from stdin via fscanf(..).
  17. When the script does this the script2 is hanging.
  18.  
  19. script2 looks like this:
  20. ...
  21. program_x < some_data
  22. ...
  23.  
  24. program_x is the program which reads via fscanf. some_data is the input.
  25.  
  26. When the command /usr/ucb/rsh .... is started in the background  ( ... &)
  27. I get the indication 
  28.  
  29. stopped tty input.
  30.  
  31. I hope that ssomebody can help me .
  32.