UIL2XD(1)

NAME
uil2xd - Converts UIL source to WorkShop Visual save files

SYNOPSIS
uil2xd [ -XltxywhpsaA ] [ -Iinclude_dir ] [ <infile ] [ >outfile ]

DESCRIPTION

uil2xd is a simple filter for converting UIL source code to visu save files. It reads UIL source from standard input and writes an visu save file on standard out.

OPTIONS

-t  Don't convert ScrolledWindow containing Text to Scrolled Text. By default uil2xd will convert a ScrolledWindow widget containing a Text widget into a ScrolledText widget. Use the -t flag to preserve the structure.

-l  Don't convert ScrolledWindow containing List to Scrolled List. By default uil2xd will convert a ScrolledWindow widget containing a List widget into a ScrolledList widget. Use the -l flag to preserve the structure.

-x  Pass through XmNx resources. By default uil2xd will not output absolute positions in the save file. Use the -x flag to pass XmNx resources into the output file.

-y  Pass through XmNy resources. By default uil2xd will not output absolute positions in the save file. Use the -y flag to pass XmNy resources into the output file.

-w  Pass through XmNwidth resources. By default uil2xd will not output absolute sizes in the save file. Use the -w flag to pass XmNwidth resources into the output file.

-h  Pass through XmNheight resources. By default uil2xd will not output absolute sizes in the save file. Use the -h flag to pass XmNwidth resources into the output file.

-p  Preserves position resources in output file. Same as -x -y

-s  Preserves size resources in output file. Same as -w -h

-a  Preserves all position and size resources in output file. Same as -p -s

-A  Generate fake Motif form attachments for otherwise unattached children.

-Iinclude_dir
    adds include_dir to the list of directories that will be searched for include files.

-e  Explain how to recover from syntax errors

-X  Print list of switches

BUGS

uil2xd does not handle the following constructs:

    String tables containing compound strings

    Color_table

    Icon

    Asciz tables in argument definition

    Integer tables in argument definition

    imported keyword - this is a fatal error.

    exported keyword

    private keyword

    Creation procedure

    Default character set clause

    Identifier section Apart from the imported keyword, uil2xd simply ignores these constructs.