Mercurial > hg > xemacs-beta
comparison man/xemacs-faq.texi @ 4658:fd2495d78aac
Add FAQ on network slows (lookup order of DNS and /etc/hosts).
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Mon, 27 Jul 2009 01:29:49 +0900 |
parents | 4527fc976aa3 |
children | aa5ed11f473b |
comparison
equal
deleted
inserted
replaced
4657:f8d7d8202635 | 4658:fd2495d78aac |
---|---|
320 * Q2.4.12:: After upgrading, XEmacs won't do `foo' any more! | 320 * Q2.4.12:: After upgrading, XEmacs won't do `foo' any more! |
321 | 321 |
322 2.5: Startup-Related Problems | 322 2.5: Startup-Related Problems |
323 * Q2.5.1:: XEmacs cannot connect to my X Terminal! | 323 * Q2.5.1:: XEmacs cannot connect to my X Terminal! |
324 * Q2.5.2:: Startup problems related to paths or package locations. | 324 * Q2.5.2:: Startup problems related to paths or package locations. |
325 * Q2.5.3:: XEmacs won't start without network. | 325 * Q2.5.3:: XEmacs won't start without network, or starts slowly. |
326 * Q2.5.4:: Startup warnings about deducing proper fonts? | 326 * Q2.5.4:: Startup warnings about deducing proper fonts? |
327 * Q2.5.5:: Warnings from incorrect key modifiers. | 327 * Q2.5.5:: Warnings from incorrect key modifiers. |
328 * Q2.5.6:: XEmacs 21.1 on Windows used to spawn an ugly console window on every startup. Has that been fixed? | 328 * Q2.5.6:: XEmacs 21.1 on Windows used to spawn an ugly console window on every startup. Has that been fixed? |
329 | 329 |
330 3 Editing Functions | 330 3 Editing Functions |
3122 * Q2.4.12:: After upgrading, XEmacs won't do `foo' any more! | 3122 * Q2.4.12:: After upgrading, XEmacs won't do `foo' any more! |
3123 | 3123 |
3124 2.5: Startup-Related Problems | 3124 2.5: Startup-Related Problems |
3125 * Q2.5.1:: XEmacs cannot connect to my X Terminal! | 3125 * Q2.5.1:: XEmacs cannot connect to my X Terminal! |
3126 * Q2.5.2:: Startup problems related to paths or package locations. | 3126 * Q2.5.2:: Startup problems related to paths or package locations. |
3127 * Q2.5.3:: XEmacs won't start without network. | 3127 * Q2.5.3:: XEmacs won't start without network, or starts slowly. |
3128 * Q2.5.4:: Startup warnings about deducing proper fonts? | 3128 * Q2.5.4:: Startup warnings about deducing proper fonts? |
3129 * Q2.5.5:: Warnings from incorrect key modifiers. | 3129 * Q2.5.5:: Warnings from incorrect key modifiers. |
3130 * Q2.5.6:: XEmacs 21.1 on Windows used to spawn an ugly console window on every startup. Has that been fixed? | 3130 * Q2.5.6:: XEmacs 21.1 on Windows used to spawn an ugly console window on every startup. Has that been fixed? |
3131 @end menu | 3131 @end menu |
3132 | 3132 |
4469 into XEmacs using the @samp{--package-prefix} or @samp{--package-path} | 4469 into XEmacs using the @samp{--package-prefix} or @samp{--package-path} |
4470 parameter (@pxref{Q2.1.1}). If this has the value of @samp{nil}, | 4470 parameter (@pxref{Q2.1.1}). If this has the value of @samp{nil}, |
4471 this means that no value was compiled into XEmacs using these parameters. | 4471 this means that no value was compiled into XEmacs using these parameters. |
4472 | 4472 |
4473 @node Q2.5.3, Q2.5.4, Q2.5.2, Installation | 4473 @node Q2.5.3, Q2.5.4, Q2.5.2, Installation |
4474 @unnumberedsubsec Q2.5.3: XEmacs won't start without network. | 4474 @unnumberedsubsec Q2.5.3: XEmacs won't start without network, or starts slowly. |
4475 | 4475 |
4476 If XEmacs starts when you're on the network, but fails when you're not | 4476 If XEmacs starts when you're on the network, but fails when you're not |
4477 on the network, you may be missing a "localhost" entry in your | 4477 on the network, you may be missing a "localhost" entry in your |
4478 @file{/etc/hosts} file. The file should contain an entry like: | 4478 @file{/etc/hosts} file. The file should contain an entry like: |
4479 | 4479 |
4480 @example | 4480 @example |
4481 127.0.0.1 localhost | 4481 127.0.0.1 localhost |
4482 @end example | 4482 @end example |
4483 | 4483 |
4484 Add that line, and XEmacs will be happy. | 4484 Add that line, and XEmacs will be happy. If your network is unreliable, |
4485 such as a Wifi network, you may experience delays but eventually XEmacs | |
4486 starts up. This may be due to having the lookup order give precedence | |
4487 to DNS over the hosts file (often lookup order is defined in one of the | |
4488 files @file{/etc/host.conf}, @file{/etc/nsswitch.conf}, or | |
4489 @file{/etc/resolv.conf}, depending on OS). See your system | |
4490 documentation for this configuration. Note that changing the lookup | |
4491 order is a workaround; there are good reasons to have DNS come earlier | |
4492 by default. Make sure those reasons are less important to you than a | |
4493 quick XEmacs startup. | |
4485 | 4494 |
4486 @node Q2.5.4, Q2.5.5, Q2.5.3, Installation | 4495 @node Q2.5.4, Q2.5.5, Q2.5.3, Installation |
4487 @unnumberedsubsec Q2.5.4: Startup warnings about deducing proper fonts? | 4496 @unnumberedsubsec Q2.5.4: Startup warnings about deducing proper fonts? |
4488 | 4497 |
4489 How can I avoid the startup warnings about deducing proper fonts? | 4498 How can I avoid the startup warnings about deducing proper fonts? |