Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gencat(1int) — Ultrix-32 3.1D RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

extract(1int)

trans(1int)

catgetmsg(3int)

catgets(3int)

catopen(3int)

gencat(1int)

NAME

gencat − generate a formatted message catalog

SYNTAX

gencat [ −h hdrfile ] catfile msgfile .... 

DESCRIPTION

The gencat command merges the message text source file(s) msgfile into a formatted message catalog catfile. The catalog catfile is created if it does not already exist. If catfile does exist, and includes message numbers, then the new messages are merged into catfile. If set and message numbers collide, the new message-text defined in msgfile replaces the old message text currently contained in catfile.

The −h option indicates that msgfile contains set and message labels. The header file output by gencat is called hdrfile and contains C pre-preprocessor directives giving the mapping between set and message labels specified in msgfile, and set and message numbers generated in catfile. Programs requiring the use of message labels must include this header file in the program source via an #include directive. When the −h option is specified, catfile is created or overwritten by gencat. The message text source file (or set of files) input to gencat can contain either set and message numbers or set and message labels, but not both.

OPTIONS

−hCauses gencat to generate a header file suitable for inclusion in the program source via a #include. This option can only be used with message mnemonics.

SEE ALSO

extract(1int), trans(1int), catgetmsg(3int), catgets(3int), catopen(3int)

Commands

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