Thread View: news.software.nn
2 messages
2 total messages
Started by Kristian Köhntopp
Thu, 15 Aug 1996 00:00
RFC 1522 for nn-6.5.0.b3
Author: Kristian Köhntopp
Date: Thu, 15 Aug 1996 00:00
Date: Thu, 15 Aug 1996 00:00
117 lines
4741 bytes
4741 bytes
Who is currently in charge of nn maintenance?
I have prepared half a patch relative to nn-6.5.0.b3.
The patch modifies nn to correctly display RFC-1522 encoded
characters in menu and reading mode. Also, an output character
translation is applied to all output in menu and reading mode,
upon save and print. This enables corrent display of ISO-8859-x
character sets on my Nextstation. Comment-To lines generated by
Fidonet gateways are recognized and reproduced in followups. A
configuration file for Nextstep 3.2 is included. So are output
character translation tables for some common character sets
(next, atari, dec mcs, applemac, cp437 and cp850).
The patch is 65 KB unifed diff and fairly untested. 40 KB of
this is translation tables source.
The following files are affected:
-----
The inofficial rfc1522 decoder patch was prepared by Kristian
Koehntopp, kris@schulung.netuse.de.
The patch introduces the following modifications:
answer.c: When following up to a message with Comment-To or
X-Comment-To field, a new Comment-To header is
generated containing the full name of the author of
the original message. A X-Comment-To of the same
content is generated.
Comment-To and X-Comment-To are used by Fidonet
gateways. Some use Comment-To, others use
X-Comment-To. The patch recognizes and generates both.
Additionally, the original Comment-To header from the
message you answer is copied and retained as
Orig-Comment-To. You may find this useful for manual
modifications of the header.
chset.c: Includes output and input translation tables. nn now
supports systems with Non-ISO-Character sets. MIME
ISO-Characters are translated into the local
character set on output.
The chset structure now includes ISO-8859
compatibility information and pointers to local
character set translation tables.
Code has been added to translate a character from and
to an iso-8859 set to or from a local character set
(output_translation() and input_translation
functions()).
A global variable mime_decode has been added. This
variable defines the MIME decoding mode. On 0, no
decoding is done. On 1, only strict MIME decoding is
done; for example, if your local character set is
ISO-8859-1 compatible, only ISO-8859-1 characters are
decoded, everything else is being displayed
undecoded. On 2, everything is decoded.
Predicates isb64() and isxb64() have been added.
isb64() is true, if c is a base64 character. isxb64()
is true, if c is a base64 character or '?' or '='.
b64() returns the b64 encoding value of a character.
rfc1522_to_iso() copies an input buffer with rfc1522
encoded characters into an output buffer. The
contents of the input buffer are rfc1522 decoded
depending on the setting of the global mime_decode
variable.
chset.h: changed to reflect the changes to chset.c
conf/s-NeXT3.h: a configuration file for nextstep3.2
db.c: changed to include rfc1522 decoding of subject and sender
fields.
more.c: sorted header_defs table.
news.c: check macro made case insensitve as required by rfc822/1036.
simplified check for header fields.
included check for MIME-header fields.
included rfc1522 decoding for from, name, subj, keyw,
org, appr, summ, sender and comment.
news.h: added fields to hold mime header information.
pack_name.c: made 8 bit transparent.
save.c: added call to output_translation() on save and print.
term.c: added call to output_translation in tputc().
variable.c: added variable "mime-decode" (type integer)
tables/*: character translation tables.
man/*: updated to reflect modifications.
xmakefile: changed to reflect modifications.
-----
Kristian
--
"Kristian Koehntopp | (root@kriski.UUCP): Private Access XENIX System
Harmsstrasse 98 | (kris@tpki.UUCP) : TopPoint Mailbox, Public Access XENIX
FRG-2300 Kiel | BANG : ...!mcshh!tpki!kriski!(kris|root)"
-- Meine Signature vom Date: Sun, 28 Jan 90 12:03:52 MEZ :-)
Re: RFC 1522 for nn-6.5.0.b3
Author: Michael T Pins
Date: Thu, 15 Aug 1996 00:00
Date: Thu, 15 Aug 1996 00:00
20 lines
1303 bytes
1303 bytes
kris@schulung.netuse.de (Kristian =?ISO-8859-1?Q?K=F6hntopp?= ) writes: >Who is currently in charge of nn maintenance? I am. >I have prepared half a patch relative to nn-6.5.0.b3. Please send me a copy. While b3 is long out of date, I'll integrate it into the current code. As I'm releasing 6.5 this weekend, it won't be included (other than new conf files), but i'll include it in 6.6. -- ************************************************************************** * Michael T Pins | mtpins@isca.uiowa.edu * * keeper of the nn sources | mtpins@winternet.com * * ftp.isca.uiowa.edu | #include <std.disclaimer> *
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