Appendix B: Command Summary

The commands in the table below have corresponding on-line help files. Those on-line help files contain fuller descriptions, since it is likely that you will need such descriptions during your actual edit sessions. Most help files are named after their respective commands. For cases in which that is not possible (e.g. "//") or practical (e.g. "(x,y)"), the table entry shows the name of the on-line help file.

The keys noted in this table indicate keys that are related to the corresponding commands; it is not necessarily the case that those keys perform exactly those commands. For example, the table shows that "F8" is related to the "wc" command, and F8's definition is "pw ; wc".

Table B-1. Command Summary

Command

Description

Related Keys

! command

Execute command in a shell
(Help file: bang)

<Ctrl> p (print)

$ command

Go to bottom of file
(Help file: dollar)

(x,y)

Position cursor at screen pixel coordinates (x,y)
(Help file: pixelpos)

<n>

Move cursor to specified line
(Help file: line)

=

Show coordinates of the current cursor position
(Help file: pos)

[row,col]

Position cursor at [row,col] in window
(Help file: rowcol)

{row,col}

Position top left of window at [row,col]
(Help file: corner)
(Help file: rfind)

/pattern/

Search forward for pattern
(Help file: find)

//

Search forward for the previous search pattern
(Help file: find)

<Ctrl> r

\pattern\

Search backward for pattern (AEGIS syntax)
(Help file: rfind)

?pattern?

Search backward for pattern (UNIX syntax)
(Help file: rfind)

\\

Search backward for previous search pattern
(Help file: rfind)

<Ctrl> u

??

Search backward for previous search pattern
(UNIX syntax)

<Ctrl> u

abrt

Abort current search or highlight operation

<Ctrl> x

ad

Move cursor down 1 line

Arrow Down

al

Move cursor left 1 character

Arrow Left

alias

Alias commands

ar

Move cursor right 1 character

Arrow Right

au

Move cursor up 1 line

Arrow Up

bell

Beep the bell

bgc

Set background color

bl

Balance delimiters in a text region

ca

Color area of text

case

Switch the case of letters in a text region

cc

Carbon copy

cd

Change editor directory

ce

Create an edit window on a file

Right Mouse Button

ceterm

Create a new ceterm window

cmdf

Execute the commands in a file

cms

Clear the mark stack

cp

Create a new ceterm window

cpo

Create a new process without a window

cps

Create a new process without a window

cv

Create a read-only window on a file

dlb

Delete labels created by lbl in an area

dq

Send a quit or kill signal to a process

<Ctrl> q,
<Ctrl> c

dr

Mark the current cursor position

F1, <Shift> F1

echo

Highlight text between a mark and the cursor

ed

Delete the character under the cursor

Delete

ei

Put the window into insert or overstrike mode

Insert

ee

Delete the character to the left of the cursor

Backspace

eef

Insert an end-of-file character

<Ctrl> d

en

Insert a newline at the current cursor position

Return, Enter

env

Display the value of an environment variable

envar

Toggle substitution of environment vars in cv and cmdf

er

Insert the character whose hex code is given

es

Insert a text string at the current cursor position

eval

Substitute environment vars and run Ce commands

f

Forward search

fbdr

Adjust find border value

fgc

Set foreground color

fl

Load a font

geo

Set the window's size and location

glb

Go to named label created with lbl

gm

Go to the most recently marked point

hex

Enable or disable hex mode

icon

Iconify the current window

inv

Swap the foreground and background colors

kd

Assign/inspect a key definition to/for a key

keys

Display current key definitions

kk

Show the name of the next key that is pressed

(Sun Props)

lbl

Assign a label to a location in a file

lineno

Show or hide the line number column

<Ctrl> l

lkd

Key definition local to one window

lmi

Menu Item local to one window

mi

Add an item (line) to a pulldown menu

mouse

Disconnect mouse cursor from text cursor

msg

Display a message in the command output window

nc

Move the cursor to the next colored text

<Alt> r

pb

Scroll the last line of the file into the window

<Ctrl> b

pc

Move the cursor to the previous colored text

<Alt> u

pd

Activate a pull down menu

pdm

Toggle displaying the Pull Down Menu bar

ph

Scroll the window horizontally

<Shift> Left arrow,
<Shift> Right arrow

pn

Move or copy the edit file to a new pathname

pp

Scroll the window by pages

Page Up
Page Down

prefix

Set scan prefix

pt

Scroll the first line of the file into the window

<Ctrl> t

pv

Scroll the window vertically by lines

<Shift> up arrow
<Shift> down arrow

pw

Write the file to disk

F8, <Shift> F8

pwd

Display current Ce working directory

rd

Redraw window immediately

re

Translate regular expression from Aegis to UNIX

rec

Record commands

redo

Redo a change that was undone via "undo"

<Shift> F7

rm

Remove the most recent mark from the stack

ro

Toggle the window between edit and read-only

<Shift> F8,
<Ctrl> m

rw

Refresh the window contents

s/p1/p2/

Replace p1 with p2 throughout a text region

sb

Turn scroll bars on and off

sc

Change the case of letters in a text region

sic

Move the text cursor the mouse cursor position

sleep

Delay processing

so/p1/p2/

Replace the first occurrence of p1 with p2 on each line in

sp

Set UNIX window prompt - for "Ce aware" programs

sq

Quit search in progress

tb

Move cursor to bottom of window

tdm

Move cursor to the "Command: " prompt

Escape

tdmo

Move the cursor to the editor output window

tf

Justify text region

th

Move cursor to next tab stop to the right

Tab

thl

Move cursor to next tab stop to the left

<Shift> Tab

ti

Move the cursor to the main input window

title

Change the Window Manager title

tl

Move cursor to the beginning of line

Home

tmb

Move the cursor to the menu bar and freeze

tmw

Move the cursor to the main output window

tn

Move the cursor to the next Ce window

tr

Move cursor to the end of line

End

ts

Set tab stops

tt

Move cursor to top of window

twb

Move cursor to a window border

undo

Undo the most recent change

F7

untab

Convert tab characters to blanks in a region of text

vt

Toggle to or from vt mode

wa

Toggle to or from window autohold mode

<Ctrl> a

wc

Close the edit window

F8, <Ctrl> F8

wdc

Define a default color combination

wdf

Define a default window geometry

wh

Toggle to or from hold mode

<Ctrl> h

wp

Pop the window to the top or bottom of the stack

ws

Toggle to or from scroll-by-line mode

<Ctrl> s

ww

Enable or disable window wrap mode

xa

Append one paste buffer to another

xc

Copy a text region into a paste buffer

F2, < Shift> F2

xd

Cut a text region into a paste buffer

F3, <Shift> F3

xl

Copy literal

xp

Paste a text block from a paste buffer

F4, <Shift> F4