From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14023 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: AUTHINFO Date: 14 Feb 1998 17:01:28 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035153283 12458 80.91.224.250 (20 Oct 2002 22:34:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:34:43 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id IAA24696 for ; Sat, 14 Feb 1998 08:07:04 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA14055 for ; Sat, 14 Feb 1998 10:05:40 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id KAN26391; Sat, 14 Feb 1998 10:41:56 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 14 Feb 1998 09:59:21 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id JAA28041 for ; Sat, 14 Feb 1998 09:59:07 -0600 (CST) Original-Received: (qmail 21529 invoked by uid 504); 14 Feb 1998 15:59:03 -0000 Original-Received: (qmail 21522 invoked from network); 14 Feb 1998 15:59:02 -0000 Original-Received: from xyplex13.uio.no (HELO sparky.gnus.org) (129.240.154.33) by claymore.vcinet.com with SMTP; 14 Feb 1998 15:59:01 -0000 Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.5/8.8.5) id RAA25851; Sat, 14 Feb 1998 17:02:55 +0100 Mail-Copies-To: never Original-To: ding@gnus.org In-Reply-To: Jason R Mastaler's message of "13 Feb 1998 23:55:37 -0700" X-Mailer: Quassia Gnus v0.26/Emacs 19.34 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > Hey great, function `nntp-send-nosy-authinfo' worked for me without help > for the first time. How bout adding a `nntp-send-nosy-authinfo-from-file' > to the list of available functions for those of us whose current login > name differs from the NNTP server username we authenticate with? I'm > using the following at the moment. My ~/.nntp-authinfo file has the > username on the first line and the password on the second line. I think there already are too many authinfo functions, so it's time to do something radical: Introduce something that looks like .netrc. It could be called .authinforc, and it could use syntax like: machine news.uio.no login larsi password geheimnis If the password (and/or user name) is missing, it will be prompted for. I think the default authinfo function should do this, and if the file doesn't exist, it should prompt for both user name and password. I think I'll just copy the ange-ftp parsing functions (somewhat); they can't be used directly, since the set bunches of ange-ftp variables. I'll make a generalized version instead. Any thoughts? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen