Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2001 12:42:26 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        qa@FreeBSD.org
Subject:   Add Bulgarian keymap and screen font to sysinstall
Message-ID:  <20011207124226.B41230@straylight.oblivion.bg>

next in thread | raw e-mail | index | archive | help
Hi,

Here's a patch that adds the two Bulgarian keymaps and the cp1251 font
to the installation options.  I am not too sure if the font menu item
should not be moved to the start of the menu though, to sort the items
alphabetically..

This patch, along with a RELENG_4 version, is also available at
http://people.FreeBSD.org/~roam/bg/

It would be nice to have those committed and MFC'd before 4.5 :)

G'luck,
Peter

-- 
If this sentence were in Chinese, it would say something else.

Index: src/usr.sbin/sysinstall/Makefile
===================================================================
RCS file: /home/ncvs/src/usr.sbin/sysinstall/Makefile,v
retrieving revision 1.118
diff -u -r1.118 Makefile
--- src/usr.sbin/sysinstall/Makefile	1 Dec 2001 13:13:27 -0000	1.118
+++ src/usr.sbin/sysinstall/Makefile	7 Dec 2001 09:10:28 -0000
@@ -76,7 +76,8 @@
 .if ${MACHINE} == "pc98"
 KEYMAPS= jp.pc98 jp.pc98.iso
 .else
-KEYMAPS= be.iso br275.iso cs.latin2.qwertz danish.iso finnish.iso fr.iso \
+KEYMAPS= be.iso bg.bds.ctrlcaps bg.phonetic.ctrlcaps br275.iso \
+	cs.latin2.qwertz danish.iso finnish.iso fr.iso \
 	german.iso hr.iso hu.iso2.101keys it.iso icelandic.iso jp.106 \
 	norwegian.iso pl_PL.ISO8859-2 pt.iso ru.koi8-r si.iso \
 	spanish.iso swedish.iso swissfrench.iso swissgerman.iso ua.koi8-u \
Index: src/usr.sbin/sysinstall/menus.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/sysinstall/menus.c,v
retrieving revision 1.329
diff -u -r1.329 menus.c
--- src/usr.sbin/sysinstall/menus.c	26 Nov 2001 23:14:21 -0000	1.329
+++ src/usr.sbin/sysinstall/menus.c	7 Dec 2001 09:09:47 -0000
@@ -1496,6 +1496,8 @@
       { " Brazil CP850",	"Brazil CP850 keymap",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=br275.cp850" },
       { " Brazil ISO (accent)",	"Brazil ISO keymap (accent keys)",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=br275.iso.acc" },
       { " Brazil ISO",	"Brazil ISO keymap",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=br275.iso" },
+      { " Bulgarian BDS",	"Bulgarian BDS keymap",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=bg.bds.ctrlcaps" },
+      { " Bulgarian Phonetic",	"Bulgarian Phonetic keymap",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=bg.phonetic.ctrlcaps" },
       { " Croatian ISO",	"Croatian ISO keymap",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=hr.iso" },
       { " Czech ISO (accent)",	"Czech ISO keymap (accent keys)",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=cs.latin2.qwertz" },
       { "Danish CP865",	"Danish Code Page 865 keymap",	dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=danish.cp865" },
@@ -1683,6 +1685,8 @@
 	"font8x8=iso15-8x8,font8x14=iso15-8x14,font8x16=iso15-8x16" },
       { "e SWISS", "English, better resolution", dmenuVarCheck, dmenuSetVariables, NULL,
 	"font8x8=swiss-8x8,font8x14=NO,font8x16=swiss-8x16" },
+      { "10 CP1251", "Bulgarian, CP1251 codepage", dmenuVarCheck,	dmenuSetVariables, NULL,
+	"font8x8=cp1251-8x8,font8x14=cp1251-8x14,font8x16=cp1251-8x16" },
       { NULL } },
 };
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-qa" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011207124226.B41230>