Skip to content
Tcl Source Code History Of Ticket 219408
Login

History Of Ticket 219408

Artifacts Associated With Ticket 219408

  1. Ticket change [5a13703671] (rid 118081) by nobody on 2000-10-26 05:12:33:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 6334 Bug
      Version: 8.3.2
      SubmitDate: '2000-10-02'
      LastModified: '2000-10-25'
      Severity: SER
      Status: UnAssn
      Submitter: techsupp
      OS: AIX
      Machine: 2 x 64 bit CPUs with 200.00 MHz each (Arch: Power PC/630,Power P
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      Name:
      Michael Bowen
      
      Extensions:
      None, well wish 8.3.2 if that counts...
      
      CustomShell:
      None
      
      ReproducibleScript:
      #!/usr/bin/wish
      # Just execute this script,  then enter some text and hit enter..
      proc handleIn {} {
        set f [gets stdin]
        puts "got \"$f\"";
        if {[string compare $f "Q"]==0} {
          exit;
        }
      }
      
      fileevent stdin readable handleIn;
      fconfigure stdin -blocking 0 -buffering line;
      
      puts [info tclversion]
      
      ObservedBehavior:
      The  handleIn proc is never called..  It works with earlier version of tcl, and also works with 8.3.2 under linux, but not on aix 4.3.2.
      
      DesiredBehavior:
      I would expect the handleIn proc to be called, and the text you enetered to be repeated.  When you enter a "Q"
      the script should terminate.
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.3.2"
    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: "fileevent on stdin not working"
    11. type initialized to: "Bug"
  2. Ticket change [2f1fa892c0] (rid 93003) by dkf on 2000-11-15 22:13:10:

    1. subsystem changed to: "62. (unused)"
  3. Ticket change [89c062a63b] (rid 127279) by dgp on 2001-04-03 06:17:46:

    1. subsystem changed to: "27. Channel Types"
  4. Ticket change [8023a4a1e8] (rid 97684) by andreas_kupries on 2001-08-24 04:50:43:

    1. assignee changed to: "andreas_kupries"
  5. Ticket change [1894395d26] (rid 122686) by andreas_kupries on 2001-08-25 01:33:11:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Does 8.4a3 still have this problem ?
      Note: I have not AIX system available to test.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  6. Ticket change [d007196e95] (rid 113093) by andreas_kupries on 2001-09-12 00:51:14:

    1. assignee changed to: "dgp"
    2. icomment:
      Logged In: YES 
      user_id=75003
      
      I am assigning this to Don now, remembering from a the 
      comments in a different item that he has access to an AIX 
      system for testing. ... When he is able to go to work 
      again, that is ...
      
      
      
    3. login: "andreas_kupries"
    4. mimetype: "text/plain"
    5. username: "andreas_kupries"
  7. Ticket change [abd9fe80ac] (rid 101189) by dgp on 2001-09-12 22:53:49:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Me and my big mouth.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [291c802019] (rid 88816) by dgp on 2001-09-12 23:22:01:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      I note that the script indicates evaluation by wish,
      but I see no Tk commands.  Is wish necessary to demo
      the problem, or will I see it using tclsh?
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [39415d5eba] (rid 112360) by andreas_kupries on 2001-09-12 23:31:38:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Hm. I don't know.
      
      Maybe he just wants the eventloop from wish.
      
      Oh,
           Michael Bowen = <[email protected]>
      
      so we can ask him.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  10. Ticket change [f51ed9d7f6] (rid 130052) by dgp on 2001-09-12 23:42:17:

    1. closedate changed to: "2001-09-12T16:42:17"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      I just built tclsh and wish version 8.3.2 on an AIX 4.3
      system using gcc 2.95.2. (--disable-shared)
      
      I was able to run the contributed script, and it behaved
      properly as described in wish and in tclsh (after adding
      [vwait forever]).
      
      I did not attempt other Tcl/Tk versions.  If this report
      has mis-identified the Tcl/Tk version where failure was
      observed, please re-file.
      
      Closing this as "Works for me".
      
      I do note that the handleIn proc in the contributed
      script is not very robust.  With stdin configured as
      non-blocking, there should probably be a [catch] around
      [gets] with checks for [eof] and [fblocked].
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Works For Me"
    7. status changed to: "Closed"
    8. username: "dgp"
  11. Ticket change [05aa526137] (rid 89105) by andreas_kupries on 2001-09-12 23:47:52:

    1. closedate changed to: "2001-09-12T16:47:52"
    2. closer changed to: "andreas_kupries"
    3. icomment:
      Logged In: YES 
      user_id=75003
      
      Ok, I will inform Michael of this.
      
      
    4. login: "andreas_kupries"
    5. mimetype: "text/plain"
    6. username: "andreas_kupries"