Date: Thu, 14 Aug 2003 13:39:42 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Scott Mitchell <scott+freebsd@fishballoon.org> Cc: FreeBSD questions List <freebsd-questions@freebsd.org> Subject: Re: UK keyboard and missing ? character Message-ID: <20030814123942.GA3558@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20030814114922.GB43271@llama.fishballoon.org> References: <279159971.20030813132234@dazdaz.org> <20030813142516.GB712@users.munk.nu> <474924531.20030814120605@dazdaz.org> <20030814114922.GB43271@llama.fishballoon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Aug 14, 2003 at 12:49:22PM +0100, Scott Mitchell wrote:
> On Thu, Aug 14, 2003 at 12:06:05PM +0100, Darren wrote:
> >=20
> > Hello Jez,
> >=20
> > Thanks for your reply.  Unfortunately this and many variations don't
> > allow me to use the ? (UK pound) character.  I've spent some more time
> > searching around and hav'nt found a working solution, yet.
> >=20
> > Of those UK people with a working ? character, what rc.conf* settings
> > do you use?
>=20
> The only relevant thing I have is
>=20
> keymap=3D"uk.iso"
>=20
> Which seems to work fine.  Is there something strange about the keyboard
> itself?
I find:
    font8x14=3D"iso-8x14"
    font8x16=3D"iso-8x16"
    font8x8=3D"iso-8x8"
useful as well as setting the keymap to 'uk.iso'.  This in conjunction
with changing the terminal type by editing /etc/ttys:
    % diff -u /usr/share/examples/etc/ttys /etc/ttys=20
    --- /usr/share/examples/etc/ttys        Fri Nov 22 18:44:43 2002
    +++ /etc/ttys   Fri Jul 18 17:50:32 2003
    @@ -30,16 +30,16 @@
     # when going to single-user mode.
     console        none                            unknown off secure
     #
    -ttyv0  "/usr/libexec/getty Pc"         cons25  on  secure
    +ttyv0  "/usr/libexec/getty Pc"         cons25l1        on  secure
     # Virtual terminals
    -ttyv1  "/usr/libexec/getty Pc"         cons25  on  secure
    -ttyv2  "/usr/libexec/getty Pc"         cons25  on  secure
    -ttyv3  "/usr/libexec/getty Pc"         cons25  on  secure
    -ttyv4  "/usr/libexec/getty Pc"         cons25  on  secure
    -ttyv5  "/usr/libexec/getty Pc"         cons25  on  secure
    -ttyv6  "/usr/libexec/getty Pc"         cons25  on  secure
    -ttyv7  "/usr/libexec/getty Pc"         cons25  on  secure
    -ttyv8  "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure
    +ttyv1  "/usr/libexec/getty Pc"         cons25l1        on  secure
    +ttyv2  "/usr/libexec/getty Pc"         cons25l1        on  secure
    +ttyv3  "/usr/libexec/getty Pc"         cons25l1        on  secure
    +ttyv4  "/usr/libexec/getty Pc"         cons25l1        on  secure
    +ttyv5  "/usr/libexec/getty Pc"         cons25l1        on  secure
    +ttyv6  "/usr/libexec/getty Pc"         cons25l1        on  secure
    +ttyv7  "/usr/libexec/getty Pc"         cons25l1        on  secure
    +ttyv8  "/usr/X11R6/bin/xdm -nodaemon"  xterm   on  secure
     # Serial terminals
     # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
     ttyd0  "/usr/libexec/getty std.9600"   dialup  off secure
The 'cons25l1' terminal type is very similar to the default cons25,
but it has improved support for characters from ISO-8859-1.  There are
similar modified terminal versions in /etc/termcap to support KOI8-R,
ISO-8859-2, ISO-8859-7 etc.
Under X, the xterm or xterm-color terminal types all seem to support
display of appropriate non-ascii characters.  So long as you have=20
    Option      "XkbLayout" "gb"
in the "InputDevice" section for Keyboard0, then you should get the =A3
sign appearing as shift-3 and " on shift-2 and @ on shift-' and all of
the other differences between the standard US and UK keyboard layouts.
	Cheers,
	Matthew
--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
--VS++wcV0S1rZb1Fb
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)
iD8DBQE/O4MOdtESqEQa7a0RAuu5AJ9/YAMID6ixayAO0ygX/UrLs5KuRACfaxPn
boONkb9g7pb7zWlf290O3w0=
=YjiL
-----END PGP SIGNATURE-----
--VS++wcV0S1rZb1Fb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030814123942.GA3558>
