Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2810a8ee450ff82c6e0aae230b0c8c2a0153f7c99b3a99f6c99abc329610d8c9
Ticket: 1d0618000674abdf701021d69eaa858cbccf14a4
channel reads prematurely from stdin on Windows
User & Date: apnadkarni on 2025-11-27 06:22:16
Changes

  1. icomment:
    >  is the proposal by Ashok an improvement and should this be integrated, even if it is not perfect? 
    
    Outside of a small change to filter out Alt keys etc. to prevent unnecessary wakeups, I would say no unless there is a tangible use case where it is a complete solution (it does not seem to be so for this ticket). The Windows console reader code is quite "delicate" and the changes made for this ticket are more experimental than production ready until a thorough review.
    
    There should also be some kind of "official" stance on whether Tcl supports intermixing of Tcl channel calls with direct C I/O API's through OS handles/fds and under what conditions.
    
  2. login: "apnadkarni"
  3. mimetype: "text/x-markdown"