Amiga Survival Kit (Disk 80) (Feb 1988) : CLI Information / Ed Commands

From uwvax!harvard!cmcl2!philabs!sbcs!bnl44!slb Thu Dec  5 14:38:57 1985
Relay-Version: version B 2.10.2 9/18/84; site puff.UUCP
Posting-Version: version B 2.10.2 9/18/84; site bnl44.UUCP
Path: puff!uwvax!harvard!cmcl2!philabs!sbcs!bnl44!slb
From: slb@bnl44.UUCP (San Barr lying around @ The Beach (slb @ Brookhaven Nat. Labs, L.I.))
Newsgroups: net.micro.amiga
Subject: Re: ED Commands (full listing with book reference)
Message-ID: <1027@bnl44.UUCP>
Date: 5 Dec 85 20:38:57 GMT
Date-Received: 18 Dec 85 02:09:18 GMT
References: <581@caip.RUTGERS.EDU>
Lines: 90

This listing of Ed commands comes from a pre-published release of
Bantam Books' "AmigaDOS User's Manual".  I don't know when the official
publication is but it's in a series of three VERY worthwhile books.

"AmigaDOS User's Manual" - Covers All DOS commands, along with ED and EDIT

"AmigaDOS Technical Reference Manual" - Everything you ever wanted to 
                                        know about the Filing System,
                                        Binary File Structure, AmigaDOS
                                        Data structure, and DISKED.

"AmigaDOS Developer's Manual" - How to call DOS commands from "c",
                                The macro assembler, and ALINK
                                The linker.

--------ED IMMEDIATE COMMANDS LIST--------
CTRL-A          Insert line
CTRL-B          Delete line
CTRL-D          Scroll text down
CTRL-E          Move to top or bottom of screen
CTRL-F          Flip case
CTRL-G          Repeat last "extended command" line
CTRL-H          Delete character left of cursor (BACKSPACE)
CTRL-I          Move cursor to next tab position
CTRL-M          Return
CTRL-O          Delete word or spaces
CTRL-R          Cursor to end of previous word
CTRL-T          Cursor to start of next word
CTRL-U          Scroll text up
CTRL-V          Verify Screen
CTRL-Y          Delete to end of line
CTRL-[          Escape (enter extended mode)
CTRL-]          Cursor to end or start of line


--------ED EXTENDED COMMANDS LIST-------
Precede all commands with the <ESC> key.

In the list, /s/ indicates a string, /s/t/ indicates two exchange strings,
and n indicates a number.

A /s/           Insert line after current.
B               Move to bottom of file.
BE              Block end at cursor
BF /s/          Backwards find
BS              Block start at cursor
CE              Move cursor to end of line
CL              Move cursor one position left
CR              Move cursor one position right
CS              Move cursor to start of line
D               Delete current line
DB              Delete block
DC              Delete character at cursor
E /s/t/         Exchange s into t
EQ /s/t         Exchange but query first
EX              Extended right margin
F /s/           Find string /s/
I /s/           Insert line before current
IB              Insert copy of block
IF /s/          Insert file s
J               Join current line with next
LC              Distinguish between UPPER/lower in searches
M n             Move to line number n
N               Move to start of next line
P               Move to start of previous line
Q               Quit without saving text
RP              Repeat until error
S               Split line at cursor
SA              Save text to file
SB              Show block on screen
SH              Show information
SL n            Set left margin
SR n            Set right margin
ST n            Set tab distance
T               Move to top of file
U               Undo changes on current line
UC              Equate UPPERCASE and lowercase in searches
WB /s/          Write block to file s
X               Exit and save text

-- 
             Sanford L. Barr             | Voice phone: (516) 736-4155
Famous designer of the Write Only Memory.| Address (USnail):
            --             --            |
  ..!decvax!mcnc!philabs!sbcs!bnl44!slb  | Almagmated Tech.
           ...slb@bnl44.ARPA             | 39 Royalston La.
           ...slb@bnl44.UUCP             | S. Setauket, N.Y. 11720
           ...slb@bnl44.bitnet           | ATTN: Sanford L. Barr
-----------------------------------------------------------------------
 "Did you exchange a walk-on part in a war for a lead role in a cage?"