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

History Of Ticket 455867ffffffffff

Artifacts Associated With Ticket 455867ffffffffff

  1. Ticket change [f4772466db] (rid 129922) by dgp on 2001-08-27 19:22:54:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      The Tcl command [file channels $pattern] returns
      a list of the names of all open channels, where
      the name matches $pattern.
      
      However, the names of channels are not documented
      to have any particular properties.  They are just
      tokens to be passed around by commands that
      manipulate or use channels.
      
      Also, any channel that happens to be aliased
      to a standard channel becomes known by the
      std channel name (f.e. stdout) in the
      [file channels] output, not matter what its
      original names was.
      
      So. [file channels sock*] is not a foolproof
      way to get a list of all open sockets.
      
      We need another means to introspect channels
      by their Tcl_ChannelType.
      
    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: "dgp"
    9. subsystem initialized to: "25. Channel System"
    10. title initialized to: "Introspect channels by type"
    11. type initialized to: "RFE"
  2. Ticket change [ffbff56f39] (rid 108810) by dgp on 2001-08-28 02:23:41:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      See also Tcl bug 419685
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [449f8803ea] (rid 116738) by andreas_kupries on 2001-09-15 06:54:33:

    1. assignee changed to: "andreas_kupries"
  4. Ticket change [e05ba800e9] (rid 115178) by andreas_kupries on 2001-09-20 06:33:46:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      A possible interface would be:
      
      1) [file channeltypes] returns a list of registered channel 
      types, aka channel drivers.
      
      2) [file channels -type typename] lists all channels having 
      the given type.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  5. Ticket change [f44328af0d] (rid 129877) by vincentdarley on 2001-09-20 22:27:31:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      This might be a good occasion to NOT extend file, but add 
      a 'channel' command to Tcl:
      
      channel types
      channel names (-type typename) pat
      etc.
      
      In the future this could be extended with 'channel 
      transform'.  I don't think further overloading of 'file' is 
      the right place for this stuff (but I'm v. happy to hear 
      arguments to the contrary).
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  6. Ticket change [6be5ba3571] (rid 128404) by andreas_kupries on 2001-09-21 01:33:37:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      I will not argue against this. I am still wondering
      how we wound up with [file channels]. Unfortunately it is 
      already in 8.3.3 and not in one the 8.4 alphas or I would 
      change that to [channel names] in a jiffy.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  7. Ticket change [955d8a8659] (rid 106145) by dgp on 2007-09-06 05:22:32:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      It appears the new [chan names]
      in Tcl 8.5 is just another name
      for [file channels] which still
      just does glob matching on the
      channel name.  Introspection on
      the name of the channel type is
      still missing.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [691dbc0bbe] (rid 103193) by andreas_kupries on 2007-09-06 05:23:51:

    1. icomment:
      Logged In: YES 
      user_id=75003
      Originator: NO
      
      In 8.5 the command 'chan names' implements the same functionality. Internally mapped to '::file channels'.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  9. Ticket change [aae6e589d2] (rid 101003) by andreas_kupries on 2007-09-06 05:24:45:

    1. icomment:
      Logged In: YES 
      user_id=75003
      Originator: NO
      
      Oh, by type. Yes, that we do not have anywhere.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  10. Ticket change [261c2f1054] (rid 172069) by dgp on 2019-06-03 16:07:43:

    1. assignee changed to: "aku"
    2. closer changed to: "nobody"
    3. comment changed to:
      The Tcl command [file channels $pattern] returns
      a list of the names of all open channels, where
      the name matches $pattern.
      
      However, the names of channels are not documented
      to have any particular properties.  They are just
      tokens to be passed around by commands that
      manipulate or use channels.
      
      Also, any channel that happens to be aliased
      to a standard channel becomes known by the
      std channel name (f.e. stdout) in the
      [file channels] output, not matter what its
      original names was.
      
      So. [file channels sock*] is not a foolproof
      way to get a list of all open sockets.
      
      We need another means to introspect channels
      by their Tcl_ChannelType.
      
    4. icomment:
      
      See TIP 411
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. severity changed to: "Minor"