[comp.sys.amiga.programmer] Arexx and dos redirection

mark@tc.fluke.COM (Mark D. Nagel) (06/01/91)

Does anyone know how to get stdout from an arexx script to go to the
serial printer port ("prt:")? I've tried 'prog arg1 > prt:' from the
command line, and 'call open,"prt:" write" from within the program -
no luck. Oh, I am running OS 2.0.

Thanks alot.

-- 
-------------------------------------------------------------------------------
		Is it IBM compatiable? NO - ARE YOU?
 - FUSION - FUSION - FUSION -FUSION -FUSION -FUSION -FUSION -FUSION -FUSION -
    Domain: mark@tc.fluke.COM (Mark Nagel) Voice: +1 206 356 5098
      UUCP: microsoft!fluke!mark or sun!fluke!mark
     Snail: John Fluke Mfg. Co. / P.O. Box C9090 / Everett WA  98206
-------------------------------------------------------------------------------

ryan@amix.commodore.com (Ryan Sheftel) (06/03/91)

mark@tc.fluke.COM (Mark D. Nagel) writes:

> Does anyone know how to get stdout from an arexx script to go to the
> serial printer port ("prt:")? I've tried 'prog arg1 > prt:' from the
> command line, and 'call open,"prt:" write" from within the program -
> no luck. Oh, I am running OS 2.0.
> Thanks alot.
 
This is how to make it work 

"prog >prt: arg1" The funnel must go before the args.

----------
Ryan Sheftel

UUCP: uunet!cbmvax!amix!undrground!ryan
Internet: undrground!ryan@amix.commodore.com