On Wed, Sep 17, 2008 at 12:10:05PM +0300, Dan Muresan <[EMAIL PROTECTED]> wrote:
> 1. I am using rxvt-unicode v8.4 (from Ubuntu Hardy) in fluxbox. When
A very old version.
> sending the ESC ] 50 sequence to change font, the text area inside the
> rxvt window becomes unusable: it sometimes moves to the middle of the
> window, and it never occupies the full window size (either it becomes
> smaller or larger than the containing window).
I cannot reproduce this.
> (with the tabbed extension, the position is NOT 0,0, and the height
Do you mean that this happens only when you use the tabbed extension?
If yes, then I don't think there will or can be a fix for that without
redefining the meaning of those sequences - if some tabs have different
font sizes than others, then the window will have to be resized on tab
switches, and with most window managers this will lead to the window
becoming smaller and smaller as they round down.
> 2. I have had trouble even causing this (incorrect) behavior. My idea
> was to add to the options-popup a "Small Font" menu item. So I wrote a
> perl extension:
>
> Using $term->resource (font => "9x15") as above does not work. That
Resources are only strings, they don't trigger any changes (the popup
window changes because it uses the resources of the parent window, and you
should see a change only in the netx popup window, of course).
The method to call after font resource changes would be set_fonts (),
which is not exposed to perl atm (you could hack around that by toggling
Opt_skipBuiltinGlyphs one...).
> Eventually I have discovered that $term->cmd_parse works ($esc_seq)
> works (messing up the text area as above), but that seems convoluted.
That works, too.
> What is wrong with this extension?
Think about what resources are: some resources cannot be changed, in a
meaningful way, after starting up. Others can be changed without a problem
as they will be looked at each time they are used. And still others can be
changed, but need a trigger function to be called to become effective.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode