Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 1995 09:33:28 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: utmp ut_host field
Message-ID:  <199507170733.JAA05185@uriah.heep.sax.de>
In-Reply-To: <199507170433.VAA03601@corbin.Root.COM> from "David Greenman" at Jul 16, 95 09:33:41 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As David Greenman wrote:
> 
> >Something like this:
> >  #include <resolv.h>
> >  if (!(_res.options & RES_INIT))
> >	  res_init();
> >  _res.retrans = 2;
> >  _res.retry = 0;
> >
> >As for making it not the default, I'd be quite happy to do this myself if 
> >you'd let me use an environment variable to enable it for the utilities 
> >that care.. :-)  (you know, like "BLOCKSIZE", which most of the disk 
> >utilities respect when reporting disk units (df, du, etc)).
> 
>    What would you like to call it? PETERSGOODSTUFF? :-) If you can find one
> that makes some logical sense...
>    What do other people think?

Implement the 2-second timeout.  This is 2.2-Development, it should be
open for experiments.  Install the command (as an exception to our
normal policy to run a RELEASE) on freefall.  If it's still spamming,
disable the default and hack it via the environment, or better yet,
implement it as shell aliases in the default /etc/csh.cshrc and
/etc/profiles, so the casual users won't complain about the change.

OTOH, David, you could use an alias as well. :-)  Changing the default
behaviour of a long-standing application just to the opposite is never
a good idea.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507170733.JAA05185>