Skip to content
Tcl Source Code History Of Ticket 219161
Login

History Of Ticket 219161

Artifacts Associated With Ticket 219161

  1. Ticket change [74e40af66a] (rid 105297) by nobody on 2000-10-26 05:02:30:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1470 RFE
      Version: 8.0.4
      SubmitDate: '1999-03-08'
      LastModified: '2000-04-26'
      Severity: SER
      Status: Assigned
      Submitter: pat
      ChangedBy: hobbs
      RelatedBugIDs: 682 582
      OS: All
      FixedDate: '2000-10-25'
      FixedInVersion: NA
      ClosedDate: '2000-10-25'
      
      
      Name:  Alexandre FERRIEUX
      
      DesiredBehavior:
      It is well known that it's not trivial to merge the stdout and stderr of
      a child on Windows. The Debated patch by Ian Taylor dragged the existing
      >@ redirection semantics the wring way (i.e. patching WIndows to mimic
      UNIX, while for once the UNIX behavior is wrong !!!). Suggestions have
      been made to use "2>&1" instead, which at least doesn't violate the rest
      of the >@ semantics. The problem with this is that it's a Bourne
      shell-based notation, while the rest of [exec/open] uses a csh-notation.
      In particular , ">&" already exists, which would make "2>&1" at least
      ambiguous.
          
      Hence, I suggest a syntax extension that is more in the spirit of the
      existing notation, while protecting the semantics: ">&@outpipe".
      Explanation: ">&@x" already exists, meaning "redirect both stdout and
      err to the previously opened descriptor found at the low level of the
      Tcl channel 'x'.
      Notice that Ian Taylor's patch for Windows and the current (buggy)
      semantics for Unix both propose to use "stdout" here as "x". Instead, I
      propose to use a new string "outpipe", which would be recognized
      internally as 'the output pipe being created'.
      
      
      See 682 for longer explanation of odd behavior.  582 is the "incorrect"
      patch that Ian Taylor proposed. 
      -- 04/26/2000 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "60. NRE and coroutines"
    10. title initialized to: "Merging stdout and stderr"
    11. type initialized to: "Bug"
  2. Ticket change [9b03411615] (rid 111051) by dgp on 2001-04-05 08:20:12:

    1. subsystem changed to: "27. Channel Types"
  3. Ticket change [29bd8da243] (rid 88919) by andreas_kupries on 2001-09-08 06:07:14:

    1. assignee changed to: "andreas_kupries"
  4. Ticket change [ffaf59757b] (rid 108794) by dgp on 2002-07-06 03:58:35:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      This appears to be more FR than Bug.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [06f613beca] (rid 89302) by craighandler on 2002-10-16 00:11:10:

    1. icomment:
      Logged In: YES 
      user_id=629134
      
      Of course, the difference in behavior Unix v. Windows also 
      occurs with [open "| foo 2>@stdout"].  For this case, at least, 
      the problem could be resolved by supporting "|&" at the head 
      of a new pipeline.  This is an already supported syntax in the 
      middle of pipelines, just not at the head of one.  So, this 
      should not be objectionable the way 2>&1 seems to be.
      
      Of course, it does nothing to resolve the problem for [exec].
      
      
      
    2. login: "craighandler"
    3. mimetype: "text/plain"
    4. username: "craighandler"
  6. Ticket change [b63bc0ce5b] (rid 125385) by dgp on 2006-03-10 23:07:53:

    1. closedate changed to: "2006-03-10T16:07:53"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Didn't TIP 202 resolve this?
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Pending"
    8. username: "dgp"
  7. Ticket change [c7efcbf9ce] (rid 122027) by sf-robot on 2006-03-25 10:22:12:

    1. closedate changed to: "2006-03-25T03:22:12"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"