Gnus development mailing list
 help / color / mirror / Atom feed
From: Randal Schwartz <merlyn@stonehenge.com>
Cc: Kai Grossjohann <grossjohann@charly.informatik.uni-dortmund.de>,
	ding@ifi.uio.no
Subject: Re: Authinfo/Select Method question
Date: 15 Jan 1997 12:03:31 -0700	[thread overview]
Message-ID: <8c3ew2yd4s.fsf@gadget.cscaper.com> (raw)
In-Reply-To: Baba Z Buehler's message of Wed, 15 Jan 1997 11:56:38 -0600

>>>>> "Baba" == Baba Z Buehler <baba@beckman.uiuc.edu> writes:

Baba> Kai Grossjohann <grossjohann@charly.informatik.uni-dortmund.de> writes:
>> Turn to Mekka, shout three times ``I know where my towel is!'', and
>> type C-h f nntp-send-authinfo-from-file RET.  You'll be enlightened.
>> 

Baba> Yes, Jedi Master, but this uses my login name... my account on the news server
Baba> has a different login than my regular UNIX account.

in my .gnus.el:

(setq
 gnus-select-method '(nntp "PRIVATE-NEWS.my-isp.com"
			   (nntp-server-opened-hook (MERLYN:nntp-authinfo-for-my-isp))
			   ))

(defun MERLYN:nntp-authinfo-for-my-isp ()
  (nntp-send-command "^.*\r?\n" "AUTHINFO USER randal")
  (nntp-send-command "^.*\r?\n" "AUTHINFO PASS duh-you-think-I'd-tell-you?"))

Don't bother trying this for real.... this is an example, kids. :-)

It *would* have been nice to have this be a paramatized function, but
I didn't have time to fuss around.  I need to save the time for
newsreading. :-)

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@ora.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me


      parent reply	other threads:[~1997-01-15 19:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-15 17:28 Baba Z Buehler
1997-01-15 17:42 ` Kai Grossjohann
1997-01-15 17:56   ` Baba Z Buehler
1997-01-15 19:00     ` Kai Grossjohann
1997-01-15 21:17       ` Baba Z Buehler
1997-01-15 19:03     ` Randal Schwartz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8c3ew2yd4s.fsf@gadget.cscaper.com \
    --to=merlyn@stonehenge.com \
    --cc=ding@ifi.uio.no \
    --cc=grossjohann@charly.informatik.uni-dortmund.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).