home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 10
/
Fresh_Fish_10_2352.bin
/
useful
/
util
/
edit
/
mg
/
docs
/
amiga
next >
Wrap
Text File
|
1990-06-02
|
29KB
|
712 lines
Amiga MG 3Beta4 Release Notes
-------------------------
This file attempts to document the Amiga-specific features of MG 2a.
Except where otherwise noted. It is assumed that you already know
about the point and the mark, buffers, windows, extended commands, and
the various areas on the screen that all versions of MG maintain. If
you don't, see the MG documentation (what there is of it) for more
information.
Amiga Credits
-------------
The Amiga Intuition terminal driver is the combined effort of Mike
Meyer and Mic Kaczmarczik. Others who helped and/or inspired good
ideas for the MG terminal driver include Steve Walton, Leon Frenkel,
Marcus Brooks, and Tom Rokicki. Steve Walton is also responsible for
the dired mode. Bob Larson redesigned the MG keymap system, making it
possible for function keys and mouse clicks to be ``first-class
citizens''. Lastly, Mike Meyer added the Rexx support and redesigned
the MG keymap & macro facilities, adding named keyboard macros and
making them first-class objects.
OPTIONS
-------
This section is for people who have their own C compiler. If you
don't have a C compiler, you will hopefully have a version that has
everything compiled into it.
There are a bewildering variety of extra goodies available as
compile-time options when you construct an Amiga MG. If you select none
of them, you save on disk and memory space, but lose out on some
features and versatility.
The config files provides documentation on these options and what
to do to make them work. Read those and the documentation on config
for descriptions on them.
For those without ARexx (required to use the config program), the
directory for the fully-featured configuration (Burrito) has been
provided. The documentation for config should provide enough
information to allow you to edit the include files by hand to create
any version you wish to build.
THE MOUSE
---------
The Amiga Mouse can invoke no less than 24 different functions.
Mouse clicks are essentially treated as keys by the MG, even though you
click the mouse and hold down qualifier keys to get them.
Mouse keys come in three groups of eight, the groups being:
Mouse keys -- when clicked in the text of a window
Mode-Mouse keys -- when clicked on a window's mode line
Echo-Mouse keys -- when clicked in the echo area
Inside each group, which of the eight keys you get is determined by
the combination of Shift, CTRL and ALT keys you are holding down when
the mouse button is pressed. So yes, there really is a
Ctrl-Meta-Shift-Mode-Mouse button. Note that the Meta (M-) prefix
*MUST* be the ALT key. Prefixing a mouse click with ESC will not work.
Mouse keys are generally bound to functions that affect the text in
the selected buffer. If the Intuition mouse pointer is located inside an
MG text window (i.e. an area where text is being edited), then a Mouse
key is sent to the editor when you click the mouse. The buffer
associated wth the window the pointer is in is made current, point is
set as close as possible to the pointer (the character under the
pointer, if possible), then the command bound to that mouse button is
executed.
If the mouse pointer is in the mode line - the line that is in a
different typeface (usually backlit, maybe black instead of white) --
when the mouse button is clicked, a Mode-Mouse key is sent to the
editor. The buffer that the selected status line is associated with is
made the current buffer, the point is set to the value of point for
that window, then whatever command is bound to that button is
executed. Most of the Mode-Mouse keys invoke functions that act on the
entire window or buffer.
Clicking in the echo line - the line at the bottom of the screen
where prompts and message appear - results in an Echo-Mouse key.
Whatever command is bound to that button will be executed. Since the
echo line is not part of a buffer or a window, all the functions bound
to Echo-Mouse keys affect the state of the editor as a whole.
The default bindings for the hot mouse (as distributed) are:
Qualifiers | Area clicked
|
C A Shift | Text window Mode line Echo line
-------------+---------------------------------------------------------
| dot to mouse forward page switch to other buffer
X | recenter backward page kill buffer
X | delete word split window describe key
X X | kill line delete window describe bindings
X | delete char goto bob suspend MG
X X | delete whitespace goto eob quit
X X | kill region enlarge window list buffers
X X X | yank shrink window toggle Intuition window
To help keep straight what the various keys do, notice that the
Status and Echo groups come in pairs; the shifted version of a key is in
some sense the opposite of the unshifted version. There is no opposite
for display-buffers, so that key is bound to "amiga-toggle-border",
which toggles MG' Intuition window between bordered and borderless.
Like any MG key, you are free to rebind the 24 mouse buttons to do
whatever you wish. You may even rebind them in your startup sequence.
NOTE: only functions that start with the prefix "mouse-" are able to
handle clicks in windows and mode lines, because they know how to figure
out where the mouse was clicked. Conversely, any non-mouse function may
be bound to an Echo-Mouse key, because clicking in the echo area does
not send the x,y click information to the function.
If the iconification code is compiled in, then Echo-Mouse is bound
to ``amiga-iconify'' by default.
THE KEYBOARD
------------
There is a shortcut for many of the Meta commands (usually indicated
by the ESC character): hold down the ALT key at the same time you type
what usually comes after the ESC.
Historically, this is why keys that are typed with ESC in front of
them are called META keys; on the terminals at MIT where the Emacs
editor (MG's spiritual parent) was originally written, there was a META
key on the keyboard that did what the ALT key does. However, not many
terminals outside of MIT have the META key at all, so the ESC key was
nominated as a way to tell the system that the next character should be
converted into a META key before it is interpreted.
MG also recognizes Amiga function keys. For quick help on a key,
type the HELP key and then the key you want help on. The following
commands are bound to the Amiga function keys:
Key Function
--------------------------------------------
Help describe-key-briefly
Left backward-char
Shift-Left backward-word
Right forward-char
Shift-Right forward-word
Up previous-line
Shift-Up backward-paragraph
Down next-line
Shift-Down forward-paragraph
F1 find-file
Shift-F1 find-file-other-window
F2 save-buffer
Shift-F2 write-file
F3 scroll-up (page down)
Shift-F3 scroll-down (page up)
F4 enlarge-window
Shift-F4 shrink-window
F5 fill-paragraph
Shift-F5 query-replace
F6 split-window-vertically
Shift-F6 delete-other-windows
F7 transpose-chars
Shift-F7 just-one-space
F8 start-kbd-macro
Shift-F8 end-kbd-macro
F9 call-last-kbd-macro
Shift-F9 describe-bindings
F10 list-buffers
Shift-F10 save-buffers-kill-emacs
FUNCTION KEY NAMES
------------------
On the Amiga, all the function keys are readily visible on the
keyboard, so this table of key names for use in strings is fairly
self-explanitory. If you want to rebind Shift-Down-Arrow to scroll-up
(move down a whole page), for example, insert the line
global-set-key "\F5" scroll-up
in your s:mg-startup file.
Amiga key Startup name
-------------------------------------------------------------------------
Up-Arrow \F0
Down-Arrow \F1
Left-Arrow \F2
Right-Arrow \F3
Shift-Up-Arrow \F4
Shift-Down-Arrow \F5
Shift-Left-Arrow \F6
Shift-Right-Arrow \F7
Help \F9
F1 \F12
F2 \F13
F3 \F14
F4 \F15
F5 \F16
F6 \F17
F7 \F18
F8 \F19
F9 \F20
F10