fconfigure(3tcl) Tcl Built-In Commands fconfigure(3tcl) ______________________________________________________________________________ NAME fconfigure - SYNOPSIS fconfigure channelId fconfigure channelId name fconfigure channelId name value ?name value ...? ______________________________________________________________________________ DESCRIPTION fconfigure ChannelId name value name value name value value socket -blocking boolean -blocking I/O boolean getsreadputsflush close Tcl ( Tcl_DoOneEvent vwait ) -buffering newValue newValue full I/O flush newValue line I/O newValue none I/O line -buffering fullstdin stdout line stderr none -buffersize newSize NewvalueNewvalue -encoding name | Tcl | Unicode Unicode | Tcl shiftjis | | shiftjis| Unicode - | Tcl | ( JPEG | ) binaryTcl | (raw)Tcl| binary | | -eofchar char -eofchar {inChar outChar} DOS Control-z (\x1a)(marker) char (signal) char Windows -eofchar Windows -eofchar Control-z (\x1a) -translation mode -translation {inMode outMode} Tcl (\n) UNIX -(carriage- return-linefeed) ( gets read)Tcl I/O ( puts)I/O auto -translation -translation : auto auto (lf)(cr)(crlf) auto Tcl crlf Unix (flavor) lfMacintosh crWindows crlf-translation auto binary | binary()| binary ()lf | -eofchar | -encoding cr crcr Macintosh crlf crlfcrlf Windows lf UNIX SEE ALSO close(n), flush(n), gets(n), puts(n), read(n), socket(n) KEYWORDS blocking, buffering, carriage return, end of line, flushing, linemode, newline, nonblocking, platform, translation, encoding, filter, byte array, binary [] [] 2001/08/02 Linux man : http://cmpp.linuxforum.net man man https://github.com/man-pages-zh/manpages- zh Tcl 8.1 fconfigure(3tcl)