Appendix C: Terminal Keys with Special Functions

Certain characters and control key combinations have special functions that Synergy DBL supports as input. The following table lists and describes the control key combinations that Synergy DBL supports on the various operating systems.

The Unix control key combinations listed in the table are the most common default settings, although you can change any one of them using the stty command. See Terminal settings used by Synergy DBL on Unix below for more information.  

Function

Windows

Unix

OpenVMS

Resume terminal output at the point that Ctrl+S suspended it. Does not echo to the terminal.

N/A

Ctrl+Q

Ctrl+Q

Suspend terminal output until a subsequent Ctrl+Q is used to resume it. Ctrl+S enables you to temporarily stop information from scrolling off the top of the CRT screen. Does not echo to the terminal.

N/A

Ctrl+S

Ctrl+S

Interrupt program execution, unless the program uses the FLAGS subroutine to ignore this signal. If it’s not ignored, a single key terminates a Synergy program that is not running in debug mode. If the program is running in debug mode, this key returns control to the debugger. This key typed as input to the debugger terminates the program. Echoes to the terminal as Ctrl+Y on OpenVMS. Does not echo on Unix.

Ctrl+C

Delete
or
Rubout

Ctrl+Y

Quit program execution. (Also see system option #16 for more information.)

N/A

Ctrl+\

Ctrl+C

Toggle suspension of terminal output.

N/A

N/A

Ctrl+O

Discard the current line of input. You can use the FLAGS subroutine flag 4 to specify how kill-character echoing is to be handled. Echoes to the terminal as Ctrl+U or Ctrl+X.

Ctrl+U
or
Ctrl+X

Ctrl+U
or
Ctrl+X

Ctrl+U
or
Ctrl+X
also flushes type ahead

Discard the last character typed on the current, unfinished line of input. You can use the FLAGS subroutine flag 4 to specify how character deletions will be indicated to the user.

Backspace

Ctrl+H
or
Backspace

Delete,
Rubout, or Backspace

Logically signal an “End of file” condition for terminal input. Echoes to the terminal as the EOF character on Unix and as Ctrl+Z on OpenVMS.

Ctrl+Z

Ctrl+D

Ctrl+Z

Display process status.

N/A

N/A

Ctrl+T

Terminal settings used by Synergy DBL on Unix

By changing certain stty settings, you can change default key functions like interrupt and backspace. For example, Unix commonly uses the delete key as interrupt and the backspace key as erase by default, but you might want to change these default settings to the Compaq style, making the delete key erase and CTRL+C interrupt. To do so, follow these steps:

1. View all of your terminal settings, as follows:
stty -a
2. Change your settings from the command line:
stty intr CTRL+C
stty erase DELETE

You must actually press the DELETE and CTRL+C keys (and then press ENTER) to change the settings.

3. To add these settings to your .profile or .login file, type the following lines in your file:
stty intr "^c"
stty erase "^?"

At runtime, Synergy DBL makes the following changes to the terminal settings:

All other settings are left alone.

See your Unix command manual for more information about changing terminal settings.

You can also control terminal settings using the STTY subroutine.