*BSD News Article 44061


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!news.gmi.edu!zombie.ncsc.mil!news.mathworks.com!gatech!news.sprintlink.net!helena.MT.net!nate
From: nate@trout.sri.MT.net (Nate Williams)
Newsgroups: comp.os.386bsd.questions
Subject: Re: emacs-19.28.0 takes forever to run...
Date: 15 May 1995 17:24:35 GMT
Organization: SRI Intl. - Montana Operations
Lines: 26
Message-ID: <3p82oj$e3a@helena.MT.net>
References: <TOMEK.95May11220138@bats.comp.vuw.ac.nz> <TOMEK.95May13222551@bats.comp.vuw.ac.nz> <3p3t7v$pab@er5.rutgers.edu>
Reply-To: "Nate Williams" <nate@sneezy.sri.com>
NNTP-Posting-Host: trout.sri.mt.net

In article <3p3t7v$pab@er5.rutgers.edu>,
Ken Nakata <kenn@eden.rutgers.edu> wrote:
>Tomasz.Piatek@comp.vuw.ac.nz (Tomek Piatek) writes:
>>when the network is down emacs takes longer to start-up as it's looking for
>>the nameserver. As my machine is located at home and I don't always run SLIP
>>it's no wonder that it's been happening very often. I've just tried it again
>>with network up and running and it took no time at all (3-5 seconds).
>
>I move /etc/resolv.conf to elsewhere everytime I shut down my PPP
>connection, and move it back to /etc when I reconnect.  It's easy
>to do that if you bring the connection up and down with scripts.

The easier thing to do if you are running FreeBSD is to force it to resolve
hosts using /etc/hosts first, and then if it doesn't exists to use DNS.

Look at the file /etc/host.conf, which should point you in the right
direction.



Nate
-- 
nate@sneezy.sri.com    | Research Engineer, SRI Intl. - Montana Operations
nate@trout.sri.MT.net  |
work #: (406) 449-7662 | Loving life in God's country, the great state of
home #: (406) 443-7063 | Montana.