ESSENTIAL ATHENA

Windows:

Type to a window --> Place mouse cursor in window
Resize window --> Drag a corner
Move window --> Drag by top bar
Bring to top --> Click on window margin
Create window --> Type xterm & in an existing window
Kill window --> Type exit, or click on icon at upper left and select Kill Program

Files:

ls --> list files in present directory
ls -F --> list files, indicate directories by tailing /
ls -al --> list all (including hidden) files, long format
more filename --> shows contents of file, one screenful at a time (spacebar for more)
cat filename --> shows contents of file without pausing
cd directory --> change current working directory
pwd --> show present working directory
cd .. --> moves "up" one directory level
mkdir directory --> make a new directory
rmdir directory --> remove directory (only if directory is empty)
delete filename --> delete file
undelete filename --> undelete file (works for 3 days)
lsdel --> list deleted files
mv file1 file2 --> moves file1 to file2 (eliminates file1 and existing file2)
cp file1 file2 --> makes a copy of file1 called file2
attach directory --> access directory "owned" by another user

Help (also available through Dash):

help --> on-line documentation of Athena features and software
olc_answers --> stock answers to common questions
olc --> interactive help with someone "live"
man topic --> manual pages (computer-heads only)

Printing:

lpr -Pprinter filename
lpr filename --> shortcut if default printer is set

Launching Applications:

xterm & --> create a new xterm window
dash & --> run dashboard menus
emacs filename & --> edit file filename
emacs & --> run emacs, begin with empty buffer (then C-x,i)

Other Athena Commands:

Cntl-C --> kill or interrupt a program
passwd --> change your password
up arrow --> history of previous commands (for editing of repeating commands)

Emacs:

C-x,C-c --> exit emacs
C-x,C-s --> save file but do not exit emacs
C-x,C-w --> write a file under a new name
C-x,i --> insert a file into emacs
C-g --> get me out of here (cancel a command)
C-x,u --> undo a command
M-x goto-line --> move to a line by its number (note: type M-x and "goto-line" and hit return; you will be prompted for the line number)
C-v --> view next screenful
M-v --> view previous screenful
M-< --> go to beginning of line
M-> --> go to end of line
C-s --> start an incremental search
C-k --> kill a line of text
C-y --> yank (unkill) a line of text
C-spacebar --> set a mark
C-w --> wipe a region defined by a mark

Mail:

inc --> picks up new mail
show --> show current mail message
show # --> show message number #
next --> show next mail message
prev --> show previous mail message
scan --> show contents of inbox
rmm --> removes current mail message
rmm # --> removes mail message number #
repl --> reply to mail (starts emacs editor with pre-addressed header)
comp --> send mail (start emacs editor with empty header)
C-x,C-c --> when you are done typing your message
send --> what you say at "What now?" prompt
C-x,i --> include a file in a mail message (see Emacs)

last modified: 9/11/95, GCR