UK keyboard and missing ? character

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Aug 14 05:40:10 PDT 2003


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:
> > 
> > Hello Jez,
> > 
> > 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.
> > 
> > Of those UK people with a working ? character, what rc.conf* settings
> > do you use?
> 
> The only relevant thing I have is
> 
> keymap="uk.iso"
> 
> Which seems to work fine.  Is there something strange about the keyboard
> itself?

I find:

    font8x14="iso-8x14"
    font8x16="iso-8x16"
    font8x8="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 
    --- /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 

    Option      "XkbLayout" "gb"

in the "InputDevice" section for Keyboard0, then you should get the £
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

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030814/082599cc/attachment.bin


More information about the freebsd-questions mailing list