On Thu, Jan  5, 2012 at 15:32 (+0100), Emanuele Giaquinta wrote:

> On Thu, Jan 05, 2012 at 09:35:44AM -0400, Jim Diamond wrote:
>> On Thu, Jan  5, 2012 at 12:54 (+0100), Emanuele Giaquinta wrote:

>>> On Wed, Jan 04, 2012 at 11:47:48AM -0400, Jim Diamond wrote:
>>>> Speaking of the to-do list, yes, it has problems on 9.14.  Aside from
>>>> the unused space (*) problem the perl module ends up with some strange
>>>> notions of the terminal size and my mods work around them in as
>>>> general a way as I was able to figure out with the time I had.
>>>> Unfortunately, changes in 9.14 changed the perl module's idea of the
>>>> terminal size, and I don't have time right now to work through those.
>>>> If anyone else does I'd be very happy to get the updates to make it
>>>> work for 9.14, even if they are not backwards-compatible.

>>>> (*) I thought I saw something in the 9.13 or 9.14 change log saying a
>>>> fix was put in to avoid unused space, but for me I have none in 9.12
>>>> and I have it in 9.14, even with the "tabbed" extension.   Specifically
>>>>    - fix a redraw bug that occurs when a bg pixmap is set and the
>>>>      wm does not honour the size hints set by urxvt.  Now urxvt
>>>>      forces the size of the terminal window to be a multiple of
>>>>      the cell size.
>>>> I am a bit confused by the second sentence, since 9.12 doesn't seem to
>>>> have the problem, but 9.14 does.  But maybe it is only when a bg
>>>> pixmap is set.

>>> Which WM do you use?
>> fvwm2

>>> If the WM honors the size hints set by urxvt there should be no
>>> change between 9.12 and 9.14, also in $term->{width,height}.

>> 9.12: in tabbedex's on_start(), width = 560, height = 312
>> in the first call to on_resize_all_windows(),
>> the args are 560 and 303
>>       and self->{term}->width = 560 and self->{term}->height = 303
>>       and self->width is 560, self->height is 303

>> 9.14: in tabbedex's on_start(), width = 560, height = 312
>> in the first call to on_resize_all_windows(),
>> the args are 555 and 303
>>       and self->{term}->width = 553 and self->{term}->height = 299
>>       and self->width is 553, self->height is 299

>> As you see, there are differences in the height and width.

> Yes, and the difference is probably due to the fact that 555 and 303 are
> not a multiple of fwidth / fheight. urxvt 9.14 aligns the size of the
> terminal window to a multiple of the font size. The question is why
> tabbedx is unable to cope with this.

I assume you meant "tabbedex" when you said "tabbedx".

But on your system, if you use
        urxvt -pe tabbed
does the window have the right size for the number of lines?  On my
system I end up with almost (but not quite) enough empty space for
another line of text at the bottom of the window.

Thanks.
                                Jim

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to