Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-01
01:47 • Ticket [218983ffff] TCL 8.05 "FILEEVENT" COMMAND IS "... artifact: 8dfce6159b user: dgp
01:47 • Ticket [218983ffff]: 1 change artifact: 0992ff5272 user: dgp
2000-10-26
08:33 • Closed ticket [218983ffff]. artifact: 3a5e4f3af7 user: welch
01:08 • New ticket [218983ffff]. artifact: 65e5f833eb user: nobody

TCL 8.05 "FILEEVENT" COMMAND IS "NOT WORKABLE" WITH SERIAL C

Closed / Fixed218983ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:08:56
OriginalBugID: 3468 Bug
Version: 8.0.5
SubmitDate: '1999-11-05'
LastModified: '1999-11-30'
Severity: SER
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Windows 95
OSVersion: 4.00.950a
FixedDate: '1999-11-30'
FixedInVersion: 8.2
ClosedDate: '2000-10-25'


Name:
Ditchko Batchvarov

CVS:
13.10.1999

Extensions:
TK 8.0 DP 4.0B

CustomShell:
None.

ReproducibleScript:
package require dp
    set initstring {AT&F&C1&D2W1S95=44}
    set newdata ...
    set modaddr serial2
    set modid [open com2 {RDWR}]
    fileevent readable $modid [list readserial]
    proc readserial { } {
    global modid
    global newdata
    set data ...
    catch [gets $modid data]
    set newdata $data
    }
    fconfigure $modid -mode 19200,n,8,1 -eofchar "\4 \4" -blocking 0
    puts $modid "+++"
    flush $modid
    while {[string compare $newdata "+++"] != 0} {
    puts *
    }

ObservedBehavior:
The program stuck at operator Fileevent. CTRL+ALT+DEL must be pressed to
    continue. I  observed the same with TCL 8.2 tooo.

DesiredBehavior:
The handler should be installed.



For fileevent on serial ports, the user must upgrade to 8.2+. 
-- 11/30/1999 hobbs
welch Closed ticket [218983ffff]. [History diff]2000-10-26 08:33:07
dgp Ticket [218983ffff]: 1 change [History diff]2001-04-01 01:47:33
dgp Ticket [218983ffff]: 3 changes [History diff]2001-04-01 01:47:34
Log in (anonymous is fine) to add a comment.