twohtmlc.tcl(1) manual page

Back to the Index
Table of Contents

Name

tclhtmlc - HTML to TCL strings compiler

Synopsis

tclhtmlc.tcl [-help] [-verbose] [-array name] [-widget path] [-out filenames] [infiles]

Description

twohtmlc is used to embed (compile:-) HTML Files and images in TCL code. The generated code can be used to configure a two_html(n) widget, or simply set up an array. Binary files (.gif, .jpg and .jpeg) are base64-encoded.

Options

twohtmlc.pl recognizes the following options:
-h|-help
Display a short help message.
-v|-verbose
Be more verbose, i.e. report (on stderr) which files are currently beeing added.
-a|-array
Create code which initializes the array. Keys are the file names provided at the command line.
-a|-widget
Create code which configures the two_html(n) widget (.widget add ...).
-o|-out
Write output to file (instead of stdout).

The -a and -w options override each other.

You can use any abbreviation of the above listed options, but you can't use the SysV-style concatenation of options (thus -v -a is not equal to -va).

Author

Frank J. Leitner
frank@fjl.de

See Also

two_html(n) .


Table of Contents


Back to the Index