Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c8cb4665107603ffeaa783836f16c2547ad8189a
Ticket: 402725ffffffffffffffffffffffffffffffffff
Document Tcl's standard channels
User & Date: andreas_kupries on 2001-08-27 22:58:39
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    "Tcl_SetStdChannel() also performs the initialization" ...
    Right. I missed that.
    
    "Every call to Tcl_RegisterChannel() in a non-safe
    interp will call Tcl_GetStdChannel". Not quite 
    true. "Tcl_RegisterChannel" calls "GetChannelTable" and 
    that one does initialize the StdChannels, but only on the 
    first call, if there is no channel table.
    
    In the end it amounts to the same thing and there you are 
    right. It is the Tcl library which does the initialization, 
    if the application doesn't :)
    
    Surprising ways of initialization: See
    http://sourceforge.net/tracker/?
    func=detail&aid=419685&group_id=10894&atid=110894
    
    for a bug report about such. 'Fixing' this bug
    influences the documentation too. Windows of
    course. Not wish. Tclsh as a NT service.
    
    With all this it might be easier to write a new manpage 
    talking about standard channels and then to reference that 
    from the various other manpages.
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"