Copy an existing terminal entry
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Use the tc (terminal copy) command when
you are defining a new terminal entry that is similar to an existing
entry. The command appends the specifications for the similar terminal
to the new entry, so you do not have to retype the similar information.
The tc command takes a string, as shown in the following
example:
|
Follow these guidelines when using the tc command:
- To override a capability in the copied entry, specify the capability in the new terminal's entry. Commands specified first always override those specified later.
- To suppress the inclusion of a capability that you do not want to specify in the new terminal's entry, specify only the mnemonic, followed by an at symbol (@) in the new terminal's entry. This tells OpenEdge to ignore the capability when it reads it from the similar terminal.
- You cannot use the Version 6
PROTERMCAPin later OpenEdge releases. You can edit thePROTERMCAPto use the Version 6 key bindings by editing the following line at the end of the file:
|
- Make
tcthe last field in the terminal entry. - Place the similar terminal entry in the
PROTERMCAPfile before entries that reference it. - The combined length of all the definitions must be less than 8,192 bytes.
For example, the following code fragment is a terminal entry
for a Wyse 370 in 132 column mode. The entry specifies the name
of the terminal, a terminal initialization sequence, the number
of columns, and then uses tc to append the specifications
for the Wyse 370 terminal, as shown:
|