12680 |
connection before giving up. If it is @code{nil}, which is the default, |
connection before giving up. If it is @code{nil}, which is the default, |
12681 |
no timeouts are done. |
no timeouts are done. |
12682 |
|
|
|
@c @item nntp-command-timeout |
|
|
@c @vindex nntp-command-timeout |
|
|
@c @cindex PPP connections |
|
|
@c @cindex dynamic IP addresses |
|
|
@c If you're running Gnus on a machine that has a dynamically assigned |
|
|
@c address, Gnus may become confused. If the address of your machine |
|
|
@c changes after connecting to the @acronym{NNTP} server, Gnus will simply sit |
|
|
@c waiting forever for replies from the server. To help with this |
|
|
@c unfortunate problem, you can set this command to a number. Gnus will |
|
|
@c then, if it sits waiting for a reply from the server longer than that |
|
|
@c number of seconds, shut down the connection, start a new one, and resend |
|
|
@c the command. This should hopefully be transparent to the user. A |
|
|
@c likely number is 30 seconds. |
|
|
@c |
|
|
@c @item nntp-retry-on-break |
|
|
@c @vindex nntp-retry-on-break |
|
|
@c If this variable is non-@code{nil}, you can also @kbd{C-g} if Gnus |
|
|
@c hangs. This will have much the same effect as the command timeout |
|
|
@c described above. |
|
|
|
|
|
@item nntp-server-hook |
|
|
@vindex nntp-server-hook |
|
|
This hook is run as the last step when connecting to an @acronym{NNTP} |
|
|
server. |
|
|
|
|
|
@item nntp-buggy-select |
|
|
@vindex nntp-buggy-select |
|
|
Set this to non-@code{nil} if your select routine is buggy. |
|
|
|
|
12683 |
@item nntp-nov-is-evil |
@item nntp-nov-is-evil |
12684 |
@vindex nntp-nov-is-evil |
@vindex nntp-nov-is-evil |
12685 |
If the @acronym{NNTP} server does not support @acronym{NOV}, you could set this |
If the @acronym{NNTP} server does not support @acronym{NOV}, you could set this |
12711 |
@vindex nntp-prepare-server-hook |
@vindex nntp-prepare-server-hook |
12712 |
A hook run before attempting to connect to an @acronym{NNTP} server. |
A hook run before attempting to connect to an @acronym{NNTP} server. |
12713 |
|
|
|
@item nntp-warn-about-losing-connection |
|
|
@vindex nntp-warn-about-losing-connection |
|
|
If this variable is non-@code{nil}, some noise will be made when a |
|
|
server closes connection. |
|
|
|
|
12714 |
@item nntp-record-commands |
@item nntp-record-commands |
12715 |
@vindex nntp-record-commands |
@vindex nntp-record-commands |
12716 |
If non-@code{nil}, @code{nntp} will log all commands it sends to the |
If non-@code{nil}, @code{nntp} will log all commands it sends to the |
12723 |
It is possible to customize how the connection to the nntp server will |
It is possible to customize how the connection to the nntp server will |
12724 |
be opened. If you specify an @code{nntp-open-connection-function} |
be opened. If you specify an @code{nntp-open-connection-function} |
12725 |
parameter, Gnus will use that function to establish the connection. |
parameter, Gnus will use that function to establish the connection. |
12726 |
Five pre-made functions are supplied. These functions can be grouped in |
Six pre-made functions are supplied. These functions can be grouped in |
12727 |
two categories: direct connection functions (three pre-made), and |
two categories: direct connection functions (four pre-made), and |
12728 |
indirect ones (two pre-made). |
indirect ones (two pre-made). |
12729 |
|
|
12730 |
@item nntp-prepare-post-hook |
@item nntp-prepare-post-hook |
12742 |
Note that not all servers support the recommended ID. This works for |
Note that not all servers support the recommended ID. This works for |
12743 |
INN versions 2.3.0 and later, for instance. |
INN versions 2.3.0 and later, for instance. |
12744 |
|
|
|
@item nntp-read-timeout |
|
|
@vindex nntp-read-timeout |
|
|
How long nntp should wait between checking for the end of output. |
|
|
Shorter values mean quicker response, but is more CPU intensive. The |
|
|
default is 0.1 seconds. If you have a slow line to the server (and |
|
|
don't like to see Emacs eat your available CPU power), you might set |
|
|
this to, say, 1. |
|
|
|
|
12745 |
@end table |
@end table |
12746 |
|
|
12747 |
@menu |
@menu |
12916 |
|
|
12917 |
The following variables affect the behavior of all, or several of the |
The following variables affect the behavior of all, or several of the |
12918 |
pre-made connection functions. When not specified, all functions are |
pre-made connection functions. When not specified, all functions are |
12919 |
affected. |
affected (the values of the following variables will be used as the |
12920 |
|
default if each virtual @code{nntp} server doesn't specify those server |
12921 |
|
variables individually). |
12922 |
|
|
12923 |
@table @code |
@table @code |
12924 |
|
|
12926 |
@vindex nntp-pre-command |
@vindex nntp-pre-command |
12927 |
A command wrapper to use when connecting through a non native |
A command wrapper to use when connecting through a non native |
12928 |
connection function (all except @code{nntp-open-network-stream}, |
connection function (all except @code{nntp-open-network-stream}, |
12929 |
@code{nntp-open-tls-stream}, and @code{nntp-open-ssl-stream}. This is |
@code{nntp-open-tls-stream}, and @code{nntp-open-ssl-stream}). This is |
12930 |
where you would put a @samp{SOCKS} wrapper for instance. |
where you would put a @samp{SOCKS} wrapper for instance. |
12931 |
|
|
12932 |
@item nntp-address |
@item nntp-address |
12937 |
@vindex nntp-port-number |
@vindex nntp-port-number |
12938 |
Port number to connect to the @acronym{NNTP} server. The default is |
Port number to connect to the @acronym{NNTP} server. The default is |
12939 |
@samp{nntp}. If you use @acronym{NNTP} over |
@samp{nntp}. If you use @acronym{NNTP} over |
12940 |
@acronym{tls}/@acronym{ssl}, you may want to use integer ports rather |
@acronym{TLS}/@acronym{SSL}, you may want to use integer ports rather |
12941 |
than named ports (i.e, use @samp{563} instead of @samp{snews} or |
than named ports (i.e, use @samp{563} instead of @samp{snews} or |
12942 |
@samp{nntps}), because external @acronym{TLS}/@acronym{SSL} tools may |
@samp{nntps}), because external @acronym{TLS}/@acronym{SSL} tools may |
12943 |
not work with named ports. |
not work with named ports. |