Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 1212 → Rev 1213

/help/help-br/mouse.ama
1,71 → 1,77
 
%h*** MOUSE SUPPORT ***
 
To be able to use your mouse in your programs, you need a mouse driver.
SvarDOS has no mouse driver by default, but there's a package for it.
It's called CTMOUSE (CuteMouse). You need to install this package.
 
%hINSTALLING CTMOUSE
 
If your SvarDOS system is connected to the internet, you can just type:
 
pkgnet pull ctmouse
pkg install ctmouse.svp
 
Otherwise you need to download 'ctmouse.svp' an another computer and supply it
to your SvarDOS installation by, e.g., floppy disk or USB drive.
 
Then type:
 
pkg install [<path to>]ctmouse.svp
 
%hLOADING CTMOUSE
 
If you don't care about the language CTMOUSE displays messages, then just add
this line to your C:\AUTOEXEC.BAT. Messages will then be displayed in English.
 
C:\DRIVERS\CTMOUSE\CTMOUSE.EXE
 
That's it! Now reboot your system to get the driver loaded.
 
But if you prefer CTMOUSE messages in your own language, check if CTMOUSE is
available in that language by looking at the CTM-*.EXE files in the
C:\DRIVERS\CTMOUSE\CTMOUSE\ directory.
 
BR means Brazilian Portuguese, DE stands for Deutsch (German), and so on.
If you managed to find your language supported by CTMOUSE, then add this line
to your C:\AUTOEXEC.BAT.
 
C:\DRIVERS\CTMOUSE\CTMOUSE\CTM-xx.EXE
 
(Where xx stands for your language code.)
 
%hLANGUAGE-AWARE AUTO-SETUP
 
To let CTMOUSE messages adapt to your SvarDOS system's language automatically,
add the following lines to your C:\AUTOEXEC.BAT after the SET LANG=xx line.
 
SET CTM_BASEPATH=C:\DRIVERS\CTMOUSE
SET CTM_FULLPATH=%%CTM_BASEPATH%%\CTMOUSE\CTM-%%LANG%%.EXE
IF NOT EXIST %%CTM_FULLPATH%% SET CTM_FULLPATH=%%CTM_BASEPATH%%\CTMOUSE.EXE
%%CTM_FULLPATH%%
SET CTM_BASEPATH=
SET CTM_FULLPATH=
 
This will make your SvarDOS look for the translated CTMOUSE version first.
If that does not exist, then it falls back to English.
 
%hMULTI-CONFIG SVARDOS SYSTEMS
 
If you decided to have multiple configurations in your CONFIG.SYS/AUTOEXEC.BAT
you would save the lines from paragraph LANGUAGE-AWARE AUTO-SETUP to a batch
file, e.g., C:\BATCH\LOAD-CTM.BAT. Add an @ECHO OFF as the first line.
 
Then you can spread the next line to your AUTOEXEC.BAT file, wherever needed.
 
CALL C:\BATCH\LOAD-CTM.BAT
 
See also:
* %lpkg.ama:SvarDOS packages management
* %lnetwork.ama:Networking
* C:\DRIVERS\CTMOUSE\DOC\CTMOUSE.TXT
 
%h*** SUPORTE A MOUSE ***
 
Para usar o mouse em seus programas, é necessário um controlador (driver) para
o mouse.
O SvarDOS não tem um controlador de mouse por padrão, mas há um pacote para
isso. Ele se chama CTMOUSE (CuteMouse). É necessário instalar esse pacote.
 
%hINSTALANDO O CTMOUSE
 
Se o seu sistema SvarDOS estiver conectado a internet, só é preciso digitar:
 
pkgnet pull ctmouse
pkg install ctmouse.svp
 
Caso contrário, é necessário fazer o download do pacote 'ctmouse.svp' em outro
computador e copiá-lo para sua instalação do SvarDOS usando por exemplo, um
disquete ou dispositivo USB.
 
Então digite:
 
pkg install [<caminho para>]ctmouse.svp
 
%hCARREGANDO O CTMOUSE
 
Se você não se importar com o idioma com que o CTMOUSE mostra as mensagens,
adicione essa linha ao seu C:\AUTOEXEC.BAT. As mensagens serão mostradas em
Inglês.
 
C:\DRIVERS\CTMOUSE\CTMOUSE.EXE
 
E pronto! Agora reinicie seu sistema para que o controlador carregue.
 
Mas se você prefere as mensgens do CTMOUSE em seu próprio idioma, verifique se
o CTMOUSE está disponível no idioma vendo os arquivos CTM-*.EXE no diretório
C:\DRIVERS\CTMOUSE\CTMOUSE\
 
BR significa Português do Brasil, DE significa Alemão, e assim por diante.
Se você confirmar que seu idioma é suportado pelo CTMOUSE, então adicione essa
linha ao seu C:\AUTOEXEC.BAT.
 
C:\DRIVERS\CTMOUSE\CTMOUSE\CTM-xx.EXE
 
(Onde xx é o código de linguagem do seu idioma).
 
%hCONFIGURAÇÃO AUTOMÁTICA CONFORME IDIOMA
 
Para fazer as mensagens do CTMOUSE se adaptarem ao idioma do sistema SvarDOS
automaticamente, adicione a seguintes linhas ao seu C:\AUTOEXEC.BAT, após a
linha SET LANG=xx.
 
SET CTM_BASEPATH=C:\DRIVERS\CTMOUSE
SET CTM_FULLPATH=%%CTM_BASEPATH%%\CTMOUSE\CTM-%%LANG%%.EXE
IF NOT EXIST %%CTM_FULLPATH%% SET CTM_FULLPATH=%%CTM_BASEPATH%%\CTMOUSE.EXE
%%CTM_FULLPATH%%
SET CTM_BASEPATH=
SET CTM_FULLPATH=
 
Isso fará o SvarDOS procurar a versão traduzida do CTMOUSE primeiro.
Se ela não existir, ele voltará a usar o Inglês.
 
%hSISTEMAS SVARDOS MULTICONFIGURAÇÃO
 
Se você decidir ter múltiplas configurações em seus arquivos CONFIG.SYS e
AUTOEXEC.BAT, salve as linhas do parágrafo CONFIGURAÇÃO AUTOMÁTICA CONFORME
IDIOMA para um arquivo de comandos em lote (arquivo batch) como por exemplo,
C:\BATCH\LOAD-CTM.BAT. Adicione um @ECHO OFF na primeira linha.
 
Assim, você poderá inserir a próxima linha no seu arquivo AUTOEXEC.BAT file,
onde for necessário.
 
CALL C:\BATCH\LOAD-CTM.BAT
 
Veja também:
* %lpkg.ama:Gerenciamento de pacotes do SvarDOS
* %lnetwork.ama:Rede
* C:\DRIVERS\CTMOUSE\DOC\CTMOUSE.TXT