Re: goad status



Hmm. How  about 3 checks.
1. check for the NAMESERVER variable (transered by telnet)
2. check for the DISPLAY and try to get the ior from X
3. check ~/.nameserver.ior

if it still cant get the ior, then try to start it localy.

That should cover just about everything. 

On Sat, 11 Sep 1999, NotZed wrote:

> > 
> > Ok, Ill work on trying to figure a way that is a good solution.
> > Question. How does the DISPLAY variable transfer when you telnet into
> > another box? Maby the same mecanism can be used to transfer the ior of the
> > nameserver over.
> 
> Its part of the telnet protocol - and not all telnet's or in.telnetd's
> will do it anyway - so it cannot be relied upon.  Oh and it only does
> a couple of environmental variables, DISPLAY being one of them.  (you
> can add extra ones manually, interactively (see environ ? in telnet),
> but again the telnetd may not support it).
> 
>  Michael
> 
> 
> -- 
> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> as the Subject.
> 



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