Zimmer,

That's a good idea that I hadn't thought of.  It will be a bit slower
to write the entire file out to disk, UUENCODE it, then re-readit. 
But it may be worth it to get the job done.

FYI I am needing to use some sort of encoding because the RPCBroker
doesn't seem to properly transmit binary data.  i.e. when I tell it to
transmit an array that contains control characters, it seems to choke.

Thanks all
Kevin




On 9/4/05, John Leo Zimmer <[EMAIL PROTECTED]> wrote:
> ---------- Original Message -----------
> From: Kevin Toppenberg <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Sat, 3 Sep 2005 22:43:29 -0400
> Subject: Re: [Hardhats-members] Bitwise operators in GT.M?
> 
> > Jim (or anyone else)
> >
> > I am thinking about writting an UUEncoder in M,
> >
> 
> 
> Kevin,
> Back in 1994 I used UUENCODE/UUDECODE to send images (and other binary files)
> via MailMan.  This was/is in MSM under MS-DOS. (I still have all that here
> on my laptop.) My routine wrote the mail message out to DOS and then shelled
> out to DOS to do the deed. (It was interesting in that MSM halted everything
> it was doing while the DOS UUENCODE routine did it's thing. :-)
> 
> I think I would do the same today in GT.M and let Linux do the dirty work.
> 
> From ^ACIZUU (Note the date.)
> 
> ACIZUU ;JLZ/fhs;UUENCODE/DECODE; [ 06/09/94  7:31 AM ]
>  ;;3.0;Image Manager;;May 06, 1994
> .
> .
> .
> UUDECODE(FILE)     ;decode .UUE
>  S TEST=$ZOS(8,"D:\MSM\ACIZ\TMP")
>  I TEST'="" Q "FAILED TO FIND DIRECTORY "_TEST
>  S TEST=$ZC(SHELLDOS,"UUDECODE "_FILE)
>  Q "UUDECODE DONE "_TEST
>  ;
> UUENCODE(FILE)     ;encode .BMP
>  S TEST=$ZOS(8,"D:\MSM\ACIZ\TMP")
>  I TEST'="" Q "FAILED TO FIND DIRECTORY "_TEST
>  S TEST=$ZC(SHELLDOS,"UUENCODE -XT "_FILE)
>  Q "UUENCODE DONE "_TEST
> .
> .
> .
> jlz
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Hardhats-members mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to