Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

Parametrage de DISPLAY

0 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Florent Capdeville

ungelesen,
21.04.2001, 14:07:0421.04.01
an
Bonjour,

Je viens de passer à Xemacs-21.4
Je suis en accès RTC avec pppd option demand.

Chaque fois que je lance XEmacs, celui-ci fait une recherche DNS sur
localhost.free.fr. ce qui a pour effet de monter la liaison.

Dans la doc. de XEmacs, on lit
(/usr/src/xemacs/xemacs-21.4.1/PROBLEMS lignes 1426-1509):

*** Slow startup on Linux.

People using systems based on the Linux kernel sometimes
report that startup takes 10 to 15 seconds longer than
`usual'. There are two problems, one older, one newer.

**** Old problem: IPv4 host lookup

[... en gros entrer localhost dans /etc/hosts ...]

**** New problem: IPv6 CNAME lookup

A newer problem is due to XEmacs changing to use the modern
getaddrinfo() interface from the older gethostbyname()
interface. The solution above is insufficient, because
getaddrinfo() by default tries to get IPv6 information for
localhost. This always involves a dns lookup to get the
CNAME, and the strategies above don't work. It then falls
back to IPv4 behavior. ***** Robust
network case

Configure your network so that there are no nameservers
configured until the network is actually running.
getaddrinfo() will not try to access a nameserver that isn't
configured.

Je ne pense pas être dans ce cas...

***** Flaky network case

If you have a flaky modem or DSL connection that can be relied
on only to go down whenever you want to bring XEmacs up, you
need to force IPv4 behavior. Explicitly setting
DISPLAY=127.0.0.1:0.0 (or whatever is appropriate) works in
most cases.

Voilà pourquoi je poste et FU2 ici.

Comment fait-on, et surtout, Il n'y a pas de contre-indications?

--
Un proverbe chinois dit que lorsque l'on n'a plus rien à dire,
on cite généralement un proverbe chinois.

Qing Liu

ungelesen,
22.04.2001, 17:07:0922.04.01
an
Florent Capdeville <fcapd...@mail.dotcom.fr> writes:

> Bonjour,

Salut,


> If you have a flaky modem or DSL connection that can be relied
> on only to go down whenever you want to bring XEmacs up, you
> need to force IPv4 behavior. Explicitly setting
> DISPLAY=127.0.0.1:0.0 (or whatever is appropriate) works in
> most cases.

Je n'ai pas tout compris, mais je ne vois pas de problème avec
ça. Tu mets la ligne dans un fichier d'initialisation du shell.
Si c'est bash : ~/.bashrc (et non ~/.bash_profile).
Sinon, il n'y a pas de xemacs -d 127.0.0.1:0.0 ?

--
Liu

0 neue Nachrichten