Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 82a93a2381883318db9fa234322a3f48da25df55
Ticket: 218070ffffffffffffffffffffffffffffffffff
keyboard buffer in solaris limits interactive-mode tclsh
User & Date: nobody on 2000-10-26 00:52:50
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1595 RFE
    Version: 8.0p2
    SubmitDate: '1999-03-22'
    LastModified: '1999-09-01'
    Severity: MED
    Status: Closed
    Submitter: pat
    ChangedBy: hobbs
    OS: Solaris
    OSVersion: 5.6
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '1999-09-01'
    
    
    Name:
    David Knol
    
    CustomShell:
    n/a
    
    DesiredBehavior:
        
        hello --
        
        i am a tcl newbie, but i think i've found a small irritant in tclsh
        interactive-mode on the solaris platform...
        
        users are limited to typing in roughly 256 characters for a single line
        from the keyboard.  (a workaround:  if a user instead types a > 256
        char. line into a file, say foo.tcl, and then executes a 'source
        foo.tcl', the command gets executed without problem.)
        
        with my debugger i traced down into the GetInput() function in
        generic/tclIO.c, but at that point i was struggling to make heads or
        tails of the code as i am not much of a lower-level programming guru.  i
        strongly suspect, though, that the solaris keyboard buffer size is
        simply 256 characters, and it doesn't appear that there is any buffer in
        the tcl code that accomodates for this (by grabbing bits and pieces from
        the keyboard buffer as they come in and reassembling them in a tcl
        buffer).
        
        the goal here would be to make the input behavior a little more
        independent of any underlying input device differences. 
        
        hope this all makes sense.
        
        thanks in advance for any help offered,
        david knol
        
        
    
    
    
    
    This is a limitation of the user's shell, not Tcl.  The user can either
    type into a file or use a better shell for interactive programming,
    like TkCon. 
    -- 09/01/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.0p2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    keyboard buffer in solaris limits interactive-mode tclsh
    
  11. type changed to: "Bug"