lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev displaying current page title in xterm window title


From: Thomas E. Dickey
Subject: Re: lynx-dev displaying current page title in xterm window title
Date: Mon, 22 May 2000 16:44:39 -0400 (EDT)

On Tue, 23 May 2000, Vlad Harchev wrote:

> 
>  As I remember, some fraction of lynx users run lynx in xterm (or other
> terminal emulator for X that support setting the window title via some escape 
> sequence). It seems to me that setting the window title to the page title, if
> running under terminal emulator, would be a handy improvement to lynx. Are
> there any additional thoughts on this subject (for example, how 'screen'
> running in xterm will handle such escape sequences).

screen doesn't pass that through - there was some discussion recently
on another thread to the effect that it does not appear to support the
status-line controls (which would be a way to make this work).
 
>  Also, what is the most clean way of detecting of whether running in
> xterm-like terminal (it seems to me that the easy hack is to check whether
> $WINDOWID and/or $DISPLAY are defined)?

environment variables are not reliable.  I would make a small utility
which tries to open the display if I wanted to know if I were in an
xterm.

>   -Vlad

-- 
T.E.Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]