Re: UK keyboard and missing ? character
On Wed, Aug 13, 2003 at 01:22:34PM +0100, Darren wrote: > > I can't use the ? (pound) character under FreeBSD 4.8-RELEASE, i've > tried with console and remotely logging in. > > I have my keymap set to the uk.cp850, here are some of my rc.conf options > > keymap="uk.cp850" > keychange="YES" > font8x8="YES" > keyrate="250.34" > allscreens_flags="" # Set this vidcontrol mode for all virtual screens > allscreens_kbdflags="" # Set this kbdcontrol mode for all virtual screens This works for me: # # Auxiliary devices # # vid/keybd mode settings: keymap="uk.cp850" keyrate="fast" font8x8="swiss-8x8" allscreens_flags="-h 14500 80x50" the scrollback buffer 14500 might be overkill, remove it or set it lower to your taste. 80x50 is quite a nice resolution, again up to you. I think the 'fast' keyrate is equivalent to 250.34 IIRC. -- Jez http://www.munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: UK keyboard and missing ? character
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/ttysFri 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. consolenoneunknown off secure # -ttyv0 "/usr/libexec/getty Pc" cons25 on secure +ttyv0 "/usr/libexec/getty Pc" cons25l1on 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" cons25l1on secure +ttyv2 "/usr/libexec/getty Pc" cons25l1on secure +ttyv3 "/usr/libexec/getty Pc" cons25l1on secure +ttyv4 "/usr/libexec/getty Pc" cons25l1on secure +ttyv5 "/usr/libexec/getty Pc" cons25l1on secure +ttyv6 "/usr/libexec/getty Pc" cons25l1on secure +ttyv7 "/usr/libexec/getty Pc" cons25l1on 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 pgp0.pgp Description: PGP signature
Re: UK keyboard and missing ? character
On Thu, Aug 14, 2003 at 02:14:10PM +0100, Darren wrote: > Interesting. I can type £ at the login prompt, but not when I login > on console or via remotely via ssh. Yes -- the shell doesn't just accept any character. If you set your output to go to a file -- eg by: % cat > foo then you can easily insert a £ character into the file, and it will display quite happily. The characters that you can successfully generate from the keyboard seem to be quite dependent on the application receiving them: I can type £ into emacs under X (as I just did), but I can't do likewise with emacs on the console. > When I do login, all of the other characters do work, except the £ > character. What -- even ß or þ or ã? I can't even generate those on the console (and I'm feeling too lazy to go an look up how right now) but they display well enough when I cat a file containing them. > 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? I don't think so. That character is certainly being generated as expected by the obvious keystroke. 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 pgp0.pgp Description: PGP signature
Re: UK keyboard and missing ? character
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? Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"