Overview
| Artifact ID: | 5a137036710ba20967e6ae040c2e06e7db336493 |
|---|---|
| Ticket: | 219408ffffffffffffffffffffffffffffffffff
fileevent on stdin not working |
| User & Date: | nobody on 2000-10-26 05:12:33 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.3.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "fileevent on stdin not working"
- type changed to: "Bug"