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