🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by things Tue, 16 Mar 1999 00:00
Extra Headers in Knews and *extraHeaders
#47350
Author: things
Date: Tue, 16 Mar 1999 00:00
21 lines
1318 bytes
Hey everyone,

Can someone tell me how to add more than one extra header using the
*extraHeaders line in the .knews/config file?

The manual states the the string following *extraHeaders is appended to
the pre-edited post, and so I assumed 'return' codes would be similarly
appended. Adding a return does not work.

If I enter the line twice it accepts only the last instance.

I used to use emacs, with which I could insert the headers as a separate
file using command line parameters. This does not appear to be possible
using pico, which I am currently using and would like to continue using.

I have been tearing my hair out over this problem, and so I thank you
all in advance,
--
'n Stuff

Re: Extra Headers in Knews and *extraHeaders
#47357
Author: Heikki Kantola
Date: Tue, 16 Mar 1999 00:00
31 lines
1770 bytes
things <things@things.reefah.org> informed
news.software.readers with the following:
>Can someone tell me how to add more than one extra header using the
>*extraHeaders line in the .knews/config file?

Add "\n" between the headers and possibly '\'s to divide text on 
multiplelines within config file. Eg.

 *extraHeaders: \
 Mime-Version: 1.0 \n\
 Content-Type: text/plain; charset=iso-8859-1\n\
 Content-Transfer-Encoding: 8bit

>The manual states the the string following *extraHeaders is appended to
>the pre-edited post, 

Right, you'll get the extra headers shown in the editor, so you could
still manupulate them there.

>and so I assumed 'return' codes would be similarly appended. Adding a 
>return does not work.

What sort of return codes you mean? 

-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.

Re: Extra Headers in Knews and *extraHeaders
#47370
Author: Heikki Kantola
Date: Thu, 18 Mar 1999 00:00
31 lines
2011 bytes
things <things@things.reefah.org> informed
news.software.readers with the following:
>In article <slrn7etm5p.85l.hezu@tuuri.ling.helsinki.fi>,
>	hezu@iki.fi (Heikki Kantola) wrote:
>> things <things@things.reefah.org> informed
>> news.software.readers with the following:
>>>Can someone tell me how to add more than one extra header using the
>>>*extraHeaders line in the .knews/config file?
>> 
>> Add "\n" between the headers and possibly '\'s to divide text on 
>> multiplelines within config file. Eg.
>> 
>>  *extraHeaders: \
>>  Mime-Version: 1.0 \n\
>>  Content-Type: text/plain; charset=iso-8859-1\n\
>>  Content-Transfer-Encoding: 8bit
>
>Aaaah, thank-you. I haven't tried it yet, but I expect it to work, and
>very much appreciate you telling me. Out of interest, how did you come by
>that information?

I recall it once upon a time (when I still actively used Knews) the
above was in some example config-file...

-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.

Re: Extra Headers in Knews and *extraHeaders
#47374
Author: Todd Fiske
Date: Thu, 18 Mar 1999 00:00
26 lines
1597 bytes
On Tue, 16 Mar 1999 23:23:02 +0000, things <things@things.reefah.org> wrote:
>>>and so I assumed 'return' codes would be similarly appended. Adding a 
>>>return does not work.
>> 
>> What sort of return codes you mean? 
>> 
>Well I have no idea, but I was thinking of a way to pass the return code
>as part of the string. I had no idea if it was possible.

Earlier, 
>	hezu@iki.fi (Heikki Kantola) wrote:
>> 
>> Add "\n" between the headers and possibly '\'s to divide text on 
>> multiplelines within config file. Eg.
>> 

Hi Things -

The "\n" that Heikki mentioned is the "return" code you're looking for. I 
think he thought you meant return codes as in error result values returned 
from some process or another, whereas you seem to be looking for "the code 
that does what the Return key does". Did I get it? =)

Cheers, Todd

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads