Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: caa4eeb8de3cd6b065ad5c38cf4ec44fb0074b61
Ticket: 792990ffffffffffffffffffffffffffffffffff
Redirect file output into variables
User & Date: elfring on 2003-08-22 07:47:05
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The PHP programming language provides output control 
    functions 
    (http://de.php.net/manual/en/ref.outcontrol.php, e. 
    g. "ob_get_contents"). I would like to use similar 
    functionality with TCL.
    
    1. http://tcl.tk/man/tcl8.4/TclCmd/open.htm
    I suggest to add a parameter that specifies a variable 
    name.
    open $fileName $access $permissions $varName
       or
    open -var $Name $fileName $access $permissions
    
    2. http://tcl.tk/man/tcl8.4/TclCmd/fconfigure.htm
    I suggest to add an interceptor and options to switch 
    the output into variables on and off on the fly.
    fconfigure -setvar $Name $channelId
    fconfigure -stopvar $Name $channelId
    fconfigure -getcontents Buffer $channelId
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "elfring"
  9. subsystem changed to: "37. File System"
  10. title changed to: "Redirect file output into variables"
  11. type changed to: "RFE"