Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch bug-3600058-td Excluding Merge-Ins
This is equivalent to a diff from 212c2767fe to cdb671dd50
|
2014-04-28
| ||
| 18:56 | Merge to fix accidental fork in branch bug-3600058-td Leaf check-in: cdb671dd50 user: twylite tags: bug-3600058-td | |
| 18:41 | Reintroduce tabular format for alphabetical index of commands, but use CSS columns. Put a categoriz... check-in: dae988402a user: twylite tags: bug-3600058-td | |
|
2014-03-13
| ||
| 17:10 | Bug 3600058 work-in-progress: restored table format for contents page (easy for eyes to scan, each t... check-in: ce23a97e6f user: twylite tags: bug-3600058-td | |
|
2013-01-09
| ||
| 09:27 | Proposed fixes for bug #3600058: support escaped single quote; rewrite font handling to handle font ... check-in: 8b229b6c5b user: twylite tags: bug-3600058-td | |
|
2013-01-07
| ||
| 14:40 | Restrict the stub library to only use Tcl_PkgRequireEx, Tcl_ResetResult and Tcl_AppendResult, not an... check-in: 8ceea4a885 user: jan.nijtmans tags: trunk | |
| 13:25 | merge trunk check-in: a51b0d02b1 user: mig tags: mig-strip-brutal | |
| 13:24 | merge trunk check-in: e520340e06 user: mig tags: mig-err | |
| 13:16 | FRQ-3599786: add command line option --pkgdir to tcltk-man2html.tcl to specify the directory under w... check-in: aa69efcca9 user: twylite tags: frq-3599786 | |
| 13:00 | merge-mark. Hoping trunk is OK now, again ;-( check-in: 212c2767fe user: jan.nijtmans tags: trunk | |
| 11:16 | Extend the public stub table with dummy NULL entries, up to the size of the Tcl 8.6 stub tables. Th... check-in: 8f90660f49 user: jan.nijtmans tags: core-8-5-branch | |
|
2013-01-06
| ||
| 20:40 | Don't depend on Spencer-specific regexp syntax (/u and /U) any more in unrelated places . Bump http... check-in: f38c7f79f0 user: jan.nijtmans tags: trunk | |
Changes to doc/Access.3.
| ︙ | |||
63 64 65 66 67 68 69 70 71 | 63 64 65 66 67 68 69 70 71 72 73 | + + | (always 0 on Windows), group id (always 0 on Windows), rdev (same as device on Windows), size, last access time, last modification time, and creation time. .PP If \fIpath\fR exists, \fBTcl_Stat\fR returns 0 and the stat structure is filled with data. Otherwise, -1 is returned, and no stat info is given. .SH KEYWORDS stat, access .SH CATEGORY Operating System Interface .SH "SEE ALSO" Tcl_FSAccess(3), Tcl_FSStat(3) |
Changes to doc/AddErrInfo.3.
| ︙ | |||
306 307 308 309 310 311 312 | 306 307 308 309 310 311 312 313 314 315 | + + + | so they continue to hold a record of information about the most recent error seen in an interpreter. .SH "SEE ALSO" Tcl_DecrRefCount(3), Tcl_IncrRefCount(3), Tcl_Interp(3), Tcl_ResetResult(3), Tcl_SetErrno(3), tclvars(n) .SH KEYWORDS error, value, value result, stack, trace, variable .SH CATEGORY Commands |
Changes to doc/Alloc.3.
| ︙ | |||
86 87 88 89 90 91 92 | 86 87 88 89 90 91 92 93 94 95 | + + + | calling Tcl are compiled with \fBTCL_MEM_DEBUG\fR defined, however, these macros are redefined to be special debugging versions of these procedures. To support Tcl's memory debugging within a module, use the macros rather than direct calls to \fBTcl_Alloc\fR, etc. .SH KEYWORDS alloc, allocation, free, malloc, memory, realloc, TCL_MEM_DEBUG .SH CATEGORY Utilities |
Changes to doc/AllowExc.3.
| ︙ | |||
38 39 40 41 42 43 44 | 38 39 40 41 42 43 44 45 46 47 | + + + | codes are permitted from the script, and they are returned without modification. This is useful in cases where the caller can deal with exceptions such as \fBTCL_BREAK\fR or \fBTCL_CONTINUE\fR in a meaningful way. .SH KEYWORDS continue, break, exception, interpreter .SH CATEGORY Invoking the Interpreter |
Changes to doc/AppInit.3.
| ︙ | |||
77 78 79 80 81 82 83 | 77 78 79 80 81 82 83 84 85 86 | + + + | \fBTcl_AppInit\fR that you can modify for your application. .SH "SEE ALSO" Tcl_Main(3) .SH KEYWORDS application, argument, command, initialization, interpreter .SH CATEGORY Initialization |
Changes to doc/AssocData.3.
| ︙ | |||
81 82 83 84 85 86 87 | 81 82 83 84 85 86 87 88 89 90 | + + + | specified key exists in the given interpreter \fBTcl_GetAssocData\fR returns \fBNULL\fR. .PP \fBTcl_DeleteAssocData\fR deletes an association with a specified key in the given interpreter. Then it calls the deletion procedure. .SH KEYWORDS association, data, deletion procedure, interpreter, key .SH CATEGORY Utilities |
Changes to doc/Async.3.
| ︙ | |||
155 156 157 158 159 160 161 | 155 156 157 158 159 160 161 162 163 164 | + + + | \fBTcl_SaveInterpState\fR, passing in the \fIcode\fR argument. When the asynchronous handler is finished it should restore the interpreter's state by calling \fBTcl_RestoreInterpState\fR, and then returning the \fIcode\fR argument. .SH KEYWORDS asynchronous event, handler, signal, Tcl_SaveInterpState, thread .SH CATEGORY The Event Loop |
Changes to doc/BackgdErr.3.
| ︙ | |||
72 73 74 75 76 77 78 | 72 73 74 75 76 77 78 79 80 81 | + + + | .PP .CS Tcl_BackgroundException(interp, TCL_ERROR); .CE .SH KEYWORDS background, bgerror, error, interp .SH CATEGORY Commands |
Changes to doc/Backslash.3.
| ︙ | |||
41 42 43 44 45 46 47 | 41 42 43 44 45 46 47 48 49 50 | + + + | All of the sequences described in the Tcl manual entry are supported by \fBTcl_Backslash\fR. .SH "SEE ALSO" Tcl(n), Tcl_UtfBackslash(3) .SH KEYWORDS backslash, parse .SH CATEGORY Invoking the Interpreter |
Changes to doc/BoolObj.3.
| ︙ | |||
89 90 91 92 93 94 95 | 89 90 91 92 93 94 95 96 97 98 | + + + | a \fBTCL_ERROR\fR return. .SH "SEE ALSO" Tcl_NewObj, Tcl_IsShared, Tcl_GetBoolean .SH KEYWORDS boolean, value .SH CATEGORY Objects |
Changes to doc/ByteArrObj.3.
| ︙ | |||
85 86 87 88 89 90 91 | 85 86 87 88 89 90 91 92 93 94 | + + + | pointer to the value's new array of bytes. .SH "SEE ALSO" Tcl_GetStringFromObj, Tcl_NewObj, Tcl_IncrRefCount, Tcl_DecrRefCount .SH KEYWORDS value, binary data, byte array, utf, unicode, internationalization .SH CATEGORY Objects |
Changes to doc/CallDel.3.
| ︙ | |||
61 62 63 64 65 66 67 | 61 62 63 64 65 66 67 68 69 70 | + + + | Note that if the callback is being used to delete a resource that \fImust\fR be released on exit, \fBTcl_CreateExitHandler\fR should be used to ensure that a callback is received even if the application terminates without deleting the interpreter. .SH "SEE ALSO" Tcl_CreateExitHandler(3), Tcl_CreateThreadExitHandler(3) .SH KEYWORDS callback, cleanup, delete, interpreter .SH CATEGORY Initialization |
Changes to doc/Cancel.3.
| ︙ | |||
60 61 62 63 64 65 66 | 60 61 62 63 64 65 66 67 68 69 | + + + | result, where it can be retrieved with \fBTcl_GetObjResult\fR or \fBTcl_GetStringResult\fR. If this flag bit is not set then no error message is left and the interpreter's result will not be modified. .SH "SEE ALSO" TIP 285 .SH KEYWORDS cancel, unwind .SH CATEGORY The Event Loop |
Changes to doc/ChnlStack.3.
| ︙ | |||
91 92 93 94 95 96 97 | 91 92 93 94 95 96 97 98 99 100 | + + + | channels which is just below the supplied channel. .SH "SEE ALSO" Notifier(3), Tcl_CreateChannel(3), Tcl_OpenFileChannel(3), vwait(n). .SH KEYWORDS channel, compression .SH CATEGORY Input/Output |
Changes to doc/Class.3.
| ︙ | |||
226 227 228 229 230 231 232 233 234 235 236 | 226 227 228 229 230 231 232 233 234 235 236 237 238 | + + | NULL); this variable may be updated by the callback. The \fImethodNameObj\fR parameter gives an unshared object containing the name of the method being invoked, as provided by the user; this object may be updated by the callback. .SH "SEE ALSO" Method(3), oo::class(n), oo::copy(n), oo::define(n), oo::object(n) .SH KEYWORDS class, constructor, object .SH CATEGORY Object Orientation .\" Local variables: .\" mode: nroff .\" fill-column: 78 .\" End: |
Changes to doc/CmdCmplt.3.
| ︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 | + + + | as argument and determines whether it contains one or more complete commands (i.e. there are no unclosed quotes, braces, brackets, or variable references). If the command string is complete then it returns 1; otherwise it returns 0. .SH KEYWORDS complete command, partial command .SH CATEGORY Invoking the Interpreter |
Changes to doc/Concat.3.
| ︙ | |||
45 46 47 48 49 50 51 | 45 46 47 48 49 50 51 52 53 54 | + + + | The result string is dynamically allocated using \fBTcl_Alloc\fR; the caller must eventually release the space by calling \fBTcl_Free\fR. .SH "SEE ALSO" Tcl_ConcatObj .SH KEYWORDS concatenate, strings .SH CATEGORY Utilities |
Changes to doc/CrtChannel.3.
| ︙ | |||
922 923 924 925 926 927 928 | 922 923 924 925 926 927 928 929 930 931 | + + + | .PP When the above structure is registered as a channel type, the \fIversion\fR field should always be \fBTCL_CHANNEL_VERSION_2\fR. .SH "SEE ALSO" Tcl_Close(3), Tcl_OpenFileChannel(3), Tcl_SetErrno(3), Tcl_QueueEvent(3), Tcl_StackChannel(3), Tcl_GetStdChannel(3) .SH KEYWORDS blocking, channel driver, channel registration, channel type, nonblocking .SH CATEGORY Input/Output |
Changes to doc/CrtChnlHdlr.3.
| ︙ | |||
83 84 85 86 87 88 89 | 83 84 85 86 87 88 89 90 91 92 | + + + | is invoked. For this reason it may be useful to use nonblocking I/O on channels for which there are event handlers. .SH "SEE ALSO" Notifier(3), Tcl_CreateChannel(3), Tcl_OpenFileChannel(3), vwait(n). .SH KEYWORDS blocking, callback, channel, events, handler, nonblocking. .SH CATEGORY Input/Output |
Changes to doc/CrtCloseHdlr.3.
| ︙ | |||
49 50 51 52 53 54 55 | 49 50 51 52 53 54 55 56 57 58 | + + + | remove; \fBTcl_DeleteCloseHandler\fR does nothing if its \fIproc\fR and \fIclientData\fR arguments do not match the \fIproc\fR and \fIclientData\fR for a close handler for \fIchannel\fR. .SH "SEE ALSO" close(n), Tcl_Close(3), Tcl_UnregisterChannel(3) .SH KEYWORDS callback, channel closing .SH CATEGORY Input/Output |
Changes to doc/CrtCommand.3.
| ︙ | |||
137 138 139 140 141 142 143 | 137 138 139 140 141 142 143 144 145 146 | + + + | The \fIclientData\fR argument will be the same as the \fIclientData\fR argument passed to \fBTcl_CreateCommand\fR. .SH "SEE ALSO" Tcl_CreateObjCommand, Tcl_DeleteCommand, Tcl_GetCommandInfo, Tcl_SetCommandInfo, Tcl_GetCommandName, Tcl_SetObjResult .SH KEYWORDS bind, command, create, delete, interpreter, namespace .SH CATEGORY Commands |
Changes to doc/CrtFileHdlr.3.
| ︙ | |||
85 86 87 88 89 90 91 | 85 86 87 88 89 90 91 92 93 94 | + + + | .PP Note that these interfaces are only supported by the Unix implementation of the Tcl notifier. .SH "SEE ALSO" fileevent(n), Tcl_CreateTimerHandler(3), Tcl_DoWhenIdle(3) .SH KEYWORDS callback, file, handler .SH CATEGORY Input/Output |
Changes to doc/CrtInterp.3.
| ︙ | |||
143 144 145 146 147 148 149 | 143 144 145 146 147 148 149 150 151 152 | + + + | should be used to determine when an interpreter is a candidate for deletion due to inactivity. .VE 8.6 .SH "SEE ALSO" Tcl_Preserve(3), Tcl_Release(3), tclvars(n) .SH KEYWORDS command, create, delete, interpreter .SH CATEGORY Initialization |
Changes to doc/CrtMathFnc.3.
| ︙ | |||
156 157 158 159 160 161 162 | 156 157 158 159 160 161 162 163 164 165 | + + + | \fBTcl_ListMathFuncs\fR returns a Tcl value containing a list of all the math functions defined in the interpreter whose name matches \fIpattern\fR. The returned value has a reference count of zero. .SH "SEE ALSO" expr(n), info(n), Tcl_CreateObjCommand(3), Tcl_Free(3), Tcl_NewListObj(3) .SH KEYWORDS expression, mathematical function .SH CATEGORY Commands |
Changes to doc/CrtObjCmd.3.
| ︙ | |||
296 297 298 299 300 301 302 | 296 297 298 299 300 301 302 303 304 305 | + + + | specified by the name in a \fBTcl_Obj\fR. The command name is resolved relative to the current namespace. Returns NULL if the command is not found. .SH "SEE ALSO" Tcl_CreateCommand(3), Tcl_ResetResult(3), Tcl_SetObjResult(3) .SH KEYWORDS bind, command, create, delete, namespace, value .SH CATEGORY Commands |
Changes to doc/CrtSlave.3.
| ︙ | |||
230 231 232 233 234 235 236 | 230 231 232 233 234 235 236 237 238 239 | + + + | \fIinterp(n)\fR. .SH "SEE ALSO" interp .SH KEYWORDS alias, command, exposed commands, hidden commands, interpreter, invoke, master, slave .SH CATEGORY Initialization |
Changes to doc/CrtTimerHdlr.3.
| ︙ | |||
70 71 72 73 74 75 76 | 70 71 72 73 74 75 76 77 78 79 | + + + | The tokens returned by \fBTcl_CreateTimerHandler\fR never have a value of NULL, so if NULL is passed to \fBTcl_DeleteTimerHandler\fR then the procedure does nothing. .SH "SEE ALSO" after(n), Tcl_CreateFileHandler(3), Tcl_DoWhenIdle(3) .SH KEYWORDS callback, clock, handler, timer .SH CATEGORY The Event Loop |
Changes to doc/CrtTrace.3.
| ︙ | |||
185 186 187 188 189 190 191 | 185 186 187 188 189 190 191 192 193 194 | + + + | \fBTcl_CreateTrace\fR is deleted. There is no way to be notified when the trace created by \fBTcl_CreateTrace\fR is deleted. There is no way for the \fIproc\fR associated with a call to \fBTcl_CreateTrace\fR to abort execution of \fIcommand\fR. .SH KEYWORDS command, create, delete, interpreter, trace .SH CATEGORY Variables |
Changes to doc/DString.3.
| ︙ | |||
147 148 149 150 151 152 153 | 147 148 149 150 151 152 153 154 155 156 | + + + | It sets the value of \fIdsPtr\fR to the result of \fIinterp\fR and it clears \fIinterp\fR's result. If possible it does this by moving a pointer rather than by copying the string. .SH KEYWORDS append, dynamic string, free, result .SH CATEGORY Utilities |
Changes to doc/DetachPids.3.
| ︙ | |||
69 70 71 72 73 74 75 | 69 70 71 72 73 74 75 76 77 78 | + + + | the operating system to wait on the end of a spawned process and to check a whether spawned process is still running. It is used by \fBTcl_ReapDetachedProcs\fR and the channel system to portably access the operating system. .SH KEYWORDS background, child, detach, process, wait .SH CATEGORY Operating System Interface |
Changes to doc/DictObj.3.
| ︙ | |||
228 229 230 231 232 233 234 | 228 229 230 231 232 233 234 235 236 237 | + + + | Tcl_SetObjResult(interp, Tcl_NewBooleanObj(!done)); return TCL_OK; .CE .SH "SEE ALSO" Tcl_NewObj, Tcl_DecrRefCount, Tcl_IncrRefCount, Tcl_InitObjHashTable .SH KEYWORDS dict, dict value, dictionary, dictionary value, hash table, iteration, value .SH CATEGORY Objects |
Changes to doc/DoOneEvent.3.
| ︙ | |||
100 101 102 103 104 105 106 | 100 101 102 103 104 105 106 107 108 109 | + + + | as when a notification dialog has been popped up and an application wishes to wait for the user to click a button in the dialog before doing anything else. .SH KEYWORDS callback, event, handler, idle, timer .SH CATEGORY The Event Loop |
Changes to doc/DoWhenIdle.3.
| ︙ | |||
81 82 83 84 85 86 87 | 81 82 83 84 85 86 87 88 89 90 | + + + | that attempt to wait for all idle callbacks to complete. If you would like for an idle callback to reschedule itself continuously, it is better to use a timer handler with a zero timeout period. .SH "SEE ALSO" after(n), Tcl_CreateFileHandler(3), Tcl_CreateTimerHandler(3) .SH KEYWORDS callback, defer, idle callback .SH CATEGORY The Event Loop |
Changes to doc/DoubleObj.3.
| ︙ | |||
58 59 60 61 62 63 64 | 58 59 60 61 62 63 64 65 66 67 | + + + | The \fBTcl_ObjType\fR of \fIobjPtr\fR may be changed to make subsequent calls to \fBTcl_GetDoubleFromObj\fR more efficient. '\" TODO: add discussion of treatment of NaN value .SH "SEE ALSO" Tcl_NewObj, Tcl_DecrRefCount, Tcl_IncrRefCount, Tcl_GetObjResult .SH KEYWORDS double, double value, double type, internal representation, value, value type, string representation .SH CATEGORY Objects |
Changes to doc/DumpActiveMemory.3.
| ︙ | |||
62 63 64 65 66 67 68 | 62 63 64 65 66 67 68 69 70 71 | + + + | .SH "SEE ALSO" TCL_MEM_DEBUG, memory .SH KEYWORDS memory, debug .SH CATEGORY Utilities |
Changes to doc/Encoding.3.
| ︙ | |||
586 587 588 589 590 591 592 | 586 587 588 589 590 591 592 593 594 595 | + + + | When \fBTcl_GetEncoding\fR encounters an encoding \fIname\fR that has not been loaded, it attempts to load an encoding file called \fIname\fB.enc\fR from the \fBencoding\fR subdirectory of each directory that Tcl searches for its script library. If the encoding file exists, but is malformed, an error message will be left in \fIinterp\fR. .SH KEYWORDS utf, encoding, convert .SH CATEGORY Utilities |
Changes to doc/Ensemble.3.
| ︙ | |||
213 214 215 216 217 218 219 | 213 214 215 216 217 218 219 220 221 222 | + + + | dictionary and the subcommand list properties are NULL. May be read using \fBTcl_GetEnsembleNamespace\fR which returns a Tcl result code (\fBTCL_OK\fR, or \fBTCL_ERROR\fR if the token does not refer to an ensemble). .SH "SEE ALSO" namespace(n), Tcl_DeleteCommandFromToken(3) .SH KEYWORDS command, ensemble .SH CATEGORY Commands |
Changes to doc/Environment.3.
| ︙ | |||
32 33 34 35 36 37 38 | 32 33 34 35 36 37 38 39 40 41 | + + + | Tcl-based applications using \fBputenv\fR should redefine it to \fBTcl_PutEnv\fR so that they will interface properly to the Tcl runtime. .SH "SEE ALSO" tclvars(n) .SH KEYWORDS environment, variable .SH CATEGORY Operating System Interface |
Changes to doc/Eval.3.
| ︙ | |||
205 206 207 208 209 210 211 | 205 206 207 208 209 210 211 212 213 214 | + + + | the \fBreturn\fR, \fBbreak\fR, or \fBcontinue\fR command was invoked in an inappropriate place. This means that top-level applications should never see a return code from \fBTcl_EvalObjEx\fR other then \fBTCL_OK\fR or \fBTCL_ERROR\fR. .SH KEYWORDS execute, file, global, result, script, value .SH CATEGORY Invoking the Interpreter |
Changes to doc/Exit.3.
| ︙ | |||
134 135 136 137 138 139 140 | 134 135 136 137 138 139 140 141 142 143 | + + + | appropriate time. The argument passed to \fIproc\fR when it is invoked will be the exit status code (as passed to \fBTcl_Exit\fR) cast to a ClientData value. .SH "SEE ALSO" exit(n) .SH KEYWORDS abort, callback, cleanup, dynamic loading, end application, exit, unloading, thread .SH CATEGORY Initialization |
Changes to doc/ExprLong.3.
| ︙ | |||
100 101 102 103 104 105 106 | 100 101 102 103 104 105 106 107 108 109 | + + + | string stored in the interpreter's result. .SH "SEE ALSO" Tcl_ExprLongObj, Tcl_ExprDoubleObj, Tcl_ExprBooleanObj, Tcl_ExprObj .SH KEYWORDS boolean, double, evaluate, expression, integer, value, string .SH CATEGORY Invoking the Interpreter |
Changes to doc/ExprLongObj.3.
| ︙ | |||
100 101 102 103 104 105 106 | 100 101 102 103 104 105 106 107 108 109 | + + + | when it is finished with the value. .SH "SEE ALSO" Tcl_ExprLong, Tcl_ExprDouble, Tcl_ExprBoolean, Tcl_ExprString, Tcl_GetObjResult .SH KEYWORDS boolean, double, evaluate, expression, integer, value, string .SH CATEGORY Invoking the Interpreter |
Changes to doc/FileSystem.3.
| ︙ | |||
1638 1639 1640 1641 1642 1643 1644 | 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 | + + + | The \fBTcl_FSChdirProc\fR changes the applications current working directory to the value specified in \fIpathPtr\fR. The function returns -1 on error or 0 on success. .SH "SEE ALSO" cd(n), file(n), filename(n), load(n), open(n), pwd(n), source(n), unload(n) .SH KEYWORDS stat, access, filesystem, vfs, virtual filesystem .SH CATEGORY Operating System Interface |
Changes to doc/FindExec.3.
| ︙ | |||
57 58 59 60 61 62 63 | 57 58 59 60 61 62 63 64 65 66 | + + + | \fBTcl_FindExecutable\fR. This procedure call is the C API equivalent to the \fBinfo nameofexecutable\fR command. NULL is returned if the internal full path name has not been computed or unknown. .SH KEYWORDS binary, executable file .SH CATEGORY Initialization |
Changes to doc/GetCwd.3.
| ︙ | |||
46 47 48 49 50 51 52 | 46 47 48 49 50 51 52 53 54 55 | + + + | .PP \fBTcl_Chdir\fR changes the applications current working directory to the value specified in \fIpath\fR. The format of the passed in string must be UTF\-8. The function returns -1 on error or 0 on success. .SH KEYWORDS pwd .SH CATEGORY Operating System Interface |
Changes to doc/GetHostName.3.
| ︙ | |||
21 22 23 24 25 26 27 | 21 22 23 24 25 26 27 28 29 30 | + + + | Tcl commands. It returns a pointer to a string containing the name for the current machine, or an empty string if the name cannot be determined. The string is statically allocated, and the caller must not modify of free it. .PP .SH KEYWORDS hostname .SH CATEGORY Operating System Interface |
Changes to doc/GetIndex.3.
| ︙ | |||
98 99 100 101 102 103 104 | 98 99 100 101 102 103 104 105 106 107 | + + + | This is particularly useful when processing things like \fBTk_ConfigurationSpec\fR, whose string keys are in the same place in each of several array elements. .SH "SEE ALSO" prefix(n), Tcl_WrongNumArgs(3) .SH KEYWORDS index, option, value, table lookup .SH CATEGORY Utilities |
Changes to doc/GetInt.3.
| ︙ | |||
80 81 82 83 84 85 86 | 80 81 82 83 84 85 86 87 88 89 | + + + | If \fIsrc\fR is any of \fB1\fR, \fBtrue\fR, \fByes\fR, or \fBon\fR, then 1 is stored at \fI*boolPtr\fR. Any of these values may be abbreviated, and upper-case spellings are also acceptable. .SH KEYWORDS boolean, conversion, double, floating-point, integer .SH CATEGORY Utilities |
Changes to doc/GetOpnFl.3.
| ︙ | |||
52 53 54 55 56 57 58 | 52 53 54 55 56 57 58 59 60 61 | + + + | In the current implementation \fIcheckUsage\fR is ignored and consistency checks are always performed. .PP Note that this interface is only supported on the Unix platform. .SH KEYWORDS channel, file handle, permissions, pipeline, read, write .SH CATEGORY Input/Output |
Changes to doc/GetStdChan.3.
| ︙ | |||
80 81 82 83 84 85 86 | 80 81 82 83 84 85 86 87 88 89 | + + + | channels and the behavior of the Tcl library with regard to them. .SH "SEE ALSO" Tcl_Close(3), Tcl_CreateChannel(3), Tcl_Main(3), tclsh(1) .SH KEYWORDS standard channel, standard input, standard output, standard error .SH CATEGORY Input/Output |
Changes to doc/GetTime.3.
| ︙ | |||
103 104 105 106 107 108 109 | 103 104 105 106 107 108 109 110 111 112 | + + + | backwards as the user can fiddle with the system time one way or other. Note that the insertion of the hooks will not change the behavior of the Tcl core with regard to this situation, i.e. the existing behavior is retained. .SH "SEE ALSO" clock(n) .SH KEYWORDS date, time .SH CATEGORY Operating System Interface |
Changes to doc/GetVersion.3.
| ︙ | |||
42 43 44 45 46 47 48 | 42 43 44 45 46 47 48 49 50 51 | + + + | \fBTcl_GetVersion\fR accepts NULL for any of the arguments. For instance if you do not care about the \fIpatchLevel\fR of the library, pass a NULL for the \fIpatchLevel\fR argument. .SH KEYWORDS version, patchlevel, major, minor, alpha, beta, release .SH CATEGORY Initialization |
Changes to doc/Hash.3.
| ︙ | |||
328 329 330 331 332 333 334 | 328 329 330 331 332 333 334 335 336 337 | + + + | .CE .PP If this is NULL then \fBTcl_Free\fR is used to free the space for the entry. Tcl_Obj* keys use this function to decrement the reference count on the value. .SH KEYWORDS hash table, key, lookup, search, value .SH CATEGORY Utilities |
Changes to doc/Init.3.
| ︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 | + + + | \fBTcl_Init\fR is typically called from \fBTcl_AppInit\fR procedures. .SH "SEE ALSO" Tcl_AppInit, Tcl_Main .SH KEYWORDS application, initialization, interpreter .SH CATEGORY Initialization |
Changes to doc/InitStubs.3.
| ︙ | |||
83 84 85 86 87 88 89 | 83 84 85 86 87 88 89 90 91 92 | + + + | \fBTcl_InitStubs\fR returns a string containing the actual version of Tcl satisfying the request, or NULL if the Tcl version is not acceptable, does not support stubs, or any other error condition occurred. .SH "SEE ALSO" Tk_InitStubs .SH KEYWORDS stubs .SH CATEGORY Initialization |
Changes to doc/IntObj.3.
| ︙ | |||
146 147 148 149 150 151 152 | 146 147 148 149 150 151 152 153 154 155 | + + + | that extracts the integer part of \fIdoubleValue\fR and stores that integer value in the \fBmp_int\fR value \fIbigValue\fR. .SH "SEE ALSO" Tcl_NewObj, Tcl_DecrRefCount, Tcl_IncrRefCount, Tcl_GetObjResult .SH KEYWORDS integer, integer value, integer type, internal representation, value, value type, string representation .SH CATEGORY Objects |
Changes to doc/Interp.3.
| ︙ | |||
128 129 130 131 132 133 134 | 128 129 130 131 132 133 134 135 136 137 | + + + | The \fIerrorLine\fR field is typically used in conjunction with \fBTcl_AddErrorInfo\fR to report information about where an error occurred. \fIErrorLine\fR should not normally be modified except by \fBTcl_Eval\fR. .SH KEYWORDS free, initialized, interpreter, malloc, result .SH CATEGORY Initialization |
Changes to doc/Limit.3.
| ︙ | |||
186 187 188 189 190 191 192 | 186 187 188 189 190 191 192 193 194 195 | + + + | handler removed will be the first one found (out of the handlers added with \fBTcl_LimitAddHandler\fR) with exactly matching \fItype\fR, \fIhandlerProc\fR and \fIclientData\fR arguments. This function always invokes the \fIdeleteProc\fR on the \fIclientData\fR (unless the \fIdeleteProc\fR was NULL or \fBTCL_STATIC\fR). .SH KEYWORDS interpreter, resource, limit, commands, time, callback .SH CATEGORY Invoking the Interpreter |
Changes to doc/LinkVar.3.
| ︙ | |||
201 202 203 204 205 206 207 | 201 202 203 204 205 206 207 208 209 210 | + + + | variable in a separate thread, it is advised that \fBTcl_AsyncMark\fR be used to indicate to the thread hosting the interpreter that it is ready to run \fBTcl_UpdateLinkedVar\fR. .SH "SEE ALSO" Tcl_TraceVar(3) .SH KEYWORDS boolean, integer, link, read-only, real, string, trace, variable .SH CATEGORY Variables |
Changes to doc/ListObj.3.
| ︙ | |||
245 246 247 248 249 250 251 | 245 246 247 248 249 250 251 252 253 254 | + + + |
0, NULL);
.CE
.SH "SEE ALSO"
Tcl_NewObj(3), Tcl_DecrRefCount(3), Tcl_IncrRefCount(3), Tcl_GetObjResult(3)
.SH KEYWORDS
append, index, insert, internal representation, length, list, list value,
list type, value, value type, replace, string representation
.SH CATEGORY
Objects
|
Changes to doc/Load.3.
| ︙ | |||
60 61 62 63 64 65 66 67 68 69 70 | 60 61 62 63 64 65 66 67 68 69 70 71 72 | + + | the symbol cannot be found, it returns NULL and sets an error message in the given \fIinterp\fR (if that is non-NULL). Note that it is unsafe to use this operation on a handle that has been passed to \fBTcl_FSUnloadFile\fR. .SH "SEE ALSO" Tcl_FSLoadFile(3), Tcl_FSUnloadFile(3), load(n), unload(n) .SH KEYWORDS binary code, loading, shared library .SH CATEGORY Operating System Interface '\" Local Variables: '\" mode: nroff '\" fill-column: 78 '\" End: |
Changes to doc/Method.3.
| ︙ | |||
238 239 240 241 242 243 244 245 246 247 248 | 238 239 240 241 242 243 244 245 246 247 248 249 250 | + + | method being copied from, and the \fInewClientDataPtr\fR field will point to a variable in which to write the value for the method being copied to. .SH "SEE ALSO" Class(3), oo::class(n), oo::define(n), oo::object(n) .SH KEYWORDS constructor, method, object .SH CATEGORY Object Orientation .\" Local variables: .\" mode: nroff .\" fill-column: 78 .\" End: |
Changes to doc/NRE.3.
| ︙ | |||
320 321 322 323 324 325 326 327 328 | 320 321 322 323 324 325 326 327 328 329 330 | + + |
\fITheCmdObjProc\fR, \fITheCmdNRObjProc\fR, clientData,
TheCmdDeleteProc);
.CE
.SH "SEE ALSO"
Tcl_CreateCommand(3), Tcl_CreateObjCommand(3), Tcl_EvalObjEx(3), Tcl_GetCommandFromObj(3), Tcl_ExprObj(3)
.SH KEYWORDS
stackless, nonrecursive, execute, command, global, value, result, script
.SH CATEGORY
Invoking the Interpreter
.SH COPYRIGHT
Copyright (c) 2008 by Kevin B. Kenny
|
Changes to doc/Namespace.3.
| ︙ | |||
159 160 161 162 163 164 165 | 159 160 161 162 163 164 165 166 167 168 | + + + | \fBTcl_SetNamespaceUnknownHandler\fR sets the unknown command handler for the namespace. If \fIhandlerPtr\fR is NULL, then the handler is reset to its default. .SH "SEE ALSO" Tcl_CreateCommand(3), Tcl_ListObjAppendList(3), Tcl_SetVar(3) .SH KEYWORDS namespace, command .SH CATEGORY Variables |
Changes to doc/Notifier.3.
| ︙ | |||
629 630 631 632 633 634 635 | 629 630 631 632 633 634 635 636 637 638 | + + + | \fBTcl_GetServiceMode\fR returns the current value of the service mode. .SH "SEE ALSO" Tcl_CreateFileHandler(3), Tcl_DeleteFileHandler(3), Tcl_Sleep(3), Tcl_DoOneEvent(3), Thread(3) .SH KEYWORDS event, notifier, event queue, event sources, file events, timer, idle, service mode, threads .SH CATEGORY The Event Loop |
Changes to doc/Object.3.
| ︙ | |||
346 347 348 349 350 351 352 | 346 347 348 349 350 351 352 353 354 355 | + + + | If it is shared, it needs to duplicate the value in order to avoid accidentally changing values in other data structures. .SH "SEE ALSO" Tcl_ConvertToType(3), Tcl_GetIntFromObj(3), Tcl_ListObjAppendElement(3), Tcl_ListObjIndex(3), Tcl_ListObjReplace(3), Tcl_RegisterObjType(3) .SH KEYWORDS internal representation, value, value creation, value type, reference counting, string representation, type conversion .SH CATEGORY Objects |
Changes to doc/ObjectType.3.
| ︙ | |||
250 251 252 253 254 255 256 | 250 251 252 253 254 255 256 257 258 259 | + + + | uses of that field during value deletion. The defined tasks for the \fIfreeIntRepProc\fR have no need to consult the \fIbytes\fR member. .SH "SEE ALSO" Tcl_NewObj(3), Tcl_DecrRefCount(3), Tcl_IncrRefCount(3) .SH KEYWORDS internal representation, value, value type, string representation, type conversion .SH CATEGORY Objects |
Changes to doc/OpenFileChnl.3.
| ︙ | |||
642 643 644 645 646 647 648 | 642 643 644 645 646 647 648 649 650 651 | + + + | channel types may return a different type of handle on Windows platforms. .SH "SEE ALSO" DString(3), fconfigure(n), filename(n), fopen(3), Tcl_CreateChannel(3) .SH KEYWORDS access point, blocking, buffered I/O, channel, channel driver, end of file, flush, input, nonblocking, output, read, seek, write .SH CATEGORY Input/Output |
Changes to doc/OpenTcp.3.
| ︙ | |||
163 164 165 166 167 168 169 | 163 164 165 166 167 168 169 170 171 172 | + + + | On Unix platforms, the socket handle is a Unix file descriptor as returned by the \fBsocket\fR system call. On the Windows platform, the socket handle is a \fBSOCKET\fR as defined in the WinSock API. .SH "SEE ALSO" Tcl_OpenFileChannel(3), Tcl_RegisterChannel(3), vwait(n) .SH KEYWORDS channel, client, server, socket, TCP .SH CATEGORY Input/Output |
Changes to doc/Panic.3.
| ︙ | |||
83 84 85 86 87 88 89 | 83 84 85 86 87 88 89 90 91 92 | + + + | .PP \fBTcl_PanicVA\fR is the same as \fBTcl_Panic\fR except that instead of taking a variable number of arguments it takes an argument list. .SH "SEE ALSO" abort(3), printf(3), exec(n), format(n) .SH KEYWORDS abort, fatal, error .SH CATEGORY Commands |
Changes to doc/ParseArgs.3.
| ︙ | |||
189 190 191 192 193 194 195 196 197 198 | 189 190 191 192 193 194 195 196 197 198 199 200 | + + | to the lifetime of the string representation of the argument value that it came from, and so should be copied if it needs to be retained. The \fIsrcPtr\fR and \fIclientData\fR fields are ignored. .SH "SEE ALSO" Tcl_GetIndexFromObj(3), Tcl_Main(3), Tcl_CreateObjCommand(3) .SH KEYWORDS argument, parse .SH CATEGORY Utilities '\" Local Variables: '\" fill-column: 78 '\" End: |
Changes to doc/ParseCmd.3.
| ︙ | |||
461 462 463 464 465 466 467 | 461 462 463 464 465 466 467 468 469 470 | + + + | There are additional fields in the Tcl_Parse structure after the \fInumTokens\fR field, but these are for the private use of \fBTcl_ParseCommand\fR, \fBTcl_ParseExpr\fR, \fBTcl_ParseBraces\fR, \fBTcl_ParseQuotedString\fR, and \fBTcl_ParseVarName\fR; they should not be referenced by code outside of these procedures. .SH KEYWORDS backslash substitution, braces, command, expression, parse, token, variable substitution .SH CATEGORY Invoking the Interpreter |
Changes to doc/PkgRequire.3.
| ︙ | |||
89 90 91 92 93 94 95 96 97 | 89 90 91 92 93 94 95 96 97 98 99 | + + | functions. .PP \fBTcl_PkgRequireProc\fR is the form of \fBpackage require\fR handling multiple requirements. The other forms are present for backward compatibility and translate their invocations to this form. .SH KEYWORDS package, present, provide, require, version .SH CATEGORY Initialization .SH "SEE ALSO" package(n), Tcl_StaticPackage(3) |
Changes to doc/Preserve.3.
| ︙ | |||
104 105 106 107 108 109 110 | 104 105 106 107 108 109 110 111 112 113 | + + + | The implementation does not depend in any way on the internal structure of the objects being freed; it keeps the reference counts in a separate structure. .SH "SEE ALSO" Tcl_Interp, Tcl_Alloc .SH KEYWORDS free, reference count, storage .SH CATEGORY Utilities |
Changes to doc/PrintDbl.3.
| ︙ | |||
45 46 47 48 49 50 51 | 45 46 47 48 49 50 51 52 53 54 | + + + | precisely that many digits of significance. If the value is zero (the default), the result will have the fewest digits needed to represent the number in such a way that \fBTcl_NewDoubleObj\fR will generate the same number when presented with the given string. IEEE semantics of rounding to even apply to the conversion. .SH KEYWORDS conversion, double-precision, floating-point, string .SH CATEGORY Utilities |
Changes to doc/RecEvalObj.3.
| ︙ | |||
47 48 49 50 51 52 53 | 47 48 49 50 51 52 53 54 55 56 | + + + | the command is recorded without being evaluated. .SH "SEE ALSO" Tcl_EvalObjEx, Tcl_GetObjResult .SH KEYWORDS command, event, execute, history, interpreter, value, record .SH CATEGORY Invoking the Interpreter |
Changes to doc/RecordEval.3.
| ︙ | |||
49 50 51 52 53 54 55 | 49 50 51 52 53 54 55 56 57 58 | + + + | a command held in a Tcl value instead of a string. .SH "SEE ALSO" Tcl_RecordAndEvalObj .SH KEYWORDS command, event, execute, history, interpreter, record .SH CATEGORY Invoking the Interpreter |
Changes to doc/RegConfig.3.
| ︙ | |||
105 106 107 108 109 110 111 | 105 106 107 108 109 110 111 112 113 114 | + + + |
const char *\fIvalue\fR;
} \fBTcl_Config\fR;
.CE
.\" No cross references yet.
.\" .SH "SEE ALSO"
.SH KEYWORDS
embedding, configuration, binary library
.SH CATEGORY
Initialization
|
Changes to doc/RegExp.3.
| ︙ | |||
377 378 379 380 381 382 383 | 377 378 379 380 381 382 383 384 385 386 | + + + | match might occur if additional text is appended to the string. If it is no match is possible even with further text, this field will be set to \-1. .SH "SEE ALSO" re_syntax(n) .SH KEYWORDS match, pattern, regular expression, string, subexpression, Tcl_RegExpIndices, Tcl_RegExpInfo .SH CATEGORY Utilities |
Changes to doc/SaveResult.3.
| ︙ | |||
114 115 116 117 118 119 120 | 114 115 116 117 118 119 120 121 122 123 | + + + | .PP Once \fBTcl_SaveResult\fR is called to save the interpreter result, either \fBTcl_RestoreResult\fR or \fBTcl_DiscardResult\fR must be called to properly clean up the memory associated with the saved state. .SH KEYWORDS result, state, interp .SH CATEGORY Commands |
Changes to doc/SetChanErr.3.
| ︙ | |||
134 135 136 137 138 139 140 | 134 135 136 137 138 139 140 141 142 143 | + + + | .ta 1.9i 4i \fBTcl_Close\fR \fBTcl_UnstackChannel\fR \fBTcl_UnregisterChannel\fR .DE .SH "SEE ALSO" Tcl_Close(3), Tcl_OpenFileChannel(3), Tcl_SetErrno(3) .SH KEYWORDS channel driver, error messages, channel type .SH CATEGORY Input/Output |
Changes to doc/SetErrno.3.
| ︙ | |||
60 61 62 63 64 65 66 | 60 61 62 63 64 65 66 67 68 69 | + + + | \fIerrorCode\fR argument. The \fIerrorCode\fR argument is typically the value returned by \fBTcl_GetErrno\fR. The strings returned by these functions are statically allocated and the caller must not free or modify them. .SH KEYWORDS errno, error code, global variables .SH CATEGORY Commands |
Changes to doc/SetRecLmt.3.
| ︙ | |||
47 48 49 50 51 52 53 | 47 48 49 50 51 52 53 54 55 56 | + + + | limit on the size of the C stack, you may get stack overflows before reaching the limit set by \fBTcl_SetRecursionLimit\fR. If this happens, see if there is a mechanism in your system for increasing the maximum size of the C stack. .SH KEYWORDS nesting depth, recursion .SH CATEGORY Invoking the Interpreter |
Changes to doc/SetResult.3.
| ︙ | |||
249 250 251 252 253 254 255 | 249 250 251 252 253 254 255 256 257 258 | + + + | .PP When \fIfreeProc\fR is called, its \fIblockPtr\fR will be set to the value of \fIresult\fR passed to \fBTcl_SetResult\fR. .SH "SEE ALSO" Tcl_AddErrorInfo, Tcl_CreateObjCommand, Tcl_SetErrorCode, Tcl_Interp .SH KEYWORDS append, command, element, list, value, result, return value, interpreter .SH CATEGORY Commands |
Changes to doc/SetVar.3.
| ︙ | |||
243 244 245 246 247 248 249 | 243 244 245 246 247 248 249 250 251 252 | + + + | array is removed. .SH "SEE ALSO" Tcl_GetObjResult, Tcl_GetStringResult, Tcl_TraceVar .SH KEYWORDS array, get variable, interpreter, scalar, set, unset, value, variable .SH CATEGORY Variables |
Changes to doc/Signal.3.
| ︙ | |||
35 36 37 38 39 40 41 | 35 36 37 38 39 40 41 42 43 44 | + + + | \fBTcl_SignalMsg\fR returns a human-readable string such as .QW "bus error" . The strings returned by these functions are statically allocated and the caller must not free or modify them. .SH KEYWORDS signals, signal numbers .SH CATEGORY Operating System Interface |
Changes to doc/Sleep.3.
| ︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 | + + + | like flashing a button, where the delay is short and the application need not do anything while it waits. For longer delays where the application needs to respond to other events during the delay, the procedure \fBTcl_CreateTimerHandler\fR should be used instead of \fBTcl_Sleep\fR. .SH KEYWORDS sleep, time, wait .SH CATEGORY The Event Loop |
Changes to doc/SourceRCFile.3.
| ︙ | |||
26 27 28 29 30 31 32 | 26 27 28 29 30 31 32 33 34 35 | + + + | sourced is obtained from the global variable \fBtcl_rcFileName\fR in the interpreter given by \fIinterp\fR. If this variable is not defined, or if the file it indicates cannot be found, no action is taken. .SH KEYWORDS application-specific initialization, main program, rc file .SH CATEGORY Initialization |
Changes to doc/SplitList.3.
| ︙ | |||
182 183 184 185 186 187 188 | 182 183 184 185 186 187 188 189 190 191 | + + + | the same as \fBTcl_ScanElement\fR and \fBTcl_ConvertElement\fR, except the length of string \fIsrc\fR is specified by the \fIlength\fR argument, and the string may contain embedded nulls. .SH "SEE ALSO" Tcl_ListObjGetElements(3) .SH KEYWORDS backslash, convert, element, list, merge, split, strings .SH CATEGORY Utilities |
Changes to doc/SplitPath.3.
| ︙ | |||
91 92 93 94 95 96 97 | 91 92 93 94 95 96 97 98 99 100 | + + + | where \fBTcl_PathType\fR is one of \fBTCL_PATH_ABSOLUTE\fR, \fBTCL_PATH_RELATIVE\fR, or \fBTCL_PATH_VOLUME_RELATIVE\fR. See the \fBfilename\fR manual entry for a description of the path types for each platform. .SH KEYWORDS file, filename, join, path, split, type .SH CATEGORY Utilities |
Changes to doc/StaticPkg.3.
| ︙ | |||
62 63 64 65 66 67 68 69 70 | 62 63 64 65 66 67 68 69 70 71 72 | + + | \fBTCL_ERROR\fR to indicate whether or not it completed successfully; in the event of an error it should set the interpreter's result to point to an error message. The result or error from the initialization procedure will be returned as the result of the \fBload\fR command that caused the initialization procedure to be invoked. .SH KEYWORDS initialization procedure, package, static linking .SH CATEGORY Initialization .SH "SEE ALSO" load(n), package(n), Tcl_PkgRequire(3) |
Changes to doc/StdChannels.3.
| ︙ | |||
114 115 116 117 118 119 120 | 114 115 116 117 118 119 120 121 122 123 | + + + | initialize the standard channels (See \fBTk_InitConsoleChannels\fR) on non-Unix platforms. On Unix platforms, \fBTk_MainEx\fR implicitly uses method 2 to initialize the standard channels. .SH "SEE ALSO" Tcl_CreateChannel(3), Tcl_RegisterChannel(3), Tcl_GetChannel(3), Tcl_GetStdChannel(3), Tcl_SetStdChannel(3), Tk_InitConsoleChannels(3), tclsh(1), wish(1), Tcl_Main(3), Tk_MainEx(3) .SH KEYWORDS standard channels .SH CATEGORY Input/Output |
Changes to doc/StrMatch.3.
| ︙ | |||
43 44 45 46 47 48 49 | 43 44 45 46 47 48 49 50 51 52 | + + + | In \fBTcl_StringCaseMatch\fR, the algorithm is the same, but you have the option to make the matching case-insensitive. If you choose this (by passing \fBTCL_MATCH_NOCASE\fR), then the string and pattern are essentially matched in the lower case. .SH KEYWORDS match, pattern, string .SH CATEGORY Utilities |
Changes to doc/StringObj.3.
| ︙ | |||
378 379 380 381 382 383 384 | 378 379 380 381 382 383 384 385 386 387 | + + + | cleaner-looking. \fBTcl_ConcatObj\fR returns a pointer to a newly-created value whose ref count is zero. .SH "SEE ALSO" Tcl_NewObj(3), Tcl_IncrRefCount(3), Tcl_DecrRefCount(3), format(n), sprintf(3) .SH KEYWORDS append, internal representation, value, value type, string value, string type, string representation, concat, concatenate, unicode .SH CATEGORY Objects |
Changes to doc/SubstObj.3.
| ︙ | |||
62 63 64 65 66 67 68 | 62 63 64 65 66 67 68 69 70 71 | + + + | the point immediately before the start of the command substitution, and no characters will be added to the result or substitutions performed after that point. .SH "SEE ALSO" subst(n) .SH KEYWORDS backslash substitution, command substitution, variable substitution .SH CATEGORY Invoking the Interpreter |
Changes to doc/TCL_MEM_DEBUG.3.
| ︙ | |||
74 75 76 77 78 79 80 | 74 75 76 77 78 79 80 81 82 83 | + + + | *\fR and an \fIint\fR which are normally the filename and line number of the caller, but they can actually be anything you want. Remember to remove the calls after you find the problem. .SH "SEE ALSO" ckalloc, memory, Tcl_ValidateAllMemory, Tcl_DumpActiveMemory .SH KEYWORDS memory, debug .SH CATEGORY Utilities |
Changes to doc/Tcl.n.
| ︙ | |||
260 261 262 263 264 265 266 267 268 269 270 | 260 261 262 263 264 265 266 267 268 269 270 271 272 | + + | Substitutions do not affect the word boundaries of a command, except for argument expansion as specified in rule [5]. For example, during variable substitution the entire value of the variable becomes part of a single word, even if the variable's value contains spaces. .SH KEYWORDS backslash, command, comment, script, substitution, variable .SH CATEGORY General '\" Local Variables: '\" mode: nroff '\" fill-column: 78 '\" End: |
Changes to doc/TclZlib.3.
| ︙ | |||
266 267 268 269 270 271 272 273 274 275 276 | 266 267 268 269 270 271 272 273 274 275 276 277 278 | + + | These functions will fail gracefully if Tcl is not linked with the zlib library. .SH "SEE ALSO" Tcl_NewByteArrayObj(3), zlib(n) '\"Tcl_StackChannel(3) .SH "KEYWORDS" compress, decompress, deflate, gzip, inflate .SH CATEGORY Input/Output '\" Local Variables: '\" mode: nroff '\" fill-column: 78 '\" End: |
Changes to doc/Tcl_Main.3.
| ︙ | |||
190 191 192 193 194 195 196 | 190 191 192 193 194 195 196 197 198 199 | + + + | procedure (if any) returns, \fBTcl_Main\fR will also evaluate the \fBexit\fR command. .SH "SEE ALSO" tclsh(1), Tcl_GetStdChannel(3), Tcl_StandardChannels(3), Tcl_AppInit(3), exit(n), encoding(n) .SH KEYWORDS application-specific initialization, command-line arguments, main program .SH CATEGORY Initialization |
Changes to doc/Thread.3.
| ︙ | |||
235 236 237 238 239 240 241 | 235 236 237 238 239 240 241 242 243 244 | + + + | .CE .SH "SEE ALSO" Tcl_GetCurrentThread(3), Tcl_ThreadQueueEvent(3), Tcl_ThreadAlert(3), Tcl_ExitThread(3), Tcl_FinalizeThread(3), Tcl_CreateThreadExitHandler(3), Tcl_DeleteThreadExitHandler(3), Thread .SH KEYWORDS thread, mutex, condition variable, thread local storage .SH CATEGORY The Event Loop |
Changes to doc/ToUpper.3.
| ︙ | |||
82 83 84 85 86 87 88 | 82 83 84 85 86 87 88 89 90 91 | + + + | .PP At this time, the case conversions are only defined for the ISO8859-1 characters. Unicode characters above 0x00ff are not modified by these routines. .SH KEYWORDS utf, unicode, toupper, tolower, totitle, case .SH CATEGORY Utilities |
Changes to doc/TraceCmd.3.
| ︙ | |||
157 158 159 160 161 162 163 | 157 158 159 160 161 162 163 164 165 166 | + + + | .SH BUGS .PP Tcl does not do any error checking to prevent trace procedures from misusing the interpreter during traces with \fBTCL_INTERP_DESTROYED\fR set. .SH KEYWORDS clientData, trace, command .SH CATEGORY Variables |
Changes to doc/TraceVar.3.
| ︙ | |||
374 375 376 377 378 379 380 | 374 375 376 377 378 379 380 381 382 383 | + + + | .PP Array traces are not yet integrated with the Tcl \fBinfo exists\fR command, nor is there Tcl-level access to array traces. .SH "SEE ALSO" trace(n) .SH KEYWORDS clientData, trace, variable .SH CATEGORY Variables |
Changes to doc/Translate.3.
| ︙ | |||
65 66 67 68 69 70 71 | 65 66 67 68 69 70 71 72 73 74 | + + + | .PP The caller is responsible for making sure that the interpreter's result has its default empty value when \fBTcl_TranslateFileName\fR is invoked. .SH "SEE ALSO" filename(n) .SH KEYWORDS file name, home directory, tilde, translate, user .SH CATEGORY Operating System Interface |
Changes to doc/UniCharIsAlpha.3.
| ︙ | |||
85 86 87 88 89 90 91 | 85 86 87 88 89 90 91 92 93 94 | + + + | \fBTcl_UniCharIsUpper\fR tests if the character is an uppercase Unicode character. .PP \fBTcl_UniCharIsWordChar\fR tests if the character is alphanumeric or a connector punctuation mark. .SH KEYWORDS unicode, classification .SH CATEGORY Utilities |
Changes to doc/UpVar.3.
| ︙ | |||
68 69 70 71 72 73 74 | 68 69 70 71 72 73 74 75 76 77 | + + + | As with the \fBupvar\fR command, the source variable need not exist; if it does exist, unsetting it later does not destroy the link. The destination variable may exist at the time of the call, but if so it must exist as a linked variable. .SH KEYWORDS linked variable, upvar, variable .SH CATEGORY Variables |
Changes to doc/Utf.3.
| ︙ | |||
253 254 255 256 257 258 259 | 253 254 255 256 257 258 259 260 261 262 | + + + | .PP See the \fBTcl\fR manual entry for information on the valid backslash sequences. All of the sequences described in the Tcl manual entry are supported by \fBTcl_UtfBackslash\fR. .SH KEYWORDS utf, unicode, backslash .SH CATEGORY Utilities |
Changes to doc/WrongNumArgs.3.
| ︙ | |||
73 74 75 76 77 78 79 | 73 74 75 76 77 78 79 80 81 82 | + + + | .CS wrong # args: should be "foo barfly fileName count" .CE .SH "SEE ALSO" Tcl_GetIndexFromObj(3) .SH KEYWORDS command, error message, wrong number of arguments .SH CATEGORY Utilities |
Changes to doc/after.n.
| ︙ | |||
142 143 144 145 146 147 148 149 150 151 | 142 143 144 145 146 147 148 149 150 151 152 153 | + + | } doOneStep .CE .SH "SEE ALSO" concat(n), interp(n), update(n), vwait(n) .SH KEYWORDS cancel, delay, idle callback, sleep, time .SH CATEGORY Tcl Control Constructs '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/append.n.
| ︙ | |||
40 41 42 43 44 45 46 47 48 49 | 40 41 42 43 44 45 46 47 48 49 50 51 52 | + + + | puts $var # Prints 0,1,2,3,4,5,6,7,8,9,10 .CE .SH "SEE ALSO" concat(n), lappend(n) .SH KEYWORDS append, variable .SH CATEGORY Tcl String Handling '\" Local Variables: '\" mode: nroff '\" End: '\" End: |
Changes to doc/apply.n.
| ︙ | |||
93 94 95 96 97 98 99 100 101 102 | 93 94 95 96 97 98 99 100 101 102 103 104 | + + | set vbl 123 set vbl abc .CE .SH "SEE ALSO" proc(n), uplevel(n) .SH KEYWORDS anonymous function, argument, lambda, procedure, .SH CATEGORY Tcl Control Constructs '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/array.n.
| ︙ | |||
181 182 183 184 185 186 187 | 181 182 183 184 185 186 187 188 189 190 | + + + |
number of buckets with 10 or more entries: 0
average search distance for entry: 1.2
.CE
.SH "SEE ALSO"
list(n), string(n), variable(n), trace(n), foreach(n)
.SH KEYWORDS
array, element names, search
.SH CATEGORY
Tcl Variables and Procedures
|
Changes to doc/bgerror.n.
| ︙ | |||
84 85 86 87 88 89 90 | 84 85 86 87 88 89 90 91 92 93 | + + + |
close $fl
}
.CE
.SH "SEE ALSO"
after(n), interp(n), tclvars(n)
.SH KEYWORDS
background error, reporting
.SH CATEGORY
Tcl Interpreter Routines
|
Changes to doc/binary.n.
| ︙ | |||
883 884 885 886 887 888 889 890 891 892 | 883 884 885 886 887 888 889 890 891 892 893 894 | + + | close $f puts [\fBbinary encode\fR base64 \-maxlen 64 $data] .CE .SH "SEE ALSO" format(n), scan(n), tclvars(n) .SH KEYWORDS binary, format, scan .SH CATEGORY Tcl String Handling '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/break.n.
| ︙ | |||
38 39 40 41 42 43 44 45 46 47 | 38 39 40 41 42 43 44 45 46 47 48 49 | + + |
puts "x is $x"
}
.CE
.SH "SEE ALSO"
catch(n), continue(n), for(n), foreach(n), return(n), while(n)
.SH KEYWORDS
abort, break, loop
.SH CATEGORY
Tcl Control Constructs
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/case.n.
| ︙ | |||
54 55 56 57 58 59 60 | 54 55 56 57 58 59 60 61 62 63 | + + + | cases. .SH "SEE ALSO" switch(n) .SH KEYWORDS case, match, regular expression .SH CATEGORY Tcl Control Constructs |
Changes to doc/catch.n.
| ︙ | |||
114 115 116 117 118 119 120 121 122 123 124 | 114 115 116 117 118 119 120 121 122 123 124 125 126 | + + | .PP There are more complex examples of \fBcatch\fR usage in the documentation for the \fBreturn\fR command. .SH "SEE ALSO" break(n), continue(n), dict(n), error(n), info(n), return(n), tclvars(n) .SH KEYWORDS catch, error, exception .SH CATEGORY Tcl Control Constructs '\" Local Variables: '\" mode: nroff '\" fill-column: 78 '\" End: |
Changes to doc/cd.n.
| ︙ | |||
37 38 39 40 41 42 43 | 37 38 39 40 41 42 43 44 45 46 | + + + | .CS \fBcd\fR ../lib .CE .SH "SEE ALSO" filename(n), glob(n), pwd(n) .SH KEYWORDS working directory .SH CATEGORY Tcl System Related |
Changes to doc/chan.n.
| ︙ | |||
827 828 829 830 831 832 833 834 835 836 | 827 828 829 830 831 832 833 834 835 836 837 838 | + + | .CE .SH "SEE ALSO" close(n), eof(n), fblocked(n), fconfigure(n), fcopy(n), file(n), fileevent(n), flush(n), gets(n), open(n), puts(n), read(n), seek(n), socket(n), tell(n), refchan(n), transchan(n) .SH KEYWORDS channel, input, output, events, offset .SH CATEGORY Tcl Input/Output '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/class.n.
| ︙ | |||
126 127 128 129 130 131 132 133 134 135 136 | 126 127 128 129 130 131 132 133 134 135 136 137 138 | + + | fruit destroy $b eat \fI\(-> error "unknown command"\fR .CE .SH "SEE ALSO" oo::define(n), oo::object(n) .SH KEYWORDS class, metaclass, object .SH CATEGORY Tcl Object Orientation .\" Local variables: .\" mode: nroff .\" fill-column: 78 .\" End: |
Changes to doc/clock.n.
| ︙ | |||
926 927 928 929 930 931 932 933 934 935 936 937 | 926 927 928 929 930 931 932 933 934 935 936 937 938 939 | + + | the day is produced after allowing for daylight savings time differences and the correct date is given when going from the end of a long month to a short month. .SH "SEE ALSO" msgcat(n) .SH KEYWORDS clock, date, time .SH CATEGORY Tcl System Related .SH "COPYRIGHT" Copyright (c) 2004 Kevin B. Kenny <kennykb@acm.org>. All rights reserved. '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/close.n.
| ︙ | |||
98 99 100 101 102 103 104 105 106 107 108 | 98 99 100 101 102 103 104 105 106 107 108 109 110 | + + |
return -options $options $result
}
.CE
.SH "SEE ALSO"
file(n), open(n), socket(n), eof(n), Tcl_StandardChannels(3)
.SH KEYWORDS
blocking, channel, close, nonblocking, half-close
.SH CATEGORY
Tcl Input/Output
'\" Local Variables:
'\" mode: nroff
'\" fill-column: 78
'\" End:
|
Changes to doc/concat.n.
| ︙ | |||
49 50 51 52 53 54 55 56 57 58 | 49 50 51 52 53 54 55 56 57 58 59 60 | + + | .PP (i.e., there are three spaces between each of the \fBa\fR, the \fBb\fR and the \fBc\fR). .SH "SEE ALSO" append(n), eval(n), join(n) .SH KEYWORDS concatenate, join, list .SH CATEGORY Tcl List Handling '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/continue.n.
| ︙ | |||
38 39 40 41 42 43 44 45 46 47 | 38 39 40 41 42 43 44 45 46 47 48 49 | + + |
puts "x is $x"
}
.CE
.SH "SEE ALSO"
break(n), for(n), foreach(n), return(n), while(n)
.SH KEYWORDS
continue, iteration, loop
.SH CATEGORY
Tcl Control Constructs
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/copy.n.
| ︙ | |||
56 57 58 59 60 61 62 63 64 65 66 | 56 57 58 59 60 61 62 63 64 65 66 67 68 | + + | src msg \fI\(-> prints "bar"\fR dst msg \fI\(-> prints "foo"\fR .CE .SH "SEE ALSO" oo::class(n), oo::define(n), oo::object(n) .SH KEYWORDS clone, copy, duplication, object .SH CATEGORY Tcl Object Orientation .\" Local variables: .\" mode: nroff .\" fill-column: 78 .\" End: |
Changes to doc/coroutine.n.
| ︙ | |||
195 196 197 198 199 200 201 202 203 204 205 | 195 196 197 198 199 200 201 202 203 204 205 206 207 | + + | making from 2 made inner 1 context=:: name=::demo::coroEg .CE .SH "SEE ALSO" apply(n), info(n), proc(n), return(n) .SH KEYWORDS coroutine, generator .SH CATEGORY Tcl Control Constructs '\" Local Variables: '\" mode: nroff '\" fill-column: 78 '\" End: |
Changes to doc/dde.n.
| ︙ | |||
180 181 182 183 184 185 186 187 188 189 | 180 181 182 183 184 185 186 187 188 189 190 191 | + + | package require dde \fBdde execute\fR -async iexplore WWW_OpenURL http://www.tcl.tk/ .CE .SH "SEE ALSO" tk(n), winfo(n), send(n) .SH KEYWORDS application, dde, name, remote execution .SH CATEGORY Tcl Platform-specific '\"Local Variables: '\"mode: nroff '\"End: |
Changes to doc/define.n.
| ︙ | |||
394 395 396 397 398 399 400 401 402 403 404 | 394 395 396 397 398 399 400 401 402 403 404 405 406 | + + | inst m1 \fI\(-> prints "red brick"\fR inst m2 \fI\(-> prints "blue brick"\fR .CE .SH "SEE ALSO" next(n), oo::class(n), oo::object(n) .SH KEYWORDS class, definition, method, object, slot .SH CATEGORY Tcl Object Orientation .\" Local variables: .\" mode: nroff .\" fill-column: 78 .\" End: |
Changes to doc/dict.n.
| ︙ | |||
432 433 434 435 436 437 438 439 440 441 | 432 433 434 435 436 437 438 439 440 441 442 443 | + + |
puts $foo
# prints: \fIa b foo {a b} bar 2 baz 3\fR
.CE
.SH "SEE ALSO"
append(n), array(n), foreach(n), mapeach(n), incr(n), list(n), lappend(n), set(n)
.SH KEYWORDS
dictionary, create, update, lookup, iterate, filter, map
.SH CATEGORY
Tcl List Handling
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/encoding.n.
| ︙ | |||
89 90 91 92 93 94 95 | 89 90 91 92 93 94 95 96 97 98 | + + + | would return the Unicode string .QW "\eu306F" , which is the Hiragana letter HA. .SH "SEE ALSO" Tcl_GetEncoding(3) .SH KEYWORDS encoding, unicode .SH CATEGORY Tcl Library Procedures |
Changes to doc/eof.n.
| ︙ | |||
55 56 57 58 59 60 61 | 55 56 57 58 59 60 61 62 63 64 | + + + |
puts "Read record: $record"
}
.CE
.SH "SEE ALSO"
file(n), open(n), close(n), fblocked(n), Tcl_StandardChannels(3)
.SH KEYWORDS
channel, end of file
.SH CATEGORY
Tcl Input/Output
|
Changes to doc/error.n.
| ︙ | |||
69 70 71 72 73 74 75 76 77 78 | 69 70 71 72 73 74 75 76 77 78 79 80 | + + |
\fBerror\fR "something is very wrong with addition"
}
.CE
.SH "SEE ALSO"
catch(n), return(n)
.SH KEYWORDS
error, exception
.SH CATEGORY
Tcl Control Constructs
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/eval.n.
| ︙ | |||
74 75 76 77 78 79 80 81 82 83 | 74 75 76 77 78 79 80 81 82 83 84 85 | + + |
.CS
set var [linsert $var 0 {*}$args]
.CE
.SH "SEE ALSO"
catch(n), concat(n), error(n), interp(n), list(n), namespace(n), subst(n), tclvars(n), uplevel(n)
.SH KEYWORDS
concatenate, evaluate, script
.SH CATEGORY
Tcl Control Constructs
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/exec.n.
| ︙ | |||
507 508 509 510 511 512 513 514 515 516 | 507 508 509 510 511 512 513 514 515 516 517 518 | + + | file mkdir $secureDir \fBexec\fR CIPHER /e /s:[file nativename $secureDir] .CE .SH "SEE ALSO" error(n), file(n), open(n) .SH KEYWORDS execute, pipeline, redirection, subprocess .SH CATEGORY Tcl System Related '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/exit.n.
| ︙ | |||
45 46 47 48 49 50 51 | 45 46 47 48 49 50 51 52 53 54 | + + + |
\fBexit\fR 2
}
.CE
.SH "SEE ALSO"
exec(n)
.SH KEYWORDS
abort, exit, process
.SH CATEGORY
Tcl System Related
|
Changes to doc/expr.n.
| ︙ | |||
460 461 462 463 464 465 466 467 468 469 470 471 472 473 | 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 | + + |
set randNum [\fBexpr\fR { int(100 * rand()) }]
.CE
.SH "SEE ALSO"
array(n), for(n), if(n), mathfunc(n), mathop(n), namespace(n), proc(n),
string(n), Tcl(n), while(n)
.SH KEYWORDS
arithmetic, boolean, compare, expression, fuzzy comparison
.SH CATEGORY
General
.SH COPYRIGHT
.nf
Copyright (c) 1993 The Regents of the University of California.
Copyright (c) 1994-2000 Sun Microsystems Incorporated.
Copyright (c) 2005 by Kevin B. Kenny <kennykb@acm.org>. All rights reserved.
.fi
'\" Local Variables:
|
| ︙ |
Changes to doc/fblocked.n.
| ︙ | |||
61 62 63 64 65 66 67 | 61 62 63 64 65 66 67 68 69 70 | + + + | socket -server connect 12345 vwait forever .CE .SH "SEE ALSO" gets(n), open(n), read(n), socket(n), Tcl_StandardChannels(3) .SH KEYWORDS blocking, nonblocking .SH CATEGORY Tcl Input/Output |
Changes to doc/fconfigure.n.
| ︙ | |||
280 281 282 283 284 285 286 287 288 289 | 280 281 282 283 284 285 286 287 288 289 290 291 | + + | .SH "SEE ALSO" close(n), flush(n), gets(n), open(n), puts(n), read(n), socket(n), Tcl_StandardChannels(3) .SH KEYWORDS blocking, buffering, carriage return, end of line, flushing, linemode, newline, nonblocking, platform, translation, encoding, filter, byte array, binary .SH CATEGORY Tcl Input/Output '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/fcopy.n.
| ︙ | |||
149 150 151 152 153 154 155 | 149 150 151 152 153 154 155 156 157 158 | + + + |
-command [list CopyMore $in $out $chunk]
vwait done
.CE
.SH "SEE ALSO"
eof(n), fblocked(n), fconfigure(n), file(n)
.SH KEYWORDS
blocking, channel, end of line, end of file, nonblocking, read, translation
.SH CATEGORY
Tcl Input/Output
|
Changes to doc/file.n.
| ︙ | |||
533 534 535 536 537 538 539 540 541 542 543 | 533 534 535 536 537 538 539 540 541 542 543 544 545 | + + | .CE .SH "SEE ALSO" filename(n), open(n), close(n), eof(n), gets(n), tell(n), seek(n), fblocked(n), flush(n) .SH KEYWORDS attributes, copy files, delete files, directory, file, move files, name, rename files, stat, user .SH CATEGORY Tcl Input/Output '\" Local Variables: '\" mode: nroff '\" fill-column: 78 '\" End: |
Changes to doc/fileevent.n.
| ︙ | |||
147 148 149 150 151 152 153 | 147 148 149 150 151 152 153 154 155 156 | + + + | \fBfileevent\fR is based on the \fBaddinput\fR command created by Mark Diekhans. .SH "SEE ALSO" fconfigure(n), gets(n), interp(n), puts(n), read(n), Tcl_StandardChannels(3) .SH KEYWORDS asynchronous I/O, blocking, channel, event handler, nonblocking, readable, script, writable. .SH CATEGORY Tcl Input/Output |
Changes to doc/filename.n.
| ︙ | |||
172 173 174 175 176 177 178 | 172 173 174 175 176 177 178 179 180 181 | + + + | .QW .....abc is illegal. .SH "SEE ALSO" file(n), glob(n) .SH KEYWORDS current directory, absolute file name, relative file name, volume-relative file name, portability .SH CATEGORY General |
Changes to doc/flush.n.
| ︙ | |||
39 40 41 42 43 44 45 | 39 40 41 42 43 44 45 46 47 48 | + + + | gets stdin name puts "Hello there, $name!" .CE .SH "SEE ALSO" file(n), open(n), socket(n), Tcl_StandardChannels(3) .SH KEYWORDS blocking, buffer, channel, flush, nonblocking, output .SH CATEGORY Tcl Input/Output |
Changes to doc/for.n.
| ︙ | |||
78 79 80 81 82 83 84 85 86 87 | 78 79 80 81 82 83 84 85 86 87 88 89 | + + |
puts "x is $x"
}
.CE
.SH "SEE ALSO"
break(n), continue(n), foreach(n), while(n)
.SH KEYWORDS
boolean, for, iteration, loop
.SH CATEGORY
Tcl Control Constructs
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/foreach.n.
| ︙ | |||
98 99 100 101 102 103 104 | 98 99 100 101 102 103 104 105 106 107 | + + + | .CE .SH "SEE ALSO" for(n), while(n), break(n), continue(n) .SH KEYWORDS foreach, iteration, list, loop .SH CATEGORY Tcl Control Constructs |
Changes to doc/format.n.
| ︙ | |||
276 277 278 279 280 281 282 283 284 285 | 276 277 278 279 280 281 282 283 284 285 286 287 | + + | # Finish off by printing the separator again puts $sep .CE .SH "SEE ALSO" scan(n), sprintf(3), string(n) .SH KEYWORDS conversion specifier, format, sprintf, string, substitution .SH CATEGORY Tcl String Handling '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/gets.n.
| ︙ | |||
61 62 63 64 65 66 67 68 69 70 71 | 61 62 63 64 65 66 67 68 69 70 71 72 73 | + + | .CE .SH "SEE ALSO" file(n), eof(n), fblocked(n), Tcl_StandardChannels(3) .SH KEYWORDS blocking, channel, end of file, end of line, line, non-blocking, read .SH CATEGORY Tcl Input/Output '\" Local Variables: '\" mode: nroff '\" fill-column: 78 '\" End: |
Changes to doc/glob.n.
| ︙ | |||
264 265 266 267 268 269 270 271 272 273 | 264 265 266 267 268 269 270 271 272 273 274 275 | + + |
.CS
\fBglob\fR \-type f *{a,b,cde}*
.CE
.SH "SEE ALSO"
file(n)
.SH KEYWORDS
exist, file, glob, pattern
.SH CATEGORY
Tcl System Related
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/global.n.
| ︙ | |||
52 53 54 55 56 57 58 | 52 53 54 55 56 57 58 59 60 61 | + + + |
append accumulator $string \en
}
.CE
.SH "SEE ALSO"
namespace(n), upvar(n), variable(n)
.SH KEYWORDS
global, namespace, procedure, variable
.SH CATEGORY
Tcl Variables and Procedures
|
Changes to doc/history.n.
| ︙ | |||
96 97 98 99 100 101 102 | 96 97 98 99 100 101 102 103 104 105 | + + + | is modified to eliminate the history command and replace it with the result of the history command. If you want to redo an event without modifying history, then use the \fBevent\fR operation to retrieve some event, and the \fBadd\fR operation to add it to history and execute it. .SH KEYWORDS event, history, record .SH CATEGORY Tcl Interpreter Routines |
Changes to doc/http.n.
| ︙ | |||
637 638 639 640 641 642 643 644 645 646 | 637 638 639 640 641 642 643 644 645 646 647 648 | + + |
flush stderr
}
.CE
.SH "SEE ALSO"
safe(n), socket(n), safesock(n)
.SH KEYWORDS
internet, security policy, socket, www
.SH CATEGORY
Tcl Library Procedures
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/if.n.
| ︙ | |||
79 80 81 82 83 84 85 86 87 88 | 79 80 81 82 83 84 85 86 87 88 89 90 | + + |
puts "vbl is one, two or three"
}
.CE
.SH "SEE ALSO"
expr(n), for(n), foreach(n)
.SH KEYWORDS
boolean, conditional, else, false, if, true
.SH CATEGORY
Tcl Control Constructs
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/incr.n.
| ︙ | |||
55 56 57 58 59 60 61 | 55 56 57 58 59 60 61 62 63 64 | + + + | .CS \fBincr\fR x 0 .CE .SH "SEE ALSO" expr(n), set(n) .SH KEYWORDS add, increment, variable, value .SH CATEGORY Tcl Variables and Procedures |
Changes to doc/info.n.
| ︙ | |||
767 768 769 770 771 772 773 774 775 776 777 | 767 768 769 770 771 772 773 774 775 776 777 778 779 | + + | .VE 8.6 .SH KEYWORDS command, information, interpreter, introspection, level, namespace, .VS 8.6 object, .VE 8.6 procedure, variable .SH CATEGORY Tcl Interpreter Routines '\" Local Variables: '\" mode: nroff '\" fill-column: 78 '\" End: |
Changes to doc/interp.n.
| ︙ | |||
901 902 903 904 905 906 907 908 909 910 | 901 902 903 904 905 906 907 908 909 910 911 912 | + + |
}
}
.CE
.SH "SEE ALSO"
bgerror(n), load(n), safe(n), Tcl_CreateSlave(3), Tcl_Eval(3), Tcl_BackgroundException(3)
.SH KEYWORDS
alias, master interpreter, safe interpreter, slave interpreter
.SH CATEGORY
Tcl Interpreter Routines
'\"Local Variables:
'\"mode: nroff
'\"End:
|
Changes to doc/join.n.
| ︙ | |||
38 39 40 41 42 43 44 | 38 39 40 41 42 43 44 45 46 47 | + + + |
\fBjoin\fR $data
\fB\(-> 1 2 3 4 5 {6 7} 8\fR
.CE
.SH "SEE ALSO"
list(n), lappend(n), split(n)
.SH KEYWORDS
element, join, list, separator
.SH CATEGORY
Tcl List Handling
|
Changes to doc/lappend.n.
| ︙ | |||
43 44 45 46 47 48 49 | 43 44 45 46 47 48 49 50 51 52 | + + + | 1 2 3 4 5 .CE .SH "SEE ALSO" list(n), lindex(n), linsert(n), llength(n), lset(n), lsort(n), lrange(n) .SH KEYWORDS append, element, list, variable .SH CATEGORY Tcl List Handling Procedures |
Changes to doc/lassign.n.
| ︙ | |||
51 52 53 54 55 56 57 58 59 60 | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | + + + + | .CS set ::argv [\fBlassign\fR $::argv argumentToReadOff] .CE .SH "SEE ALSO" lindex(n), list(n), lrange(n), lset(n), set(n) .SH KEYWORDS assign, element, list, multiple, set, variable .SH CATEGORY Tcl List Handling '\"Local Variables: '\"mode: nroff '\"End: ff '\"End: |
Changes to doc/library.n.
| ︙ | |||
305 306 307 308 309 310 311 312 313 314 | 305 306 307 308 309 310 311 312 313 314 315 316 | + + | considered to be a word character. On Windows platforms, words are comprised of any character that is not a space, tab, or newline. Under Unix, words are comprised of numbers, letters or underscores. .SH "SEE ALSO" info(n), re_syntax(n), tclvars(n) .SH KEYWORDS auto-exec, auto-load, library, unknown, word, whitespace .SH CATEGORY Tcl Packages and Source files '\"Local Variables: '\"mode: nroff '\"End: |
Changes to doc/lindex.n.
| ︙ | |||
116 117 118 119 120 121 122 123 124 125 | 116 117 118 119 120 121 122 123 124 125 126 127 | + + | .CE .SH "SEE ALSO" list(n), lappend(n), linsert(n), llength(n), lsearch(n), lset(n), lsort(n), lrange(n), lreplace(n), string(n) .SH KEYWORDS element, index, list .SH CATEGORY Tcl List Handling '\"Local Variables: '\"mode: nroff '\"End: |
Changes to doc/linsert.n.
| ︙ | |||
46 47 48 49 50 51 52 53 54 55 | 46 47 48 49 50 51 52 53 54 55 56 57 | + + | .CE .SH "SEE ALSO" list(n), lappend(n), lindex(n), llength(n), lsearch(n), lset(n), lsort(n), lrange(n), lreplace(n), string(n) .SH KEYWORDS element, insert, list .SH CATEGORY Tcl List Handling '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/list.n.
| ︙ | |||
47 48 49 50 51 52 53 54 55 56 | 47 48 49 50 51 52 53 54 55 56 57 58 | + + | .CE .SH "SEE ALSO" lappend(n), lindex(n), linsert(n), llength(n), lrange(n), lrepeat(n), lreplace(n), lsearch(n), lset(n), lsort(n) .SH KEYWORDS element, list, quoting .SH CATEGORY Tcl List Handling '\"Local Variables: '\"mode: nroff '\"End: |
Changes to doc/llength.n.
| ︙ | |||
49 50 51 52 53 54 55 | 49 50 51 52 53 54 55 56 57 58 | + + + | 1,0 .CE .SH "SEE ALSO" list(n), lappend(n), lindex(n), linsert(n), lsearch(n), lset(n), lsort(n), lrange(n), lreplace(n) .SH KEYWORDS element, list, length .SH CATEGORY Tcl List Handling |
Changes to doc/lmap.n.
| ︙ | |||
76 77 78 79 80 81 82 83 84 85 | 76 77 78 79 80 81 82 83 84 85 86 87 | + + | }}] # The value of prefix is "8 7 6 5 4" .CE .SH "SEE ALSO" break(n), continue(n), for(n), foreach(n), while(n) .SH KEYWORDS foreach, iteration, list, loop, map .SH CATEGORY Tcl List Handling '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/load.n.
| ︙ | |||
187 188 189 190 191 192 193 194 195 196 | 187 188 189 190 191 192 193 194 195 196 197 198 | + + | # Now execute the command defined by the extension foo .CE .SH "SEE ALSO" info sharedlibextension, package(n), Tcl_StaticPackage(3), safe(n) .SH KEYWORDS binary code, dynamic library, load, safe interpreter, shared library .SH CATEGORY Tcl Packages and Source files '\"Local Variables: '\"mode: nroff '\"End: |
Changes to doc/lrange.n.
| ︙ | |||
72 73 74 75 76 77 78 | 72 73 74 75 76 77 78 79 80 81 | + + + | .CE .SH "SEE ALSO" list(n), lappend(n), lindex(n), linsert(n), llength(n), lsearch(n), lset(n), lreplace(n), lsort(n), string(n) .SH KEYWORDS element, list, range, sublist .SH CATEGORY Tcl List Handling |
Changes to doc/lrepeat.n.
| ︙ | |||
32 33 34 35 36 37 38 | 32 33 34 35 36 37 38 39 40 41 | + + + |
\fI\(-> {a a} b c {a a} b c {a a} b c\fR
.CE
.SH "SEE ALSO"
list(n), lappend(n), linsert(n), llength(n), lset(n)
.SH KEYWORDS
element, index, list
.SH CATEGORY
Tcl List Handling
|
Changes to doc/lreplace.n.
| ︙ | |||
80 81 82 83 84 85 86 | 80 81 82 83 84 85 86 87 88 89 | + + + | .CE .SH "SEE ALSO" list(n), lappend(n), lindex(n), linsert(n), llength(n), lsearch(n), lset(n), lrange(n), lsort(n), string(n) .SH KEYWORDS element, list, replace .SH CATEGORY Tcl List Handling |
Changes to doc/lreverse.n.
| ︙ | |||
25 26 27 28 29 30 31 32 33 34 | 25 26 27 28 29 30 31 32 33 34 35 36 | + + |
\fI\(-> f e {c d} b a\fR
.CE
.SH "SEE ALSO"
list(n), lsearch(n), lsort(n)
.SH KEYWORDS
element, list, reverse
.SH CATEGORY
Tcl List Handling
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/lsearch.n.
| ︙ | |||
211 212 213 214 215 216 217 218 219 220 | 211 212 213 214 215 216 217 218 219 220 221 222 | + + | .SH "SEE ALSO" foreach(n), list(n), lappend(n), lindex(n), linsert(n), llength(n), lset(n), lsort(n), lrange(n), lreplace(n), string(n) .SH KEYWORDS binary search, linear search, list, match, pattern, regular expression, search, string .SH CATEGORY Tcl List Handling '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/lset.n.
| ︙ | |||
137 138 139 140 141 142 143 144 145 146 | 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | + + + + | .CE .SH "SEE ALSO" list(n), lappend(n), lindex(n), linsert(n), llength(n), lsearch(n), lsort(n), lrange(n), lreplace(n), string(n) .SH KEYWORDS element, index, list, replace, set .SH CATEGORY Tcl List Handling '\"Local Variables: '\"mode: nroff '\"End: ff '\"End: |
Changes to doc/lsort.n.
| ︙ | |||
265 266 267 268 269 270 271 272 273 274 | 265 266 267 268 269 270 271 272 273 274 275 276 | + + |
{1 dingo} {2 banana} {0x2 carrot} {3 apple}
.CE
.SH "SEE ALSO"
list(n), lappend(n), lindex(n), linsert(n), llength(n), lsearch(n),
lset(n), lrange(n), lreplace(n)
.SH KEYWORDS
element, list, order, sort
.SH CATEGORY
Tcl List Handling
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/mathfunc.n.
| ︙ | |||
289 290 291 292 293 294 295 296 297 298 299 300 301 302 | 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 | + + | \fBwide \fIarg\fR . The argument may be any numeric value. The integer part of \fIarg\fR is determined, and then the low order 64 bits of that integer value are returned as an integer value. .SH "SEE ALSO" expr(n), mathop(n), namespace(n) .SH "CATEGORY" General .SH "COPYRIGHT" .nf Copyright (c) 1993 The Regents of the University of California. Copyright (c) 1994-2000 Sun Microsystems Incorporated. Copyright (c) 2005, 2006 by Kevin B. Kenny <kennykb@acm.org>. .fi '\" Local Variables: |
| ︙ |
Changes to doc/mathop.n.
| ︙ | |||
301 302 303 304 305 306 307 308 309 310 | 301 302 303 304 305 306 307 308 309 310 311 312 | + + |
\fI# Test to see if a list is sorted\fR
set sorted [\fB<=\fR {*}$list]
.CE
.SH "SEE ALSO"
expr(n), mathfunc(n), namespace(n)
.SH KEYWORDS
command, expression, operator
.SH CATEGORY
General
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/memory.n.
| ︙ | |||
106 107 108 109 110 111 112 113 114 115 | 106 107 108 109 110 111 112 113 114 115 116 117 | + + | \fBckfree\fR after the overwrite occurred, rather than when the specific memory with the overwritten guard zone(s) is freed, which may occur long after the overwrite occurred. .SH "SEE ALSO" ckalloc, ckfree, Tcl_ValidateAllMemory, Tcl_DumpActiveMemory, TCL_MEM_DEBUG .SH KEYWORDS memory, debug .SH CATEGORY Tcl Interpreter Routines '\"Local Variables: '\"mode: nroff '\"End: |
Changes to doc/msgcat.n.
| ︙ | |||
375 376 377 378 379 380 381 382 383 384 | 375 376 377 378 379 380 381 382 383 384 385 386 | + + | .SH CREDITS .PP The message catalog code was developed by Mark Harrison. .SH "SEE ALSO" format(n), scan(n), namespace(n), package(n) .SH KEYWORDS internationalization, i18n, localization, l10n, message, text, translation .SH CATEGORY Tcl Library Procedures .\" Local Variables: .\" mode: nroff .\" End: |
Changes to doc/my.n.
| ︙ | |||
46 47 48 49 50 51 52 53 54 55 56 | 46 47 48 49 50 51 52 53 54 55 56 57 58 | + + | o count \fI\(-> prints "3"\fR .CE .SH "SEE ALSO" next(n), oo::object(n), self(n) .SH KEYWORDS method, method visibility, object, private method, public method .SH CATEGORY Tcl Object Orientation .\" Local variables: .\" mode: nroff .\" fill-column: 78 .\" End: |
Changes to doc/namespace.n.
| ︙ | |||
960 961 962 963 964 965 966 967 968 969 | 960 961 962 963 964 965 966 967 968 969 970 971 | + + | puts [do 1 plus [do 9 minus 7]] .CE .VE 8.6 .SH "SEE ALSO" interp(n), upvar(n), variable(n) .SH KEYWORDS command, ensemble, exported, internal, variable .SH CATEGORY Tcl Variables and Procedures '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/next.n.
| ︙ | |||
193 194 195 196 197 198 199 200 201 202 203 | 193 194 195 196 197 198 199 200 201 202 203 204 205 | + + | demo flushCache puts [demo compute 1 2 3] \fI\(-> prints "7" after delay\fR .CE .SH "SEE ALSO" oo::class(n), oo::define(n), oo::object(n), self(n) .SH KEYWORDS call, method, method chain .SH CATEGORY Tcl Object Orientation .\" Local variables: .\" mode: nroff .\" fill-column: 78 .\" End: |
Changes to doc/object.n.
| ︙ | |||
118 119 120 121 122 123 124 125 126 127 128 | 118 119 120 121 122 123 124 125 126 127 128 129 130 | + + | $obj \fBdestroy\fR $obj foo \fI\(-> error "unknown command obj"\fR .CE .SH "SEE ALSO" my(n), oo::class(n) .SH KEYWORDS base class, class, object, root class .SH CATEGORY Tcl Object Orientation .\" Local variables: .\" mode: nroff .\" fill-column: 78 .\" End: |
Changes to doc/open.n.
| ︙ | |||
456 457 458 459 460 461 462 463 464 465 | 456 457 458 459 460 461 462 463 464 465 466 467 | + + | .CE .SH "SEE ALSO" file(n), close(n), filename(n), fconfigure(n), gets(n), read(n), puts(n), exec(n), pid(n), fopen(3) .SH KEYWORDS access mode, append, create, file, non-blocking, open, permissions, pipeline, process, serial .SH CATEGORY Tcl Input/Output '\"Local Variables: '\"mode: nroff '\"End: |
Changes to doc/package.n.
| ︙ | |||
361 362 363 364 365 366 367 368 369 370 | 361 362 363 364 365 366 367 368 369 370 371 372 | + + |
# We have the package, configure the app to use it
}
.CE
.SH "SEE ALSO"
msgcat(n), packagens(n), pkgMkIndex(n)
.SH KEYWORDS
package, version
.SH CATEGORY
Tcl Packages and Source files
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/packagens.n.
| ︙ | |||
44 45 46 47 48 49 50 | 44 45 46 47 48 49 50 51 52 53 | + + + | specified. .PP At least one \fB\-load\fR or \fB\-source\fR parameter must be given. .SH "SEE ALSO" package(n) .SH KEYWORDS auto-load, index, package, version .SH CATEGORY Tcl Packages and Source files |
Changes to doc/pid.n.
| ︙ | |||
42 43 44 45 46 47 48 | 42 43 44 45 46 47 48 49 50 51 | + + + | .CE .SH "SEE ALSO" exec(n), open(n) .SH KEYWORDS file, pipeline, process identifier .SH CATEGORY Tcl System Related |
Changes to doc/pkgMkIndex.n.
| ︙ | |||
224 225 226 227 228 229 230 231 232 233 | 224 225 226 227 228 229 230 231 232 233 234 235 | + + | If you must use \fB\-load\fR, then you must specify the scripts first; otherwise the package loaded from the binary file may mask the package defined by the scripts. .SH "SEE ALSO" package(n) .SH KEYWORDS auto-load, index, package, version .SH CATEGORY Tcl Packages and Source files '\"Local Variables: '\"mode: nroff '\"End: |
Changes to doc/platform.n.
| ︙ | |||
77 78 79 80 81 82 83 84 85 86 | 77 78 79 80 81 82 83 84 85 86 87 88 | + + | set binDir [file dirname [file normalize [info script]]] set libDir [file join $binDir .. lib] set platLibDir [file join $libDir [\fBplatform::identify\fR]] load [file join $platLibDir support[info sharedlibextension]] .CE .SH KEYWORDS operating system, cpu architecture, platform, architecture .SH CATEGORY Tcl System Related '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/platform_shell.n.
| ︙ | |||
51 52 53 54 55 56 57 | 51 52 53 54 55 56 57 58 59 60 | + + + | for the specified Tcl shell, in contrast to the running shell. .TP \fBplatform::shell::platform \fIshell\fR This command returns the contents of \fBtcl_platform(platform)\fR for the specified Tcl shell. .SH KEYWORDS operating system, cpu architecture, platform, architecture .SH CATEGORY Tcl System Related |
Changes to doc/prefix.n.
| ︙ | |||
107 108 109 110 111 112 113 114 115 116 | 107 108 109 110 111 112 113 114 115 116 117 118 | + + |
cepa { }
}
.CE
.SH "SEE ALSO"
lsearch(n), namespace(n), string(n), Tcl_GetIndexFromObj(3)
.SH "KEYWORDS"
prefix, table lookup
.SH CATEGORY
Tcl String Handling
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/proc.n.
| ︙ | |||
101 102 103 104 105 106 107 108 109 110 | 101 102 103 104 105 106 107 108 109 110 111 112 | + + |
set var [expr {$var * $multiplier}]
}
.CE
.SH "SEE ALSO"
info(n), unknown(n)
.SH KEYWORDS
argument, procedure
.SH CATEGORY
Tcl Variables and Procedures
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/puts.n.
| ︙ | |||
92 93 94 95 96 97 98 | 92 93 94 95 96 97 98 99 100 101 | + + + | \fBputs\fR $chan "$timestamp - Hello, World!" close $chan .CE .SH "SEE ALSO" file(n), fileevent(n), Tcl_StandardChannels(3) .SH KEYWORDS channel, newline, output, write .SH CATEGORY Tcl Input/Output |
Changes to doc/pwd.n.
| ︙ | |||
33 34 35 36 37 38 39 | 33 34 35 36 37 38 39 40 41 42 | + + + | exec tar -xf $tarFile cd $savedDir .CE .SH "SEE ALSO" file(n), cd(n), glob(n), filename(n) .SH KEYWORDS working directory .SH CATEGORY Tcl System Related |
Changes to doc/re_syntax.n.
| ︙ | |||
825 826 827 828 829 830 831 832 833 834 | 825 826 827 828 829 830 831 832 833 834 835 836 | + + | and .QW \fB[[:>:]]\fR respectively; no other escapes are available. .SH "SEE ALSO" RegExp(3), regexp(n), regsub(n), lsearch(n), switch(n), text(n) .SH KEYWORDS match, regular expression, string .SH CATEGORY Tcl String Handling .\" Local Variables: .\" mode: nroff .\" End: |
Changes to doc/read.n.
| ︙ | |||
80 81 82 83 84 85 86 87 88 89 | 80 81 82 83 84 85 86 87 88 89 90 91 | + + | close $fl set lines [split $data \en] .CE .SH "SEE ALSO" file(n), eof(n), fblocked(n), fconfigure(n), Tcl_StandardChannels(3) .SH KEYWORDS blocking, channel, end of line, end of file, nonblocking, read, translation, encoding .SH CATEGORY Tcl Input/Output '\"Local Variables: '\"mode: nroff '\"End: |
Changes to doc/refchan.n.
| ︙ | |||
402 403 404 405 406 407 408 409 410 411 | 402 403 404 405 406 407 408 409 410 411 412 413 | + + | seek $ch -5 end; puts [read $ch]; # Prints just the last word .CE .SH "SEE ALSO" chan(n), transchan(n) .SH KEYWORDS API, channel, ensemble, prefix, reflection .SH CATEGORY Tcl Input/Output '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/regexp.n.
| ︙ | |||
199 200 201 202 203 204 205 206 207 208 | 199 200 201 202 203 204 205 206 207 208 209 210 | + + |
.CS
\fBregexp\fR \-all \-inline {\eS+} $string
.CE
.SH "SEE ALSO"
re_syntax(n), regsub(n), string(n)
.SH KEYWORDS
match, parsing, pattern, regular expression, splitting, string
.SH CATEGORY
Tcl String Handling
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/registry.n.
| ︙ | |||
209 210 211 212 213 214 215 216 217 218 | 209 210 211 212 213 214 215 216 217 218 219 220 | + + |
# Read the command!
set command [\fBregistry get\fR $path {}]
puts "$ext opens with $command"
.CE
.SH KEYWORDS
registry
.SH CATEGORY
Tcl Platform-specific
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/regsub.n.
| ︙ | |||
183 184 185 186 187 188 189 190 191 192 | 183 184 185 186 187 188 189 190 191 192 193 194 | + + |
set quoted [subst [string map {\en {\e\eu000a}} \e
[\fBregsub\fR -all $RE $string $substitution]]]
.CE
.SH "SEE ALSO"
regexp(n), re_syntax(n), subst(n), string(n)
.SH KEYWORDS
match, pattern, quoting, regular expression, substitution
.SH CATEGORY
Tcl String Handling
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/rename.n.
| ︙ | |||
39 40 41 42 43 44 45 | 39 40 41 42 43 44 45 46 47 48 | + + + |
uplevel 1 ::theRealSource $args
}
.CE
.SH "SEE ALSO"
namespace(n), proc(n)
.SH KEYWORDS
command, delete, namespace, rename
.SH CATEGORY
Tcl Variables and Procedures
|
Changes to doc/return.n.
| ︙ | |||
317 318 319 320 321 322 323 324 325 326 | 317 318 319 320 321 322 323 324 325 326 327 328 | + + | } .CE .SH "SEE ALSO" break(n), catch(n), continue(n), dict(n), error(n), proc(n), source(n), tclvars(n), throw(n), try(n) .SH KEYWORDS break, catch, continue, error, exception, procedure, result, return .SH CATEGORY Tcl Control Constructs .\" Local Variables: .\" mode: nroff .\" End: |
Changes to doc/safe.n.
| ︙ | |||
350 351 352 353 354 355 356 357 358 359 | 350 351 352 353 354 355 356 357 358 359 360 361 | + + | an \fBauto_reset\fR is automatically evaluated in the safe interpreter to synchronize its \fBauto_index\fR with the new token list. .SH "SEE ALSO" interp(n), library(n), load(n), package(n), source(n), unknown(n) .SH KEYWORDS alias, auto\-loading, auto_mkindex, load, master interpreter, safe interpreter, slave interpreter, source .SH CATEGORY General '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/scan.n.
| ︙ | |||
284 285 286 287 288 289 290 291 292 293 | 284 285 286 287 288 289 290 291 292 293 294 295 | + + | \fI%\fR scan 20000000000000000000 %lld 20000000000000000000 .CE .SH "SEE ALSO" format(n), sscanf(3) .SH KEYWORDS conversion specifier, parse, scan .SH CATEGORY Tcl String Handling '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/seek.n.
| ︙ | |||
82 83 84 85 86 87 88 89 90 91 92 | 82 83 84 85 86 87 88 89 90 91 92 93 94 | + + | set data [read $f 10] close $f .CE .SH "SEE ALSO" file(n), open(n), close(n), gets(n), tell(n), Tcl_StandardChannels(3) .SH KEYWORDS access position, file, seek .SH CATEGORY Tcl Input/Output '\" Local Variables: '\" mode: nroff '\" fill-column: 78 '\" End: |
Changes to doc/self.n.
| ︙ | |||
142 143 144 145 146 147 148 149 150 151 152 | 142 143 144 145 146 147 148 149 150 151 152 153 154 | + + |
\fI\(-> Cls: {{method x object method} {method x ::c method}} 1\fR
\fI\(-> Obj: {{method x object method} {method x ::c method}} 0\fR
.CE
.SH "SEE ALSO"
info(n), next(n)
.SH KEYWORDS
call, introspection, object
.SH CATEGORY
Tcl Object Orientation
.\" Local variables:
.\" mode: nroff
.\" fill-column: 78
.\" End:
|
Changes to doc/set.n.
| ︙ | |||
69 70 71 72 73 74 75 | 69 70 71 72 73 74 75 76 77 78 | + + + |
\fBset\fR vbl in[expr {rand() >= 0.5}]
\fBset\fR out [\fBset\fR $vbl]
.CE
.SH "SEE ALSO"
expr(n), global(n), namespace(n), proc(n), trace(n), unset(n), upvar(n), variable(n)
.SH KEYWORDS
read, write, variable
.SH CATEGORY
Tcl Variables and Procedures
|
Changes to doc/socket.n.
| ︙ | |||
218 219 220 221 222 223 224 225 226 227 | 218 219 220 221 222 223 224 225 226 227 228 229 | + + | .CE .SH "HISTORY" Support for IPv6 was added in Tcl 8.6. .SH "SEE ALSO" chan(n), flush(n), open(n), read(n) .SH KEYWORDS asynchronous I/O, bind, channel, connection, domain name, host, network address, socket, tcp .SH CATEGORY Tcl Input/Output '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/source.n.
| ︙ | |||
63 64 65 66 67 68 69 | 63 64 65 66 67 68 69 70 71 72 | + + + |
\fBsource\fR $scriptFile
}
.CE
.SH "SEE ALSO"
file(n), cd(n), encoding(n), info(n)
.SH KEYWORDS
file, script
.SH CATEGORY
Tcl Packages and Source files
|
Changes to doc/split.n.
| ︙ | |||
84 85 86 87 88 89 90 91 92 93 | 84 85 86 87 88 89 90 91 92 93 94 95 | + + |
puts "$longName uses [file tail $shell] for a login shell"
}
.CE
.SH "SEE ALSO"
join(n), list(n), string(n)
.SH KEYWORDS
list, split, string
.SH CATEGORY
Tcl List Handling
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/string.n.
| ︙ | |||
440 441 442 443 444 445 446 447 448 449 | 440 441 442 443 444 445 446 447 448 449 450 451 | + + | } .CE .SH "SEE ALSO" expr(n), list(n) .SH KEYWORDS case conversion, compare, index, match, pattern, string, word, equal, ctype, character, reverse .SH CATEGORY Tcl String Handling .\" Local Variables: .\" mode: nroff .\" End: |
Changes to doc/subst.n.
| ︙ | |||
155 156 157 158 159 160 161 162 163 164 | 155 156 157 158 159 160 161 162 163 164 165 166 | + + | .QW \fBabc,foo,def\fR , not .QW \fBabc,3,def\fR . .SH "SEE ALSO" Tcl(n), eval(n), break(n), continue(n) .SH KEYWORDS backslash substitution, command substitution, quoting, substitution, variable substitution .SH CATEGORY Tcl String Handling .\" Local Variables: .\" mode: nroff .\" End: |
Changes to doc/switch.n.
| ︙ | |||
177 178 179 180 181 182 183 184 185 186 | 177 178 179 180 181 182 183 184 185 186 187 188 | + + |
}
}
.CE
.SH "SEE ALSO"
for(n), if(n), regexp(n)
.SH KEYWORDS
switch, match, regular expression
.SH CATEGORY
Tcl Control Constructs
.\" Local Variables:
.\" mode: nroff
.\" End:
|
Changes to doc/tailcall.n.
| ︙ | |||
59 60 61 62 63 64 65 66 67 68 69 | 59 60 61 62 63 64 65 66 67 68 69 70 71 | + + |
}
}
.CE
.SH "SEE ALSO"
apply(n), proc(n), uplevel(n)
.SH KEYWORDS
call, recursion, tail recursion
.SH CATEGORY
Tcl Control Constructs
'\" Local Variables:
'\" mode: nroff
'\" fill-column: 78
'\" End:
|
Changes to doc/tclsh.1.
| ︙ | |||
141 142 143 144 145 146 147 | 141 142 143 144 145 146 147 148 149 150 | + + + | .SH "STANDARD CHANNELS" .PP See \fBTcl_StandardChannels\fR for more explanations. .SH "SEE ALSO" encoding(n), fconfigure(n), tclvars(n) .SH KEYWORDS application, argument, interpreter, prompt, script file, shell .SH CATEGORY General |
Changes to doc/tcltest.n.
| ︙ | |||
1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 | 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 | + + | script is being run. Errors thrown by C procedures or printed directly from C applications will not be caught by the \fBtest\fR command. Therefore, usage of the \fB\-output\fR and \fB\-errorOutput\fR options to \fBtest\fR is useful only for pure Tcl applications that use \fBputs\fR to produce output. .SH KEYWORDS test, test harness, test suite .SH CATEGORY General .\" Local Variables: .\" mode: nroff .\" End: |
Changes to doc/tclvars.n.
| ︙ | |||
557 558 559 560 561 562 563 564 565 566 | 557 558 559 560 561 562 563 564 565 566 567 568 | + + | } .CE .SH "SEE ALSO" eval(n), library(n), tclsh(1), tkvars(n), wish(1) .SH KEYWORDS arithmetic, bytecode, compiler, error, environment, POSIX, precision, subprocess, user, variables .SH CATEGORY Predefined variables '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/tell.n.
| ︙ | |||
42 43 44 45 46 47 48 | 42 43 44 45 46 47 48 49 50 51 | + + + |
seek $chan $offset
}
.CE
.SH "SEE ALSO"
file(n), open(n), close(n), gets(n), seek(n), Tcl_StandardChannels(3)
.SH KEYWORDS
access position, channel, seeking
.SH CATEGORY
Tcl Input/Output
|
Changes to doc/throw.n.
| ︙ | |||
39 40 41 42 43 44 45 46 47 48 | 39 40 41 42 43 44 45 46 47 48 49 50 | + + |
.CS
\fBthrow\fR {ARITH DIVZERO {divide by zero}} {divide by zero}
.CE
.SH "SEE ALSO"
catch(n), error(n), return(n), tclvars(n), try(n)
.SH "KEYWORDS"
error, exception
.SH CATEGORY
Tcl Control Constructs
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/time.n.
| ︙ | |||
38 39 40 41 42 43 44 45 46 47 | 38 39 40 41 42 43 44 45 46 47 48 49 | + + |
}
}
.CE
.SH "SEE ALSO"
clock(n)
.SH KEYWORDS
script, time
.SH CATEGORY
Tcl System Related
.\" Local Variables:
.\" mode: nroff
.\" End:
|
Changes to doc/tm.n.
| ︙ | |||
299 300 301 302 303 304 305 306 307 308 | 299 300 301 302 303 304 305 306 307 308 309 310 | + + | package(n), Tcl Improvement Proposal #189 .QW "\fITcl Modules\fR" (online at http://tip.tcl.tk/189.html), Tcl Improvement Proposal #190 .QW "\fIImplementation Choices for Tcl Modules\fR" (online at http://tip.tcl.tk/190.html) .SH "KEYWORDS" modules, package .SH CATEGORY Tcl Packages and Source files .\" Local Variables: .\" mode: nroff .\" End: |
Changes to doc/trace.n.
| ︙ | |||
417 418 419 420 421 422 423 424 425 426 | 417 418 419 420 421 422 423 424 425 426 427 428 | + + |
\fIreport {puts hello} enterstep\fR
\fIhello\fR
.CE
.SH "SEE ALSO"
set(n), unset(n)
.SH KEYWORDS
read, command, rename, variable, write, trace, unset
.SH CATEGORY
Tcl Variables and Procedures
.\" Local Variables:
.\" mode: nroff
.\" End:
|
Changes to doc/transchan.n.
| ︙ | |||
151 152 153 154 155 156 157 158 159 160 | 151 152 153 154 155 156 157 158 159 160 161 162 | + + | written to it right now. It is allowed to store this data in internal buffers and to defer the actual transformation until it has more data. .RE .SH "SEE ALSO" chan(n), refchan(n) .SH KEYWORDS API, channel, ensemble, prefix, transformation .SH CATEGORY Tcl Input/Output '\" Local Variables: '\" mode: nroff '\" End: |
Changes to doc/try.n.
| ︙ | |||
94 95 96 97 98 99 100 101 102 103 | 94 95 96 97 98 99 100 101 102 103 104 105 | + + |
puts "failed to open /some/file/name: it doesn't exist"
}
.CE
.SH "SEE ALSO"
catch(n), error(n), return(n), throw(n)
.SH "KEYWORDS"
cleanup, error, exception, final, resource management
.SH CATEGORY
Tcl Control Constructs
'\" Local Variables:
'\" mode: nroff
'\" End:
|
Changes to doc/unknown.n.
| ︙ | |||
85 86 87 88 89 90 91 | 85 86 87 88 89 90 91 92 93 94 | + + + |
uplevel 1 [list _original_unknown {*}$args]
}
.CE
.SH "SEE ALSO"
info(n), proc(n), interp(n), library(n), namespace(n)
.SH KEYWORDS
error, non-existent command, unknown
.SH CATEGORY
Tcl Interpreter Routines
|
Changes to doc/unload.n.
| ︙ | |||
163 164 165 166 167 168 169 170 171 172 | 163 164 165 166 167 168 169 170 171 172 173 174 | + + | long-running Tcl program and then removed again (either because it is no longer needed or because it is being updated with a new version) without having to shut down the overall Tcl process. .SH "SEE ALSO" info sharedlibextension, load(n), safe(n) .SH KEYWORDS binary code, unloading, safe interpreter, shared library .SH CATEGORY Tcl Packages and Source files .\" Local Variables: .\" mode: nroff .\" End: |
Changes to doc/unset.n.
| ︙ | |||
58 59 60 61 62 63 64 65 66 67 68 | 58 59 60 61 62 63 64 65 66 67 68 69 70 | + + | puts "The prime squares are:" parray squares .CE .SH "SEE ALSO" set(n), trace(n), upvar(n) .SH KEYWORDS remove, variable .SH CATEGORY Tcl Variables and Procedures '\" Local Variables: '\" mode: nroff '\" fill-column: 78 '\" End: |
Changes to doc/update.n.
| ︙ | |||
59 60 61 62 63 64 65 | 59 60 61 62 63 64 65 66 67 68 | + + + |
\fBupdate\fR
}
.CE
.SH "SEE ALSO"
after(n), interp(n)
.SH KEYWORDS
asynchronous I/O, event, flush, handler, idle, update
.SH CATEGORY
Tcl Control Constructs
|
Changes to doc/uplevel.n.
| ︙ | |||
94 95 96 97 98 99 100 101 102 103 | 94 95 96 97 98 99 100 101 102 103 104 105 | + + |
}
}
.CE
.SH "SEE ALSO"
apply(n), namespace(n), upvar(n)
.SH KEYWORDS
context, level, namespace, stack frame, variable
.SH CATEGORY
Tcl Control Constructs
.\" Local Variables:
.\" mode: nroff
.\" End:
|
Changes to doc/upvar.n.
| ︙ | |||
113 114 115 116 117 118 119 120 121 122 | 113 114 115 116 117 118 119 120 121 122 123 124 | + + |
incr var [expr {-$decrement}]
}
.CE
.SH "SEE ALSO"
global(n), namespace(n), uplevel(n), variable(n)
.SH KEYWORDS
context, frame, global, level, namespace, procedure, upvar, variable
.SH CATEGORY
Tcl Variables and Procedures
.\" Local Variables:
.\" mode: nroff
.\" End:
|
Changes to doc/variable.n.
| ︙ | |||
94 95 96 97 98 99 100 | 94 95 96 97 98 99 100 101 102 103 | + + + |
}
}
.CE
.SH "SEE ALSO"
global(n), namespace(n), upvar(n)
.SH KEYWORDS
global, namespace, procedure, variable
.SH CATEGORY
Tcl Variables and Procedures
|
Changes to doc/vwait.n.
| ︙ | |||
236 237 238 239 240 241 242 243 244 245 246 | 236 237 238 239 240 241 242 243 244 245 246 247 248 | + + | } \fBvwait\fR done .CE .SH "SEE ALSO" global(n), update(n) .SH KEYWORDS asynchronous I/O, event, variable, wait .SH CATEGORY Tcl Control Constructs '\" Local Variables: '\" mode: nroff '\" fill-column: 78 '\" End: |
Changes to doc/while.n.
| ︙ | |||
59 60 61 62 63 64 65 | 59 60 61 62 63 64 65 66 67 68 | + + + |
puts "[incr lineCount]: $line"
}
.CE
.SH "SEE ALSO"
break(n), continue(n), for(n), foreach(n)
.SH KEYWORDS
boolean, loop, test, while
.SH CATEGORY
Tcl Control Constructs
|
Changes to doc/zlib.n.
| ︙ | |||
451 452 453 454 455 456 457 458 459 460 | 451 452 453 454 455 456 457 458 459 460 461 462 | + + | set compData [$\fIstrm \fBget\fR] $\fIstrm \fBclose\fR .CE .SH "SEE ALSO" binary(n), chan(n), encoding(n), Tcl_ZlibDeflate(3), RFC1950 \- RFC1952 .SH "KEYWORDS" compress, decompress, deflate, gzip, inflate, zlib .SH CATEGORY Tcl Library Procedures '\" Local Variables: '\" mode: nroff '\" End: |
Changes to tools/tcltk-man2html-utils.tcl.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | + - + - + |
##
## Utility functions for Man->HTML converter. Note that these
## functions are specifically intended to work with the format as used
## by Tcl and Tk; they do not cope with arbitrary nroff markup.
##
## Copyright (c) 1995-1997 Roger E. Critchlow Jr
## Copyright (c) 2004-2011 Donal K. Fellows
set ::STATUSOUT stdout ;# status outputs
set ::manual(report-level) 1
proc manerror {msg} {
global manual
set name {}
set subj {}
set procname [lindex [info level -1] 0]
if {[info exists manual(name)]} {
set name $manual(name)
}
if {[info exists manual(section)] && [string length $manual(section)]} {
|
| ︙ | |||
146 147 148 149 150 151 152 153 154 155 156 | 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | + - + - - - - - - - + + + + + + + - - + - - - + - - - - - - - - + + + - - + - - - - - - + + + + + + + + + + + - - + + + + + + - + |
{\(mu} "×" \
{\(mi} "−" \
{\(->} "<font size=\"+1\">→</font>" \
{\fP} {\fR} \
{\.} . \
{\(bu} "•" \
{\*(qo} "ô" \
{\'} "'" \
]
lappend charmap {\-\|\-} -- ; # two hyphens
lappend charmap {\-} - ; # a hyphen
|
| ︙ | |||
618 619 620 621 622 623 624 | 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 | - + + + + + |
## there's only one line in the NAME section,
## consisting of a comma separated list of names,
## followed by a hyphen and a short description.
##
proc output-name {line} {
global manual
# split name line into pieces
|
| ︙ | |||
716 717 718 719 720 721 722 | 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 | - + |
set tk_ref [lindex $manref $tk_i]
return "<A HREF=\"../$tk_ref.htm\">$ref</A>"
}
if {$lref eq "exit" && $mantail eq "tclsh.1" && $tcl_i >= 0} {
set tcl_ref [lindex $manref $tcl_i]
return "<A HREF=\"../$tcl_ref.htm\">$ref</A>"
}
|
| ︙ | |||
749 750 751 752 753 754 755 | 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 | - + |
}
##
## reference generation errors
##
proc reference-error {msg text} {
global manual
|
| ︙ | |||
901 902 903 904 905 906 907 | 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 | - + + + + + + + + |
regexp -indices -start $off {http://[\w/.]+} $text range
set url [string range $text {*}$range]
append result "<A HREF=\"$url\">" $url "</A>"
set text [string range $text[set text ""] \
[expr {[lindex $range 1]+1}] end]
continue
}
|
| ︙ | |||
1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 | 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 | + + + + + + + + + + + + + + + + + |
$manual(wing-file)/$manual(name).htm]
set initial [string toupper [string index $key 0]]
lappend keys "<A href=\"../Keywords/$initial.htm\#$key\">$key</A>"
}
man-puts [join $keys {, }]
}
return
}
H:CATEGORY {
while {[more-text]} {
if {[next-op-is .SH rest] || [next-op-is .SS rest]} {
backup-text 1
return
}
set more [next-text]
if {[is-a-directive $more]} {
manerror "$more"
backup-text 1
return
}
set manual(category-$manual(name)) $more
man-puts $more
}
return
}
}
if {[next-op-is .IP rest]} {
output-IP-list $code .IP $rest
return
}
if {[next-op-is .PP rest]} {
|
| ︙ | |||
1187 1188 1189 1190 1191 1192 1193 | 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 | - + + - - - - + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + - + + + - - + + - - + - |
manerror "unexpected $code"
return
}
.ta - .fi - .na - .ad - .UL - .ie - .el - .ne {
manerror "ignoring $line"
}
default {
|
| ︙ | |||
1251 1252 1253 1254 1255 1256 1257 | 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 | - + |
manual(wing-name) \
manual(wing-file) \
manual(wing-description)
set manual(wing-copyrights) {}
makedirhier $outputDir/$manual(wing-file)
set manual(wing-toc-fp) [open $outputDir/$manual(wing-file)/[indexfile] w]
# whistle
|
| ︙ | |||
1274 1275 1276 1277 1278 1279 1280 | 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 | - + - + - + - - - - |
# get the manual pages for this section
set manual(pages) [lsort -dictionary [glob -nocomplain $manual(wing-glob)]]
# Some pages have to go first so that their links override others
foreach pat $process_first_patterns {
set n [lsearch -glob $manual(pages) $pat]
if {$n >= 0} {
set f [lindex $manual(pages) $n]
|
| ︙ | |||
1340 1341 1342 1343 1344 1345 1346 | 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 | - + |
# ignore
continue
}
}
switch -exact -- $code {
.SH - .SS {
flushbuffer
|
| ︙ | |||
1376 1377 1378 1379 1380 1381 1382 | 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 | - - - - - - |
.HS - .UL - .ta {
flushbuffer
lappend manual(text) "$code [unquote $rest]"
}
.BS - .BE - .br - .fi - .sp - .nf {
flushbuffer
if {$rest ne ""} {
|
| ︙ | |||
1456 1457 1458 1459 1460 1461 1462 | 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 | - + - - - - - - - - + + + + + + + - - - - + - - - - + - - - - + - - - - + - - - |
}
.CS {
flushbuffer
incr manual(.CS)
lappend manual(text) $code
}
.CE {
|
| ︙ | |||
1544 1545 1546 1547 1548 1549 1550 | 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 | - - - - + - - - - + + + - + + + + + + + + + + + + + - - + + + - - + + + + + + - + - - + + + + + + - + |
}
#
# make the long table of contents for this page
#
set manual(toc-$manual(wing-file)-$manual(name)) \
[concat <DL> $manual(section-toc) </DL>]
}
|
| ︙ | |||
1613 1614 1615 1616 1617 1618 1619 | 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 | - + - + |
proc addbuffer {args} {
global manual
if {$manual(partial-text) ne ""} {
append manual(partial-text) \n
}
append manual(partial-text) [join $args ""]
}
|
Changes to tools/tcltk-man2html.tcl.
| ︙ | |||
32 33 34 35 36 37 38 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - + + |
source [file join [file dirname [info script]] tcltk-man2html-utils.tcl]
proc parse_command_line {} {
global argv Version
# These variables determine where the man pages come from and where
# the converted pages go to.
|
| ︙ | |||
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | + + + + + + |
--help {
puts "usage: tcltk-man-html \[OPTION\] ...\n"
puts " --help print this help, then exit"
puts " --version print version number, then exit"
puts " --srcdir=DIR find tcl and tk source below DIR"
puts " --htmldir=DIR put generated HTML in DIR"
puts " --pkgdir=DIR find package sources below DIR"
puts " --tcl build tcl help"
puts " --tk build tk help"
puts " --useversion version of tcl/tk to search for"
puts " --verbose whether to print longer messages"
exit 0
}
--srcdir=* {
# length of "--srcdir=" is 9.
set tcltkdir [string range $option 9 end]
}
--htmldir=* {
# length of "--htmldir=" is 10
set webdir [string range $option 10 end]
}
--pkgdir=* {
# length of "--pkgdir=" is 9
set pkgsDir [string range $option 9 end]
}
--useversion=* {
# length of "--useversion=" is 13
set useversion [string range $option 13 end]
}
--tcl {
|
| ︙ | |||
132 133 134 135 136 137 138 139 140 141 142 143 144 145 | 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | + + + + + + + |
-directory $tcltkdir tk$useversion]] end]
if {$tkdir eq ""} {
puts stderr "tcltk-man-html: couldn't find Tk below $tcltkdir"
exit 1
}
puts "using Tk source directory $tkdir"
}
if { $pkgsDir eq {} } {
# Use default packages dir.
set pkgsDir [file join $tcltkdir $tcldir pkgs]
}
set pkgsDir [file normalize $pkgsDir]
puts "using Packages source directory $pkgsDir"
puts "verbose messages are [expr {$verbose ? {on} : {off}}]"
# the title for the man pages overall
global overall_title
set overall_title ""
if {$build_tcl} {
|
| ︙ | |||
215 216 217 218 219 220 221 222 223 224 225 226 227 228 | 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 | + + + + + + + + + + + + + + + + + |
border-top: $hBd;
}
css-style h3 {
font-size: 12px;
}
css-style h4 {
font-size: 11px;
}
css-style ul.multicolumn {
list-style-type: none;
padding-left: 1em;
margin: 0;
column-fill: balance;
column-gap: 20px;
-moz-column-gap: 20px;
-webkit-column-gap: 20px;
}
css-style ul.ncols1 { column-count: 1; -moz-column-count: 1; -webkit-column-count: 1; }
css-style ul.ncols2 { column-count: 2; -moz-column-count: 2; -webkit-column-count: 2; }
css-style ul.ncols3 { column-count: 3; -moz-column-count: 3; -webkit-column-count: 3; }
css-style ul.ncols4 { column-count: 4; -moz-column-count: 4; -webkit-column-count: 4; }
css-style ul.ncols5 { column-count: 5; -moz-column-count: 5; -webkit-column-count: 5; }
css-style td.command {
padding-left: 1em;
}
css-style ".keylist dt" ".arguments dt" {
width: 20em;
float: left;
padding: 2px;
border-top: 1px solid #999;
}
|
| ︙ | |||
289 290 291 292 293 294 295 | 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 | - + |
}
}
##
## build the keyword index.
##
if {!$verbose} {
|
| ︙ | |||
368 369 370 371 372 373 374 | 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 | - + - + - + - - + |
close $manual(short-toc-fp)
##
## output man pages
##
unset manual(section)
if {!$verbose} {
|
| ︙ | |||
450 451 452 453 454 455 456 | 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 | - + - - + - + |
}
}
##
## Helper for assembling the descriptions of contributed packages.
##
proc plus-pkgs {type args} {
|
| ︙ | |||
647 648 649 650 651 652 653 | 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 | - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - + - - - - - - |
append appdir "$tkdir"
}
# When building docs for Tcl, try to build docs for bundled packages too
set packageBuildList {}
if {$build_tcl} {
|
| ︙ |