Re: map '-' to '_' and '_' to '-'
Cameron Hutchison wrote:
> The X11 keysyms for these characters are "minus" and "underscore". If
> you run "xmodmap -pke | grep underscore" you should see which keycode has
> these keysyms mapped.
>
> For me, this is:
> $ xmodmap -pke | grep underscore
> keycode 20 = minus underscore minus underscore
>
> I suspect that's a standard keyboard keycode so you'll get the same
> results, but run it anyway to be sure.
>
> You can remap this like so:
> $ xmodmap -e "keycode 20 = underscore minus underscore minus"
>
> That swaps minus and underscore.
Yes. This works and it is just great. Is there a solution when the machine
does not run X?
thanks
raju
--
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/
Reply to: