853 |
bttr |
1 |
|
|
|
2 |
%h*** MOUSE SUPPORT ***
|
|
|
3 |
|
|
|
4 |
To be able to use your mouse in your programs, you need a mouse driver.
|
|
|
5 |
SvarDOS has no mouse driver by default, but there's a package for it.
|
1034 |
bttr |
6 |
It's called CTMOUSE (CuteMouse). You need to install this package.
|
853 |
bttr |
7 |
|
|
|
8 |
%hINSTALLING CTMOUSE
|
|
|
9 |
|
|
|
10 |
If your SvarDOS system is connected to the internet, you can just type:
|
|
|
11 |
|
|
|
12 |
pkgnet pull ctmouse
|
|
|
13 |
pkg install ctmouse.svp
|
|
|
14 |
|
|
|
15 |
Otherwise you need to download 'ctmouse.svp' an another computer and supply it
|
|
|
16 |
to your SvarDOS installation by, e.g., floppy disk or USB drive.
|
|
|
17 |
|
|
|
18 |
Then type:
|
|
|
19 |
|
|
|
20 |
pkg install [<path to>]ctmouse.svp
|
|
|
21 |
|
|
|
22 |
%hLOADING CTMOUSE
|
|
|
23 |
|
|
|
24 |
If you don't care about the language CTMOUSE displays messages, then just add
|
|
|
25 |
this line to your C:\AUTOEXEC.BAT. Messages will then be displayed in English.
|
|
|
26 |
|
|
|
27 |
C:\DRIVERS\CTMOUSE\CTMOUSE.EXE
|
|
|
28 |
|
|
|
29 |
That's it! Now reboot your system to get the driver loaded.
|
|
|
30 |
|
|
|
31 |
But if you prefer CTMOUSE messages in your own language, check if CTMOUSE is
|
|
|
32 |
available in that language by looking at the CTM-*.EXE files in the
|
|
|
33 |
C:\DRIVERS\CTMOUSE\CTMOUSE\ directory.
|
|
|
34 |
|
1149 |
bttr |
35 |
BR means Brazilian Portuguese, DE stands for Deutsch (German), and so on.
|
853 |
bttr |
36 |
If you managed to find your language supported by CTMOUSE, then add this line
|
|
|
37 |
to your C:\AUTOEXEC.BAT.
|
|
|
38 |
|
|
|
39 |
C:\DRIVERS\CTMOUSE\CTMOUSE\CTM-xx.EXE
|
|
|
40 |
|
|
|
41 |
(Where xx stands for your language code.)
|
|
|
42 |
|
|
|
43 |
%hLANGUAGE-AWARE AUTO-SETUP
|
|
|
44 |
|
|
|
45 |
To let CTMOUSE messages adapt to your SvarDOS system's language automatically,
|
|
|
46 |
add the following lines to your C:\AUTOEXEC.BAT after the SET LANG=xx line.
|
|
|
47 |
|
|
|
48 |
SET CTM_BASEPATH=C:\DRIVERS\CTMOUSE
|
|
|
49 |
SET CTM_FULLPATH=%%CTM_BASEPATH%%\CTMOUSE\CTM-%%LANG%%.EXE
|
|
|
50 |
IF NOT EXIST %%CTM_FULLPATH%% SET CTM_FULLPATH=%%CTM_BASEPATH%%\CTMOUSE.EXE
|
|
|
51 |
%%CTM_FULLPATH%%
|
|
|
52 |
SET CTM_BASEPATH=
|
|
|
53 |
SET CTM_FULLPATH=
|
|
|
54 |
|
|
|
55 |
This will make your SvarDOS look for the translated CTMOUSE version first.
|
|
|
56 |
If that does not exist, then it falls back to English.
|
|
|
57 |
|
855 |
bttr |
58 |
%hMULTI-CONFIG SVARDOS SYSTEMS
|
|
|
59 |
|
|
|
60 |
If you decided to have multiple configurations in your CONFIG.SYS/AUTOEXEC.BAT
|
|
|
61 |
you would save the lines from LANGUAGE-AWARE AUTO-SETUP to a batch file, e.g.,
|
|
|
62 |
C:\BATCH\LOAD-CTM.BAT. Add an @ECHO OFF as the first line.
|
|
|
63 |
|
|
|
64 |
Then you can spread the next line to your AUTOEXEC.BAT file, whereever needed.
|
|
|
65 |
|
|
|
66 |
CALL C:\BATCH\LOAD-CTM.BAT
|
|
|
67 |
|
853 |
bttr |
68 |
See also:
|
|
|
69 |
* %lpkg.ama:SvarDOS packages management
|
856 |
bttr |
70 |
* %lnetwork.ama:Networking
|
853 |
bttr |
71 |
* C:\DRIVERS\CTMOUSE\DOC\CTMOUSE.TXT
|