home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
utilities
/
editors
/
edword
/
keys&options
< prev
next >
Wrap
Text File
|
1994-06-23
|
11KB
|
245 lines
===========================================
===========---- Professional ----==========
KEYS & OPTIONS
MARTIN REDDY, 1993
COMMAND LINE OPTIONS
~~~~~~~~~~~~~~~~~~~~
To run EdWord from a Shell/CLI, use the following command line format where
all text within {..} brackets are optional parameters, uppercase letters
depict actual text which you type and lowercase letters represent a param-
eter which you can supply (e.g. a filename or number). N.B. To run EdWord
from the WorkBench and to access the User Command facility, you must have
the AmigaDOS command "Run" available (this is in ROM for WB2.0 and greater)
EDWORD {filename} {-C configdirectory} {-NTSC} {-WB} {-LACE} {-REQ}
{-MEM size} {-T title} {-NODIR} {-F fontname} {-COLS number}
{-D} {-H height} {-Y ycoord} {-L line} {-XICON} {-VI} {-AC}
{-AREXX scriptfile} {-ND} {-EOL} {-UL size} {-MOD text}
{-ASL} {-ARP} {-PCOFF} {-NOC} {-ZOOM} {?}
-C = specifies a directory to search for the EdWord.config file
(by default the current directory and ENV: will be searched)
-NOC = "NO Configuration file": surpresses the loading of EdWord.config
-NTSC = forces EdWord to use American standard screens (200/400 pixels)
-WB = forces EdWord to use the WorkBench screen for its window
-LACE = forces EdWord to use an interlaced custom screen
-COLS = specifies the number of colours for the screen (2 or 4)
-MEM = specifies the initial memory buffer size in bytes (default=60000)
-T = specifies the default title for the editor's title bar
-REQ = forces EdWord to display the file requester when it first starts
-NODIR = forces the file requester to initially list all mounted devices
-ASL = forces EdWord to use the asl.library file requester
-ARP = forces EdWord to use the arp.library file requester
-PCOFF = forces case dependant pattern matching for EdWord's file req.
-D = disables the initial checks for viruses in RAM
-F = specifies an alternative 8x8 fixed width font for the editor
-XICON = used when launched from WorkBench (due to bug in GFABasic)
-AREXX = forces EdWord to execute an ARexx script on start up
-H = specifies the height of the editor window in pixels (min=100)
-Y = specifies the initial y-coordinate of the editor window (top=0)
-L = specifies a line no. to jump to after loading the initial file
-AC = forces EdWord to use the Alternative cursor Colour
-UL = forces EdWord to use an underscore cursor (size=1 or 2)
-ND = turns off the keyboard dampening routines
-EOL = modifies the action of the cursor & del keys at the end of line
-MOD = specifies the text to appear on title bar when document modified
-ZOOM = forces editor window to zoom (if on WorkBench & under WB2.0)
-VI = turns on emulation for the Unix editor VI :-)
e.g. EdWord -ASL -REQ -MOD "+" -T "My Editor"
EDITOR KEYS
~~~~~~~~~~~
Cursor Left = Move left one character
Cursor Right = Move right one character
Cursor Up = Move up one line
Cursor Down = Move down one line
SHIFT + Cursor Left = Move to start of next word
SHIFT + Cursor Right = Move to start of previous word
SHIFT + Cursor Up = Move up one page
SHIFT + Cursor Down = Move down one page
ALT + Cursor Left = Move to start of current line
ALT + Cursor Right = Move to end of current line
ALT + Cursor Up = Move to the start of document
ALT + Cursor Down = Move to the end of document
CTRL + Cursor Left = Move to left most edge of screen
CTRL + Cursor Right = Move to right most edge of screen
CTRL + Cursor Up = Move to top of the screen
CTRL + Cursor Down = Move to bottom of the screen
N.B. It is also possible to use the numeric keypad for cursor movement. You
can use the NumL key on the keypad to switch the operation of the keypad
between a cursor pad or a numeric pad. A flag will appear on the status bar
when NumL is on (Obviously this facility is of no use to you if you have an
A600 because they don't have a numeric keypad!). Whilst NumL is off, the
keypad will perform as :-
Numeric 4 = Move left one character
Numeric 6 = Move right one character
Numeric 8 = Move up one line
Numeric 2 = Move down one line
Numeric 9 = Move up one page
Numeric 3 = Move down one page
Numeric 7 = Move to top of file
Numeric 1 = Move to bottom of file
Numeric 0 = Toggle Insert/Destroy mode
Numeric . = Delete character under cursor
Note also that the -EOL command line option may be used to make the editor
act differently at the end & start of a line. Normally, when you use the
left or right cursor keys, if you hit the start or end of the line, then
the cursor remains on the line. However, with the -EOL switch set, the
cursor will overflow onto the next or previous line. Also, the Del key will
delete the EOL character.
CONTROL KEYS
~~~~~~~~~~~~
CTRL + T = Move to top of the file
CTRL + B = Move to bottom of the file
CTRL + G = Delete character (Del)
CTRL + H = Delete character (Backspace)
CTRL + I = Insert a tab character
CTRL + Y = Delete current line
CTRL + U = Undelete last deleted line
CTRL + Q = Delete to end of line
CTRL + V = Delete current word
CTRL + M = Split current line at cursor
CTRL + S = Move left one character
CTRL + D = Move right one character
CTRL + E = Move up one line
CTRL + X = Move down one line
CTRL + R = Move up one page
CTRL + C = Move down one page
CTRL + K = Erase specified block
CTRL + L = Print current block
CTRL + N = Repeat Text function
CTRL + O = Delete a file from disk
CTRL + J = Rename a file on disk
CTRL + W = Save file under current name
CTRL + P = Modify file protection bits
CTRL + F = Update the document's Text Casing
CTRL + A = Refresh the display
CTRL + F6 = Zoom into current position
CTRL + F7 = Toggle the Flashing cursor mode
CTRL + F8 = Toggle Underscore or Block cursor.
CTRL + F9 = Toggle Search Zoom facility on/off
CTRL + F10 = Toggle Cursor Colours
OTHERS
~~~~~~
SHIFT + DEL = Delete to end of line
SHIFT + BACKSPACE = Delete to beginning of line
SHIFT + TAB = un-indents a tab character (deletes tabs)
ALT + ESC = Private Internal Information
AREXX SCRIPT ACCESS
~~~~~~~~~~~~~~~~~~~
CTRL + F1 = Execute ARexx Script 1
CTRL + F2 = Execute ARexx Script 2
CTRL + F3 = Execute ARexx Script 3
CTRL + F4 = Execute ARexx Script 4
CTRL + F5 = Execute ARexx Script 5
(The ARexx script filenames are defined through the "Run ARexx Script"
option from the Tools menu.)
THE UNDO KEY
~~~~~~~~~~~~
The key marked HELP is the EdWord Undo key. If you press this key then the
current line will revert to its original state when you first moved onto
it. This can be useful if make some kind of modification to a line which
you decide not to keep.
THE F-KEYS
~~~~~~~~~~
The ten F-Keys (F1,F2...F10) at the top of the keyboard can be programmed
to insert any text that you define, into the current document. To program
these keys, select Define F-Keys from the Utilities menu.
By using SHIFT + F-Key, you can access EdWord's Bookmark facility. This
lets you mark a certain position within a file so that you can quickly
return to it at any time. SHIFT+F1 to F3 set a Bookmark and SHIFT+F6 to F8,
return to the corresponding mark.
DIRECT ASCII VALUE ENTRY
~~~~~~~~~~~~~~~~~~~~~~~~
It is possible to enter ANY character into the EdWord editor. You can use
the ALT keys with various combinations to produce some of these characters
(as you would do from AmigaDOS or most other text editors). But a much more
powerful method is to use the Direct ASCII Entry facility of EdWord.
What this entails is that you depress the LEFT AMIGA key and (keeping it
depressed) type in the (decimal) ASCII value of the character you require.
Then when you release the LEFT AMIGA key, the character with that ASCII
value will be inserted into the current text. This facility can be used at
any time, whether entering data directly into the editor or into a string
gadget (e.g. for searching or occurrence counts etc.)
This facility can come in extremely handy. For example, it allows you to
convert the End-Of-Line character to any standard - The Amiga uses a line
feed character (#10) to symbolise End-Of-Line whereas, for example, the
IBM-PC's use a carriage return + line feed (#13,#10). Therefore, to convert
Amiga to IBM format ASCII text, you simply search for all characters with
ASCII code 10 and replace them with an ASCII code 13 and 10 by using the
Direct Ascii Entry facilty in the Find/Replace window.
ANTI-BOREDOME
~~~~~~~~~~~~~
Why not try pressing a few of the following keys as well. I'm not going to
tell you what they do :-)
CTRL+\, CTRL+], CTRL+#, CTRL+'
SHIFT+F4, SHIFT+F5, SHIFT+F9, SHIFT+F10