Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 14:14:10 +0100
From:      Darren <darren@dazdaz.org>
To:        FreeBSD questions List <freebsd-questions@freebsd.org>
Subject:   Re[2]: UK keyboard and missing ? character
Message-ID:  <17512609561.20030814141410@dazdaz.org>
In-Reply-To: <20030814123942.GA3558@happy-idiot-talk.infracaninophile.co.uk>
References:  <279159971.20030813132234@dazdaz.org> <20030813142516.GB712@users.munk.nu> <474924531.20030814120605@dazdaz.org> <20030814114922.GB43271@llama.fishballoon.org> <20030814123942.GA3558@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

Thursday, August 14, 2003, 1:39:42 PM, you wrote:
MS> 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?

MS> I find:

MS>     font8x14="iso-8x14"
MS>     font8x16="iso-8x16"
MS>     font8x8="iso-8x8"

MS> useful as well as setting the keymap to 'uk.iso'.  This in conjunction
MS> with changing the terminal type by editing /etc/ttys:

MS>     % diff -u /usr/share/examples/etc/ttys /etc/ttys 
MS>     --- /usr/share/examples/etc/ttys        Fri Nov 22 18:44:43 2002
MS>     +++ /etc/ttys   Fri Jul 18 17:50:32 2003
MS>     @@ -30,16 +30,16 @@
MS>      # when going to single-user mode.
MS>      console        none                            unknown off secure
MS>      #
MS>     -ttyv0  "/usr/libexec/getty Pc"         cons25  on  secure
MS>     +ttyv0  "/usr/libexec/getty Pc"         cons25l1        on  secure
MS>      # Virtual terminals
MS>     -ttyv1  "/usr/libexec/getty Pc"         cons25  on  secure
MS>     -ttyv2  "/usr/libexec/getty Pc"         cons25  on  secure
MS>     -ttyv3  "/usr/libexec/getty Pc"         cons25  on  secure
MS>     -ttyv4  "/usr/libexec/getty Pc"         cons25  on  secure
MS>     -ttyv5  "/usr/libexec/getty Pc"         cons25  on  secure
MS>     -ttyv6  "/usr/libexec/getty Pc"         cons25  on  secure
MS>     -ttyv7  "/usr/libexec/getty Pc"         cons25  on  secure
MS>     -ttyv8  "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure
MS>     +ttyv1  "/usr/libexec/getty Pc"         cons25l1        on  secure
MS>     +ttyv2  "/usr/libexec/getty Pc"         cons25l1        on  secure
MS>     +ttyv3  "/usr/libexec/getty Pc"         cons25l1        on  secure
MS>     +ttyv4  "/usr/libexec/getty Pc"         cons25l1        on  secure
MS>     +ttyv5  "/usr/libexec/getty Pc"         cons25l1        on  secure
MS>     +ttyv6  "/usr/libexec/getty Pc"         cons25l1        on  secure
MS>     +ttyv7  "/usr/libexec/getty Pc"         cons25l1        on  secure
MS>     +ttyv8  "/usr/X11R6/bin/xdm -nodaemon"  xterm   on  secure
MS>      # Serial terminals
MS>      # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
MS>      ttyd0  "/usr/libexec/getty std.9600"   dialup  off secure

MS> The 'cons25l1' terminal type is very similar to the default cons25,
MS> but it has improved support for characters from ISO-8859-1.  There are
MS> similar modified terminal versions in /etc/termcap to support KOI8-R,
MS> ISO-8859-2, ISO-8859-7 etc.

MS> Under X, the xterm or xterm-color terminal types all seem to support
MS> display of appropriate non-ascii characters.  So long as you have 

MS>     Option      "XkbLayout" "gb"

MS> in the "InputDevice" section for Keyboard0, then you should get the £
MS> sign appearing as shift-3 and " on shift-2 and @ on shift-' and all of
MS> the other differences between the standard US and UK keyboard layouts.

Interesting.  I can type £ at the login prompt, but not when I login
on console or via remotely via ssh.

When I do login, all of the other characters do work, except the £
character.

I don't know if this is related or not, but when I type :

-bash-2.05b$ export TERM=cons25
-bash-2.05b$ reset
/usr/libexec/ld-elf.so.1: reset: Undefined symbol "_nc_rootname"
-bash-2.05b$ export TERM=cons25l1
-bash-2.05b$ reset
/usr/libexec/ld-elf.so.1: reset: Undefined symbol "_nc_rootname"

However when I execute "reset" on console it works.

Coming back to the £ issue, is there a problem with 4.8-RELEASE UK keymap?

-- 
Best regards,
 Darren                            mailto:darren@dazdaz.org




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