Short:        Starts a program if defined qualifiers are pressed.
Author:       Stefan Le Breton (stlb@cs.TU-Berlin.de)
Uploader:     Stefan Le Breton (stlb cs TU-Berlin de)
Type:         util/boot
Version:      1.1
Architecture: m68k-amigaos

NAME
        IfQual - start a program if defined qualifiers are (not) pressed

SYNOPSIS
        IfQual [qualifier ...] program arguments

TEMPLATE
        NOT,
        LBUT/S,MBUT/S,RBUT/S,CTRL/S,CAPS/S,LSHIFT/S,RSHIFT/S,
        LALT/S,RALT/S,LAMIGA/S,RAMIGA/S,DO/A/F

DESCRIPTION
        IfQual starts a program if the given qualifiers are pressed.
        Any combination may be given, though some are not recommended...
        (e.g. ctrl-lamiga-ramiga) or some need special hardware. (Three-button mouse :)

        If NOT is in the argument list, the program will be started if
        given qualifiers are not pressed.

        LBUT, MBUT, RBUT: Mousebuttons: left, middle & right
        CTRL, CAPS, LSHIFT, RSHIFT, LALT, RALT, LAMIGA, RAMIGA:
                        obvious, at least I think so.

        DO: this is the program and it arguments that should
                be started if conditions are met.
                program is started with System(), so the program may also
                be a shell or rexx script.

EXAMPLE
        I use IfQual, to decide which system to boot AmigaOS or NetBSD.
        When I presss the middle mousebutton it should be NetBSD.
        The first line in my startup-sequence is:

                IfQual MBut loadbsd -a -c 2000 karamba:nbsd/netbsd

COMPABILITY
        IfQual needs at least 'input.device' and 'dos.library' V36.
        Both are part of the system software... The required software
        is included in AmigaOS 2.0, 2.1, 3.0, 3.1. Other versions may differ,
        though this is not very likely.

COPYRIGHT
        IfQual is ©1995,1996 Stefan Le Breton (stlb@cs.tu-berlin.de)

DISTRIBUTION
        Freely distributable as long as the archive is complete and unchanged.

NOTES
        IfQual is pure, and may be made resident.

LICENSE
        Amiga-Oberon Licence:
        'You may not use IfQual in any way for military purposes.
        You may not use IfQual in systems that affect life of people in any way.'