Moving charMap from menuitems.c to Make.config

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

 



Rene Hertell wrote:
> Hi Klaus,
> 
> Could you add a new option in Make.config for specifying the
> charMap-variable in menuitems.c?
> 
> This would be handy, because the map that's specified in menuitems.c
> lacks support for eg. Scandinavian characters like ?, ? and ? and some
> other special characters. Also the character ? is missing :-)
> 
> For now i patched menuitems.c like this:
> 
> --- menuitems.c.orig    2006-01-27 04:11:38.000000000 +0200
> +++ menuitems.c 2006-01-27 04:15:54.000000000 +0200
> @@ -245,7 +245,7 @@
>    pos = -1;
>    insert = uppercase = false;
>    newchar = true;
> -  charMap = tr("
> 0\t-.#~,/_@1\tabc2\tdef3\tghi4\tjkl5\tmno6\tpqrs7\ttuv8\twxyz9");
> +  charMap = tr("
> 0\t-.#~?!':;,/_@1\tabc??2\tdef?3\tghi4\tjkl5\tmno?6\tpqrs7\ttuv?8\twxyz9");
>    currentChar = NULL;
>    lastKey = kNone;
>    Set();

How about adjusting this in i18n.c instead? ;-)

Klaus


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux