On Tue, May 23, 2000 at 02:43:45PM +0500, Vlad Harchev wrote:
> > > $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.
> 
>   Are they so unreliable ? As for connecting to X server - I think

yes (I can set environment variables without being in xterm).

> that this is unnecessary complexity. I think that every terminal emulator
> for X sets $WINDOWID, and that this environment variable won't be set under any

I'm not certain (dtterm comes to mind).

> other circumstance. Of course the user should be able to turn this feature
> off or on (since user can telnet to other machine from xterm and will be
> willing to see page titles in xterm titles). So this needs lynx.cfg setting
> like  PAGE_TITLE_IN_XTERM_TITLE:TRUE/FALSE/AUTO (true and false are
> unconditional settings, and auto will check $WINDOWID value)  and commandline 
> option like -use-xterm-title[+-].

maybe (but we have a lot of options such as -use_mouse that just make lynx
more cumbersome to use)
 
-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to