; comment character is a semicolon.
;
; This file contains the character set translation for the DEC VT-330
; (in both 7 and 8 bit mode).  
;
; ASSUMPTIONS
;
; This translation is for a terminal which has ASCII in GL and the
; Dec Multinational character set in GR (This is the default for the DEC VT-330
; terminal).   It is possible to set the terminal so that the upper half
; of ISO-1 is in GR and in that case no character set translation would need
; to be performed.
;
; The terminal stores 4 character sets in its memory.  These
; character sets are referred to as GO, G1, G2, and G3.  This translation
; assumes that ASCII is in G0, DEC Multinational is in G1, and the upper
; half of ISO-1 is is G2.  The following escape sequences accomplish this:
;
;	ESC(B		ASCII into GO
;	ESC)<		Dec Multinational into G1
;	ESC*A		ISO-1 into G2 
;
; Server->Display Translation
;
; All characters in ISO-1 can be displayed on the VT-330.  Most of the
; characters in the upper half of ISO-1 have the same codes as in the
; Multinational character set.  For these no translation is required. 
; There are a couple of characters which are in both character sets but
; have different character codes.  These will need to be mapped to the
; correct code in the Multinational character set.  
;
; Finally there are a handful of characters which do not appear in the
; Multinational character set.  For those the following will need to be
; done:
;	1) Shift G2 (ISO-1) into GR (0x1b7d)
;	2) 'print' the character
;	3) Shift G1 (Dec Multinational) back into GR (0x1b7e)
;
; For example, to print out the three-fourths character which is in
; ISO-1 but not in Dec Multinational the following mapping would be 
; perfomed;
;
;	mapping= 0x8e, 0x1b7d8e1b7e
;
;
; Display->Server Translation
;
; As above, the characters which have the same character codes in both
; ISO-1 and Dec Multinational do not need to have any mapping.  The
; characters which are in both sets but have different character codes
; need to be mapped to the character code in ISO-1.  
;
; There are 3 characters in the Dec Multinational character set which are
; not in the ISO-1 character set, for example oe ligature.  That means that
; oe ligature cannot be stored in the server as oe ligature.  It must be
; stored as something else.  In this case oe ligature will be mapped to 
; the two character sequence 'oe'.  Note that when the data is retrieved
; from the server it will be printed out as the two characters 'oe', not
; as oe ligature.
;
; NOTE TO DISTRIBUTORS:  The three characters in DEC Multinational which do
; not appear in ISO-1 are small oe ligature, capital OE ligature, and
; capital Y with diaeresis.  The following substitustions will be made
; for these characters:
;
;	oe ligature  -> oe
;	OE ligature  -> OE
;       Y with diaeresis -> IJ
;
; If these substitutions are inappropriate for your area change the mappings
; below.
;
[file format]
	;left and right brackets will delimit section titles.
	; Any special characters, including the comment character
	; and the section-title delimiters, may be interpreted
	; literally by preceding them with the escape character.
	; In addition, any line that ends with the escape character
	; will be continued on the next line.
	version=4.2	; First International Release
	list_separator=,	;commas will separate the members of a list
	escape=\		; backslash is the escape symbol.
[server to display]
; 
; 
;  characters which appear in both the upper half of ISO-1 and Dec Multinational
;  but have different character codes
;
	mapping= 0xa4, 0xa8 ; currency sign
	mapping= 0xff, 0xfd ; small letter y with with diaeresis
;
;
; characters in ISO-1 which are not in Dec Multinational.  To print them
; out need to do the shifting described above.
;
;
	mapping= 0xa0, 0x1b7da01b7e ; No-break space
	mapping= 0xa6, 0x1b7da61b7e ; broken bar
	mapping= 0xa8, 0x1b7da81b7e ; diaeresis
	mapping= 0xac, 0x1b7dac1b7e ; not sign
	mapping= 0xad, 0x1b7dad1b7e ; soft hyphen
	mapping= 0xae, 0x1b7dae1b7e ; registered trademark sign
	mapping= 0xaf, 0x1b7daf1b7e ; macron
	mapping= 0xb4, 0x1b7db41b7e ; acute accent
	mapping= 0xb8, 0x1b7db81b7e ; cedilla
	mapping= 0xbe, 0x1b7dbe1b7e ; vulgar fraction three quarters
	mapping= 0xd0, 0x1b7dd01b7e ; capital icelandic letter eth
	mapping= 0xd7, 0x1b7dd71b7e ; multiplication sign
	mapping= 0xdd, 0x1b7ddd1b7e ; capital letter Y with acute accent
	mapping= 0xde, 0x1b7dde1b7e ; capital icelandic letter thorn
	mapping= 0xf0, 0x1b7df01b7e ; small icelandic letter eth
	mapping= 0xf7, 0x1b7df71b7e ; division sign
	mapping= 0xfc, 0x1b7dfc1b7e ; small letter u with diaeresis
	mapping= 0xfd, 0x1b7dfd1b7e ; small letter y with acute accent
	mapping= 0xfe, 0x1b7dfe1b7e ; small icelandic letter thorn

[display to server]
;
; 
; 
;  characters which appear in both the upper half of ISO-1 and Dec Multinational
;  but have different character codes
;
	mapping= 0xa8, 0xa4 ; currency sign
	mapping= 0xfd, 0xff ; small letter y with with diaeresis
;
;
;  Characters in the display character set which do not appear in the server's
;  character set.  These characters will be mapped to reasonable substitutes.
;
;  NOTE TO DISTRIBUTORS: please review the substitutes chosen.  If any of
;  these are not appropriate for your area
;
;
	mapping= 0xd7, 0x4f45 ; map capital OE ligature to OE
	mapping= 0xf7, 0x6f65 ; map capital oe ligature to oe
	mapping= 0xdd, 0x494a ; map capital Y with diaeresis to IJ
