Commit Graph

24 Commits

Author SHA1 Message Date
Ed Maste
bfb439bb66 kbdmap(1): Correct menu title: keyboards have a layout, not a language
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D2545
2015-05-14 18:09:56 +00:00
Ed Maste
eb34081ba1 Restore 'he' language code for Hebrew kbdmap(1) menu title
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2015-05-14 14:40:01 +00:00
Ed Maste
e51fbd6f54 Correct language code -- "Danish" is English
The menu entry "Danish ISO-8859-1 (macbook)" was first added to the
syscons(4) INDEX.keymaps in r241851 with no language code, and then in
r256367 incorrectly tagged with "da".  It is a Danish keyboard map, but
the description is in English and therefore must be "en".

This error subsequently propagated into the vt(4) INDEX.keymaps.

PR:		146793, 193656
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2015-05-14 14:07:44 +00:00
Ed Maste
37842ca51f Correct UTF-8 encoding in Británico
One á was ISO 8859-1 0xE1 instead of UTF-8 0xC3 0xA1.
2015-05-14 13:27:24 +00:00
Stefan Eßer
dfa754ef3e Add forgotten keymap files fr.kbd and fr.acc.kbd to the FILES list.
Obtained from:	thierry
MFC after:	3 days
2014-09-12 06:23:57 +00:00
Stefan Eßer
7a93a037ea Next round of fixes.
MFC after:	3 days
2014-08-21 20:33:09 +00:00
Stefan Eßer
fdd869bd8a Another rpund of fixes, after checking keymaps for plausibility and with
several updates to the converter tools. There is now support for hybrid
source keymaps, which e.g. use ISO8859-1 (not -15) but still provide an
Euro key (on the "E" key). ISO8859-1 currency symbols on other keys are
still converted to that character, not the Euro sign. A similar hack was
applied to the Japanese keyboards to add the Yen key, that could not be
expressed in SYSCONS.

Several modifications have been applied after the conversion (removal of
unused accents tables, some reformatting, exchange of a few key symbols).

The German keymap (de.kbd) is now using deadkeys only for those keys,
that behave that way under Windows. There are now ".acc" and ".noacc"
variants, which use deadkeys vs. nodeadkeys for all accent keys.

I'm still in the process of comparing keymaps that existed in different
encodings in SYSCONS. These are generally translated slightly differently,
either because of mistakes, or because of different preferences, or due
to limitations of the respective encoding.

MFC after:	3 days
2014-08-20 17:00:47 +00:00
Stefan Eßer
0ee7262a72 Fix conversion errors leading to malformed keymap files.
MFC after:	3 days
2014-08-20 07:48:09 +00:00
Stefan Eßer
62016143f1 Fix a few conversion problems (e.g. when a keymap is derived from ISO8859-1,
but shall provide an Euro sign - similar for Japanese Yen).

The Brazilian keymap "br.kbd" now has accents, by default - the no-accents
version has been renamed to "br.noacc.kbd".

MFC after:	3 days
2014-08-18 21:07:12 +00:00
Ed Maste
9b3057f932 Add Canadian Bilingual keyboard 2014-08-18 17:10:55 +00:00
Ed Maste
63200084dc Rename ca keyboard to ca-fr
"ca" will shortly be used for the Canadian Multilingual keyboard.
2014-08-18 01:49:42 +00:00
Stefan Eßer
7ba08f8145 Attempt at converting the SYSCONS keymaps to Unicode for use with NEWCONS.
I have spent many hours comparing source and destination formats, and hope
to have caught the most severe conversion errors.

Files were converted with a Perl script which I'll shortly commit to the
tools directory. This script is a much enhanced version of the one
provided by ray@ and is expected to support the full kbdmap(5) syntax.

The naming convention used is:

 <2-letter country code>.<variant>.kbd

Only if there are multiple layouts for different languages:

 <2-letter country code>-<2-letter language code>.<variant>.kbd

In nearly all cases, the keyboards are country specific, only. Currently
there is only one case where the language was added ("ch-fr.kbd" for
the Swiss-French keyboard layout).

