summaryrefslogtreecommitdiffstats
path: root/doc/Tcl_Main.3
Commit message (Collapse)AuthorAgeFilesLines
* Spell-check, fixed typos (Updates from Larry Virden).jenglish2002-07-011-2/+2
| | | FossilOrigin-Name: 34cded11b7d729621dd98d2f6dc3fb89428f97e8
* * Documented $tcl_rcFileName and added moredgp2002-06-051-9/+29
| | | | | | clarifications about the intended use of Tcl_Main(). [Bug 505651] FossilOrigin-Name: 576e3a284c629594f6a6f4cd39de7bff0629f01f
* typo correctiondgp2002-01-141-2/+2
| | | FossilOrigin-Name: 04e8adaa990489e54409ccdc19922c437a71d06b
* * doc/Tcl_Main.3:dgp2002-01-051-15/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclMain.c: Substantial rewrite and expanded documentation of Tcl_Main to correct a number of bugs and flaws: * Interactive Tcl_Main can now enter a main loop, exit that loop and continue interactive operations. The loop may even exit in the midst of interactive command typing without loss of the partial command. [Bugs 486453, 474131] * Tcl_Main now gracefully handles deletion of its master interpreter. * Interactive Tcl_Main can now operate with non-blocking stdin * Interactive Tcl_Main can now detect EOF on stdin even in mid-command. [Bug 491341] * Added VFS-aware internal routines for managing the startup script selection. * Tcl variable 'tcl_interactive' is now linked to C variable 'tty' so that one can disable/enable interactive prompts at the script level when there is no startup script. This is meant for use by the test suite. * Consistent use of the Tcl libraries standard channels as returned by Tcl_GetStdChannel(); as opposed to the channels named 'stdin', 'stdout', and 'stderr' in the master interp, which can be different or unavailable. * Tcl_Main now calls Tcl_Exit() if evaluation of [exit] in the master interpreter returns, assuring Tcl_Main does not return. * Documented Tcl_Main's absence from public stub table * Documented that Tcl_Main does not return. * Documented Tcl variables set by Tcl_Main. * All prompts are done from a single procedure, Prompt. * Use of Tcl_Obj-enabled interfaces everywhere. * generic/tclInt.decls (TclGetStartupScriptPath, TclSetStartupScriptPath): New internal VFS-aware routines for managing the startup script of Tcl_Main. * generic/tclIntDecls.h: * generic/tclStubInit.c: make genstubs * generic/tclTest.c (TestsetmainloopCmd,TestexitmainloopCmd, Tcltest_Init,TestinterpdeleteCmd): * tests/main.test (new): Added new file to test suite that thoroughly tests generic/tclMain.c; added some new test commands for testing Tcl_SetMainLoop(). FossilOrigin-Name: f24c18a585bae5d10dd0fcb587ac979f99d00370
* * Several typo and formatting corrections discovereddgp2001-12-101-2/+2
| | | | | | during conversion to TMML. Thanks to Joe English. [Patch 490514] FossilOrigin-Name: c6a543090c1786c744bc8ec7be936816cdffb5ea
* * doc/tclsh.1:andreas_kupries2001-09-101-1/+10
| | | | | | | | | | | | | | * doc/Tcl_Main.3: * doc/CrtChannel.3: * doc/OpenFileChnl.3: * doc/GetStdChan.3: Enhanced the manpages with cross-references to the new manpage and more explanations how these functions deal with the standard channels in various situations. * doc/StdChannels.3: New manpage describing handling of the standard channels by the Tcl library [402725]. FossilOrigin-Name: 70fe9d7da93d32bc4203ebb5ffde75f881dade94
* doc/Tcl_Main.3: added docs for Tcl_SetMainLoophobbs2000-11-031-6/+26
| | | FossilOrigin-Name: 96b3bbccbcff647ad8a94269aa60d2124809286b
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* Initial revisionrjohnson1998-03-261-0/+61
FossilOrigin-Name: cacdd0f329872d67973970d74c6978730bc24baa