From owner-freebsd-current Tue Sep 8 03:27:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA04400 for freebsd-current-outgoing; Tue, 8 Sep 1998 03:27:56 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA04395 for ; Tue, 8 Sep 1998 03:27:52 -0700 (PDT) (envelope-from martti.kuparinen@lmf.ericsson.se) Received: from umail.lmf.ericsson.se (umail.lmf.ericsson.se [131.160.11.2]) by penguin.wise.edt.ericsson.se (8.9.0/8.9.0/glacier-1.11) with SMTP id MAA26265 for ; Tue, 8 Sep 1998 12:27:47 +0200 (MET DST) Received: from tosb0323 by umail.lmf.ericsson.se (SMI-8.6/SMI-SVR4) id NAA18265; Tue, 8 Sep 1998 13:27:42 +0300 Message-Id: <3.0.6.32.19980908132638.00a75b50@openmail.lmf.ericsson.se> X-Sender: lmfmara@openmail.lmf.ericsson.se X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 08 Sep 1998 13:26:38 +0300 To: current@FreeBSD.ORG From: Martti Kuparinen Subject: I have added Finnish keyboard support for sysinstall Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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