Skip to content
Tcl Source Code View Ticket
Login

View Ticket

keyboard buffer in solaris limits interactive-mode tclsh

Closed / Invalid218070ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:50
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
welch Closed ticket [218070ffff]. [History diff]2000-10-26 08:13:45
dgp Ticket [218070ffff]: 4 changes [History diff]2001-04-16 20:48:27
Log in (anonymous is fine) to add a comment.