Artifacts Associated With Ticket 219408
Ticket change [5a13703671] (rid 118081) by nobody on 2000-10-26 05:12:33:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "obsolete: 8.3.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "fileevent on stdin not working"
- type initialized to: "Bug"
Ticket change [2f1fa892c0] (rid 93003) by dkf on 2000-11-15 22:13:10:
- subsystem changed to: "62. (unused)"
Ticket change [89c062a63b] (rid 127279) by dgp on 2001-04-03 06:17:46:
- subsystem changed to: "27. Channel Types"
Ticket change [8023a4a1e8] (rid 97684) by andreas_kupries on 2001-08-24 04:50:43:
- assignee changed to: "andreas_kupries"
Ticket change [1894395d26] (rid 122686) by andreas_kupries on 2001-08-25 01:33:11:
- icomment:
Logged In: YES user_id=75003 Does 8.4a3 still have this problem ? Note: I have not AIX system available to test.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [d007196e95] (rid 113093) by andreas_kupries on 2001-09-12 00:51:14:
- assignee changed to: "dgp"
- 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 ...
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
Ticket change [abd9fe80ac] (rid 101189) by dgp on 2001-09-12 22:53:49:
- icomment:
Logged In: YES user_id=80530 Me and my big mouth.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [291c802019] (rid 88816) by dgp on 2001-09-12 23:22:01:
- 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?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [39415d5eba] (rid 112360) by andreas_kupries on 2001-09-12 23:31:38:
- 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. - login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [f51ed9d7f6] (rid 130052) by dgp on 2001-09-12 23:42:17:
- closedate changed to: "2001-09-12T16:42:17"
- closer changed to: "dgp"
- 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].
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- status changed to: "Closed"
- username: "dgp"
Ticket change [05aa526137] (rid 89105) by andreas_kupries on 2001-09-12 23:47:52:
- closedate changed to: "2001-09-12T16:47:52"
- closer changed to: "andreas_kupries"
- icomment:
Logged In: YES user_id=75003 Ok, I will inform Michael of this.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"