12 Feb 2001 nick   » (Journeyer)

It's been a while since I've posted a diary entry, do anyone read these? =)

Today I've tried to add i18n support to the Debian package autolog. The idea was to find out the LANG variable of the process being notified to set the poper message catalog with setlocale. It was more difficult that I've imaged: it seems that the environment variables you can read from /proc/<n>/environ doesn't allow you to access the variables set with VAR=value from the shell or the /etc/profile. All you get is the initial state the shell received. Attaching to the process with gdb and printing environ ((gdb) p ((char**)environ)[0]@30) didn't work either. So it seems I can't ask that feature... shouldn't the locale information of a tty be a property of that tty, easily quieriable... an stty property?

Then I wen to the movies with my girl, I've seen a Spanish movie called "La lengua de las mariposas". Very good, very.. uhm.. moving (is that a right way to say it).

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!