Subject: port-amiga/15980: Polish keymaps for the console (updated fonts) and X11
To: None <gnats-bugs@gnats.netbsd.org>
From: None <pch@polo.po.opole.pl>
List: netbsd-bugs
Date: 03/20/2002 04:08:43
>Number:         15980
>Category:       port-amiga
>Synopsis:       Polish keymaps for the console (updated fonts) and X11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-amiga-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 20 04:09:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Pawel Chwalowski
>Release:        1.5.2
>Organization:
>Environment:
>Description:
There are no Polish keymaps in NetBSD/amiga.
>How-To-Repeat:

>Fix:
Polish console's keymaps for the NetBSD/amiga.
http://www.po.opole.pl/~pch/bsd/amigapl.tgz
Short installation guide
# ( cd / ; tar -zxpf - ) < amigapl.tgz
# cd /usr/src/sys/arch/amiga/stand/loadkmap
# patch -p2 <Makefile.diff
# make clean && make && make install
Done!
Have you got an us (qwerty) keyboard?
# /usr/sbin/loadkmap /usr/share/keymaps/amiga/us_pl.map
or maybe din (qwertz)?
# /usr/sbin/loadkmap /usr/share/keymaps/amiga/din_pl.map
To make this permanent, add this command to `/etc/rc.local'.


Polish kernel fonts for the NetBSD/amiga.
http://www.po.opole.pl/~pch/bsd/ISOSystemPL.tgz
Font: ISOSystemPL.font/8 & ISOSystemPL.font/11
      ISOSystemPL_8x8.c & ISOSystemPL_8x11.c
This is the System.font [1] with added Polish chars (ISO-8859-2)
[1] ftp.funet.fi:pub/amiga/system/fonts/Systemfonts1.lha
Installation:
# mv /usr/src/sys/arch/amiga/dev/kf_8x8.c /usr/src/sys/arch/amiga/dev/kf_8x8.c_old
# mv /usr/src/sys/arch/amiga/dev/kf_8x11.c /usr/src/sys/arch/amiga/dev/kf_8x11.c_old
# cp ISOSystemPL_8x8.c /usr/src/sys/arch/amiga/dev/kf_8x8.c
# cp ISOSystemPL_8x11.c /usr/src/sys/arch/amiga/dev/kf_8x11.c
then recompile kernel...

Polish x11 keymaps for the NetBSD/amiga.
http://www.po.opole.pl/~pch/bsd/xkb_amigapl.tgz
Short installation guide.
Step 1
------
You need to unpack the archive and apply patches:
# ( cd / ; tar -zxpf - ) < xkb_amigapl.tgz
# cd /usr/X11R6/lib/X11/xkb/keymap
# patch -p2 <keymap_amiga.diff
# cd /usr/X11R6/lib/X11/xkb/symbols
# patch -p2 <symbols_amiga.diff
Step 2
------
You need to 'compile' a Polish keymaps with this commands:
# cd /usr/X11R6/lib/X11/xkb
# xkbcomp -xkm -o compiled/de_pl.xkm -m de_pl keymap/amiga
or
# xkbcomp -xkm -o compiled/usa1_pl.xkm -m usa1_pl keymap/amiga
'de_pl' is for the din (qwertz) keyboard.
'usa1_pl' is for the us (qwerty) keyboard.
Step 3
------
Add this options at the end of the line of Xservers [1],
xserverrc [2] or ~/.xserverrc if you want the Polish keymap:
+kb -xkbmap de_pl
or
+kb -xkbmap usa1_pl
[1] /usr/X11R6/lib/X11/xdm/Xservers
[2] /usr/X11R6/lib/X11/xinit/xserverrc


Pawel Chwalowski <pch@polo.po.opole.pl>
>Release-Note:
>Audit-Trail:
>Unformatted: