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 : Copying an existing terminal entry
Copying an existing terminal entry
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 PROTERMCAP in later OpenEdge releases. You can edit the PROTERMCAP to use the Version 6 key bindings by editing the following line at the end of the file:
:tc=v7kf {change to} :tc=v6kf
*Make tc the last field in the terminal entry.
*Place the similar terminal entry in the PROTERMCAP file 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:
wy370-132:Wyse 370 in 132 column mode:\