Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!ddsw1!news.mcs.net!chilton!chris From: chris@vindaloo.com (Christopher Sean Hilton) Subject: Re: EMACS and FreeBSD 2.1-SNAP ... (funny) Organization: Vindaloo communications Message-ID: <1995Sep24.014611.13292@vindaloo.com> References: <4410av$kmf@nntp.interaccess.com> Date: Sun, 24 Sep 95 01:46:11 GMT Lines: 38 In article <4410av$kmf@nntp.interaccess.com>, James Pitts <pitts@flowbee.interaccess.com> wrote: >Hi, > >Just the other day I installed FreeBSD 2.1 (one of the SNAP releases). I >am pleased to say the install went well. It is a very impressive piece of >software. I have been using FreeBSD back when it was first born. It is >really impressive to see how far the package has come since those days. > >After installing FreeBSD 2.1 I brought the on-demand ppp on line. It more >or less worked as advertised. Another nice feature of the release. > >After this, I installed some packages on the machine, including EMACS. >Everything seemed to be just fine until I went to edit a file with emacs. >EMACS started to come up, then the modem dialed my provider, established a >ppp connection, exchanged some packets when someone somewher, and then >let me edit the file. Now I can't use emacs without establishing a ppp >connection. :/ You've got your provider's name server listed before your hosts file in your /etc/resolv.conf file. When emacs comes up it does a gethostbyname() call and this tickles DNS which calls your provider. If you switch the order in /etc/resolv.conf to: domain foobarbaz.net hosts nameserver x.x.x.1 nameserver x.x.x.2 gethostbyname() will be able to figure out your host name without resorting to dns first. Chris -- -- Chris Hilton <chris@vindaloo.com> -+- For PGP Key: finger chilton@mcs.net Officer: We've analyzed their attack, sir, and there is a danger. Should