Piping ELM mail into REXX script (os/2) 
Author Message
 Piping ELM mail into REXX script (os/2)

When I pipe from ELM (on OS/2) to a REXX script, how is that input referred to in the
script?  I have a very simple application, piping mail with MIME enclosures
into a program called MIME64 which will decode them.

Thanks.

Paul Gronke     Box 90204, 311 Perkins Library
                      Department of Political Science
                      Duke University
                      Durham, NC 27708-0204
 ======================================================

Fax:      919-660-4330   Home Page: http://www.*-*-*.com/ ~gronke
 ======================================================



Mon, 14 Jul 1997 23:45:11 GMT  
 Piping ELM mail into REXX script (os/2)

Quote:
>When I pipe from ELM (on OS/2) to a REXX script, how is that input referred to in the
>script?  I have a very simple application, piping mail with MIME enclosures
>into a program called MIME64 which will decode them.

>Thanks.

>Paul Gronke     Box 90204, 311 Perkins Library
>                      Department of Political Science
>                      Duke University
>                      Durham, NC 27708-0204

   Another library type, hmm?  And an OS2er to boot.  What are the odds?

Anyway,

elm |rxqueue

should put ELM's standard output into the default REXX queue, which can
be accessed by your program by any of the commands which process queues,
e.g.,

do while queued()
   pull line
   newline = translate(line, ......) /* or whatever you plan to do with it */
end

*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*==*=*=*=*=*=*=*=*=*=*=*=*=*=*

*        Automated Operations Coordinator           E  S       *
*          for Special Materials Cataloging          A  /      *
*        Library of Congress                          M  2     *
*The above ravings do not represent the officical views of the *
*Library of Congress, they are the products of a WARPed mind.  *
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=



Wed, 16 Jul 1997 02:38:09 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. OS/2: Rexx Script from Win-OS file manager

2. X-based/elm-based mail browser using tk

3. piping input and output with OS/2 REXX

4. Script to process MIME enclosures in ELM

5. Named Pipes - Rexx (Os/2

6. NAMED PIPES - REXX (OS/2)

7. buffer problem piping to an OS/2 rexx program

8. Why REXX is not my favorite scripting language (Pipes)

9. E-Mail from OS/2 REXX

10. Wanted: CGI utilities(REXX scripts) for OS/2 WARP Server v1.0

11. CGI scripts w/REXX and OS/2

12. Rexx script for dialup [OS/2]

 

 
Powered by phpBB® Forum Software