I choose to write Unicode character codes as hex numbers. While this
increases the diff to the SYSCONS keymap files for the trivial cases
(conversion from ISO8859-1), it really helps to verify the more complex
cases against a Unicode table (which is indexed by hex numbers).

This commit does not cover all files that have been converted, since I
need to sort out which ones to use, if there were several with different
source encodings to choose from.

Review and test of the keymap files is highly desirable before 10.1 is
released. I'd also appreciate educated opinions regarding the optimum
variant (to be made available as the default for each language).

Since there are no NEWCONS keymaps in 10-STABLE, I plan to MFC after
the minimum allowed delay of 3 days, to allow at least a few weeks to
test and improve what will be in the next release.

MFC after:	3 days
2014-08-17 19:54:21 +00:00
Ed Maste
661840985b Fix euro symbol in copied keymaps
These were copied from share/syscons/keymaps/??.iso.kbd.  They were
not actually ISO 8859-1 as assumed.  When interpreted as Unicode they
ended up with the generic currency sign (U+00A4) instead of the euro
(U+20AC).

Reported by:	Claude Buisson, tijl@
2014-08-14 13:45:02 +00:00
Ed Maste
d43409ee19 Remove trailing whitespace 2014-08-13 19:55:14 +00:00
Ed Maste
a232c1d130 Copy country-code .iso syscons keymaps for vt(4)
Existing syscons ISO 8859-1 keymaps (??.iso.kbd) are usable without
change as Unicode keymaps for vt(4).

Sponsored by:	The FreeBSD Foundation
2014-08-13 19:06:29 +00:00
Edward Tomasz Napierala
03eb55e53c Add polish vt(4) keymap.
Sponsored by:	The FreeBSD Foundation
2014-06-18 07:23:04 +00:00
Ed Maste
31bcfda84e Add glyphs from converted syscons iso* fonts
This consists of the unique glyphs from the following font files in
/usr/share/syscons/fonts:

iso*.fnt     ISO-8859-1 West European
iso02*.fnt   ISO-8859-2 Central European
iso04*.fnt   ISO-8859-4 Baltic
iso05*.fnt   ISO-8859-5 Cyrillic
iso07*.fnt   ISO-8859-7 Greek
iso08*.fnt   ISO-8859-8 Hebrew
iso09*.fnt   ISO-8859-9 Turkish
iso15*.fnt   ISO-8859-15 West European

Sponsored by:	The FreeBSD Foundation
2014-06-17 13:12:30 +00:00
Ed Maste
cce0f18281 Build vt(4) fonts during buildworld
vtfontcvt(8) is now built during buildworld, so can be used as a
bootstrap tool to create vt(4) fonts from source .hex or .bdf font
files, rather than having uuencoded binary fonts in the tree.

Sponsored by:	The FreeBSD Foundation
2014-06-12 18:31:32 +00:00
Ed Maste
d1aefcd58f Add thin versions of VGAROM 8x8 and 8x16 fonts for vt(4)
These are converted from syscons(4) cp437-thin-8x* fonts.
2014-06-12 15:23:51 +00:00
Ed Maste
1c01559353 Add vgarom font source
These are in 'GNU Unifont' format, and are converted from syscons(4)
cp437 fonts.
2014-06-09 21:06:46 +00:00
Aleksandr Rybalko
8bb9d3675b Add Ukranian vt(4) keymaps as an example.
Sponsored by:	The FreeBSD Foundation
2014-06-06 21:58:27 +00:00
Ed Maste
bd72c7ac76 Add VGAROM 8x8, 8x14 and 8x16 fonts for vt(4)
These are converted from syscons(4) cp437 fonts.
2014-05-29 18:05:03 +00:00
Aleksandr Rybalko
1383d03c88 Add gallant vt(4) font as an example of font loading for vt(4).
MFC after:	7 days
Sponsored by:	The FreeBSD Foundation
2014-05-29 14:51:52 +00:00
Aleksandr Rybalko
d2511654f8 Add gallant vt(4) font as an example of font loading for vt(4).
MFC after:	7 days
Sponsored by:	The FreeBSD Foundation
2014-05-29 13:41:07 +00:00