🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.misc
Article #497

Re: PC Bat programming

#497
From: M. Smith
Date: Fri, 21 Dec 1990 14:20
15 lines
1148 bytes
        Since no one has mentioned it the redirection arrows < and > can be
used to replace standard input and output. If you put the commands in a file
called commands.ws and invoke wordstar with the line:

ws <commands.ws

the commands will be sent to the program. However, most word processors grab
keys in strange ways, and this redirection may not work right. Also, even if
the keys are taken correctly, any error will put the order off (i.e. the line
is only sent once from the file) and error messages which require a keyboard
response mess up the order even more (i.e. a program that demands a space bar
will wait until a space occurs in the input file before releasing control.)

Anyone got wordstar to see if this works?
Technical Details
Message-ID: <9012211420.AA01741@NADC.NADC.NAVY.MIL>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!NADC.NADC.NAVY.MIL!mlsmith

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!NADC.NADC.NAVY.MIL!mlsmith
From: mlsmith@NADC.NADC.NAVY.MIL (M. Smith)
Newsgroups: comp.sys.misc
Subject: Re:  PC Bat programming
Message-ID: <9012211420.AA01741@NADC.NADC.NAVY.MIL>
Date: 21 Dec 90 14:20:42 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 15