Fix compilation issues
Pass around socket identifier

Mostly just passing around sockfd to make multiple threads possible in the future.
Change yencoding

To be honest, I have no idea why the old version worked. The current version behaves a bit more like PowerPost2000; it has a fixed line length and a variable amount of lines.
Split text and binary posting functions

post_and_encode() is not an appropriate name for text posting, as there's nothing that will be encoded. Splitting binary and text posting also increases readability by not having an entire section indented inside an if-else statement.
Remove text prefix support

If you want to mix binary and text posting, do it yourself. Doing it in the code only makes it confusing.
Add a gitignore file.
Shut up a GCC warning.

A simple fix to shut up a not so serious warning.

The variable would always be initialized in the first cycle of the loop, but GCC probably can't see that.
Fixed stupid mistake in yencoding
Add support for multiple threads

Use -N <int> to specify the amount of threads to use.

Note that threads are only used for binary posting; when posting a text file,
newspost will only use one thread.
Change defaults to more used ones

Nowadays, almost every binary post uses yencoding and not uuencoding. For yencoding, the usual amount of lines varies from 3450 to 5000 (though more or less lines shouldn't cause any problems).

In multi-file posts, including the file number will help nzb generators to recognize that they belong to a single post.
Update the manual to correspond with the latest changes
Add long options