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: David Woolley
Subject: Re: lynx-dev displaying current page title in xterm window title
Date: Tue, 23 May 2000 08:29:30 +0100 (BST)

>  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)?

The only safe (in the sense that you can blame the user if it is wrong)
way is to detect TERM set to an entry for an xterm (ideally there should
be a termcap/terminfo capability that one specifically tests for, in which
case that would be the only safe way, but I'm not convinced that there is).

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

reply via email to

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