From: Kai Grossjohann <grossjoh@charly.informatik.uni-dortmund.de>
Subject: Strange nntp port number?
Date: 10 Apr 1996 19:02:22 +0200 [thread overview]
Message-ID: <vafenpwc8rl.fsf@dusty.i-have-a-misconfigured-system-so-shoot-me> (raw)
Hi all,
suppose I wanted to write a backend nndb.el which is just like nntp.el
but connects on port 9000 by default rather than "nntp" (and also to
host localhost rather than the nntp host).
I have learned from inspecting nndir.el that I should write a function
nndb-execute-nntp-command which calls the nntp-functions, then use
this to redirect all nntp-* functions.
Right now, this is what nndb-execute-nntp-command looks like:
(defun nndb-execute-nntp-command (command)
(let ((nntp-port-number nndb-port-number)
(nntp-address nndb-address))
(eval command)))
I use this, among other places, in nndb-open-server:
(defun nndb-open-server (server &optional defs connectionless)
"Similar to nntp-open-server, but uses different port number
and server address."
(nnheader-set-init-variables nndb-server-variables defs)
(nndb-execute-nntp-command
`(nntp-open-server ,server ,defs ,connectionless)))
It doesn't work, though :-(
Lars has told me to do it that way, but I really don't seem to be able
to come up with something useful :-( There must be a fundamental
error I'm making.
Thanks a lot in advance for your help,
kai
--
There ain't no cure for the summertime blues.
next reply other threads:[~1996-04-10 17:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-10 17:02 Kai Grossjohann [this message]
1996-04-12 3:16 ` Lars Magne Ingebrigtsen
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=vafenpwc8rl.fsf@dusty.i-have-a-misconfigured-system-so-shoot-me \
--to=grossjoh@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).