Re: [dwm] [ANNOUNCE] dvtm-0.2

From: Marc Andre Tanner <>
Date: Sat, 5 Jan 2008 02:01:59 +0100

On Fri, Jan 04, 2008 at 11:22:50PM +0100, Christian Garbs wrote:
> Hi there,
> using current git version of dvtm, I run into the following problem:
> My locale is set to "de_DE.UTF-8" or "de_DE", depending on whether I'm
> utf8 enabled or not.
> After entering a dvtm session, I get errors like this:
> Cannot set LC_ALL to default locale: No such file or directory
> I have found out that inside dvtm, my locale gets changed to
> "DE_DE.UTF-8" or "DE_DE". The "de_" changes to "DE_" which creates a
> new locale that doesn't exist.
> I was not able to pinpoint the bug. All locale related stuff I have
> found in the source is
> setlocale(LC_ALL,"");
> and I don't see how this should change de to DE...

The problem was in madtty.c in the function is_utf8_loale. Should be
fixed now in current HEAD. Please recheck, if possible in both utf8 and
non utf8 environments.


 Marc Andre Tanner >< >< GPG key: CF7D56C0
Received on Sat Jan 05 2008 - 02:00:42 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:15:02 UTC