Hi Aleksandr, On 08.12.13 00:59, Aleksandr Rybalko wrote: > Andreas Tobler <andre...@freebsd.org> написав(ла): >> On 05.12.13 23:38, Aleksandr Rybalko wrote: >>> Author: ray >>> Date: Thu Dec 5 22:38:53 2013 >>> New Revision: 259016 >>> URL: http://svnweb.freebsd.org/changeset/base/259016 >>> >>> Log: >>> Merge VT(9) project (a.k.a. newcons). >>> >>> Reviewed by: nwhitehorn >>> MFC_to_10_after: re approval >>> >>> Sponsored by: The FreeBSD Foundation >> >> Great! Thanks, gives a new look & feel on the console :) >> Have it running on amd64/i386 and PowerMac(32/64-bit). >> The only thing I need to figure is the mapping of the AltGr or in Mac >> world, the alt key mapping. Iow, the third level mapping of the keys. >> e.g. the @ here is on altgr-2... >> >> Again, thanks! >> Andreas >
> I'm glad to fix that, but I've to understand how it is should work :-) Hehe :) So do I. I was playing a bit while comparing to syscons.c And with the below diff I'm able to get what I want. At least when I press RALT (Altgr) <key> I get the third symbol printed on my keyboard. I have a couple of Thinkpads here where I play with. (The PowerMac's are currently to loud) For example, on the '2' I have the '"' as the second symbol and the '@' as third symbol. Yeah, these are european keyboards.... Now I do not prepend the 0x1b and then my RALT behaves as used to, at least for me. I do not know the fine details but LALT and RALT are different. What do you think, others? For me this is a really important thing since all the 'special' keys are not accesible w/o the 'hack' below. If I want the pipe (|), or writing code ({}, [], ...) I have to remote login to get the characters I need. But I guess I do not need to explain that ;) TIA, Andreas Index: vt_core.c =================================================================== --- vt_core.c (revision 259095) +++ vt_core.c (working copy) @@ -408,6 +408,7 @@ } else { switch (c & ~RELKEY) { case (SPCLKEY | RALT): + break; case (SPCLKEY | LALT): vd->vd_kbstate |= ALKED; } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"