aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorStefan Monnier2008-03-30 03:54:15 +0000
committerStefan Monnier2008-03-30 03:54:15 +0000
commit990e2c2fbce776825ce853151707136cebaff03d (patch)
tree6b1e105aeeff2e9d7a54bb7fd0a6bef3d53bb91c /doc/misc
parent02a0861d53eb665af22df38dd85a95d7060b2dd9 (diff)
downloademacs-990e2c2fbce776825ce853151707136cebaff03d.tar.gz
emacs-990e2c2fbce776825ce853151707136cebaff03d.zip
(nntp-netcat-command): Rename from nntp-via-netcat-command.
(nntp-netcat-switches): Rename from nntp-via-netcat-switches. (nntp-open-telnet, nntp-open-rlogin): Use with-current-buffer. (nntp-service-to-port): New function. (nntp-open-via-rlogin-and-netcat, nntp-open-via-telnet-and-telnet) (nntp-open-telnet-stream, nntp-open-via-rlogin-and-telnet): Use it. (nntp-open-netcat-stream): New function. (nntp-open-via-rlogin-and-netcat): Don't use a pty.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/gnus.texi20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 203d4b17b29..a6380aea3b5 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -13144,7 +13144,7 @@ netcat connection to the news server as follows:
13144@lisp 13144@lisp
13145(nntp "outside" 13145(nntp "outside"
13146 (nntp-pre-command "runsocks") 13146 (nntp-pre-command "runsocks")
13147 (nntp-open-connection-function nntp-open-via-netcat) 13147 (nntp-open-connection-function nntp-open-netcat-stream)
13148 (nntp-address "the.news.server")) 13148 (nntp-address "the.news.server"))
13149@end lisp 13149@end lisp
13150 13150
@@ -13619,8 +13619,8 @@ then define a server as follows:
13619 (nntp-address "snews.bar.com")) 13619 (nntp-address "snews.bar.com"))
13620@end lisp 13620@end lisp
13621 13621
13622@findex nntp-open-via-netcat 13622@findex nntp-open-netcat-stream
13623@item nntp-open-via-netcat 13623@item nntp-open-netcat-stream
13624Opens a connection to an @acronym{NNTP} server using the @code{netcat} 13624Opens a connection to an @acronym{NNTP} server using the @code{netcat}
13625program. You might wonder why this function exists, since we have 13625program. You might wonder why this function exists, since we have
13626the default @code{nntp-open-network-stream} which would do the job. (One 13626the default @code{nntp-open-network-stream} which would do the job. (One
@@ -13631,7 +13631,7 @@ connections to the outside world thanks to a command wrapper like
13631@lisp 13631@lisp
13632(nntp "socksified" 13632(nntp "socksified"
13633 (nntp-pre-command "runsocks") 13633 (nntp-pre-command "runsocks")
13634 (nntp-open-connection-function nntp-open-via-netcat) 13634 (nntp-open-connection-function nntp-open-netcat-stream)
13635 (nntp-address "the.news.server")) 13635 (nntp-address "the.news.server"))
13636@end lisp 13636@end lisp
13637 13637
@@ -13640,7 +13640,7 @@ session, which is not a good idea.
13640 13640
13641@findex nntp-open-telnet-stream 13641@findex nntp-open-telnet-stream
13642@item nntp-open-telnet-stream 13642@item nntp-open-telnet-stream
13643Like @code{nntp-open-via-netcat}, but uses @code{telnet} rather than 13643Like @code{nntp-open-netcat-stream}, but uses @code{telnet} rather than
13644@code{netcat}. @code{telnet} is a bit less robust because of things 13644@code{netcat}. @code{telnet} is a bit less robust because of things
13645like line-end-conversion, but sometimes netcat is simply 13645like line-end-conversion, but sometimes netcat is simply
13646not available. The previous example would turn into: 13646not available. The previous example would turn into:
@@ -13821,16 +13821,16 @@ String to use as end-of-line marker when talking to the @acronym{NNTP}
13821server. This is @samp{\r\n} by default, but should be @samp{\n} when 13821server. This is @samp{\r\n} by default, but should be @samp{\n} when
13822using a non native telnet connection function. 13822using a non native telnet connection function.
13823 13823
13824@item nntp-via-netcat-command 13824@item nntp-netcat-command
13825@vindex nntp-via-netcat-command 13825@vindex nntp-netcat-command
13826Command to use when connecting to the @acronym{NNTP} server through 13826Command to use when connecting to the @acronym{NNTP} server through
13827@samp{netcat}. This is @emph{not} for an intermediate host. This is 13827@samp{netcat}. This is @emph{not} for an intermediate host. This is
13828just for the real @acronym{NNTP} server. The default is 13828just for the real @acronym{NNTP} server. The default is
13829@samp{nc}. 13829@samp{nc}.
13830 13830
13831@item nntp-via-netcat-switches 13831@item nntp-netcat-switches
13832@vindex nntp-via-netcat-switches 13832@vindex nntp-netcat-switches
13833A list of switches to pass to @code{nntp-via-netcat-command}. The default 13833A list of switches to pass to @code{nntp-netcat-command}. The default
13834is @samp{()}. 13834is @samp{()}.
13835 13835
13836@end table 13836@end table