Re:

[email protected] ()
Newsgroups gmane.network.sn
Message-ID <534c.38a4dac0.56939@felicity>
Gabor Z. Papp ([email protected]) wrote:
: [email protected] wrote:

: | : echo "200 bla bla bla"
: | : snntpd -S
: | 
: | : tin works, suck 4.2.3 didn't.
: | 
: | Well, did you log it to find out why? :) Did you forget to add a
: | carriage return to the end of the echo?

: Hmm, what do you think, how looks like the correct wrapper?
#!/bin/sh
# One way to get a control character.
# You can also use echo -e but that is not portable.
# Another way is to use /usr/bin/printf '200 hi\r\n'
cr="`echo |tr '\n' '\r'`"
echo "200 news.gzp.org.hu greetings$cr"
exec snntpd -S
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.