difference between tclkit and tclsh
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

difference between tclkit and tclsh

From: <ntcross@046.ru>
Date: Fri Oct 28 2005 - 08:57:24 CEST

I've noticed this difference between tclkit and tclsh (at least on
Linux and Windows):

This is from Linux (on windows -encoding reported by tclkit is also
identity).

tclkit:
% encoding system
koi8-r
% fconfigure stdin
-blocking 1 -buffering line -buffersize 4096 -encoding identity
-eofchar {} -translation auto -mode 38400,n,8,1 -xchar { }
% fconfigure stdout
-blocking 1 -buffering line -buffersize 4096 -encoding identity
-eofchar {} -translation crlf -mode 38400,n,8,1 -xchar { }
% fconfigure stderr
-blocking 1 -buffering none -buffersize 4096 -encoding identity
-eofchar {} -translation crlf -mode 38400,n,8,1 -xchar { }

tclsh:
% fconfigure stdin
-blocking 1 -buffering line -buffersize 4096 -encoding koi8-r -eofchar
{} -translation auto -mode 38400,n,8,1 -xchar { }
% fconfigure stdout
-blocking 1 -buffering line -buffersize 4096 -encoding koi8-r -eofchar
{} -translation crlf -mode 38400,n,8,1 -xchar { }
% fconfigure stderr
        -blocking 1 -buffering none -buffersize 4096 -encoding koi8-r
-eofchar {} -translation crlf -mode 38400,n,8,1 -xchar { }

So, is this a bug or a feature?
Received on Mon Nov 21 00:36:18 2005