Description: Documentation fixes Corrections in spelling in the blt documentation. Author: Paul E. Johnson (Debian Packaging) --- a/man/barchart.mann +++ b/man/barchart.mann @@ -1954,7 +1954,7 @@ .TP \fB\-fill \fIcolor\fR Sets the background color of the line. This color is used with -striped lines (see the \fB\-fdashes\R option). If \fIcolor\fR is +striped lines (see the \fB\-fdashes\fR option). If \fIcolor\fR is the empty string, no background color is drawn (the line will be dashed, not striped). The default background color is \fB""\fR. .TP --- a/man/tree.mann +++ b/man/tree.mann @@ -393,7 +393,7 @@ Reverse the direction of the copy. .TP \fB\-tags\fR -Copy tag inforation. Normally the following node is copied: its +Copy tag information. Normally the following node is copied: its label and data fields. This indicates to copy tags as well. .RE .TP @@ -1804,7 +1804,7 @@ set nams {} set vals {} foreach nam $s(*) { - lappend vals \$s($nam) + lappend vals $s($nam) lappend nams $nam } set vals [join $vals ,] --- a/man/bitmap.mann +++ b/man/bitmap.mann @@ -82,9 +82,9 @@ Tk will recognize "gray1" as a bitmap which can now be used with any widget that accepts bitmaps. .CS -.barchart element configure elem1 -stipple gray1 +\&.barchart element configure elem1 -stipple gray1 .CE -The bitmap data can be specified in a mulitude of forms. +The bitmap data can be specified in a multitude of forms. The following commands are all equivalent. .CS bitmap define gray1 { --- a/man/eps.mann +++ b/man/eps.mann @@ -55,7 +55,7 @@ .DE The \fBeps\fR item creates a new canvas item. \fICanvas\fR is the name of a \fBcanvas\fR widget. You must supply the X-Y coordinate of -the new eps item. How the coordinate is exactly interpretered is +the new eps item. How the coordinate is exactly interpreted is controlled by the \fB\-anchor\fR option (see below). .PP Additional options may be specified on the command line to configure --- a/man/tabset.mann +++ b/man/tabset.mann @@ -86,7 +86,7 @@ tabs and the sizes of the Tk widgets embedded inside each folder. The widest widget determines the width of the folder. The tallest determines the height. If no folders contain an embedded widget, the -size is detemined solely by the size of the tabs. +size is determined solely by the size of the tabs. .PP You can override either dimension with the tabset's \fB\-width\fR and \fB\-height\fR options. @@ -767,7 +767,7 @@ \fBcenter\fR. .TP \fB\-background \fIcolor\fR -Sets the background color for \fInameOrIndex\fR. Setting this option overides the +Sets the background color for \fInameOrIndex\fR. Setting this option overrides the widget's \fB\-tabbackground\fR option. .TP \fB\-bindtags \fItagList\fR --- a/man/hiertable.mann +++ b/man/hiertable.mann @@ -1395,7 +1395,7 @@ The default is \fBsingle\fR. .TP \fB\-separator \fIstring\fR -Specifies the character sequence to use when spliting the path components. +Specifies the character sequence to use when splitting the path components. The separator may be several characters wide (such as "::") Consecutive separators in a pathname are treated as one. If \fIstring\fR is the empty string, the pathnames are Tcl lists. --- a/man/treeview.mann +++ b/man/treeview.mann @@ -2037,7 +2037,7 @@ Set a tile background image to use for selection. .TP \fB\-separator \fIstring\fR -Specifies the character sequence to use when spliting the path components. +Specifies the character sequence to use when splitting the path components. The separator may be several characters wide (such as "::") Consecutive separators in a pathname are treated as one. If \fIstring\fR is the empty string, the pathnames are Tcl lists. --- a/man/hierbox.mann +++ b/man/hierbox.mann @@ -1395,7 +1395,7 @@ The default is \fBsingle\fR. .TP \fB\-separator \fIstring\fR -Specifies the character sequence to use when spliting the path components. +Specifies the character sequence to use when splitting the path components. The separator may be several characters wide (such as "::") Consecutive separators in a pathname are treated as one. If \fIstring\fR is the empty string, the pathnames are Tcl lists. --- a/man/container.mann +++ b/man/container.mann @@ -187,7 +187,7 @@ tabs and the sizes of the Tk widgets embedded inside each folder. The widest widget determines the width of the folder. The tallest determines the height. If no folders contain an embedded widget, the -size is detemined solely by the size of the tabs. +size is determined solely by the size of the tabs. .PP You can override either dimension with the container's \fB\-width\fR and \fB\-height\fR options. --- a/html/eps.html +++ b/html/eps.html @@ -15,10 +15,10 @@ create eps x y ?option value?...

Description

The eps canvas item lets you place -encapulated PostScript (EPS) on a canvas, controlling its size and placement. +encapsulated PostScript (EPS) on a canvas, controlling its size and placement. The EPS item is displayed either as a solid rectangle or a preview image. The preview image is designated in one of two ways: 1) the EPS file contains -an ASCII hexidecimal preview, or 2) a Tk photo image. When the canvas generates +an ASCII hexadecimal preview, or 2) a Tk photo image. When the canvas generates PostScript output, the EPS will be inserted with the proper translation and scaling to match that of the EPS item. So can use the canvas widget as a page layout tool. @@ -39,7 +39,7 @@ canvas create eps x y ?option value?...

