From: <no...@so...> - 2001-04-02 23:18:18
|
Bugs item #219408, was updated on 2000-10-25 22:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 >Category: Channel Types Group: 8.3.2 Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: fileevent on stdin not working Initial Comment: 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. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 |
From: <no...@so...> - 2001-08-23 21:50:44
|
Bugs item #219408, was opened at 2000-10-25 22:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 Category: 26. Channel Types Group: = 8.3.2 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Andreas Kupries (andreas_kupries) Summary: fileevent on stdin not working Initial Comment: 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. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 |
From: <no...@so...> - 2001-08-24 18:33:12
|
Bugs item #219408, was opened at 2000-10-25 22:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 Category: 26. Channel Types Group: = 8.3.2 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Andreas Kupries (andreas_kupries) Summary: fileevent on stdin not working Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Andreas Kupries (andreas_kupries) Date: 2001-08-24 11:33 Message: Logged In: YES user_id=75003 Does 8.4a3 still have this problem ? Note: I have not AIX system available to test. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 |
From: <no...@so...> - 2001-09-11 17:51:15
|
Bugs item #219408, was opened at 2000-10-25 22:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 Category: 26. Channel Types Group: = 8.3.2 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Don Porter (dgp) Summary: fileevent on stdin not working Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Andreas Kupries (andreas_kupries) Date: 2001-09-11 10:51 Message: 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 ... ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2001-08-24 11:33 Message: Logged In: YES user_id=75003 Does 8.4a3 still have this problem ? Note: I have not AIX system available to test. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 |
From: <no...@so...> - 2001-09-12 15:53:49
|
Bugs item #219408, was opened at 2000-10-25 22:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 Category: 26. Channel Types Group: = 8.3.2 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Don Porter (dgp) Summary: fileevent on stdin not working Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2001-09-12 08:53 Message: Logged In: YES user_id=80530 Me and my big mouth. ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2001-09-11 10:51 Message: 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 ... ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2001-08-24 11:33 Message: Logged In: YES user_id=75003 Does 8.4a3 still have this problem ? Note: I have not AIX system available to test. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 |
From: <no...@so...> - 2001-09-12 16:22:02
|
Bugs item #219408, was opened at 2000-10-25 22:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 Category: 26. Channel Types Group: = 8.3.2 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Don Porter (dgp) Summary: fileevent on stdin not working Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2001-09-12 09:22 Message: 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? ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2001-09-12 08:53 Message: Logged In: YES user_id=80530 Me and my big mouth. ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2001-09-11 10:51 Message: 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 ... ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2001-08-24 11:33 Message: Logged In: YES user_id=75003 Does 8.4a3 still have this problem ? Note: I have not AIX system available to test. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 |
From: <no...@so...> - 2001-09-12 16:31:40
|
Bugs item #219408, was opened at 2000-10-25 22:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 Category: 26. Channel Types Group: = 8.3.2 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Don Porter (dgp) Summary: fileevent on stdin not working Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Andreas Kupries (andreas_kupries) Date: 2001-09-12 09:31 Message: Logged In: YES user_id=75003 Hm. I don't know. Maybe he just wants the eventloop from wish. Oh, Michael Bowen = <bo...@us...> so we can ask him. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2001-09-12 09:22 Message: 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? ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2001-09-12 08:53 Message: Logged In: YES user_id=80530 Me and my big mouth. ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2001-09-11 10:51 Message: 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 ... ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2001-08-24 11:33 Message: Logged In: YES user_id=75003 Does 8.4a3 still have this problem ? Note: I have not AIX system available to test. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 |
From: <no...@so...> - 2001-09-12 16:42:17
|
Bugs item #219408, was opened at 2000-10-25 22:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 Category: 26. Channel Types Group: = 8.3.2 >Status: Closed >Resolution: Works For Me Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Don Porter (dgp) Summary: fileevent on stdin not working Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2001-09-12 09:42 Message: 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]. ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2001-09-12 09:31 Message: Logged In: YES user_id=75003 Hm. I don't know. Maybe he just wants the eventloop from wish. Oh, Michael Bowen = <bo...@us...> so we can ask him. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2001-09-12 09:22 Message: 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? ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2001-09-12 08:53 Message: Logged In: YES user_id=80530 Me and my big mouth. ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2001-09-11 10:51 Message: 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 ... ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2001-08-24 11:33 Message: Logged In: YES user_id=75003 Does 8.4a3 still have this problem ? Note: I have not AIX system available to test. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 |
From: <no...@so...> - 2001-09-12 16:47:54
|
Bugs item #219408, was opened at 2000-10-25 22:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 Category: 26. Channel Types Group: = 8.3.2 Status: Closed Resolution: Works For Me Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Don Porter (dgp) Summary: fileevent on stdin not working Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Andreas Kupries (andreas_kupries) Date: 2001-09-12 09:47 Message: Logged In: YES user_id=75003 Ok, I will inform Michael of this. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2001-09-12 09:42 Message: 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]. ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2001-09-12 09:31 Message: Logged In: YES user_id=75003 Hm. I don't know. Maybe he just wants the eventloop from wish. Oh, Michael Bowen = <bo...@us...> so we can ask him. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2001-09-12 09:22 Message: 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? ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2001-09-12 08:53 Message: Logged In: YES user_id=80530 Me and my big mouth. ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2001-09-11 10:51 Message: 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 ... ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2001-08-24 11:33 Message: Logged In: YES user_id=75003 Does 8.4a3 still have this problem ? Note: I have not AIX system available to test. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=219408&group_id=10894 |