Subversion Repositories SvarDOS

Rev

Rev 447 | Rev 469 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 447 Rev 467
Line 1... Line 1...
1
 
1
 
2
                    === SvarCOM implementation notes ===
2
                    === SvarCOM implementation notes ===
3
 
3
 
4
 
4
 
-
 
5
=== NLS strings ==============================================================
-
 
6
 
-
 
7
SvarCOM can output information in many languages. To do so, it relies on a
-
 
8
precompiled resource file named SVARCOM.LNG. When SvarCOM starts, it looks
-
 
9
for this file in the %NLSPATH% directory and loads from it the part that
-
 
10
contains the %LANG% language. All this is done by nls_langreload().
-
 
11
 
-
 
12
The SVARCOM.LNG file is compiled by a separate tool: TLUMACZ. It takes
-
 
13
CATS-style language files as input and compiles them into a single SVARCOM.LNG
-
 
14
resource file. It also produces a DEFAULT.LNG with english strings only, this
-
 
15
one is embedded into the SvarCOM executable to display english text in case
-
 
16
SVARCOM.LNG is unavailable.
-
 
17
 
-
 
18
 
5
=== Batch files support ======================================================
19
=== Batch files support ======================================================
6
 
20
 
7
When SvarCOM executes a command, it checks first if it has a *.BAT extension.
21
When SvarCOM executes a command, it checks first if it has a *.BAT extension.
8
If so, it switches into 'batch-mode':
22
If so, it switches into 'batch-mode':
9
 - allocates a batch 'node', which is a memory area that contains the
23
 - allocates a batch 'node', which is a memory area that contains the