home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
ispel32r.zip
/
README.OS2
< prev
next >
Wrap
Text File
|
2002-03-09
|
7KB
|
193 lines
*** Russian version of this text is below *** Éπß߬á∩ óÑαß¿∩ ΓѬßΓá ¡¿ªÑ ***
This is a ISPELL 3.2.06, ported for OS/2
** NOTE **
This program requires HPFS partition for installation and operation.
Checked files, of course, can reside on any file system.
** TO SETUP **
0) Move WCA0A3OR.DLL into any directory, specified in your LIBPATH.
I am recommending to create a special directory (something like
"D:\TOOLS\DLL"), add it to your LIBPATH and put ALL single DLL's
(like EMX*.DLL) into this directory.
Of course, you can add ISPELL directory to LIBPATH, but I do not like
this because you LIBPATH string will grow longer and longer even if
a single DLL is requried from this directory.
1) Build hash tables for required languages:
- Go to "Languages\Your_Language" directory
(for example, "languages\russian")
- Run SETUP.CMD
You can build hash tables for as much languages as you need.
2) By default, ISPELL uses "english" language. You can redefine this in two
different ways:
a) Set enviroment variable DICTIONARY to reflect your language.
You can do it by adding line below to CONFIG.SYS or any .CMD file.
For example, if you have in your CONFIG.SYS
SET DICTIONARY=russian
ISPELL will use russian dictionary by default.
b) Use "-d" command-line option. For example, command
ispell -d russian myfile.txt
will check "myfile.txt" using russian dictionary.
You can create .CMD file, look at RUSPELL.CMD for example.
3) It it recommened, but not required, to set HOME enviroment variable in
your CONFIG.SYS, like this:
SET HOME=D:\Home
(and create, of course, directory "D:\Home" on your disk.) You can use
any name you want, but this directory must reside on HPFS or other
partition supporting long file names. Home directory used by many
UNIX tools and ported programs to keep their configuration files and
user settings. ISPELL will use it to keep personal dictionaries.
** DOCUMENTATION **
For general information about ISPELL, check "README" file (although most of
information about compilation etc. is useless for OS/2 user)
For full UNIX-style manual :) and list of command-line options
look at "ispell_1x.txt" file.
For information about format of ispell dictionaries and affix files,
look at "ispell_4.txt" file.
** CHANGES MADE (comparing to original code) **
- Added some checks for write operations, but not all conditions are checked
yet. (Original UNIX version do not checking anything at all). For complete
safety, be sure you have at least (2 * Size_of_you_file) Kbytes free on
you disk.
- Case if characters ignored during filename comparation.
- "Suspend" command removed from OS/2 version. it can be useful only for
classic unix terminals (IMHO).
- "Lookup" command implemented as regexp search in dictionary.
- Backup files created as "filename.bak" instead of "filename.ext.bak"
(compatible with FAT filesystems)
** HOW TO CONTACT ME **
In general, I do not going to fix ISpell-specific bugs. But, if the problem
you have found is very important, I can try to do my best. Please include
shortest possible sample. Reporting bugs about OS/2-specific stuff is always
welcome.
Write bug reports about OS/2 port to:
Roman Trunov
proxyma@tula.net
Binaries should be avaiable at www site
http://www.proxyma.ru/stream
Other bug reports shall be sent to ISpell authors.
************************** Russian translation ***********************
Åα«úαá¼¼á »α«óÑન «αΣ«úαáΣ¿¿ ISPELL 3.2.06, »«αΓ ñ½∩ OS/2
** éìêîÇìêà **
ä½∩ ¿¡ßΓá½½∩µ¿¿ ¿ αáí«Γδ ΓαÑíπÑΓß∩ HPFS ¿½¿ ñαπúá∩ »«ññÑনóáεΘá∩ ñ½¿¡¡δÑ
¿¼Ñ¡á Σá⌐½«óá∩ ß¿ßΓѼá. Åα«óÑα∩ѼδÑ Σá⌐½δ, ΓѼ ¡Ñ ¼Ñ¡ÑÑ, ¼«úπΓ ¡áσ«ñ¿Γß∩
¡á ½εíδσ αáºñѽáσ.
** ôæÆÇìÄéèÇ **
0) ÅÑαÑ¡Ñß¿ΓÑ WCA0A3OR.DLL ó ¬áΓὫú, π¬áºá¡¡δ⌐ ó óáΦѼ LIBPATH.
ƒ αѬ«¼Ñ¡ñπε ßñѽáΓ∞ ߻ѵ¿á½∞¡δ⌐ ¬áΓὫú (¡á»α¿¼Ñα, "D:\TOOLS\DLL")
¿ ñ«íáó¿Γ∞ Ñú« ó LIBPATH. Å«Γ«¼ ó φëà ¬áΓὫú ¼«ª¡« ¬¿ñáΓ∞ óß∩¬¿Ñ
«ñ¿¡«τ¡δÑ ¿ ¡Ñ ß«óßѼ «ñ¿¡«τ¡δÑ DLL (¡á»α¿¼Ñα, EMX*.DLL). è«¡Ñτ¡«,
¼«ª¡« »α«ßΓ« ñ«íáó¿Γ∞ ¬áΓὫú ß ISPELL ó LIBPATH, ¡« »α¿ Γᬫ¼ »«ñσ«ñÑ
LIBPATH íπñÑΓ αáßΓ¿ óßÑ í«½∞ΦÑ ¿ í«½∞ΦÑ, σ«Γ∩, 󫺼«ª¡«, ¿º ¬á¬«ú«-Γ«
¬áΓὫúá »«ΓαÑíπÑΓß∩ «ñ¡á-Ññ¿¡ßΓóÑ¡¡á∩ DLL.
1) Å«ßΓα«⌐ΓÑ hash-Γáí½¿µδ ñ½∩ ¡πª¡δσ óá¼ ∩ºδ¬«ó:
- ÅÑαÑ⌐ñ¿ΓÑ ó ¬áΓὫú "Languages\óáΦ_∩ºδ¬"
- çá»πßΓ¿ΓÑ setup.cmd
Åα¿ ¡á½¿τ¿¿ ß½«óáαÑ⌐ ¼«ª¡« »«ßΓα«¿Γ∞ Γáí½¿µδ ñ½∩ ½εí«ú« ¬«½¿τÑßΓóá
¡πª¡δσ óá¼ ∩ºδ¬«ó.
2) Å« π¼«½τá¡¿ε ISPELL ¿ß»«½∞ºπÑΓ á¡ú½¿⌐߬¿⌐ ∩ºδ¬ (ß½«óáα∞ "english").
¥Γ« ¼«ª¡« »ÑαÑ«»αÑñѽ¿Γ∞ ñóπ¼∩ ß»«ß«íἿ:
a) ôßΓá¡«ó¿Γ∞ »ÑαѼѡ¡πε «¬απªÑ¡¿∩ DICTIONARY, ó ¬«Γ«α«⌐ π¬áºáΓ∞
¡πª¡δ⌐ ∩ºδ¬. ¥Γ« ¼«ª¡« ßñѽáΓ∞ ó CONFIG.SYS ¿½¿ .CMD-Σá⌐½Ñ, ¿º
¬«Γ«α«ú« ºá»π߬áÑΓß∩ ISPELL. ìá»α¿¼Ñα, Ñß½¿ π óáß ó CONFIG.SYS
¡á»¿ßá¡«:
SET DICTIONARY=russian
ISPELL íπñÑΓ ¿ß»«½∞º«óáΓ∞ »« π¼«½τá¡¿ε απß߬¿⌐ ∩ºδ¬.
í) êß»«½∞º«óáΓ∞ «»µ¿ε ¬«¼á¡ñ¡«⌐ ßΓ᫬¿ "-d". ìá»α¿¼Ñα, ¬«¼á¡ñá
ispell -d russian myfile.txt
»α«óÑα¿Γ myfile.txt, ¿ß»«½∞ºπ∩ απß߬¿⌐ ß½«óáα∞.
¡« ß«ºñáΓ∞ .CMD-Σá⌐½ ñ½∩ ºá»π߬á ispell ß φΓ«⌐ «»µ¿Ñ⌐.
é ¬áτÑßΓóÑ »α¿¼Ñαá ó ñ¿ßΓα¿íπΓ¿óÑ ÑßΓ∞ ruspell.cmd
3) ÉѬ«¼Ñ¡ñπÑΓß∩, σ«Γ∩ ¿ ¡Ñ ∩ó½∩ÑΓß∩ «í∩ºáΓѽ∞¡δ¼, πßΓá¡«ó¿Γ∞ ó CONFIG.SYS
»ÑαѼѡ¡πε «¬απªÑ¡¿∩ "HOME", ¡á»α¿¼Ñα:
SET HOME=D:\Home
¿ ß«ºñá⌐ΓÑ ¡á ñ¿ß¬Ñ ¬áΓὫú "D:\Home". è«¡Ñτ¡«, óδ ¼«ªÑΓÑ ¿ß»«½∞º«óáΓ∞
½εí«Ñ ¿¼∩ ñ½∩ φΓ«ú« ¬áΓὫúá, ¡« «¡ ñ«½ªÑ¡ αẼÑΘáΓ∞ß∩ ¡á HPFS ¿½¿
ñαπú«⌐ »«ññÑনóáεΘÑ⌐ ñ½¿¡¡δÑ ¿¼Ñ¡á Σá⌐½«ó«⌐ ß¿ßΓѼÑ. ¥Γ«Γ "ñ«¼áΦ¡¿⌐"
¬áΓὫú ¿ß»«½∞ºπÑΓß∩ ¼¡«ú¿¼¿ »ÑαÑ¡ÑßÑ¡¡δ¼¿ ¿º ε¡¿¬ßá »α«úαἼἿ ñ½∩
»«¿ß¬á Σá⌐½«ó ¬«¡Σ¿úπαᵿ¿ ¿ σαá¡Ñ¡¿∩ ½¿τ¡δσ ñá¡¡δσ »«½∞º«óáΓѽ∩.
ISPELL íπñÑΓ σαá¡¿Γ∞ ó φΓ«¼ ¬áΓὫúÑ ½¿τ¡δÑ ß½«óáα¿.
** äÄèôîàìÆÇûêƒ **
ÄíΘá∩ ¿¡Σ«α¼áµ¿∩ « ISPELL, ñá¡á ó Σá⌐½Ñ "README" (σ«Γ∩ í«½∞Φá∩ ÑÑ τáßΓ∞ --
« ¬«¼»¿½∩µ¿¿ ¿ Γ.». -- íÑß»«½Ñº¡á ñ½∩ »«½∞º«óáΓѽÑ⌐ OS/2)
Å«½¡δ⌐ ε¡¿¬ß¬«¿ñ¡δ⌐ MANπá½ ¿ ß»¿ß«¬ «»µ¿⌐ ¬«¼á¡ñ¡«⌐ ßΓ᫬¿ »α¿óÑñÑ¡ ó Σá⌐½Ñ
"ispell_1x.txt".
ö«α¼áΓ ß½«óáαÑ⌐ ¿ ß½«ó««íαẫóáΓѽ∞¡δσ Σá⌐½«ó ñá¡ ó Σá⌐½Ñ "ispell_4.txt".
** êæÅÉÇéïàìêƒ (»« ßαáó¡Ñ¡¿ε ß «α¿ú¿¡á½∞¡δ¼¿ ¿ßσ«ñ¡¿¬á¼¿) **
- ä«íáó½Ñ¡δ ¡Ñ¬«Γ«αδÑ »α«óÑન πß»ÑΦ¡«ßΓ¿ ºá»¿ß¿ ¡á ñ¿ß¬. è ß«ªá½Ñ¡¿ε,
»α«óÑα∩εΓß∩ ¡Ñ óßÑ ß¿Γπᵿ¿, ¡« «α¿ú¿¡á½∞¡á∩ óÑαß¿∩ ó««íΘÑ ¡Ñ ¿¼Ñ½á
¡¿¬á¬¿σ »α«óÑ᫬ ¼ÑßΓá ¡á ñ¿ß¬Ñ :-( ùΓ«íδ íδΓ∞ »«½¡«ßΓ∞ε πóÑαÑ¡¡δ¼,
πíÑñ¿ΓÑß∞, τΓ« ¡á óáΦѼ ñ¿ß¬Ñ ßó«í«ñ¡« »« ¬αá⌐¡Ñ⌐ ¼ÑαÑ (2*αẼÑα_
_»α«óÑα∩Ѽ«ú«_Σá⌐½á) ¬¿½«íá⌐Γ.
- ê¼Ñ¡á Σá⌐½«ó ßαáó¡¿óáεΓß∩ íѺ πτÑΓá αÑú¿ßΓαá ß¿¼ó«½«ó.
- 諼á¡ñá "Suspend" πíαá¡á ¿º óÑαß¿¿ ñ½∩ OS/2. èᬠ¼¡Ñ ¬áªÑΓß∩, «¡á »α¿¼Ñ¡¿¼á
Γ«½∞¬« ¬ ε¡¿¬ß-ΓÑନ¡á½á¼.
- 諼á¡ñá "Lookup" αÑ὿º«óá¡á ¬á¬ regexp-»«¿ß¬ »« ß½«óáαε.
- .bak-Σá⌐½δ ß«ºñáεΓß∩ ¬á¬ "filename.bak", á ¡Ñ "filename.ext.bak"
(ñ½∩ ß«ó¼ÑßΓ¿¼«ßΓ¿ ß FAT)
** èÇè æÄ îìÄë æéƒçÇÆ£æƒ **
é «íΘѼ ß½πτáÑ, ∩ ¡Ñ ß«í¿αáεß∞ ¿ß»αáó½∩Γ∞ «Φ¿í¬¿ ó ßἫ¼ ISpell. ò«Γ∩, Ñß½¿
óáΦá »α«í½Ñ¼á ºáΓαáú¿óáÑΓ í«½∞Φ«Ñ ¬«½¿τÑßΓó« ½εñÑ⌐ ¿ ¼Ñ¡∩ ½¿τ¡«, ∩ »«»δΓáεß∞
ßñѽáΓ∞, τΓ« ß¼«úπ. Å«ªá½π⌐ßΓá, »α¿ßδ½á⌐ΓÑ »α¿¼Ñα ¼¿¡¿¼á½∞¡«⌐ ñ½¿¡δ.
üáú-αÑ»«αΓδ, ¬áßáεΘ¿Ñß∩ ¿¼Ñ¡¡« αáí«Γδ (¡Ñαáí«Γδ) ISpell ó OS/2 (ó óáΦÑ⌐
¬«¡Σ¿úπαᵿ¿ OS/2), »α¿¡¿¼áεΓß∩ íѺ «úαá¡¿τÑ¡¿⌐ :)
Roman Trunov
proxyma@tula.net
öá⌐½δ ñ«ßΓπ»¡δ ¡á www-ßá⌐ΓÑ
http://www.proxyma.ru/stream