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 <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]