• Bug#241574: elinks: title in xterm is not restored

    From Julian Gilbey@1:229/2 to All on Mon Aug 16 15:10:13 2004
    From: [email protected]

    Here are three possible fixes for this bug:

    (1) Don't modify the xterm title in the first place

    (2) When exiting elinks, set the title to something default such as
    "xterm"

    (3) Link to the xlibs library (possible on a dynamic "if present"
    basis) so that you can find out the original title before changing
    it

    I vote for (1) or (3).

    Julian


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Jonas Fonseca@1:229/2 to Julian Gilbey on Mon Aug 16 15:40:09 2004
    From: [email protected]

    Julian Gilbey <[email protected]> wrote Mon, Aug 16, 2004:
    Here are three possible fixes for this bug:

    (1) Don't modify the xterm title in the first place

    There is already and option for this. Open 'man elinks.conf' and search
    for 'window_title'.

    (2) When exiting elinks, set the title to something default such as
    "xterm"

    I have configured my shell to do this for me.

    (3) Link to the xlibs library (possible on a dynamic "if present"
    basis) so that you can find out the original title before changing
    it

    This was the previous behaviour but it bloats the dependencies with
    xlibs which is not nice on server systems. Hopefully in the future we
    will have some more non-server bloat such as image handling (like that
    of w3m-img) so that we can have two elinks packages.

    I vote for (1) or (3).

    You got it.

    --
    Jonas Fonseca


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Julian Gilbey@1:229/2 to Jonas Fonseca on Mon Aug 16 18:30:14 2004
    From: [email protected]

    On Mon, Aug 16, 2004 at 03:25:06PM +0200, Jonas Fonseca wrote:
    (3) Link to the xlibs library (possible on a dynamic "if present"
    basis) so that you can find out the original title before changing
    it

    This was the previous behaviour but it bloats the dependencies with
    xlibs which is not nice on server systems. Hopefully in the future we
    will have some more non-server bloat such as image handling (like that
    of w3m-img) so that we can have two elinks packages.

    Thanks for swift answer.

    How about making ui.show_title_bar=0 the default in Debian
    installations?

    Alternatively, how about the following type of code (which avoids the
    bloat of depending upon xlibs):

    if (getenv("DISPLAY") && (dlopen("libX11.so.6",RTLD_LAZY)) {
    // can then determine whether we are inside an xterm-like thing and
    // query the X-server for the window title
    }

    Have a nice day!

    Julian


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)