The eps item creates a new canvas item. Canvas is the name of a canvas widget. You must supply the X-Y coordinate of the new eps item. How the coordinate -is exactly interpretered is controlled by the -anchor option (see below). +is exactly interpreted is controlled by the -anchor option (see below).

Additional options may be specified on the command line to configure aspects of the eps item such as its color, stipple, and font. The following option --- a/html/container.html +++ b/html/container.html @@ -136,7 +136,7 @@ size of the container window is determined the number of tiers of tabs and the sizes of the Tk widgets embedded inside each folder. The widest widget determines the width of the folder. The tallest determines the height. - If no folders contain an embedded widget, the size is detemined solely + If no folders contain an embedded widget, the size is determined solely by the size of the tabs.

You can override either dimension with the container's -width and -height options. --- a/html/hierbox.html +++ b/html/hierbox.html @@ -1446,7 +1446,7 @@

-separator string
Specifies the character sequence -to use when spliting the path components. The separator may be several +to use when splitting the path components. The separator may be several characters wide (such as "::") Consecutive separators in a pathname are treated as one. If string is the empty string, the pathnames are Tcl lists. Each element is a path component. The default is "".
--- a/html/bitmap.html +++ b/html/bitmap.html @@ -58,7 +58,8 @@ label .l -bitmap gray1

Tk will recognize "gray1" as a bitmap which can now be used with any widget that accepts bitmaps.
-

The bitmap data can be specified in a mulitude of forms. The following commands +.barchart element configure elem1 -stipple gray1
+

