Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Parametrage de DISPLAY

0 views
Skip to first unread message

Florent Capdeville

unread,
Apr 21, 2001, 2:07:04 PM4/21/01
to
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

unread,
Apr 22, 2001, 5:07:09 PM4/22/01
to
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 new messages