Entry format for dsinfo

Entries in the dsinfo file consist of comma-separated fields.

The first field is a list of alternate names for the terminal, each name is separated by a pipe ( | ) character. Any text preceded by a pound (#) character is regarded as a comment and ignored by dscreen. The remaining fields are strings describing the capabilities of the terminal to the dscreen utility. Within these strings, the following escape codes are recognized:

Table 1. dsinfo file fields
Escape Sequence Description
\E,\e escape character
\n,\l newline (or linefeed) character
\r carriage return
\t tab character
\b backspace character
\f formfeed character
\s space character
\nnn character with octal value nnn
^x Ctrl-X for any appropriate x value

Any other character preceded by a backslash will yield the character itself. The strings are entered as type=string, where type is the type of string as listed below, and string is the string value.

It is important that the entry fields in thedsinfo file be separated by commas. If a comma is omitted or truncated from the end of a dsinfo file entry, the file will become unreadable by the dscreen utility and an error will be returned to the display.