home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: SysTools
/
SysTools.zip
/
caf11.zip
/
CAF.DOC
next >
Wrap
Text File
|
1992-04-09
|
3KB
|
94 lines
CAF Version 1.1
Copyright 1992, Scott Hanson.
CAF (Ctrl-Alt-Function) is the copyrighted property of Scott Hanson.
It may be distributed and used freely provided:
a. it is distributed only as the original, unmodified .ZIP file
containing program and documentation
b. no fee is charged except reasonable and customary duplication and/or
connect time charges
c. it is not made part of, or included with any other goods or services.
CAF1.EXE and CAF2.EXE are software switches for foreign keyboards loaded
with KEYB.COM in DOS 3.30 and higher. They emulate the keystrokes
<Ctrl><Alt><F1> and <Ctrl><Alt><F2> used to switch between the foreign
and domestic (usually American) keyboards. They are useful in AUTOEXEC.BAT
if you use primarily the American keyboard but want to load a foreign
keyboard. Run CAF1 in your AUTOEXEC.BAT after loading KEYB.COM. This
emulates the <Ctrl><Alt><F1> keypress to switch to the American
keyboard, leaving the foreign keyboard ready to switch to with
<Ctrl><Alt><F2> or with CAF2.
I wrote CAF for my own use since I occaisionally write in German
with my American keyboard, and find it easier to load the German keyboad
in DOS rather than typing the ASCII codes for umlauts. However, I'd
always forget to switch to the American keyboard after loading until
inverting a few y's and z's, which are reversed on the German keyboard.
Now I don't have to remember!
Here's how I use CAF in my AUTOEXEC.BAT:
...
REM load German keyboard with KEYB.COM
c:\dos50\keyb gr,,c:\dos50\keyboard.sys
REM switch to US keyboard,leaving German keyboard in memory
c:\util\caf1
...
For more information on KEYB.COM and customizing DOS for foreign
languages, see the MS-DOS 5.0 Users Guide and Reference.
Command line usage:
CAF1
emulates <Ctrl><Alt><F1>, switches to domestic keyboard.
CAF2
emulates <Ctrl><Alt><F2>, switches to foreign keyboard.
Error messages:
CAF error: requires DOS 3.30 or greater.
CAF works only with the KEYB.COM keyboard program introduced
in DOS 3.30
CAF error: KEYB.COM not installed.
No foreign keyboard is installed, so there's no keyboard to
switch to.
Return codes:
0 on error.
1 if successful.
History:
Version 1.1 (4/9/92) Broke CAF into separate executables CAF1 and CAF2,
eliminating command line switches and simplifying matters.
Version 1.0 (1/4/92) Original release.
CAUTION: CAF has been tested on a 386/SX clone running DOS 3.3 and
5.0 only. Your system may have differences which may cause anything at
all to happen, including loss of data. You use CAF at your sole
option and risk.
CAF1 and CAF2 are copyrighted programs that you can freely use. If you
find them useful, please drop me a line by mail or CompuServe. I'd like
to hear from you!
Scott Hanson
Lämmersieth 40
W-2000 Hamburg 60
GERMANY
CompuServe ID: 71021,671