The bitmap data can be specified in a multitude of forms. The following commands are all equivalent.
bitmap define gray1 {
#define gray1_width 2
@@ -128,7 +129,7 @@

Specifies the scale of the bitmap. Value is a real number representing the scale. A scale of 1.0 indicates no scaling is necessary, while 2.0 would double the size of the -bitmap. There is no way to specify differents scales for the width and +bitmap. There is no way to specify different scales for the width and height of the bitmap. The default scale is 1.0.
@@ -161,7 +162,7 @@
-scale value
Specifies how to scale the bitmap. Value is a real number representing the scale. A scale of 1.0 indicates no scaling is necessary, while 2.0 would -double the size of the bitmap. There is no way to specify differents scales +double the size of the bitmap. There is no way to specify different scales for the width and height of the bitmap. The default scale is 1.0.
--- a/html/tree.html +++ b/html/tree.html @@ -641,7 +641,7 @@

-reverse
Reverse the direction of the copy.

-tags
-Copy tag inforation. Normally the following node is copied: its +Copy tag information. Normally the following node is copied: its label and data fields. This indicates to copy tags as well.

treeName create ?switches?
@@ -870,7 +870,7 @@

breadthfirst
-Process the node and the subtrees at each sucessive level. Each node +Process the node and the subtrees at each successive level. Each node on a level is processed before going to the next level.

inorder
Recursively process the nodes of the first subtree, the node itself, @@ -1587,7 +1587,7 @@ indicating the operations that are traced (it's in the same form as ops) and, the command prefix.

treeName trace names
-Returns a list of identifers for all the current traces. +Returns a list of identifiers for all the current traces.

NOTIFY OPERATIONS

Tree objects can be shared among many clients, such as a @@ -1672,7 +1672,7 @@ It consists of the notify id, a sublist of event flags (it's in the same form as flags) and, the command prefix.

treeName notify names
-Returns a list of identifers for all the current notifiers. +Returns a list of identifiers for all the current notifiers.

TABLE EXAMPLE

--- a/html/spline.html +++ b/html/spline.html @@ -32,7 +32,7 @@ curve. Spline interpolation is the mathematical equivalent. The curves between adjacent knots are piecewise functions such that the resulting spline runs exactly through all the knots. The order and coefficients of -the polynominal determine the "looseness" or "tightness" of the curve fit +the polynomial determine the "looseness" or "tightness" of the curve fit from the line segments formed by the knots.

The spline command performs spline interpolation using cubic ("natural") or quadratic polynomial functions. @@ -87,7 +87,7 @@ .graph element create spline -x sx -y sy -color red
table . .graph

The natural operation employs a cubic interpolant when forming the spline. - In terms of the draftmen's spline, a natural spline requires the least + In terms of the draftsmen's spline, a natural spline requires the least amount of energy to bend the spline (strip of wood), while still passing through each knot. In mathematical terms, the second derivatives of the first and last points are zero.

@@ -139,7 +139,7 @@ by D.F.Mcallister & J.A.Roulier Coded by S.L.Dodd & M.Roulier N.C.State University. -The original code for the quadratric spline can be found in TOMS #574. +The original code for the quadratic spline can be found in TOMS #574.

Keywords

spline, vector, graph

--- a/html/bgexec.html +++ b/html/bgexec.html @@ -122,7 +122,7 @@ Specifies the encoding of the stderr channel. This affects only data returned to the Tcl interpreter. No translation is done on file redirection.
For example if data is to be converted from Unicode for use in Tcl, you -would use the "unicode" encoding. The default is that no tranlation is +would use the "unicode" encoding. The default is that no translation is performed.

-decodeoutput encodingName
@@ -130,7 +130,7 @@ Specifies the encoding of the stdout channels. This affects only data returned to the Tcl interpreter. No translation is done on file redirection.
For example if data is to be converted from Unicode for use in Tcl, you -would use the "unicode" encoding. The default is that no tranlation is +would use the "unicode" encoding. The default is that no translation is performed.
-error varName
@@ -234,7 +234,7 @@

The biggest advantage of bgexec is that, unlike fileevent, it requires no additional Tcl code to run a program. It's simpler and less error prone. - You don't have to worry about non-blocking I/O. It's handled tranparently + You don't have to worry about non-blocking I/O. It's handled transparently for you.

Bgexec runs programs that fileevent can not. Fileevent assumes that the when stdout is closed the program has completed. But some programs, --- a/html/table.html +++ b/html/table.html @@ -29,7 +29,7 @@ table search container ?switch arg?...

Description

The table command -arranges widgets in a table. The alignment of widgets is detemined by their +arranges widgets in a table. The alignment of widgets is determined by their row and column positions and the number of rows or columns that they span.

Introduction

@@ -241,7 +241,7 @@ of a widget. Item can be in any form describe in the configure operation below. If no item argument is provided, then the configuration option is for the table itself. Option may be any one of the options described in -the appropiate section for item. +the appropriate section for item.
table configure container item... ?option value?...
--- a/html/tabset.html +++ b/html/tabset.html @@ -241,7 +241,7 @@ tabs and the sizes of the Tk widgets embedded inside each folder. The widest widget determines the width of the folder. The tallest determines the height. If no folders contain an embedded widget, the -size is detemined solely by the size of the tabs. +size is determined solely by the size of the tabs.

You can override either dimension with the tabset's -width and -height options. @@ -762,7 +762,7 @@ be aligned with the leftmost edge of the folder. The default value is center.

-background color
-Sets the background color for nameOrIndex. Setting this option overides the +Sets the background color for nameOrIndex. Setting this option overrides the widget's -tabbackground option.

-bindtags tagList
Specifies the binding tags for this tab. TagList is a list of --- a/html/barchart.html +++ b/html/barchart.html @@ -332,7 +332,7 @@
-barwidth value
Specifies the width -of the bars. This value can be overrided by the individual elements using +of the bars. This value can be overridden by the individual elements using their -barwidth configuration option. Value is the width in terms of graph coordinates. The default width is 1.0.
--- a/html/winop.html +++ b/html/winop.html @@ -51,7 +51,7 @@

Description

The winop command performs various window and image operations on Tk windows using low-level Xlib function calls to -work around window manager pecularities. +work around window manager peculiarities.

Introduction

Tk has several commands for manipulating its windows: raise, lower, wm, etc. These commands ask --- a/man/stripchart.mann +++ b/man/stripchart.mann @@ -1,3 +1,4 @@ +'\" '\" Copyright 1991-1997 by Bell Labs Innovations for Lucent Technologies. '\" '\" Permission to use, copy, modify, and distribute this software and its @@ -2061,7 +2062,7 @@ terminates that script and skips any remaining scripts for the event, just as for the bind command. .sp -The \fB\-bindtags\R option for these components controls addition +The \fB\-bindtags\fR option for these components controls addition tag names which can be matched. Implicitly elements and markers always have tags matching their names. Setting the value of the \fB\-bindtags\fR option doesn't change this. @@ -2160,9 +2161,8 @@ .CS # Works for now. \&.s legend configure -mapped no - # Instead use this. \&.s legend configure -hide yes -.CE +.CE .SH KEYWORDS stripchart, graph, widget --- a/man/vector.mann +++ b/man/vector.mann @@ -1277,7 +1277,7 @@ .CS #include #include -... +\&... Blt_Vector *vecPtr; double *newArr; FILE *f; --- a/man/Blt_TreeGetNode.man3 +++ b/man/Blt_TreeGetNode.man3 @@ -58,7 +58,7 @@ unsigned int number; Blt_TreeNode node; Blt_TreeToken token; -... +\&... node = Blt_TreeGetNode(token, number); if (node == NULL) { printf("no node with ID %d exists\\n", number);