Please enable JavaScript to view this site.

A-Shell Consolidated Reference

 

Key

Description

Ctrl+A

If |K, select field, else if |a, exitcode 19. Else previous word.

Ctrl+B

If |B, exitcode 16, else ignored

Ctrl+C

See Ctrl+C Behavior.

Ctrl+D

Same as Delete

Ctrl+E

Same as End

Ctrl+F

Insert space

Ctrl+G

If SBR=TTI_PGRW, exitcode 8, else ignored

Ctrl+H

Same as Left-arrow

Ctrl+I

Same as Tab

Ctrl+E

Same as End

Ctrl+F

Insert space

Ctrl+G

If SBR=TTI_PGRW, exitcode 8, else ignored

Ctrl+H

Same as Left-arrow

Ctrl+I

Same as Tab

Ctrl+J

Same as Down-arrow

Ctrl+K

Same as Up-arrow

Ctrl+L

Same as Right-arrow

Ctrl+M

Same as Enter

Ctrl+N

Move cursor to end of field

Ctrl+O

If |B, exitcode 17, else ignore

Ctrl+P

If |Q, exitcode 25, else launch Screen Pictures utility

Ctrl+Q

Toggle insert/replace  mode (see INS)

Ctrl+R

Same as Page-Up

Ctrl+S

If |C, exitcode 26, else ignore

Ctrl+T

Same as Page-Down

Ctrl+U

If |U, exitcode 21, else move cursor to start of field

Ctrl+V

If |K paste contents of clipboard, else delete word

Ctrl+W

If |W, display "Not Processed" message and set exitcode 1

Ctrl+X

If |X*, treat like Ctrl+*; else fold the field contents. See note 1 below.

Ctrl+Y

Delete to end of field

Ctrl+Z

If |Z, exitcode 18, else if |K undo last delete, else delete entire field

Ctrl+[

Same as Escape

Ctrl+\

Display information dialog showing current INFLD parameters

Ctrl+^

Same as Home

Enter

If ||T, exitcode 7 (as if Tab); else exitcode 0.  See Force destructive enter

Esc (Escape)

If E, exitcode 2, else if 1, exitcode 1

Del (Delete)

Delete character (or all selected characters)  (Same as Ctrl+D)

Ins (Insert)

If GUI mode (|G) or |K, toggles insert/replace mode (same as Ctrl+Q); else inserts a space (same as Ctrl+F)

Home

If 9, exitcode 9, else if |K or |M treat like Ctrl+U (move to beginning of field or line) (Same as ^^)

End

If k, exitcode 15, else if |K, end of field, else if neither W nor C, exitcode 1 (Same as Ctrl+E)

Tab

If T, exitcode 7, else if |K tret like Enter

Shift+Tab

If |G (GUI mode), then if |2, exitcode 2, else if treat like Up-arrow. Ignored in non-GUI (text) mode.

PageUp

If 4, exitcode 4, else ignore (same as Ctrl+R)

Page-Down

If 6, exitcode 6, else ignore (same as Ctrl+T)

Left-Arrow

If cursor not in first position, move cursor to left, else if E or 2, exitcode 2, else if |p treat like Enter. See note 1 below.

Up-Arrow

If 2, exitcode 2, else if 3 or |3 exitcode 3, else ignore.  See note 1 below.

Right-Arrow

If |L exitcode 12, else if L and cursor at right end of field, exitcode 12, else move cursor right. See note 1 below.

Down-Arrow

If ||a jump into drop-down (auto-complete) box, else if 5 or |5 exitcode 5. See note 2 below.

Alt+Backspace

If |K, undo last delete

Alt+<any character>

If a control in the current window context uses the specified character as an accelerator, acts like the control had been clicked (typically this will generate the exitcode associated with the control)  See the AUI_CONTROL cmd parameter for more information on defining the click action for a control.

 

Note 1: In Ctrl+*, the * (asterisk) may be any character A through Z plus [,],\,^,_). The fold operation is a three-way toggle between all upper case, all lower case, title case.

Note 2: In some contexts, like within special-purpose GUI controls such as the date picker or up/down control, the arrow keys may only work within the control. In such cases, to get the exitcode behavior described in the table above, you can use Ctrl+Arrow.