Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 061845e8432b67d702950d9ffcddd22dfa20a885
Ticket: 1190441fffffffffffffffffffffffffffffffff
Provide a way to completely disable tclsh history support.
User & Date: dossy on 2005-11-30 07:55:32
Changes

  1. icomment:
    Logged In: YES 
    user_id=21885
    
    That doesn't stop the constant Tcl_Eval'ing of the "history"
    commands, though.  That adds a bunch of noise to the
    debugging process.
    
    I think the answer might be to create a LD_PRELOAD hack that
    hijacks the Tcl_RecordAndEvalObj() function using dlsym()
    hacks, since Tcl_Main() calls it.  My point was, it'd be
    nice if there were a way to tell Tcl_Main() to just call
    Tcl_EvalObjEx() directly -- or, tell Tcl_RecordAndEvalObj()
    to not eval the "history add <foo>".
    
    Thanks.
    
    
  2. login: "dossy"
  3. mimetype: "text/plain"
  4. username: "dossy"