Re: keyboard map configuration

2007-06-12 Thread Alex Popov
This issue has been resolved. It turned out that I lost 'set -o emacs' 
somehow...
I still don't understand why `kbd -l` doesn't list any maps, but can live with
that :)

Thanks to all who replied to my post on and off the list.

Alex



Re: keyboard map configuration

2007-06-12 Thread Alex Popov
Nick Guenther  gmail.com> writes:

> Have you rebooted?
Yes.

> What does `wsconsctl keyboard.map` show?
reiter# wsconsctl keyboard.map
keyboard.map=
keycode 0 = Control_L
keycode 2 = Tab Tab Caps_Lock Caps_Lock
keycode 3 = Cmd_Screen1 f2 F2
keycode 4 = Cmd_Screen0 f1 F1
keycode 5 = Cmd_Screen2 f3 F3
keycode 6 = Cmd_Screen3 f4 F4
keycode 8 = 1 exclam
keycode 9 = 2 quotedbl
keycode 10 = q Q
keycode 11 = w W asciicircum asciicircum
keycode 12 = a A
keycode 13 = z Z
keycode 14 = Cmd Alt_L
keycode 16 = Cmd_BrightnessDown 3 numbersign
keycode 17 = Cmd_BrightnessUp 4 dollar
keycode 18 = e E equal equal
keycode 19 = s S
keycode 20 = d D grave grave
keycode 21 = x X
keycode 24 = 5 percent
keycode 25 = r R plus plus
keycode 26 = t T bracketleft bracketleft
keycode 27 = f F backslash backslash
keycode 28 = c C
keycode 29 = minus minus at at
keycode 30 = Cmd_Debugger Escape
keycode 32 = 6 ampersand
keycode 33 = y Y bracketright bracketright
keycode 34 = g G semicolon semicolon
keycode 35 = v V
keycode 36 = b B underscore underscore
keycode 37 = space
keycode 38 = KP_Enter
keycode 40 = 7 apostrophe
keycode 41 = 8 parenleft
keycode 42 = u U braceleft braceleft
keycode 43 = h H colon colon
keycode 44 = n N
keycode 45 = comma slash less less
keycode 46 = Cmd_Screen4 f5 F5
keycode 48 = 9 parenright
keycode 49 = i I braceright braceright
keycode 50 = j J asterisk asterisk
keycode 51 = m M
keycode 52 = period question greater greater
keycode 54 = KP_Left KP_Left Home Home
keycode 56 = 0 asciitilde
keycode 57 = o O
keycode 58 = k K
keycode 59 = l L bar bar
keycode 61 = KP_Up KP_Up Prior Prior
keycode 62 = KP_Down KP_Down Next Next
keycode 64 = Delete BackSpace
keycode 65 = p P
keycode 68 = Return
keycode 70 = KP_Right KP_Right End End
keycode 80 = KP_Right
keycode 81 = KP_Down
keycode 83 = Shift_R
keycode 84 = Shift_L
keycode 88 = KP_Left
keycode 89 = KP_Up
keycode 93 = Mode_switch
reiter# kbd -l
reiter# kbd en
kbd: unknown encoding en

The hardware is Sharp Zaurus (SL-3200) and all key mappings worked fine until
few days ago. It coinsided with a system crash. Prior to that I haven't rebooted
it for quite some time and were building lots of packages from ports. So its
also possible that installation of one of the ports got the mapping screed up,
but how is beyond me. 

Just in case here's the list of packes that I built:

abs-0.8p1   free spreadsheet with graphical user interface
amap-5.2p1  next generation scanning tool
apg-2.2.3p0 automated password generator
atk-1.10.3p2accessibility toolkit used by gtk+
autoconf-2.13p0 automatically configure source code on many Un*x platforms
autoconf-2.59p1 automatically configure source code on many Un*x platforms
blackbox-0.70.1 small & pretty window manager for 8 and more bits displays
brs-4.00l1  bible reader
bsd-airtools-0.2p2  wireless auditing suite
bzip2-1.0.4 block-sorting file compressor, unencumbered
cairo-1.2.6 vector graphics library
cbb-0.73p1  checkbook balancing tool
ccrypt-1.7p1encrypt and decrypt AES files and streams
clex-3.13   commandline shell and file manager
d1489-1.4   cp866<>koi8-r & cp1251<>koi8-r decoders and font converter
db-3.1.17p8 Berkeley DB package, revision 3
db-4.2.52p11Berkeley DB package, revision 4
deco-3.8.3p0Demos Commander, a free Norton Commander clone
dillo-0.8.6p0   Fast and light gtk-based web browser
dsniff-2.3p2sniffing tools for penetration testing
elinks-0.11.2   full-featured text WWW browser
expat-2.0.0 XML 1.0 parser written in C
freetype-1.3.1p3free and portable TrueType font rendering engine
fvwm2+fvicons-2.4.19p0 multiple virtual desktop window manager, with icons
gacc-0.7.5  personal accounts manager
gdbm-1.8.3p0GNU dbm
gettext-0.14.6  GNU gettext
ghostscript-fonts-8.11 35 standard PostScript fonts with Adobe name aliases
glib-1.2.10p1   useful routines for C programming
glib2-2.10.3p0  general-purpose utility library
glitz-0.5.6 OpenGL image compositing library
gmake-3.80p1GNU make
gmp-4.2.1   library for arbitrary precision arithmetic
gnuchess-5.07   Classic Gnu Chess
gone-1.3.5  terminal locking utility
gtk+-1.2.10p4   General Toolkit for X11 GUI
gtk+2-2.8.20p3  multi-platform graphical toolkit
help2man-1.29   GNU help2man
hicolor-icon-theme-0.9 high-color icon theme shell for GNOME and KDE
imlib-1.9.14p4  image manipulation library for X11
ion-20070203light, keyboard friendly window manager
jasper-1.701.0p1reference implementation of JPEG-2000
jbigkit-1.6p1   lossless image compression library
jpeg-6bp3   IJG's JPEG compression utilities
konqueror-20060121p0 stand-alone Qt-based web browser
lcms-1.15   color management library
ledger-2.3  command line double-entry accounting ledger
libdnet-1.10p2  portable low-level networking library
libfakekey-0.1p0   

Re: keyboard map configuration

2007-06-12 Thread Nick Guenther

On 6/12/07, Alex Popov <[EMAIL PROTECTED]> wrote:

I use ksh under OpenBSD/arm 4.1 and noticed that command line history feature
(up-arrow) suddenly stopped working. Pressing up-arrow inserts control code, but
command completion (tab-key) works fine.

`kbd -l` doesn't list any map and attempt to do `kbd en` returns error.

I was under impression that keyboard maps defined in kernel, so I am not sure
how is it possible to 'lose' mapping.

Any help troubleshooting this problem is appreciated.



Have you rebooted?
What does `wsconsctl keyboard.map` show?

-Nick