Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Sep 1998 13:26:38 +0300
From:      Martti Kuparinen <martti.kuparinen@lmf.ericsson.se>
To:        current@FreeBSD.ORG
Subject:   I have added Finnish keyboard support for sysinstall
Message-ID:  <3.0.6.32.19980908132638.00a75b50@openmail.lmf.ericsson.se>

next in thread | raw e-mail | index | archive | help
I have patched sysinstall to support Finnish keyboards. In addition to these
patches, one must create two new files in /usr/share/syscons/keymaps/

	cp swedish.cp850.kbd finnish.cp850.kbd
	cp swedish.iso.kbd finnish.iso.kbd

As one would assume from the above commands, Finnish and Swedish keyboard 
layouts are the same. However some users might not be aware of this fact,
and therefore it would be nice to have these settings in 2.2.8 and 3.0.

Unfortunately I can't use send-pr or WWW right now to send problem reports,
so I hope this mail will be read by someone with commit privileges...

/Martti

*** menus.c.orig	Tue Sep  8 12:45:01 1998
--- menus.c	Tue Sep  8 12:56:13 1998
***************
*** 1335,1340 ****
--- 1335,1342 ----
        { "Brazil ISO",	"Brazil ISO keymap",	dmenuVarCheck,
dmenuSetKmapVariable, NULL, "keymap=br275.iso" },
        { "Danish CP865",	"Danish Code Page 865 keymap",	dmenuVarCheck,
dmenuSetKmapVariable, NULL, "keymap=danish.cp865" },
        { "Danish ISO",	"Danish ISO keymap",	dmenuVarCheck,
dmenuSetKmapVariable, NULL, "keymap=danish.iso" },
+       { "Finnish CP850", "Finnish Code Page 850 keymap", dmenuVarCheck,
dmenuSetKmapVariable, NULL, "keymap=finnish.cp850" },
+       { "Finnish ISO",	"Finnish ISO keymap",	dmenuVarCheck,
dmenuSetKmapVariable, NULL, "keymap=finnish.iso" },
        { "French ISO (accent)", "French ISO keymap (accent keys)",
dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=fr.iso.acc" },
        { "French ISO",	"French ISO keymap",	dmenuVarCheck,
dmenuSetKmapVariable, NULL, "keymap=fr.iso" },
        { "German CP850",	"German Code Page 850 keymap",	dmenuVarCheck,
dmenuSetKmapVariable, NULL, "keymap=german.cp850"	},


*** lang.c.orig	Tue Sep  8 12:44:53 1998
--- lang.c	Tue Sep  8 12:55:46 1998
***************
*** 138,140 ****
--- 138,149 ----
      systemChangeFont(font_iso_8x16);
      systemChangeTerminal("cons25l1", termcap_cons25l1, "cons25l1-m",
termcap_cons25l1_m);
  }
+ 
+ void
+ lang_set_Finnish(char *str)
+ {
+     systemChangeScreenmap(default_scrnmap);
+     systemChangeLang("fi_FI.ISO8859-1");
+     systemChangeFont(font_iso_8x16);
+     systemChangeTerminal("cons25l1", termcap_cons25l1, "cons25l1-m",
termcap_cons25l1_m);
+ }



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



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