TCLX_HELP_PATCHES -   12/1/97

This patch file adds help about the tcl2c utility to TclX8.0.2
(or later). It should be applied" by running the \"patch\" program
in the top-level directory of a clean TclX 8.0.2 release, using
the command \"patch -p0 <TCLX_HELP_PATCHES\""

*** tcl/help/tcl/intro/tcl2c.orig	Sun Nov 30 11:33:18 1997
--- tcl/help/tcl/intro/tcl2c	Sun Nov 30 11:35:31 1997
***************
*** 0 ****
--- 1,65 ----
+ NAME
+        tcl2c - Simple utility to convert Tcl-code to C-strings
+ 
+ SYNOPSIS
+        tcl2c -o ?fileName source1 source2 ... ?options??
+ 
+        tcl2c -help?
+ 
+ 
+ DESCRIPTION
+        Tcl2c  is  a  small  utility  to  convert tcl-code into C-
+        strings.
+ 
+ 
+ 
+ AVAILABLE OPTIONS
+             -a        create char  arrays  in  stead  of  strings
+        (needed for Windows)
+ 
+             -n varname     which name to use for variables.
+ 
+             -o filename    output file (default is stdout)
+ 
+             -tcl      use Tcl
+ 
+             -tclx     use Tclx
+ 
+             -otcl     use Otcl (not tested yet)
+ 
+             -pvm      use tkPvm
+ 
+             -tk       use Tk
+ 
+             -tkx      use Tkx (not really useful)
+ 
+             -img      use Img
+ 
+             -tix      use Tix (not tested yet)
+ 
+             -blt      use Blt (not tested yet)
+ 
+             -vtcl     use Vtcl (not tested yet)
+ 
+ 
+ 
+ HOW TO USE
+        Assume you have a script file myscript.tcl, which you want
+        to be compiled as a standalone executable. All you have to
+        do is:
+ 
+            tcl2c -o myscript.c myscript.tcl -tk
+ 
+            cc -o myscript <dir>/libtk8.0.a -lX11 \
+                <dir>/libtcl8.0.a -lX11 -lsocket -lnsl -lm -ldl
+ 
+        (these options may vary, depending on your system)
+ 
+        After that you have a standalone executable myscript which
+        functions exactly the  same  as  wish  myscript.tcl.  Only
+        everyting is in a single file and doesn't depend on Tcl/Tk
+        being installed on your system any more.
+ 
+ 
+ KEYWORDS
+        argument
*** tcl/help/tcl/intro/tclsh.orig	Sun Nov 30 11:32:53 1997
--- tcl/help/tcl/intro/tclsh	Sun Nov 30 11:40:40 1997
***************
*** 92,99 ****
         for  each  command with ``% ''.  You can change the prompt
         by setting the variables tcl_prompt1 and tcl_prompt2.   If
         variable  tcl_prompt1 exists then it must consist of a Tcl
!        script to output a prompt;  instead of outputting a prompt
!        tclsh  will evaluate the script in tcl_prompt1.  The vari-
         able tcl_prompt2 is used in a similar way when  a  newline
         is  typed  but  the current command isn't yet complete; if
         tcl_prompt2 isn't set then no prompt is output for  incom-
--- 92,100 ----
         for  each  command with ``% ''.  You can change the prompt
         by setting the variables tcl_prompt1 and tcl_prompt2.   If
         variable  tcl_prompt1 exists then it must consist of a Tcl
!        script to return a prompt;  instead of outputting a prompt
!        tclsh will evaluate the script in  tcl_prompt1  and  write
!        the   result  of  the  evaluation  to  stdout.  The  vari-
         able tcl_prompt2 is used in a similar way when  a  newline
         is  typed  but  the current command isn't yet complete; if
         tcl_prompt2 isn't set then no prompt is output for  incom-
*** unix/tools/tclmanpages.orig	Sun Nov 30 11:06:14 1997
--- unix/tools/tclmanpages	Sun Nov 30 11:06:50 1997
***************
*** 1,6 ****
--- 1,7 ----
  return {
      {Tcl.n          tcl/intro/syntax}
      {tclsh.1        tcl/intro/tclsh}
+     {tcl2c.1        tcl/intro/tcl2c}
      {append.n       tcl/strings/append}
      {array.n        tcl/variables/array}
      {binary.n       tcl/strings/binary}
