Gnus development mailing list
 help / color / mirror / Atom feed
* Red Gnus: Can't post via `nntp'!!
@ 1996-07-31  0:51 Raja R Harinath
  0 siblings, 0 replies; only message in thread
From: Raja R Harinath @ 1996-07-31  0:51 UTC (permalink / raw)


Red Gnus v0.1; nntp 5.0; nnml 1.0; nnmh 1.0; nndoc 1.0; nndraft 1.0; nnfolder 1.0
GNU Emacs 19.31.1 (sparc-sun-sunos4.1.4, X toolkit) of Mon May 27 1996 on femto

`nntp-request-post' doesn't exist in rgnus/lisp/nntp.el.

I adapted the one from sgnus/lisp/nntp.el.  It worked all right for me.

(deffoo nntp-request-post (&optional server)
  "Post the current buffer."
  (nntp-possibly-change-group nil server)
  (when (nntp-send-command "^[23].*\r?\n" "POST")
    (nnheader-insert "")
    (nntp-encode-text)
    (nntp-send-region-to-server (point-min) (point-max))
    ;; 1.2a NNTP's post command is buggy. "^M" (\r) is not
    ;;  appended to end of the status message.
    (nntp-wait-for-string "^[23].*\n")))

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-07-31  0:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-31  0:51 Red Gnus: Can't post via `nntp'!! Raja R Harinath

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).