<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>newsgroup &#8211; Kodono</title>
	<atom:link href="https://blog.kodono.info/wordpress/tag/newsgroup/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.kodono.info/wordpress</link>
	<description>Pour tous les technophiles</description>
	<lastBuildDate>Wed, 18 Apr 2012 19:37:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>A console program for Newsgroup post [linux]</title>
		<link>https://blog.kodono.info/wordpress/2012/04/18/a-console-program-for-newsgroup-post-linux/</link>
					<comments>https://blog.kodono.info/wordpress/2012/04/18/a-console-program-for-newsgroup-post-linux/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Wed, 18 Apr 2012 19:37:21 +0000</pubDate>
				<category><![CDATA[Application]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Niveau intermédiaire]]></category>
		<category><![CDATA[Partage]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[newsgroup]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1015</guid>

					<description><![CDATA[I spent a long time to find how to post on newsgroup with Linux in console mode only. Here is the solution ! Download and compile newspost Newspost is a program to post on the newsgroup. I&#8217;m on Debian but this package doesn&#8217;t exist anymore. However you can download the source and compile them&#8230; except [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I spent a long time to find how to post on newsgroup with Linux in console mode only.<br />
Here is the solution !</p>
<h2>Download and compile newspost</h2>
<p><a href="http://newspost.unixcab.org/">Newspost</a> is a program to post on the newsgroup. I&#8217;m on Debian but this package doesn&#8217;t exist anymore. However you can download the source and compile them&#8230; except there are few errors with the original sources (at least on my box). The issue is the source uses a function called &#8220;getfile&#8221;, however this function name is already used in something else and it causes a conflict.<br />
So I&#8217;ve renamed the function and it now works.</p>
<p><a href='http://blog.kodono.info/wordpress/wp-content/uploads/2012/04/newspost-2.1.1.orig_.tar.gz'>Download newspost-2.1.1.orig.tar.gz</a></p>
<p>Extract the files, then use <code>make &#038;& make install</code></p>
<h2>Install par2 and rar</h2>
<p>On a Debian you&#8217;ll do <code>apt-get install par2 rar</code></p>
<h2>Let&#8217;s go</h2>
<p>The first step is to split your file into small ones with rar extension :<br />
<code>rar a "name of rar file" -v20m -m0 "/home/example/your file"</code></p>
<p>Here are some explanations regarding this command :</p>
<ul>
<li><b>name of rar file</b> : This is the name of the rar-files you&#8217;re going to create (&#8220;.rar&#8221; will automatic be added)</li>
<li><b>-v20m</b> : Split the file into 20MB chunks</li>
<li><b>-m0</b> : Set compression level (0-store&#8230;3-default&#8230;5-best)</li>
<li><b>&#8220;/home/example/your file&#8221;</b> : The file you want to rar</li>
</ul>
<p>Now we can create the .par files :<br />
<code>par2create -r10 -n7 "name of .par files" "/home/example/the .rar files*"</code></p>
<p>Some explanations :</p>
<ul>
<li><b>-r15</b> : Percent par-files you want to create</li>
<li><b>-n7</b> : Number of par-files you want to create
<li><b>/home/example/the .rar files*&#8221;</b> : The just created .rar files</li>
</ul>
<p>Now it&#8217;s time to upload your files :<br />
<code>newspost -i SERVER.NEWSGROUP.COM -u USERNAME -p PASSWORD -f EMAIL@EXAMPLE.COM -n ALT.BINARIES.YOUR.GROUP -y -s "SUBJECT" "/home/example/*par*"</code></p>
<p>So replace the uppercase words with your own values.</p>
<p>Thanks to this <a href="http://ubuntuforums.org/archive/index.php/t-691892.html">old post</a> !</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2012/04/18/a-console-program-for-newsgroup-post-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
