Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Reading from stdi - what am I doing wrong?!

From: g:santilli:tiscalinet:it at: 14-Jul-2001 14:49

Hello Chris! On 13-Lug-01, you wrote: C> I get the full email.. except that buffer is a block where C> each line is a separate string! - I could join it all together system/ports/input is opened with the /lines refinement. You can open your own port this way: stdin: open/binary console:// ; so you can get binary input too buffer: copy/part stdin system/options/cgi/content-length close stdin or, as a single line: buffer: read/binary/part console:// system/options/cgi/content-length Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila --