home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
b_dir132.zip
/
B_EDIT.TXT
< prev
next >
Wrap
Text File
|
1997-07-14
|
2KB
|
57 lines
Instructions for B_EDIT, Version 1.32
The same restrictions that are applied to B in B_DOC.TXT apply to B_EDIT.
In addition, DO NOT redistribute B if it has been altered by use of this
program. Use the DEFAULT option with B_EDIT to force B back to its defaults.
Copyright 1996 Dohn Arms
What is B_EDIT?
B_EDIT allows one to change the binary code of B to set the default
values of switches into the code.
Advantages
You don't need to use BAT or CMD files to set default switches. You
don't have to use the environment variable to set defaults. It is faster
(although I doubt you would notice a time difference) since B has less to do
every time it's run.
Disadvantages
If you upgrade B, or simply replace the binary for some reason, you lose
your settings. If you want to see the settings in the binary you are using,
/? lets you see most of them. /E lets you see the extensions and their
associated colors (/C and /A). I suggest to make a _B_EDIT.BAT or
_B_EDIT.CMD file which runs B_EDIT with the settings you want changed, so
you can just run that file on whatever B you are using.
Warning
This program will NOT work on previous versions of B. The B being used
MUST be version 1.32. I will guarantee later versions of B will work with
this B_EDIT either. You must use the B_EDIT that comes with B.
This program does NOT back up B either when it changes it. It rewrites
it. So, if you want to save the old binary, BACK IT UP YOURSELF! I
included a DEFAULT setting to get back to what it started out with.
DOS and OS/2
The OS/2 version of B_EDIT is named B_EDIT.EXE, while the DOS version is
named BD_EDIT.EXE. Rename them as you please. I suggest renaming BD_EDIT
to B_EDIT while putting it in the DOS path. You CAN use the OS/2 version to
alter the DOS binary and vice versa, since they have the exact same code.
Usage
When specifying switches, specify them relative to the binary you are
changing, not the default. If /F is set in the binary, use /-F to turn it
off.
When specifying the binary file, give its complete path. B_EDIT will not
search the path for it.
It can be run two different ways:
1) B_EDIT.EXE (path)<B's name> <switches>
2) B_EDIT.EXE (path)<B's name> DEFAULT
The first way changes the switches of the binary specified. The second way
changes the binary back to the default switches.
That's it! I hope it makes sense!