9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] nntppost
@ 2002-11-15 23:15 David Swasey
  0 siblings, 0 replies; 2+ messages in thread
From: David Swasey @ 2002-11-15 23:15 UTC (permalink / raw)
  To: 9fans

ATTBI's news servers require the lines of a posted article to be
terminated with \r\n rather than \n.  Here is a small patch to enable
nntpfs.c to post to those servers.

-dave

term% diff /sys/src/cmd/nntpfs.c ./nntpfs.c
617a618
> 		Bputc(&n->bw, '\r');
620c621
< 	Bprint(&n->bw, ".\n");
---
> 	Bprint(&n->bw, ".\r\n");



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] nntppost
@ 2002-11-15 23:44 presotto
  0 siblings, 0 replies; 2+ messages in thread
From: presotto @ 2002-11-15 23:44 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 22 bytes --]

updated and on sources

[-- Attachment #2: Type: message/rfc822, Size: 1804 bytes --]

From: David Swasey <swasey@cs.cmu.edu>
To: 9fans@cse.psu.edu
Subject: [9fans] nntppost
Date: Fri, 15 Nov 2002 18:15:11 -0500
Message-ID: <a185bced3bac881baf66c346a2dec8e2@cs.cmu.edu>

ATTBI's news servers require the lines of a posted article to be
terminated with \r\n rather than \n.  Here is a small patch to enable
nntpfs.c to post to those servers.

-dave

term% diff /sys/src/cmd/nntpfs.c ./nntpfs.c
617a618
> 		Bputc(&n->bw, '\r');
620c621
< 	Bprint(&n->bw, ".\n");
---
> 	Bprint(&n->bw, ".\r\n");

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-15 23:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-15 23:15 [9fans] nntppost David Swasey
2002-11-15 23:44 presotto

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