Terminal Definition |
||
Terminal definitions exist as strings of comma separated values in several of the Quickware products, principally in the Terminals file for the QTerm server initialization. The following list details the format of the terminal definition. Unspecified parameters should be defaulted by using a single space. Unwanted string parameters may replaced with a single dash (-). Note that if you have a large number of users you may want to maintain a number of terminal names files, perhaps split by department. In this case be aware that you should have separate sets of files per group; Web page, Profile and Settings. The format of the terminal names file entries is:
|
||
username | User name; note that you need an entry per user and each Username will be matched according to the "User Name type" in the Path settings. | |
termName | Terminal name; each name should match a terminal name configured on your host. | |
type
|
Terminal type as per one of the names on the terminal types popup menu in the Terminal Settings/General. Include /P after the type to indicate a passthru printer. You can also define a passthru printer by setting the type to P, if you don't care about the terminal type. | |
command | Initial script command in quotes or - (dash) to remove a previously downloaded initial script command. | |
I | Re-initialize entry; for each terminal entry that did not previously exist in the local settings file or if this parameter is set (to 'I') then most terminal level settings (options, colors etc) are copied from the first terminal in the local settings file. | |
n | A number that corresponds
to one of the Printing Modes available in the Terminal Settings/Printer
Properties:
|
|
windowName | Optional window name | |
hide | "h" to specify a hidden window | |
printerName | The name of an operating system printer | |
Example
:myname
|
||
Default User Name If you have a set of terminals that are essentially the same for many users, you can set up a user entry under the user name of ":DEFAULT" with a set of terminals. The default entry will be used for any Username search that fails to find the configured Username. The actual terminal names per user are formed from a combination of the Username and the names under DEFAULT (see the Paths settings for a description of how you can configure the user name). If the combination is greater than 8 bytes long, then the right most 8 bytes are used. For example:
|
||
Database Mode Note: in order to switch to the newer server database mode, insert a pseudo entry at the start of this file with the name :ServerDatabase followed by the server url, for example: : ServerDatabase http://MyServer/QTermAdmin/AdminRequest.asp
|