Try OpenEdge Now
skip to main content
Managing ABL Applications
ABL and R-code Deployment and Management : Maintaining User Environments : Maintaining the UNIX user environment : PROTERMCAP syntax : String syntax
 
String syntax
Certain fields in the capabilities, key bindings, and color sections are specified using strings. Strings are typically a combination of command sequences, literal values, and encoded arguments that tell OpenEdge how to control some aspect of the display.
The following table show the symbols that are common to all strings. Symbols that are unique to strings specified in the capabilities, key bindings, or color sections are explained in context.
Table 12. Syntax for specifying string values
Mnemonic
Description
\E
ESC (ASCII 27)
\n
New line
\r
Return
\t
Tab
\b
Backspace
\f
Form feed
\999
Octal representation of a character. A colon (:) within a string must be represented as \072 and a null character as \200.
^x
CTRL+x, where x represents an appropriate character. For example, ^N represents CTRL+N.
\^
^
\\
\
Some terminal types require you to specify a delay period, also called a padding constant, with certain string capabilities. The delay, in milliseconds, gives the terminal adequate time to execute the command. Specify this delay as an integer value after the equals sign (=) in a string, as shown in the following example:
:cm=20\E[%i%d;%dH:\
This tells OpenEdge to wait 20 milliseconds after sending the cursor motion (cm) command sequence.
You can optionally follow an integer delay value with an asterisk (*) for commands that affect more than one line of the display. In this case, OpenEdge delays the specified time for each line affected by the command. However, this significantly degrades performance and usually is not required.
When you specify proportional delay, you must specify an integer as the delay in a string field. It cannot have a fractional part; for example, a delay of 1.5* is not valid.
Note: Do not specify a padding constant with the GS, GH, GV, GE, G1, G2, G3, and G4 capabilities.