+2002-09-03 Simon Josefsson <jas@extundo.com>
+
+ * nntp.el (nntp-wait-for-string): Dont infloop if process died.
+
+ * gnus-agent.el (gnus-agent-batch): Add doc.
+
2002-09-03 Josh Huber <huber@alum.wpi.edu>
* gnus-msg.el (gnus-summary-handle-replysign): Change the order we
;;;###autoload
(defun gnus-agent-batch ()
+ "Start Gnus, send queue and fetch session."
(interactive)
(let ((init-file-user "")
(gnus-always-read-dribble-file t))
"Wait until string arrives in the buffer."
(let ((buf (current-buffer)))
(goto-char (point-min))
- (while (not (re-search-forward regexp nil t))
+ (while (and (nntp-find-connection nntp-server-buffer)
+ (not (re-search-forward regexp nil t)))
(accept-process-output (nntp-find-connection nntp-server-buffer))
(set-buffer buf)
(goto-char (point-min)))))
+2002-09-03 Simon Josefsson <jas@extundo.com>
+
+ * gnus.texi (Direct Functions, Common Variables): Named ports like
+ "snews" doesn't work with some external tools. Thanks to
+ "D. Watson" <djwatson@u.washington.edu> for noting this.
+
2002-09-01 Simon Josefsson <jas@extundo.com>
* gnus.texi (Gnus Unplugged): Fix, agent is now enabled by default.
\e$B$+$i%5!<%P!<$r<!$N$h$&$KDj5A$7$^$9\e(B:
@lisp
-;; Type `C-c C-c' after you've finished editing.
+;; \e$BJT=8$7=*$o$C$?$i\e(B `C-c C-c' \e$B$r%?%$%W$7$F2<$5$$!#\e(B
;;
-;; "snews" is port 563 and is predefined in our /etc/services
+;; \e$B%]!<%H\e(B 563 \e$B$,\e(B "snews" \e$B$H$7$F\e(B /etc/services \e$B$GDj5A:Q$_$G$"$C$F$b\e(B
+;; openssl s_client -port \e$B$G$=$NL>A0$O;H$($^$;$s!#\e(B
;;
(nntp "snews.bar.com"
(nntp-open-connection-function nntp-open-ssl-stream)
- (nntp-port-number "snews")
+ (nntp-port-number 563)
(nntp-address "snews.bar.com"))
@end lisp
@item nntp-port-number
@vindex nntp-port-number
\e$B@\B3$9$k\e(B @sc{nntp} \e$B%5!<%P!<$N%]!<%HHV9f$G$9!#%G%#%U%)%k%H\e(B
-\e$B$O\e(B @samp{nntp} \e$B$G$9!#\e(B
+\e$B$O\e(B @samp{nntp} \e$B$G$9!#\e(B@sc{ssl} \e$B$r2p$7$?\e(B @sc{nntp} \e$B$r;H$&$K$O!"%]!<%H$NL>\e(B
+\e$BA0$G$O$J$/$F@0?t\e(B (\e$B$D$^$j\e(B @samp{snews} \e$B$G$O$J$/$F\e(B @samp{563}) \e$B$r;XDj$7$F\e(B
+\e$B2<$5$$!#30It$N\e(B SSL \e$B%D!<%k$O%]!<%H$NL>A0$G$OF0:n$7$J$$$+$i$G$9!#\e(B
@item nntp-end-of-line
@vindex nntp-end-of-line
;; Type `C-c C-c' after you've finished editing.
;;
;; "snews" is port 563 and is predefined in our /etc/services
+;; however, openssl s_client -port doesn't like named ports
;;
(nntp "snews.bar.com"
(nntp-open-connection-function nntp-open-ssl-stream)
- (nntp-port-number "snews")
+ (nntp-port-number 563)
(nntp-address "snews.bar.com"))
@end lisp
@item nntp-port-number
@vindex nntp-port-number
Port number to connect to the @sc{nntp} server. The default is @samp{nntp}.
+If you use @sc{nntp} over @sc{ssl}, you may want to use integer ports rather
+than named ports (i.e, use @samp{563} instead of @samp{snews}), because
+external SSL tools may not work with named ports.
@item nntp-end-of-line
@vindex nntp-end-of-line