From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/21034 Path: main.gmane.org!not-for-mail From: Tatsuya Ichikawa Newsgroups: gmane.emacs.gnus.general Subject: Bugs in nntp.el - using nnmail-read-passwd. Date: 08 Feb 1999 11:08:40 +0900 Organization: =?ISO-2022-JP?B?GyRCTk8kOiQvGyhC?= elisper, =?ISO-2022-JP?B?GyRCQ2ZJdDtZSXQbKEIu?= Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by WEMI 1.13.2 - "Mochimune") Content-Type: multipart/mixed; boundary="Multipart_Mon_Feb_08_11:08:40_1999-1" X-Trace: main.gmane.org 1035159217 20913 80.91.224.250 (21 Oct 2002 00:13:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:13:37 +0000 (UTC) Cc: ichikawa@hv.epson.co.jp Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id VAA27878 for ; Sun, 7 Feb 1999 21:08:05 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id UAB24364; Sun, 7 Feb 1999 20:07:18 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 07 Feb 1999 20:07:25 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id UAA16187 for ; Sun, 7 Feb 1999 20:07:08 -0600 (CST) Original-Received: from epsongw2.epson.co.jp (epsongw2.epson.co.jp [202.248.17.20]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id VAA27854 for ; Sun, 7 Feb 1999 21:06:53 -0500 (EST) Original-Received: from epsongw.epson.co.jp by epsongw2.epson.co.jp (8.9.2/3.7W-99011715) id LAA12776 for ; Mon, 8 Feb 1999 11:06:23 +0900 (JST) Original-Received: from hv.epson.co.jp by epsongw.epson.co.jp (8.9.2/3.7W-99011811) id LAA27481 for ; Mon, 8 Feb 1999 11:06:23 +0900 (JST) Original-Received: from hv08.hv.epson.co.jp (hv08 [163.141.23.108]) by hv.epson.co.jp (8.9.2/3.7W-nomx) with ESMTP id CAA05764; Mon, 8 Feb 1999 02:01:50 GMT Original-To: Gnus ML X-URI: http://www.shiojiri.ne.jp/%7Et-ichi/ X-Info: http://pgp.nic.ad.jp/cgi-bin/pgpsearchkey.pl?op=get&search=0x0A2D6599 X-PGP-Sig: 5.0i Subject,Message-ID,Date,From,Sender,User-Agent,X-Face iQBVAwUBNr5HK3iR0oMKLWWZAQHEywIAm8T54eZm0FSFLdkcEj8WaLC4dy/6VkBM gv4hxse4wlzLOv4hAs7hXFr0zPz6yvZySUcupzs1BXp/wyBhBhhv+A== =7xuq X-Face-Version: X-Face utility v1.3.4 - "Hello Goodbye" X-Face: (-g67;v;O`h)5hNnePN5i~sXwUJC Original-Lines: 88 User-Agent: T-gnus/6.10.057 (based on Pterodactyl Gnus v0.75) WEMI/1.13.2 (Mochimune) FLIM/1.12.5 (Hirahata) Emacs/20.2 (i386-*-nt-4.0) MULE/3.0 (=?ISO-2022-JP?B?GyRCOUhNVTJsGyhC?=) Meadow/1.01 (=?ISO-2022-JP?B?GyRCP2lHNTxuGyhC?=) Cancel-Lock: sha1:cFtoxl8KQ475j5mdyQAxOd3KYfY= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:21034 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:21034 --Multipart_Mon_Feb_08_11:08:40_1999-1 Content-Type: text/plain; charset=US-ASCII nntp.el in pGnus v0.75 use nnmail-read-passwd to login nntp server. This may does not work , So I create following patch. --Multipart_Mon_Feb_08_11:08:40_1999-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="pgnus.diff" Content-Transfer-Encoding: 7bit *** nntp.el.orig Sat Jan 23 23:30:46 1999 --- nntp.el Mon Feb 08 11:05:56 1999 *************** *** 221,227 **** (defvar nntp-async-process-list nil) (eval-and-compile ! (autoload 'nnmail-read-passwd "nnmail") (autoload 'open-ssl-stream "ssl")) --- 221,227 ---- (defvar nntp-async-process-list nil) (eval-and-compile ! (autoload 'mail-source-read-passwd "mail-source") (autoload 'open-ssl-stream "ssl")) *************** *** 779,785 **** (or passwd nntp-authinfo-password (setq nntp-authinfo-password ! (nnmail-read-passwd (format "NNTP (%s@%s) password: " user nntp-address)))))))))) (defun nntp-send-nosy-authinfo () --- 779,785 ---- (or passwd nntp-authinfo-password (setq nntp-authinfo-password ! (mail-source-read-passwd (format "NNTP (%s@%s) password: " user nntp-address)))))))))) (defun nntp-send-nosy-authinfo () *************** *** 789,795 **** (nntp-send-command "^3.*\r?\n" "AUTHINFO USER" user) (when t ;???Should check if AUTHINFO succeeded (nntp-send-command "^2.*\r?\n" "AUTHINFO PASS" ! (nnmail-read-passwd "NNTP (%s@%s) password: " user nntp-address)))))) (defun nntp-send-authinfo-from-file () --- 789,795 ---- (nntp-send-command "^3.*\r?\n" "AUTHINFO USER" user) (when t ;???Should check if AUTHINFO succeeded (nntp-send-command "^2.*\r?\n" "AUTHINFO PASS" ! (mail-source-read-passwd "NNTP (%s@%s) password: " user nntp-address)))))) (defun nntp-send-authinfo-from-file () *************** *** 1254,1260 **** proc (concat (or nntp-telnet-passwd (setq nntp-telnet-passwd ! (nnmail-read-passwd "Password: "))) "\n")) (erase-buffer) (nntp-wait-for-string nntp-telnet-shell-prompt) --- 1254,1260 ---- proc (concat (or nntp-telnet-passwd (setq nntp-telnet-passwd ! (mail-source-read-passwd "Password: "))) "\n")) (erase-buffer) (nntp-wait-for-string nntp-telnet-shell-prompt) -- Tatsuya Ichikawa --Multipart_Mon_Feb_08_11:08:40_1999-1--