ASCII or Unicode? (was best text editor for programming Python on a Mac)

Marko Rauhamaa marko at pacujo.net
Tue Jun 21 09:08:07 EDT 2016


Rustom Mody <rustompmody at gmail.com>:

> On Tuesday, June 21, 2016 at 2:05:55 PM UTC+5:30, Marko Rauhamaa wrote:
>> (On the other hand, I have always specified my preferred keyboard
>> layout with .Xmodmap.)
>
> If this is being given as advice

I never gave it as advice.

> its bad advice xmodmap is obsolete use xkb

A coworker of mine went through the trouble of doing the xmodmap
equivalent with setxkbmap. Thought of interviewing him about it one day.

How-to's are really hard to come by:

   <URL: https://wiki.archlinux.org/index.php/Keyboard_configuration_i
   n_Xorg> -- no good

   <URL: https://bbs.archlinux.org/viewtopic.php?id=172316> -- no good

   <URL: http://michal.kosmulski.org/computing/articles/custom-keyboar
   d-layouts-xkb.html> -- interesting but assumes root access

   <URL: https://awesome.naquadah.org/wiki/Change_keyboard_maps> -- no
   good

etc etc

> This particularly nasty bug:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/998310 I believe
> I witnessed when I tried to use xmodmap

I do run into that when I place my laptop on the docker. I know to
expect it, wait for ten or so seconds, and I'm on my way. I'm guessing
it has to do with the X server sending the keyboard map to every X
window on the display.

So Rustom, how do *you* produce, say, Hebrew or Spanish text, or your
favorite math symbols?


Marko


More information about the Python-list mailing list