Subversion Repositories SvarDOS

Rev

Rev 856 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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