home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / question / 15060 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!mimsy!afterlife!adm!news
  2. From: cp486a!kvancamp@cpmail.att.com
  3. Newsgroups: comp.unix.questions
  4. Subject: >To: cpmail!brl.army.mil!info-unix
  5. Message-ID: <34836@adm.brl.mil>
  6. Date: 30 Dec 92 18:16:36 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 42
  9.  
  10. Original-From: kvancamp
  11. Date: Wed Dec 30 13:13:21 EST 1992
  12. UA-Content-ID: <PMX-LAN-2.2.1-******-cp486a-kvancamp-693>
  13. End-of-Header:
  14. Email-Version: 2
  15. Phone: (201)581-4513
  16. Subject: Application expects Enter key
  17. UA-Message-ID: <winPMXSTAR-2.2 Rel 1.0 -kvancamp-XYXYXYXYXY-79>
  18. To: cpmail!brl.army.mil!info-unix@cpmail.att.com
  19. End-of-Protocol:
  20. Content-Type: text  
  21. Content-Length: 1121   
  22. Message-ID:  <9212301305.aa03444@VGR.BRL.MIL>
  23.  
  24. I have a Unix Sys V/386 (Rel 4) application that always ends by asking the 
  25. user to "Press Enter To Continue".  I need to run the application in an 
  26. unattended mode, so this prompt is undesirable.  Since the process is 
  27. otherwise non-interactive, I tried the obvious solution of:
  28.  
  29. echo | command
  30.  
  31. This gave an error message from the shell:
  32.  
  33. Write to pipe with no Reader
  34.  
  35. Is there another way to fool the application into thinking I'm hitting the 
  36. Enter key?
  37.  
  38. In case it matters, the application in question is Simul-Task (version 3.01), 
  39. which allows me to run a DOS application on my Unix system.  Simul-Task 
  40. provides a -n option that is supposed to stop this prompt, but it is not 
  41. implemented in this release, and I called NCR who confirmed this and said they 
  42. have no plans for future Simul-Task releases on my platform.
  43.  
  44. Please respond directly to me, I will summarize results if anyone is 
  45. interested.
  46.  
  47. Ken Van Camp    <cp486a!kvancamp@cpmail.att.com>
  48.                 AT&T Consumer Products Division
  49.                 5 Wood Hollow Road  Room 1H36
  50.                 Parsippany, NJ  07054
  51.                 (201)581-4513
  52.