Welcome, Guest. Please login or register.

Author Topic: Amiga Education  (Read 1593 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline InTheSand

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 1766
    • Show all replies
    • http://www.ali.geek.nz
Re: Amiga Education
« on: December 18, 2006, 08:57:50 PM »
Hi,

Google's always useful for this sort of thing, there are quite a few sites that cover the Amiga's CLI and its commands.

As for Ed, its command mode can be entered by pressing Esc, followed by:
Atext - insert text after current position
B - go to bottom of file
BE - mark end of block
BFtext - backwards find text
BS - mark start of block
D - delete line
DB - delete marked block
DC - delete character
Ftext - find text
Itext - insert text before current position
IB - insert copy of marked block
IFfilename - insert named file
Mnumber - go to line number
N - go to next line start
P - go to previous line start
Q - quit without saving
SAfilename - save as named file
SB - show block
T - go to top of file
WBfilename - save marked block as named file
X - exit and save changes

There are a number of keystrokes that can be used in Ed too, in addition to the obvious cursor/backspace/delete/return, etc.:
Ctrl-A - new line
Ctrl-B - delete line
Ctrl-D - scroll down 12 lines
Ctrl-E - go to top or bottom of screen
Ctrl-F - invert case
Ctrl-O - delete word or spaces to right of cursor
Ctrl-R - go to start of previous word
Ctrl-T - go to end of previous word
Ctrl-U - scroll up 12 lines
Ctrl-V - refresh screen

That's pretty much it, I've left out the more obscure / less useful items...

 - Ali
 

Offline InTheSand

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 1766
    • Show all replies
    • http://www.ali.geek.nz
Re: Amiga Education
« Reply #1 on: December 19, 2006, 01:03:44 AM »
Quote
DonP1 wrote:
Thanks Ali. Great info on Ed - is this the best text editor for changing stuff (like startup-sequence)?


No worries! And, despite what you may read here (xaccrocheur :-) ), Ed is fine for doing basic things like changing Startup-Sequence, other shell scripts, mountlists, etc...

As for Ed being worse than the abomination known as Vi... Not a chance!!!

Ed's by no means the best editor, but it's functional and small. I sometimes use Cygnus Edit (CED) or Protext for basic text editing too.

 - Ali