Appendix A: Key Summary

NOTE: The key names shown below do not necessarily correspond to the X names for those keys on your system. The "ce_init" shell command installs a ".Cekeys" file in your home directory. That file contains key definition commands corresponding to the definitions shown below.

Table A-1. Function Keys

Key

Definition

F1

Mark the start of a text region

F2

Copy a text region into the default paste buffer

F3

Cut a text region into the default paste buffer

F4

Paste text from the default paste buffer

F5

Delete the current line into the "line_del" paste buffer

F6

Paste the contents of the "line_del" paste buffer

F7

Undo

F8

Write the file to disk and close the window

F9

Prompt for a Help topic and create a read-only window on it.

<Shift> F1

Mark the start of a rectangular text region

<Shift> F2

Copy a rectangular text region into the default

<Shift> F3

Cut a rectangular text region into the default

<Shift> F4

Paste a rectangular block of text from the default

<Shift> F5

Delete to the end of line into the "eol_del" paste buffer

<Shift> F6

Paste the contents of the "eol_del" paste buffer

<Shift> F7

Redo

<Shift> F8

Write the file to disk and put change to read-only

<Ctrl> F5

Delete the word under the cursor to paste buffer "word_del"

<Ctrl> F6

Paste the contents of the "word_del" paste buffer

<Ctrl> F8

Abort the edit session

Table A-2. Numeric Pad (NP) Keys

Key

Definition

NP1

Move the cursor to the beginning of line

NP2

Move the cursor down

NP3

Move the cursor to the end of line

NP4

Move the cursor left

NP5

Move the cursor to the beginning of line

NP6

Move the cursor right

NP8

Move the cursor up

<Shift> NP2

Scroll the window down 1 line

<Shift> NP4

Scroll the window left 1 column

<Shift> NP5

Move the cursor to the end of line

<Shift> NP6

Scroll the window right 1 column

<Shift> NP8

Scroll the window up 1 line

<Ctrl> NP2

Scroll the window down a half page

<Ctrl> NP4

Scroll the window left 10 columns

<Ctrl> NP6

Scroll the window right 10 columns

<Ctrl> NP8

Scroll the window up a half page

Table A-3. Specially Labeled Keys

Key

Definition

Esc (Escape)

Move the cursor to the "Command: " prompt

Return

Insert a newline character at the current cursor position

<Shift> Return

Insert a blank line below the current line

Tab

Move the cursor to the next tab stop to the right

<Shift> Tab

Move the cursor to the next tab stop to the left

<Ctrl> Tab

Insert a tab character at the current cursor position

Backspace

Delete the character to the left of the cursor

Delete

Delete the character under the cursor

Help

Prompt for a Help topic and create a read-only window on it.

Insert

Toggle insert / overstrike mode

Home

Move cursor to start of current line

End

Move cursor to end of current line

Table A-4. Control/Alpha Keys

Key

Definition

<Ctrl> a

Toggle autohold mode

<Ctrl> b

Move the cursor to the bottom of the file

<Ctrl> c

Send quit-fault

<Ctrl> d

Insert end-of-file character

<Ctrl> e

Repeat substitute once

<Ctrl> h

Toggle hold mode

<Ctrl> i

Toggle the window between insert and overstrike modes

<Ctrl> k

Move the cursor to the beginning of the next line

<Ctrl> m

Toggle the window between edit and read-only modes

<Ctrl> n

Abort the edit session

<Ctrl> p

Print a marked range of text

<Ctrl> q

Send quit-fault (Apollo version of ^c)

<Ctrl> r

Search forward for the most recent search pattern

<Ctrl> s

Toggle scroll-by-line mode

<Ctrl> t

Move the cursor to the top of the file

<Ctrl> u

Search backward for the most recent search pattern

<Ctrl> v

Copy a text region into the default paste buffer

<Ctrl> w

Write the file to disk

<Ctrl> x

Abort the current search or highlight operation

<Ctrl> y

Write the file to disk and close the window

Table A-5. Mouse Buttons

Button

Definition

Left

Mark the start of a text region, Copy on button release

Middle

Paste text from the default paste buffer

Right

Create read-only window on the file whose name is currently pointed at by the cursor

<Shift> Left

Mark the start of a rectangular text region, Copy on release

<Shift> Middle

Paste a rectangular block of text from the default

<Shift> Right

Create editable window on the file whose name is currently pointed at by the cursor

<Alt> Middle

Copy a word to the default paste buffer

<Ctrl> Left

Do a find on the contents of the default paste buffer and save the find command

<Ctrl> Middle

Repeat the find command saved in <Ctrl> Left

<Ctrl> Right

Cut a word and replace it by the contents of the default paste buffer

Table A-6. Alt/Alpha Keys

Key

Definition

<Alt> b

Find balancing paren, brace, bracket, etc.

<Alt> c

Copy a text region into the default paste buffer

<Alt> e

Cut a text region into the default paste buffer

<Alt> p

Paste text from the default paste buffer

<Alt> r

Search forward for the next colored area

<Alt> t

Text Flow a rectangularly marked region of text

<Alt> u

Search backward for the previous colored area

Table A-7. Sun Type 5 Keyboard

Key

Definition

Help

Prompt for a Help topic and create a read-only window

Again

Copy from cursor pos to end of line to UNIX input window

Props

Show name of next key pressed

<Shift> Props

Show name of next 2 keys pressed

Undo

Undo last action

<Shift> Undo

Redo last action

Front

(Window Manager controlled key - not available to Ce)

Open

(Window Manager controlled key - not available to Ce)

Copy

Copy marked region into the default paste buffer

<Shift> Copy

Rectangular copy of marked region into the default paste buffer

<Ctrl> Copy

Copy marked region into the alternate paste buffer

<Ctrl> <Shift> Copy

Rectangular copy of marked region into the alternate paste buff

Paste

Paste the default paste buffer

<Shift> Paste

Rectangular Paste of the default paste buffer

<Ctrl> Paste

Paste the alternate paste buffer

<Ctrl> <Shift> Paste

Rectangular Paste of the alternate paste buffer

Cut

Cut marked region into the default paste buffer

<Shift> Cut

Rectangular cut of marked region into the default paste buffer

<Ctrl> Cut

Cut marked region into the alternate paste buffer

<Ctrl> <Shift> Cut

Rectangular cut of marked region into the alternate paste buff

Find

Search forward for the most recent search pattern (repeat find)

<Shift> Find

Search backward for the most recent search pattern