Re: [dev] [dvtm] Graphics in madtty.c

From: Ross Mohn <rpmohn_AT_waxandwane.org>
Date: Sun, 02 Jan 2011 11:32:00 -0500

 Now I understand the mystery better. At home I do get the graphics
(using HEAD), but not at work. And the reason is that at home I use
en_US.utf8 while at work I'm stuck with AIX boxes that don't have that
locale installed, just en_US. So, the UTF8 code within dvtm prints the
actual UTF8 graphic characters while the non-UTF8 code within dvtm tries
to use the ncurses settings, but then doesn't print using ncurses.

On the other hand, now that I've been prompted to finally compile and
try a version of st, I love it! And, this has probably already been
discussed, but wouldn't it be more efficient to just write an optional
patch to st that provides dvtm-like windowing capabilities? Is this
already thought of for future?

-Ross

On 12/30/2010 03:29 PM, Niki Yoshiuchi wrote:
> What version are you running? I was running 0.5.2 and just updated to
> HEAD, and that fixed the problem for me. It looks like your patch was
> added after version 0.6 so unless you are running against the HEAD of
> the repository you won't have the fix. Here I am running a nested
> instance: http://i.imgur.com/gc0Li.png
>
> On Thu, Dec 30, 2010 at 3:18 PM, Ross Mohn <rpmohn_AT_waxandwane.org> wrote:
>> Yes, I did add that patch, and it does indeed set the graphmode flag in
>> dvtm, but it still prints 'lqj' rather than the graphic versions of
>> them. I just tried st: graphics from st, but just 'lqj' from dvtm within
>> st. Not sure what's going on now. :-/
>>
>>
>> On 12/30/2010 02:50 PM, Niki Yoshiuchi wrote:
>>> The problem is with dvtm, specifically older versions. dvtm 0.5.2
>>> definitely has this problem and I know that the HEAD of the git
>>> repository does not. According to the git log it was fixed by you:
>>>
>>> commit 163a07d5fb99f2b187e1da0f66084f14d6459626
>>> Author: Marc Andre Tanner <mat_AT_brain-dump.org>
>>> Date: Fri Dec 17 21:01:33 2010 +0100
>>>
>>> madtty: recognize set/clear graphmode with ESC(0, ESC(B
>>>
>>> Based on a patch from Ross Mohn.
>>>
>>> Signed-off-by: Marc Andre Tanner <mat_AT_brain-dump.org>
>>>
>>>
>>>
>>> On Thu, Dec 30, 2010 at 11:06 AM, Aurélien Aptel
>>> <aurelien.aptel_AT_gmail.com> wrote:
>>>> On Thu, Dec 30, 2010 at 1:50 AM, Ross Mohn <rpmohn_AT_waxandwane.org> wrote:
>>>>> Thanks for that! Yes, it also works in screen and tmux, but not dvtm. I'll
>>>>> slog through some tmux code and see about adding it to dvtm.
>>>> Sorry if I wasn't clear, but the line drawing characters are correctly
>>>> displayed while using dvtm *inside* of st. Bottom line, there must be
>>>> something wrong with your configuration.
>>>>
>>>>
>>
Received on Sun Jan 02 2011 - 17:32:00 CET

This archive was generated by hypermail 2.2.0 : Sun Jan 02 2011 - 17:36:03 CET