🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux
Article #255

Re: emacs startuje w 30 sekund

#255
From: Michal Jankowski
Date: Thu, 27 Feb 1997 19:18
34 lines
1536 bytes
krupa@alpha.sggw.waw.pl writes:

> Nie moge podlaczyc mojego komputera ze slackiem do sieci ** bo nie mam i nie 
> bede mial chyba jescze przez pewien czas numeru IP**. Czy pomimo tego jest 
> jakas mozliwosc, zeby emacs startowal "normalnie" to znaczy szybko. Czy 
> nie mozna jakos "rozkazac" emacsowi zeby nie szukal pelnej nazwy komputera 
> i nie pytal DNSa.
> A moze wpisac jakies "fikcyjne" nazwy w /etc/hosts i /etc/resolv.conf?
> Naiwnie probowalem ale moze to jest bez sensu (nie pomoglo).

Mozna, mozna.

Ja tam nie wiem, czym sie rozni slack od RedHata, ale u mnie to jest
tak:

1. Sprawdzamy, jak sie komputer nazywa.

$ hostname
pececik
$

2. Wpisujemy do /etc/hosts

1.2.3.4 pececik.moja.domena.pl pececik

3. Sprawdzamy, ze w /etc/nsswitch.conf jest linijka

hosts: files dns

(albo podobna, w kazdym razie najpierw 'files'.)

I juz powinno byc dobrze.

  MJ
Technical Details
Message-ID: <2nzpwqhxch.fsf@cclan.fuw.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!uw.edu.pl!news
References: <009B085A.5660B964.26@alpha.sggw.waw.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!uw.edu.pl!news
From: Michal Jankowski <michalj@fuw.edu.pl>
Newsgroups: pl.comp.os.linux
Subject: Re: emacs startuje w 30 sekund
Date: 27 Feb 1997 20:18:06 +0100
Organization: A poorly-installed InterNetNews site
Lines: 34
Sender: michalj@cclan.fuw.edu.pl
Message-ID: <2nzpwqhxch.fsf@cclan.fuw.edu.pl>
References: <009B085A.5660B964.26@alpha.sggw.waw.pl>
NNTP-Posting-Host: cclan.fuw.edu.pl
Mime-Version: 1.0 (generated by tm-edit 7.105)
X-Newsreader: Gnus v5.3/Emacs 19.34
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit