home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / wizards / 3713 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.3 KB

  1. Path: sparky!uunet!dove!cme!durer!regli
  2. From: regli@bedlam.cme.nist.gov (William Regli)
  3. Newsgroups: comp.unix.wizards
  4. Subject: stdin Error
  5. Message-ID: <REGLI.92Aug27143301@puggsly.bedlam.cme.nist.gov>
  6. Date: 27 Aug 92 18:33:01 GMT
  7. Sender: news@cme.nist.gov
  8. Distribution: comp
  9. Organization: National Institute for Standards and Technology
  10. Lines: 29
  11. Nntp-Posting-Host: puggsly
  12.  
  13.  
  14. Hello all--
  15.  
  16. I'm attempting to run a csh shell program in the background and am
  17. being faced with the following error when the program starts:
  18.  
  19.  
  20.        Warning: Cannot freopen /dev/tty to stdin
  21.  
  22.  
  23. This is a program that I have had working before and suddenly it
  24. cannot find stdin.  Every time I redirect output with "cat xxx > yyy"
  25. or "ls >> zzz" in the program it does not go to the files xxx and yyy.
  26. They end up empty and the output goes elsewhere.  I've had ethe
  27. program print out `tty` and it claims to not be running on a terminal.
  28.  
  29. Is ther any way I can fool it into think it is on a terminal?  I know
  30. I had this working before---what could I have possibly changed?
  31.  
  32. Thanks in advance!
  33.  
  34. b
  35. ================ 
  36. William C. Regli                              
  37. United States Department of Commerce              
  38. National Institute for Standards and Technology 
  39. Factory Automation Systems Division, Engineering Design Laboratory
  40. Gaithersburgh, MD 20899
  41. Electronic: regli@cme.nist.gov  Vocal: (301)-975-3978
  42.