home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
f
/
fdu_1c3.zip
/
FLAG.DOC
< prev
next >
Wrap
Text File
|
1992-09-12
|
6KB
|
150 lines
╒═══════════════════════════════════════════╕
│ FLAG 1.00 - Semaphore Flag File Utility │
└───────────────────────────────────────────┘
Flag.Exe/Flag.Doc written by geoffrey booher; 1:2270/233.1@fidonet
┌──────────┐
│ license: │
└──────────┘
FLAG 1.00 is *ONLY* guaranteed to consume diskspace. It has been very
extensively tested and found to be pretty reliable. In no way is the
author of this program responsible for any damages, consequential, or
otherwise from the neglect of FLAG 1.00's use or misuse. FLAG 1.00 is
provided as is, without warranty of any kind, either expressed or implied.
FLAG 1.00 is NOT Public Domain Software, it is Shareware. It may be used
on any Computer with the following restrictions:
1. It may be evaluated for a period not exceeding 30 days at which time
you must register your copy or remove the software from your computer.
Please see the REGISTER.FDU file for details on how to register.
2. The licensing/disclaimer in FDU.DOC fully applies to FLAG 1.00.
3. Registering FDU includes registration for FLAG as well.
┌──────────┐
│ support: │
└──────────┘
Send Netmail to Geoffrey Booher, 1:2270/233.0@fidonet. If you are expecting
a response, usually if you return poll me within 24 hours (nay weekends) and
I'll respond with a Netmail msg on HOLD for you. This assumes you are in a
current *FIDONET* Nodelist.
Geoffrey Booher - SysOp - The Gateway Net Bulletin Board System
North American RemoteAccess Support
FrontDoor/RemoteAccess Beta Site
1:2270/233.0@fidonet
(815)233-5008 1200/2400/9600/14400 HST/V32b/V42b
Freeport, IL - USA
You can contact me through the above Bulletin Board System. Feel free to
send me your comments about FLAG 1.00.
If you aren't a multitasking BBS SysOp, you probably won't have much of a
use for FLAG.
:-)
┌────────────────────────┐
│ overview and features: │
└────────────────────────┘
FLAG is a small simple companion program to FDU. It will create any 'FLAG'
semaphore file that you tell it to. There isn't much more to it, other
than how it works. That is covered next.
FLAG is fully DESQview, OS/2 and Windows aware. It will perform all screen
writes to the video BIOS while running under DESQview.
┌───────────────┐
│ installation: │
└───────────────┘
Put the FLAG.EXE file anywhere in your DOS PATH, along with any of your other
favorite program utilities. See your DOS manual about the PATH Statement if
needed. It will function perfectly in this manner, and does not need to be
in a 'specific' directory, AS LONG as it is IN the DOS PATH that is fine.
requirements:
FLAG requires the following to run:
PC/MSDOS 3.10 or newer
The FLAG environment variable MUST be set! This is usually done in your
Autoexec.Bat file, and sometimes modified in batchfiles to point to a
different FLAG loaction. example:
SET FLAG=D:\FLAG (note no spaces before or after the = sign)
This tells FLAG to create/remove the semaphore files you specify in the FLAG
directory, or in the above example, the D:\FLAG directory.
┌───────────────┐
│ command sets: │
└───────────────┘
To get a list of the valid commands for FLAG - just type FLAG with no
parameters. FLAG will immediately generate an error if the FLAG environment
variable is not set.
The two primary commands that are used are:
FLAG FLAG.FIL - this command creates a 0 byte FLAG.FIL in the directory
defined by the FLAG environment variable. See FDU.DOC for a
brief description of semaphore 'FLAG' files and how they are
used in batchfiles to control multitasking operations.
This file can be ANY valid DOS filename, and can contain
an environment variable specifier. example :
FLAG FDREADY.%TASK% would create an FDREADY.1 in the FLAG
directory if the TASK environment varaible was set to 1.
FLAG -FLAG.FIL - this command removes the FLAG.FIL in the directory defined
by the FLAG environment variable (if the file exists).
The same basic rules apply, the file can be any valid DOS
filename and can include environment variable specifiers
as in the %TASK% example above.
┌───────────────────────────┐
│ FLAG 1.00 technical info: │
└───────────────────────────┘
Flag.Exe was compiled with Borland International's Turbo(C++) 1.00
using the Small Memory Module ( < 64kb heap ) and the C++ (Flag.Cpp)
option. Flag will run in less than 128kb RAM (64kb code - 64kb data).
FLAG 1.00 exits with the following errorlevels for trapping in *.BAT
files. Although not really needed, they are there for batchfile gurus.
errorlevel 4 - no parameters entered
errorlevel 2 - file i/o error
errorlevel 1 - missing FLAG environment variable or incorrect DOS version
errorlevel 0 - successful completion FLAG file created/removed
┌─────────┐
│ thanks: │
└─────────┘
Thanks to Jay Desio for the idea of this program. The way it works was
totally his idea, I just coded it.
The following products/examples are the Copyrighted materials of their
respective named holders:
FDU, FLAG boo software development team
Turbo(C++) 1.00 Borland International
DESQview QuarterDeck Office Systems
OS/2 International Business Machines Corporation
Windows Microsoft Corporation
PC/MSDOS International Business Machines and Microsoft