User`s guide

248
K
A
DAK
KwikNet Virtual File System
Compression Mode
The VFS Generator operates with file compression enabled or disabled. The current
compression state is referred to as the compression mode. By default, compression is
enabled. All files are compressed as they are inserted into your Virtual File System. This
default behavior can be altered using a VFS Generator command line switch as described
in Chapter 7.3.
The ...COMPRESS keyword can be used to change the VFS Generator's compression
mode.
...COMPRESS CMODE
Parameter CMODE defines the new compression mode. Set CMODE to c+ to enable
compression. Set CMODE to c- to disable compression. Omit parameter CMODE to restore
the default compression mode which was in effect when the VFS Generator was started.
Compression Strings
Compression strings are defined using either the ...STR or ...TAG keyword. These
keywords can be used in your VFS Definition File. They can also be used in a separate
VFS String File.
...STR "CSTRING"
...TAG "CSTRING"
Parameter CSTRING is the compression string. The string must begin and end with the
double quote character (", 0x22). The string can include any of the printable ASCII
characters (0x20 to 0x7E) as well as the tab (HT, 0x09), linefeed (LF, 0x0A) and return
(CR, 0x0D) characters. To include the following characters, you must use the specified
two character escape sequence.
HT (0x09) \t
LF (0x0A) \n
CR (0x0D) \r
" (0x22) \"
\ (0x5C) \\
The ...STR directive is used to define case sensitive compression strings. Such strings
are inserted into the VFS String List exactly as defined.
The ...TAG directive is used to define compression strings whose case can be easily
adjusted using the ...TAGCASE directive. Any string defined using the ...TAG directive
will be converted to upper or lower case or left unaltered prior to insertion in the VFS
String List according to the
...TAGCASE specification.