|
2009-07-29
| ||
| 20:00 | • Closed ticket [955470ffff]: TIP 199 alternative plus 2 other changes artifact: a1e8b9413d user: dkf | |
| 19:57 | • Ticket [955470ffff]: 4 changes artifact: e2ac9202ff user: dkf | |
| 19:57 | • Ticket [955470ffff]: 4 changes artifact: 4399e3a6d7 user: dkf | |
| 19:57 | • Ticket [955470ffff]: 4 changes artifact: 356b85ab4b user: dkf | |
| 19:57 | • Ticket [955470ffff]: 4 changes artifact: 4d8341fadb user: dkf | |
| 19:57 | • Ticket [955470ffff]: 4 changes artifact: 8316e18345 user: dkf | |
| 19:57 | • Ticket [955470ffff]: 4 changes artifact: d92df5549b user: dkf | |
|
2009-02-14
| ||
| 12:04 | • Deleted ticket [955470ffff]. artifact: 87e55179a8 user: dgp | |
|
2004-05-18
| ||
| 04:10 | • Ticket [955470ffff]: 4 changes artifact: 37d6ae8c4c user: dgp | |
| 04:10 | • Add attachment test.tcl to ticket [955470ffff] artifact: ba1bd42024 user: dgp | |
| 04:08 | • Add attachment tip199.patch to ticket [955470ffff] artifact: 67d0440ddd user: dgp | |
| 04:08 | • Ticket [955470ffff] TIP 199 alternative status still Open with 4 other chang... artifact: a163a26862 user: dgp | |
|
2004-05-17
| ||
| 21:08 | • New ticket [955470ffff]. artifact: 8a2cd647d4 user: dgp | |
TIP 199 alternative
Closed955470ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 17 years ago
Descriptionplain2004-05-17 21:08:23
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.
dgpplain2004-05-18 04:08:23
File Added - 87445: tip199.patch
dgpplain2004-05-18 04:10:46
File Added - 87446: test.tcl Logged In: YES user_id=80530 Here's a sample script showing how to make use of the patched tclsh. For normal operations: tclsh test.tcl For interactivity following the startup script evaluation: tclsh test.tcl -interactive
dgpplain2009-02-14 12:04:49
allow_comments - 1 data_type - 210894
dkfplain2009-07-29 19:57:33
IP - Comment Removed: 130.88.1.31
dkfplain2009-07-29 19:57:35
IP - Comment Removed: 130.88.1.31
dkfplain2009-07-29 19:57:38
IP - Comment Removed: 130.88.1.31
dkfplain2009-07-29 19:57:41
IP - Comment Removed: 130.88.1.31
dkfplain2009-07-29 19:57:55
IP - Comment Removed: 130.88.1.31
dkfplain2009-07-29 19:57:57
IP - Comment Removed: 130.88.1.31
dkf Closed ticket [955470ffff].
[History diff]2009-07-29 20:00:26
Log in (anonymous is fine) to add a comment.
Attachments:
- test.tcl [download] added by dgp on 2004-05-18 04:10:46. [details]
- tip199.patch [download] added by dgp on 2004-05-18 04:08:23. [details]