[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ppc xterm fix, xmodmap settings



I just hammered out my funky keyboard issues on PPC, thought I would share in case someone else was going INSANE b/c they also can't type and keep pounding on 'delete' instead of backspace :)

This works on my iBook 366, you may have to use xev to get the right keycodes for your keyboard.

.Xmodmap
keycode 76 = Pointer_Button2 Pointer_Drag2
keycode 95 = Pointer_Button3 Pointer_Drag3
keycode 107 = BackSpace
keycode 113 = Delete

This gives me emulation of mouse buttons 2 and 3 with F10 and F11 (no fn keypress required), makes 'delete' act appropriately as backspace, and makes the the right  'enter' key beside the space bar act like delete in case you want it...

.Xresources
*VT100.translations: #override \n\
        ~Shift <Key>Prior: string(0x1b) string("[5~") \n\
        ~Shift <Key>Next: string(0x1b) string("[6~") \n

On my iBook, you have to hit fn-shift-pgup fn-shift-pgdn to scroll your xterm, but it wasn't working.  This tells xterm how to do it.  I have to hit shift first for some reason.  ???  Magic.

Anyways now I can use my machine without wanting to smash something, thought I would share in case others have problems on Macs under OpenBSD.  I had to do a lot of searching to figure it out...

Also thanks for writing wireless USB drivers, I was able to an install over my DLink DWL-122 :)  NO OS has native support for my USB wireless dongle device by default on my machine but OpenBSD, and the manufacturers OSX driver is SHIT.  Linux-wlan-ng works but takes much hacking, like building newest ISC dhcp, writing your own scripts to fix routing etcetera.  I'm using 3.6 and it JUST WORKS.  Thanks folks.

dmesg
wi0: D-Link Wireless DWL122, rev 1.10/1.32, addr 2

Linc



Visit your host, monkey.org