Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8a2cd647d4e3c4c339aae35770c79dbe7e74336b
Ticket: 955470ffffffffffffffffffffffffffffffffff
TIP 199 alternative
User & Date: dgp on 2004-05-17 21:08:23
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    This small patch to Tcl_Main() allows
    for a startup script to be evaluated,
    followed by an interactive prompt,
    in place of the either/or choice forced
    by the unpatched tclsh.
    
    With the patch applied, after the
    startup script evaluation is completed
    successfully, the variable 
    "tcl_interactive" in the master
    interpreter is examined.  If the variable
    exists, and has the value "1", then
    interactive prompt operations begin
    on stdin and stdout.  Otherwise, 
    control flows on to the check for
    a mainLoop.
    
    I have some reservations whether
    adopting this patch is a good idea,
    but it's a better solution than that
    proposed by TIP 199.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: ""
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: ""
  10. title changed to: "TIP 199 alternative"
  11. type changed to: "Support"