/[public]/psiconv/trunk/etc/psiconv.conf.eg
ViewVC logotype

Contents of /psiconv/trunk/etc/psiconv.conf.eg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 217 - (show annotations)
Sun Feb 22 22:24:39 2004 UTC (20 years, 8 months ago) by frodo
File size: 3555 byte(s)
(Frodo) UTF8 work (it should now actually work!)

  * Replaced psiconv_unicode_from_char with psiconv_unicode_read_char
    and removed psiconv_unicode_from_chars
  * Replaced psiconv_unicode_to_char with psiconv_unicode_write_char
    and removed psiconv_unicode_to_chars
  * Rewrote psiconv_parse_text_section to be more sane, easier to read
    and to work with the above updates
  * Updated all places where the psiconv_unicode_from/to_char calls
    were used
  * Updated psiconv.conf.eg to reflect the correct character set numbers
  * Fixed a buglet that made it impossible to set verbosity to 5 in config
  * Removed strange code in make_printable
  * Rewrote the ENCODING_PSION option in the psiconv program to work
    with the new definitions.

1 # This is the configuration file for libpsiconv.
2 # By default, the library looks for /etc/psiconv/psiconv.conf and
3 # ~/.psiconv.conf, but programs may add more entries to this searchpath.
4 # Settings in later files overrule settings in earlier files (so everything
5 # in .psiconv.conf is more important than /etc/psiconv/psiconv.conf).
6
7 # All lines with only whitespace are ignored.
8 # Comment lines start with a hash (#) and are ignored.
9 # Comments are not allowed after statements.
10
11 # Statements are of the form:
12 # VAR=VALUE
13 # There may be whitespace around the = token.
14 # Variable names are case-insensitive.
15
16
17 ##########################
18 # ALL SETTINGS EXPLAINED #
19 ##########################
20
21 ####################
22 # General settings #
23 ####################
24
25 # The verbosity of the libary
26 # This determines how much output the library generates, especially when it
27 # is parsing Psion files.
28 # There are four levels of verbosity; higher numbers generate more output:
29 # 1: Only display fatal errors
30 # 2: Display errors
31 # 3: Display warnings
32 # 4: Display progress information
33 # 5: Display debug information
34 # Programs can use their own error/information reporting routines; by default,
35 # everything is logged to stderr.
36 #Verbosity = 3
37
38 ####################
39 # Display settings #
40 ####################
41
42 # Display settings are used when generating image files.
43
44 # Set Color to zero when you have a greyscale display, to one if you
45 # have a color display
46 #Color = 0
47
48 # The number of bits used to encode colors.
49 #ColorDepth = 2
50
51 # If you have a color display, colors may be encoded either as RGB colors
52 # or as entries in a palet. In the first case, set here the number of bits
53 # used to encode red, green and blue. Make sure the sum of these bit numbers
54 # equals the ColorDepth set above. To use one of the default palets,
55 # set all three to zero.
56 # If you have a greyscale display, these settings are ignored.
57 #RedBits = 0
58 #GreenBits = 0
59 #BlueBits = 0
60
61 ############################
62 # Character table settings #
63 ############################
64
65 # Settings to determine the used character set
66
67 # The character set used in EPOC files (individual characters can be
68 # changed below)
69 # 0: Unicode (Eastern Psions)
70 # 1: IBM Codepage 1252 (Western Europe Psions)
71 # If you have another characterset, please let me know, and I will add it here.
72 #CharacterSet = 0
73
74 # if the character set specified above does not completely match, you can
75 # change individual characters here. The number in the variable name is the
76 # number of the EPOC format character; the number in the value is the
77 # corresponding Unicode codepoint.
78 #Char130 = 33304
79
80 # The unknown character placeholder (EPOC format)
81 # When translating from Unicode back to EPOC format, the Unicode character
82 # may not be presentable. This is the Psion codepage character number to
83 # use in this case. The default below is a question mark.
84 # Allowed values: 0 to 255
85 #UnknownEPOCChar = 63
86
87 # The unknown character placeholder (Unicode format)
88 # When translating from EPOC format to Unicode, the EPOC character
89 # may not be known. This is the Unicode character number to
90 # use in this case. The default below is a question mark.
91 # Allowed values: 0 to 65535
92 #UnknownUnicodeChar = 63
93
94
95 ####################################
96 # DEFAULTS FOR THE PSION 5 AND 5MX #
97 ####################################
98
99 Color = 0
100 ColorDepth = 2
101 #RedBits = 0
102 #GreenBits = 0
103 #BlueBits = 0
104 CharacterSet = 1
105 UnknownUnicodeChar = 63
106 UnknownEPOCChar = 63
107
108 ###########################
109 # ADD YOUR SETTINGS BELOW #
110 ###########################

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26