home *** CD-ROM | disk | FTP | other *** search
/ Hot Shareware 35 / hot35.iso / ficheros / 9TXT / ZE32V270.ZIP / EXAMPLES.TX_ / EXAMPLES.TX
Text File  |  1998-05-19  |  8KB  |  191 lines

  1.   Zeus Example Information
  2.   ========================
  3.  
  4.   Zeus comes with several examples programs, files and batch files. These 
  5.   will show how it is possible to enhance the functionality of Zeus by using
  6.   third party programs, data files and batch files.   
  7.  
  8.   Below you will find information regarding the examples provided and details 
  9.   on how to uses them. All of the files will have been copied from the install
  10.   disk and can be found in the Zeus zExample directory. 
  11.   
  12.   Zeus File Extension Keywords
  13.   ----------------------------
  14.   Zeus comes with several keyword definitions for several programming 
  15.   languages. To use these files first create a new file extension using 
  16.   the Options Extensions menu item and then use the 'Import' button to 
  17.   select the required import file from the list provided. Below is a list
  18.   of the keywords definitions files that have been provide and are ready 
  19.   for importing: 
  20.  
  21.      ADA95.TXT    -  Ada 95 import file
  22.      ASM.TXT      -  8086 ASM import file
  23.      BASIC.TXT    -  BASIC import file
  24.      BAT.TXT      -  BATCH import file
  25.      C-CPP.TXT    -  C/C++ import file
  26.      CICODE.TXT   -  CI Code import file
  27.      CLIPPER.TXT  -  Clipper import file
  28.      COBOL.TXT    -  Cobol import file
  29.      DBASE.TXT    -  dBase import file
  30.      DELPHI.TXT   -  Delphi import file
  31.      FORTRAN.TXT  -  Fortran import file
  32.      HTML.TXT     -  HTML import file
  33.      JAVA.TXT     -  Java import file
  34.      PAS.TXT      -  Pascal import file
  35.      PERL.TXT     -  Perl import file
  36.      PYTHON.TXT   -  Python import file
  37.      REXX.TXT     -  REXX import file
  38.      SQL.TXT      -  SQL import file
  39.      TEX.TXT      -  LaTex import file
  40.      VERILOG.TXT  -  Verilog import file
  41.      VHDL.TXT     -  VHDL import file
  42.   
  43.   If you find any of these keyword files are wrong or missing keywords 
  44.   please let me know as these files almost certainly will contain some
  45.   errors or omissions.
  46.  
  47.   
  48.   CC.BAT: Example of an External Compile Batch File
  49.   -------------------------------------------------
  50.   Zeus will run most compilers, linkers and makers without problems, but in 
  51.   some cases you may need to use an external batch file. The CC.BAT file is 
  52.   an example of how to configure Zeus to run the compile using an external 
  53.   batch file. To use the CC.BAT file just enter CC.BAT into the Run file
  54.   field of the Options Compiler dialog, making sure you have checked the 
  55.   'Use other file' checkbox option first. Then just compile any file using 
  56.   the Compiler Compile menu option to see the results. 
  57.   
  58.       Note: NT users should rename this file to have a cmd extension
  59.   
  60.  
  61.   PM.BAT: Example of an External Make Batch File
  62.   ----------------------------------------------
  63.   This is an example of a Project Make file written as a batch file. It is
  64.   for those who are not interested in using a make utility to build their 
  65.   projects but still want to use the project building features that Zeus 
  66.   offers.  This example illustrates how to use a simple batch file as the 
  67.   project file.  To use this file just edit the file using the Zeus editor 
  68.   and read the instructions that are contained within the file.
  69.   
  70.       Note: NT users should rename this file to have a cmd extension
  71.   
  72.   
  73.   CTAGS: C/C++ Tag Example Tool
  74.   -----------------------------
  75.   The CTAGS.EXE is a simple tool designed to locate C/C++ functions,
  76.   variables and definitions. For more information refer to the CTAGS.C
  77.   file located in the zExample directory.
  78.  
  79.   This ctag.exe program will have been copied to the Zeus install 
  80.   directory and the program will have been configured to run by the
  81.   installation program. To see how this program works run this program
  82.   using the Zeus tag support features located under the Tags menu
  83.   item, but make sure the Zeus install directory is in the path.
  84.   
  85.   To make this application you will need MSVC Version 1.5 or better 
  86.   or BC++ Version 4.5 or better. Just load the make file and build 
  87.   the application.
  88.   
  89.   The CTAGS example is made up of the following files:
  90.   
  91.      CTAGS.MAK   -  Project make file
  92.      CTAGS.EXE   -  CTAGS executable
  93.      CTAGS.C     -  Main source file
  94.      WILDCARD.C  -  Wildcard processing source file
  95.      CTYPE.C     -  C types source file
  96.      CTYPE.H     -  C types header file
  97.      CONFIG.H    -  Configuration header file
  98.   
  99.   The CTAGS.EXE takes the following command line arguments:
  100.   
  101.      Usage: ctags [flags] filenames...
  102.        -s       include static functions
  103.        -t       include typedefs
  104.        -v       include variable declarations
  105.        -q       sort tags by name
  106.        -qi      sort tags by name, ignore case
  107.        -qt      sort tags by type
  108.        -a       append to "tags", instead of overwriting
  109.        -f[file] write tags to file, default is "tags"
  110.         
  111.      Examples: CTAGS.EXE -s ctag.c
  112.                CTAGS.EXE -s -t -v *.c
  113.  
  114.  
  115.   Exuberant CTAGS written by Darren Hiebert <darren@hiebert.com>
  116.   --------------------------------------------------------------
  117.   
  118.   The CTAGS tool that is supplied with the Zeus editor is provided only
  119.   as example of how Zeus can support third party tagging tools. For a 
  120.   more functional implementation of CTAGS the "Exuberant CTAGS" comes
  121.   highly recommended. This program is written by Darren Hiebert and is
  122.   available for download from the following web page:
  123.   
  124.      http://darren.hiebert.com
  125.   
  126.   To have Zeus use the "Exuberant CTAGS" (or any other tag program) just
  127.   use the Options Tags menu to configure the Zeus tag support (see the 
  128.   online help for more details).
  129.  
  130.  
  131.   CINC: C/C++ Include Example Tool
  132.   --------------------------------
  133.   The CINC.EXE is a tool designed to scan the given C/C++ for include 
  134.   files. The results of the scan can be displayed as a formatted tree
  135.   output or as just a simple line output. The utility will also scan 
  136.   system include files if asked to do so.
  137.   
  138.   The CINC example consists of the following file:
  139.   
  140.      CINC.MAK  -  Project make file
  141.      CINC.EXE  -  CINC executable
  142.      CINC.CPP  -  Main source file
  143.   
  144.   To run this tool use and DOS command line, use the Zeus Tools
  145.   Command Line menu option and run the command from the Zeus command
  146.   line, or select the tool from the installed tool list of the Zeus
  147.   Tools menu.
  148.   
  149.   To make the application you will need MSVC Version 1.5 or better 
  150.   or BC++ Version 4.5 or better. Just load the make and build the 
  151.   application.
  152.   
  153.   The CINC.EXE takes the following command line arguments:
  154.   
  155.      Usage: CINC [flags] filename
  156.       -s  search system include files also
  157.       -f  format the display output
  158.      
  159.      Example: CINC.EXE -f cinc.c
  160.  
  161.   
  162.   FGREP: File GREP  Example Tool
  163.   ------------------------------
  164.   The FGREP.EXE is a simple GREP utility that can be used for 
  165.   scanning files for text strings.
  166.   
  167.   The FGREP example consists of the following file:
  168.   
  169.      FGREP.MAK  -  Project make file
  170.      FGREP.EXE  -  FGREP executable
  171.      FGREP.C    -  Main source file
  172.   
  173.   To run this tool use a DOS command line prompt or use the Zeus Tools 
  174.   DOS Command Line menu option to enter the command line. An example 
  175.   of the fgrep program configured as a tool is also located on the 
  176.   tools menu item, but note that this is only a simple example and the 
  177.   tool setting will need to be changed to suit your requirements.
  178.   
  179.   To make the application you will need MSVC Version 1.5 or better 
  180.   or BC++ Version 4.5 or better.  Just load the make file and build 
  181.   the application.
  182.   
  183.   For more information on using FGREP run FGREP.EXE -?  
  184.    
  185.      Usage: FGREP.EXE -?
  186.  
  187.      Example: FGREP.EXE -n Example *.txt
  188.  
  189.  
  190.  
  191.