Skip to content
Tcl Source Code History Of Ticket 217807
Login

History Of Ticket 217807

Artifacts Associated With Ticket 217807

  1. Ticket change [46db7ef85e] (rid 99589) by nobody on 2000-10-26 00:43:57:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1191 Bug
      Version: 8.1b1
      SubmitDate: '1999-02-11'
      LastModified: '1999-09-16'
      Severity: MED
      Status: Closed
      Submitter: pat
      ChangedBy: hobbs
      RelatedBugIDs: 582
      OS: Windows NT
      OSVersion: Workstation NT4.0
      Machine: X86
      FixedDate: '2000-10-25'
      ClosedDate: '1999-09-16'
      
      
      Name:
      Aldo MAZZILLI
      
      ReproducibleScript:
      if [catch {open "|sh 2>@ stdout" r+} input] {
                      Error
              } else {
                      fconfigure $input -buffering none
                      fileevent $input readable Log
              }
      ...
      
      proc Log {} {
              global input
              if {[gets $input line]<0} {
                      close $input
              } else {
                      .f.text insert end $line\n
                      .f.text see end
              }
      }
      
      PutCmd {} {
               puts $input "$cmd \n"
      }
      
      ObservedBehavior:
      I'm trying to port a TCL script from SUN-OS to Win32 and I have the
      following message "console1 wasn't opened for writing" when I 'puts' a
      command in a pipeline.
      
      DesiredBehavior:
      The pipelined Shell must run the command that the user 'puts' on it and must get everything on stdout and stderr in order to display the both results in a text widget.
      Everything works correctly under Sun-OS but fails under win32.
      
      
      
      This is user error.  There is a difference in stdin, stdout, stderr from Unix to Windows.  Redman has been working on Windows consoles, so this may be fixed soon.  03/23/1999 18:11 - surles -
      
      
      
    4. foundin initialized to: "obsolete: 8.1b1"
    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: "69. Other"
    10. title initialized to: "console1 wasn't opened for writing under win32"
    11. type initialized to: "Bug"
  2. Ticket change [9853612284] (rid 110583) by welch on 2000-10-26 07:49:19:

    1. closedate changed to: "2000-10-26T00:49:19"
    2. closer changed to: "welch"
    3. priority changed to: "1 Zero"
    4. resolution changed to: "Duplicate"
    5. status changed to: "Closed"
  3. Ticket change [89b0b05eb8] (rid 127271) by dgp on 2001-04-13 23:08:16:

    1. closedate changed to: "2001-04-13T16:08:16"
    2. closer changed to: "dgp"
    3. subsystem changed to: "None"