| david.tolpin@gmail.com 2005-06-06, 8:57 pm |
|
Sam Steingold wrote:
>
> <http://www.podval.org/~sds/clisp/im....html#bin-stdio>
Hi Sam,
thank you for the link; the documentation suggests that CLISP
determines that stdin is not a terminal-io stream and allows to setf
stream-element-type. The problem is that it does not. This, of course,
just means that I need to handle all of the input as binary by dup'ing
the handle through ext:make-stream in CGI scripts (instead of switching
between modes),
or just recreate behavior of all other implementations through Gray
streams; which I will do, just to bring it back to portability among
implementations. It is though that I cannot just use CLISP to read
CGI input as raw 8-bit encoding and have to resort to recreation of the
behavior through complex hooks impeding performance.
David Tolpin
|