Skip to content
Tcl Source Code History Of Ticket 792990ffffffffff
Login

History Of Ticket 792990ffffffffff

Artifacts Associated With Ticket 792990ffffffffff

  1. Ticket change [caa4eeb8de] (rid 95393) by elfring on 2003-08-22 07:47:05:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "elfring"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "Redirect file output into variables"
    11. type initialized to: "RFE"
  2. Ticket change [81f4b91436] (rid 117134) by vincentdarley on 2003-08-22 16:13:21:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      It's not clear from what you write what the behaviour is
      that you are seeking for these 4 new commands.  How about
      looking at the man pages and adding to this feature request
      a few sentences on each option describing what it actually
      does and how it is used, perhaps with an example?
      
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  3. Ticket change [d6af7fb40e] (rid 123847) by elfring on 2003-08-22 20:36:30:

    1. icomment:
      Logged In: YES 
      user_id=572001
      
      1. Open  a new file with the option that all data is written to 
      or read from a TCL variable
      Example:
      if {![catch {open -var Debug stdout w} File]} \
       {
        # Some code to check in a "special" execution environment
      
        # Do something...
         puts "Surprise"
      
        # Work is done.
        close $File
      
        LogResult $Debug
       }
      
      
      2. Catch a part of file processing
      Example:
      fconfigure -setvar Debug stdout
      
      # Do something...
      puts "Surprise"
      
      fconfigure -stopvar Debug stdout
      LogResult $Debug
      
      # Display message to the normal target
      puts "finished"
      
      if [file isbuffering stdout] \
       {
        fconfigure -getcontents Buffer stdout
        LogResult $Buffer
       }
      
      
      Is this little explanation useful?
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  4. Ticket change [2a593df1e2] (rid 118548) by dgp on 2003-08-22 20:49:24:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      so you are looking for a new channel
      type that is backed by a variable?
      
      Or are you looking for a new filesystem
      type where the "files" are really variables?
      
      Either one should be possible in an
      extension given Tcl's current public API,
      right?  Are you aware of missing interfaces?
      
      The latter one might even be possible
      entriely at the scritp level, making use
      of the tclvfs package.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [f1fc540248] (rid 109449) by elfring on 2003-08-22 21:13:16:

    1. icomment:
      Logged In: YES 
      user_id=572001
      
      Can the requested functions be implemented by two 
      techniques?
      I've got no preferences. I would like both.
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  6. Ticket change [8b428aa120] (rid 127532) by elfring on 2003-08-23 22:53:33:

    1. icomment:
      Logged In: YES 
      user_id=572001
      
      Has anybody tried to create a file system interface for variables before?
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  7. Ticket change [95179554e0] (rid 106103) by vincentdarley on 2003-09-19 00:41:15:

    1. assignee changed to: "nobody"
    2. icomment:
      Logged In: YES 
      user_id=32170
      
      I suggest this be discussed on comp.lang.tcl, and then, if
      some sort of consensus/design is reached, someone can write
      a TIP.  It's all a bit vague and sourceforge isn't really
      very convenient for making vague discussions more concrete.
      
      
      
    3. login: "vincentdarley"
    4. mimetype: "text/plain"
    5. username: "vincentdarley"
  8. Ticket change [728fc1110f] (rid 100884) by elfring on 2003-09-19 15:17:56:

    1. icomment:
      Logged In: YES 
      user_id=572001
      
      1. How do you think about to create a companion topic 
      for "http://mini.net/tcl/memchan" like it was done 
      with "http://wiki.tcl.tk/source" for an other request?
      
      2. What kind of convenience are you missing from 
      SourceForge?
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  9. Ticket change [49bfacad4c] (rid 100097) by vincentdarley on 2003-09-19 15:23:19:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      This bug report/feature request is quite invisible to the
      Tcl community, unless someone is actively seeking it out.  A
      discussion on the Wiki or comp.lang.tcl is much more visible
      and likely to solicit more opinions and lead to a better
      solution. After all, I'm the only one who has responded to
      this at all. If you believe the idea is a good one, then
      surely many people would be interested...
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  10. Ticket change [53c5ec0d56] (rid 93810) by elfring on 2003-09-19 15:26:37:

    1. icomment:
      Logged In: YES 
      user_id=572001
      
      What is better: Wiki or newsgroup or both?
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  11. Ticket change [3b727105de] (rid 112751) by elfring on 2003-09-21 23:52:50:

    1. icomment:
      Logged In: YES 
      user_id=572001
      
      I started the discussion 
      "http://groups.google.de/groups?group=comp.lang.tcl&selm=40ed1d8f.0309190825.12f4fac6%40posting.google.com".
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  12. Ticket change [81c0fd08ee] (rid 117099) by dgp on 2003-11-13 05:52:00:

    1. assignee changed to: "andreas_kupries"
  13. Ticket change [6be71ce1e0] (rid 128406) by elfring on 2004-07-27 18:45:12:

    1. icomment:
      Logged In: YES 
      user_id=572001
      
      Is there anything in common 
      with "http://dedasys.com/freesoftware/files/CacheOut.tgz"?
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  14. Ticket change [a9ba71d1d8] (rid 99196) by andreas_kupries on 2007-11-15 05:55:30:

    1. closedate changed to: "2007-11-14T22:55:30"
    2. closer changed to: "andreas_kupries"
    3. icomment:
      Logged In: YES 
      user_id=75003
      Originator: NO
      
      This is IMHO subsumed by the TIP #219 (http://tip.tcl.tk/219.html), "Tcl Channel Reflection API". This allows users to write a channel driver in Tcl which stores the written data to a variable, and/or reads from it.
      Considered to be now a duplicate of http://sourceforge.net/tracker/index.php?func=detail&aid=1025294&group_id=10894&atid=310894
      
      
      
    4. login: "andreas_kupries"
    5. mimetype: "text/plain"
    6. resolution changed to: "Duplicate"
    7. status changed to: "Closed"
    8. username: "andreas_kupries"
  15. Ticket change [6d791a0d75] (rid 128704) by elfring on 2007-11-15 20:15:02:

    1. icomment:
      Logged In: YES 
      user_id=572001
      Originator: YES
      
      Is a channel driver available for the suggested redirection already?
      http://wiki.tcl.tk/2701
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"