The directrory tree is similar to the already familiar one as created on HP-UX.
Directory | Description |
---|---|
etc | Configuration files |
bin | Executables |
lib | Library files |
include | Include files |
html | Online documentation |
dlg | Files related to the Dialog System |
The eloq.rc configuration file is used to hold a specific user configuration. It is searched for in the directory pointed to by the HOME environment variable.
In order to support printing on Windows, an additional printer type SYSTEM has been added in addition to the familiar PIPE and FILE types. When a printer is defined as type SYSTEM, the Windows printer name must follow. Please note, that the printer name must be written exactly as in Windows. HP Eloquence does not use the GDI, instead all data are directly passed to the printer. That means, that your programs must send the appropriate data and ESC sequences for the particular printer model.
For example:
PRINTER 0 SYSTEM "HP LaserJet 4/4M Plus PS 600" PRINTER 0 SYSTEM "\\E35\LJ4"In addition, the printer types PIPE and FILE work as usual. However, since Windows NT does not include a command line spooler interface you have to provide your own. Please note, that you can not use a PORT with Windows.
All pathes should be specified using a slash (/) instead of a backslash (\) as a directory separator. Eloqcore internally translates all pathes into UNIX style pathes. However this is currently not done when processing the eloq.rc configuration file. (Windows accepts slash as well as a backslash as a path separator. Slashes only have a special meaning for the Windows command line processor.)
Eloqcore provides a new -log file commandline switch. This makes it possible to save all output to stderr in a log file even from a shell which is not capable to redirect stderr separately.
Additionally, the SHELL or COMSPEC environment variables are used to determine how to open a command shell (see below).
The Directories group is intended to help HP Eloquence to locate its files. The most important entry is Directories\BaseDirectory: It must contain the path of the installation directory, else eloqcore will refuse to run. Other possible keys in this group can be the specific "subdirectory" names. When they are not installed at the same location, a key must be present which points to the actual location. This is taken care of by the setup program.
The Shell key can be used to define a different command shell (command processor). By default, HP Eloquence uses whatever is defined in the SHELL or COMSPEC environment variable. A shell defined by the SHELL environment variable is expected to be UNIX compliant, whatever is pointed to by the COMSPEC environment variable is expected to follow DOS conventions. When none of them is defined, it will fallback to CMD.EXE on Windows NT and COMMAND.COM on Windows 95.
However, since the default Windows shell is rather challenged (read incomplete, lacking features), you may want to define a different shell (some of the GNU utilities, including the shell and related utilities have been ported to Windows NT. Please refer to The GNU-WIN32 Project Page at Cygnus for more information).
For example, to use the MKS Korn shell (if you have it installed), the key value for Shell might be f:/mks/mksnt/sh.exe -c.
Usage: gencat catfile msgfile ...
The gencat command merges each message source msgfile into a message catalog catfile. If catfile does not exist, it is created. If catfile exists, its messages are included in the new catfile. If set and message numbers collide, the new message text in file replaces the old message text in catfile.
A msgfile consists of message, directive and comment lines (all without leading spaces or tabs) described below. Except as noted, fields are separated by one or more space or tab characters.
Set numbers must be in ascending order within a msgfile but need not be contiguous.
The message_text of a message line is stored incatfile with message number m and set number s specified by the most recent $set directive.
Message numbers must be in ascending order within a set but need not be contiguous.
Note that the space or tab separator distinguishes insertion of a null message from deletion of a message. If a message line has a number and separator but no text, the message number and an associated null message string are stored in catfile. If a message line has a number but neither separator nor text, the message number and its associated message text are deleted from catfile.