The sendKeys method (of the ScreenAlc class) sends characters and function keys to an ALC terminal session. Function keys, such as the Transmit key, are represented with codes called mnemonics. Use the table below to identify the mnemonic that represents a particular ALC function key.
You can send keys using either the brace style or the @ sign style.
![]() |
The @ style mnemonics are case-specific; for example, @Z represents Cursor right, whereas @z represents the dollar sign ($). |
ALC Function Key | Function | Mnemonic (Brace Style) | Mnemonic (@ Style) |
---|---|---|---|
@ sign | Enters the @ sign. | n/a | @@ |
ALC display character | Inserts the character (*) at the cursor position and moves the cursor one position to the right. | {Display} | @A@^ |
ARNK | Creates the itinerary of a Passenger Name Record (PNR) when two segments are not connected. A PNR is basically a record of your ticketing information kept on the host. | {ARNK} | @x |
Backspace |
Moves the cursor one column to the left deleting the character or space.
If the cursor is in the first column of a line, it moves to the last column of the preceding line. If it is home, it moves to the last column of the last line of the page. |
{Backspace} | @< |
Carriage return | Moves the cursor to the first column of the next line or the first column of the current line, depending on the session configuration. | {NewLine} | @N |
Clear | Clears the screen and moves the cursor home. Home is the upper left corner of the screen (0,0). | {Clear} | @C |
Clear broadcast | Clears the SITA broadcast message. | {ClearBroadcast} | @A@C |
Clear page, cursor to home | Clears the entire screen and moves the cursor to home. | {ClearPage} | @A@( |
Clear to end of line | Erases all data from the cursor position to the end of the line. | {EEOL} | @A@l |
Clear to end of page | Erases all data from the cursor position to the end of the display. | {EEOD} | @A@p |
Change symbol | Inserts a pillow character at the cursor position and moves the cursor one position to the right. | {ChangeSymbol} | @F |
Colon | Inserts a colon (:) at the cursor position and moves the cursor one position to the right. | {Colon} | @y |
Cross of Lorraine |
Inserts the Cross of Lorraine character at the cursor position and moves the cursor one position to the right.
Also known as EndItem. |
{CrossOfLorraine} | @A@g |
Cursor down |
Moves the cursor down one line.
If the cursor is in the bottom line of a page, it moves to the top line. |
{CursorDown} | @V |
Cursor left |
Moves the cursor one column to the left.
If the cursor is in the first column of a line, it moves to the last column of the preceding line. If it is in the first column of the first line of the page, it moves to the last column of the last line of the page. |
{CursorLeft} | @L |
Cursor right |
Moves the cursor one column to the right.
If the cursor is in the last column of a line, it moves to the first column of the next line. If it is in the last column of the last line of the page, it moves to the first column of the first line of the page. |
{CursorRight} | @Z |
Cursor to end of page | Moves the cursor to the last position on the current page. | {End} | @q |
Cursor to home | Moves the cursor to the upper left corner of the screen (0,0). | {Home} | @0 (zero) |
Cursor up |
Moves the cursor up one line in the same column.
If the cursor is in the top line of a page, it moves to the bottom line. |
{CursorUp} | @U |
Delete in line | Deletes the character that the cursor is on and shifts the remaining characters on the line to the left. The position of the cursor remains unchanged. | {Delete} | @D |
Delete line | Deletes the whole line where the cursor is currently positioned. All text in line is cleared, but the row is not removed. The cursor remains in its position. | {Delline} | @A@D |
Display statistics | Displays communication statistics. | {Statistics} | @A@$ |
Dollar | Inserts the U.S. dollar sign ($) at the cursor position and moves the cursor one position to the right. | {Dollar} | @z |
End item |
Inserts the end item character at the cursor position and moves the cursor one position to the right.
Same as Cross of Lorraine. |
{EndItem} | @A@H |
End transaction | Closes the PNR. | {EndTransaction} | @A@T |
Ignore | Cancels all changes made to the current PNR. | {Ignore} | @A@Q |
Insert | Inserts a space at the cursor location and shifts subsequent text right one character. The cursor is moved one position to the right. | {Insert} | @A@I |
Insert line |
Inserts a row at the cursor location and shifts subsequent rows down one.
The last row on the page is lost if all rows are full. |
{InsertLine} | @A@L |
Pound character | Inserts a British pound mark at the cursor position and moves the cursor one position to the right. | {GBPound} | @A@x |
Protected key reset | Moves the cursor to the beginning of the first unprotected field in the presentation space. | {ProtReset} | @A@* |
Re-enter key | Resends the previously sent message to the host. | {Reenter} | @A@\\ |
Request repeat | Redisplays the last message sent by the host. | {Repeat} | @A@/ |
SetCodaCom toggle | Puts the presentation space in or takes the presentation space out of CodaCom mode. | @A@F | |
SOM key | Inserts a start of message character at the cursor position and moves the cursor one position to the right. For SHARES CodaCom connections the start of message appears as a not sign. | {SOM} | @A@S |
Tab |
Moves the cursor to the next tab stop.
If tab stops were not set, this keystroke moves the cursor home. In forms mode, this keystroke moves the cursor to the next unprotected field. |
{Tab} | @T |
Tab back |
Moves the cursor to the previous tab stop.
If tabs were not set, this keystroke moves the cursor home. In forms mode, this keystroke moves the cursor to the previous unprotected field. |
{Backtab} | @B |
Transmit |
Sends data to the host.
Depending on the session configuration, this keystroke sends the data from home to the cursor position or from home to the end of the page. |
{Enter} or {Transmit} | @E |
UMSG | Retrieves an unsolicited message from the host. | {UMSG} | @A@M |
Unlock keyboard | Unlocks the keyboard (if it is locked) and clears all error indicators in the status line. | {Reset} | @R |
XITN | Cancels the itinerary from the current PNR. | {XITN} | @A@W |
![]() |
|
![]() |
Troubleshooting |
![]() |
Keystroke Reference |
![]() |
Legacy API Support |
![]() |