Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GXV(1)  —  USER COMMANDS

NAME

gxv − generate C and XView source code for user interface elements described in a GIL file

SYNOPSIS

gxv [ −s | −v | −a ] filename

DESCRIPTION

gxv reads a Graphical Interface Language (GIL) file created by OpenWindows Developer’s Guide, a user interface design editor.  As it reads, gxv generates C and XView source code for the OpenWindows user interface elements.  gxv generates four source code files and a Makefile:

filename_ui.c
The primary source code file, containing initialization and creation functions for user interface elements.

filename_ui.h
Contains declarations, typedefs for window structures, and C externs.

filename_stubs.c
Contains callback function templates for the element handlers specified in the user interface.

filename.info
Contains help text attached to user interface elements. Makefile, which controls the source code compile.

Note that GIL files all end with a .G extension.  gxv allows you to specify the filename with or without the extension: both filename.G and filename are acceptable names to specify filename.G to gxv. 

OPTIONS

−s Sets gxv so it works silently, producing no messages while generating source code. 

−v Sets gxv so it is verbose, producing a message each time it generates source code for a user interface element. 

−a Sets gxv so it writes ANSI C.  gxv will write the proper function prototypes for all functions.  The resulting code will work with most ANSI C compilers.  The include files in OpenWindows Version 2 do not fully support ANSI C. 

SEE ALSO

The OpenWindows Developer’s Guide User’s Manual

DIAGNOSTICS

gxv: reading interface.G
gxv is reading the GIL file.

gxv: writing interface_ui.h
gxv is generating the _ui.h source code file.

gxv: writing interface_ui.c
gxv is generating the _ui.c source code file.

gxv: writing interface_stubs.c
gxv is generating the _stubs.c source code file.

gxv: writing interface.info
gxv is generating the .info help text file.

gxv: writing Makefile
gxv is generating a Makefile for the generated interface source code.

gxv: skipping Makefile
gxv detects an existing Makefile in the current directory and so is not generating a new Makefile.

gxv: object NAME: attribute ATTRIBUTE: cannot find string
gxv can’t find a string it expects to describe an attribute of a user interface element described in the GIL file.

gxv: object NAME: attribute ATTRIBUTE: cannot find integer
gxv can’t find an integer it expects to describe an attribute of a user interface element described in the GIL file.

gxv: object NAME: attribute ATTRIBUTE: cannot find boolean
gxv can’t find a Boolean setting it expects to describe an attribute of a user interface element described in the GIL file.

gxv: object NAME: attribute ATTRIBUTE: cannot find keyword
gxv can’t find a keyword it expects to describe an attribute of a user interface element described in the GIL file.

gxv: object NAME: attribute ATTRIBUTE: cannot find start of list
gxv can’t find the beginning of a list it expects to describe an attribute of a user interface element described in the GIL file.

gxv: object NAME: attribute ATTRIBUTE: cannot find start of name
gxv can’t find the beginning of a name it expects to describe an attribute of a user interface element described in the GIL file.

gxv: object NAME: attribute ATTRIBUTE: cannot find start of object
gxv doesn’t find an open parenthesis at the beginning of an object definition in the GIL file.

gxv: object NAME: attribute ATTRIBUTE: unexpected end-of-file
gxv encounters a truncated GIL file or a GIL file that doesn’t end with the proper file structure.

gxv: object NAME: attribute ATTRIBUTE: unknown file format
gxv encounters a GIL file missing the file header information that identifies it as a GIL file.

gxv: object NAME: attribute ATTRIBUTE: unknown value
gxv finds an attribute in a GIL file that it doesn’t recognize, or encounters an attribute value that is not appropriate for that attribute.

gxv: object NAME: attribute ATTRIBUTE: unknown object
gxv encounters an element that specifies an owner that doesn’t exist.

gxv: object NAME: attribute ATTRIBUTE: not a valid C identifier
gxv encounters an object name that is an illegal identifier in C.

gxv: object NAME: attribute ATTRIBUTE: WARNING, not a C identifier, ignored
gxv encounters a special handler in quotes and ignores it.

BUGS

None

Sun Release 4.0  —  Last change: 9 July 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026