Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9ae08d1566866c256267a7034754150cebe57ef9
Ticket: 412504ffffffffffffffffffffffffffffffffff
fileevent readable translation mode auto
User & Date: andreas_kupries on 2001-04-12 04:54:07
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    Ok, tried it with the new generator ...
    I can now reproduce the reported problem, but it is slightly
    different.
    
    1. There is a delay in displaying the last line with number
    2. When the line is finally displayed the timecode in front
    of it (I used "fet") shows that the fileevent fired one
    second after the last one, IOW, immediately after the line
    arrived.
    
    This means that the [gets] blocked. And it is also clear why
    it blocked. There is neither CR nor LF after the last
    character (the '0' of the 10) of the last line. IOW the line
    is not complete, so Tcl IO system waits for more characters
    to complete the line. The wait stops only after the EOF
    arrives 20 seconds later.
    
    The fact \r is sent at the beginning of each line is
    crucical here, because it is now missing at the end of the
    last line. This line can be pronounced complete only after
    we got EOF.
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"