home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 2
/
FFMCD02.bin
/
new
/
amigalibdisks
/
disk947
/
smaus
/
smaus.doc
< prev
next >
Wrap
Text File
|
1993-12-21
|
23KB
|
539 lines
Documentation
for
SMaus
Copyright © 1991-1993 Stefan Sticht
All rights reserved
Shareware
SMaus is shareware. SMaus is not freeware. If you use SMaus you
must register your copy.
Registration
To register your copy of SMaus print out the file named
"Registration", fill it out and send it to me along with an
euro-cheque, money order or cash. The registration fee is US
$5.-/DM 5.-.
No warranty
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE
COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS
IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE
RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAM), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF
THE POSSIBILITY OF SUCH DAMAGES.
Distribution
You may copy and distribute verbatim copies of the program's
executable code and documentation as you receive it, in any
medium, provided that you conspicuously and appropriately publish
only the original, unmodified program, with all copyright notices
and disclaimers of warranty intact and including all the
accompanying documentation, example files and anything else that
came with the original. You may only charge a small fee for the
costs of media, handling and postage. SMaus may not be
distributed along with or as part of commercial products without
a license from the author.
SMaus_nowin is a special version of SMaus without a graphical
user interface. Everything said for SMaus applies to SMaus_nowin,
too.
Introduction
SMaus has been written to replace the commodity AutoPoint, which
is part of AmigaOS 2.0 and above. SMaus is highly configurable.
The primary purpose is to activate windows under the mouse
pointer. There are different actions which will activate a
window:
Mouse movement: while or after moving the mouse the window under
the pointer gets activated. You can select a speed below which
windows get activated. If you move the mouse fast, no window gets
activated. If you move the mouse slowly, the windows under the
mouse get activated. In the one extrem, windows only get
activated after you stopped the mouse movement. This helps
minizing the "jumping" of the pointer on 68000 based Amigas when
a window gets activated, because AmigaOS has to redraw the border
of the window which got activated and has no time left for moving
the pointer. After the border has been redrawn, the pointer
jumps. On faster Amigas, e.g. the A3000, the "jumping" is less
noticable, at least when you move the mouse slowly. On this
machines you can allow SMaus to activate windows at once, as long
as you move the mouse slowly.
Time: Unfortunately SMaus and Autopoint can't be informed by the
OS, if a new window or screen has been opened or the front screen
has been changed. Therefore SMaus and Autopoint always have to
look which window is under the mouse pointer after a certain
time. This technic is known as "polling" and must be avoided on
multitasking operating systems like AmigaOS. But as the window
under the mouse pointer should be active, SMaus for example has
to test if another window opened active and the window under the
pointer has to be reactivated, etc. With SMaus you can select the
time, after which SMaus tests this, or disable this option at
all. You may increase the timeout to minimize CPU usage. With the
additional option "Keypress" (described below) you may select a
great timeout without disadvantages.
Keypress: If you like it, SMaus activates the window under the
pointer at any key pressed.
Mousemovement by keyboard: SMaus recognizes mousemovements done
by keyboard using an Amiga key and the cursor keys. SMaus
activates the window under the pointer after movement.
Often it would be better not to activate the window under the
pointer. The following options disable the window activation
temporarily:
Window title: you can specify titles of windows, which are never
to be deactivated. You can use normal AmigaOS wildcards
therefore. Thus you can tell SMaus not to deactivate e.g. windows
called "System request" or "Arq", because you'd like to answer
this requesters with the keyboard immediately.
Screen title: like window titles, you may specify screen titles.
If the screen title of the frontmost screen matches, SMaus does
nothing on this screen.
System requesters: they don't get deactivated. This option
doesn't work with some requester replacements like "Arq".
Already active windows don't get activated again. SMaus has a
graphical user interface for easy configuration. You can save a
configuration and load it. SMaus has been programmed respecting
the rules of AmigaOS. No OS functions get patched. SMaus has been
programmed on an A3000 with SAS/C and has been tested with the
debugging tools Enforcer and Mungwall.
System requirements
SMaus requires at least AmigaOS 2.04, Kickstart version 37.175.
If you have Workbench 2.1, version 38.xx or better, you can use a
localized user interface. This means SMaus uses messages in e.g.
german language. SMaus will not work with AmigaOS 1.2 or 1.3.
Starting SMaus
Before you test SMaus, please make sure you're not running
autopoint at the same time. Remove autopoint by using the
Commodities Exchange utility provided by AmigaOS.
You may start SMaus either from Shell or by double clicking on
its icon. If you haven't changed any tool type in SMaus's icon,
double clicking on it starts SMaus and tells the program to open
its window immediately. As SMaus can't run twice simultanously,
because there's no sense in doing so. Starting SMaus twice will
tell the first running copy of SMaus to open its window. If you
want to start SMaus from the shell and be able to close the shell
afterwards, use
Run >NIL: <path>SMaus
to start it.
Now it's time to explain the various options:
Options
Activation Threshold:
With the top most slider in SMaus's window you can change the
threshold for the speed of mouse movement, above which windows
don't get activated at once. The speed of movement is measured in
pixel/event. Just test this: select a threshold of 0. Now move
the pointer across wi