Commit 2453f410 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Initial revision

parent d0da1cf5
kom.lysator.liu.se ceder@lysator.liu.se
kom.cd.chalmers.se "Tomas Tengling, CD"@kom.lysator.liu.se
File created by ceder.
This file describes protocol a (not protocol A).
The members in the Info_type enum is of two different types. They can
be grouped acording to a "grammar" that is defined in this file.
1) recpt, cc_recpt, comm_to, comm_in, footn_to, footn_in, x_author
These are the seven basic types.
2) loc_no, rec_time, sent_by, sent_at, x_text, x_person, x_recpt, x_system
These gives some additional info about the Info_type from group 1.
Syntax of the grammar.
The grammar looks like this:
Recipient:
info_type comment
info_type is one of the elements in the Info_type enum. Comment tells
the meaning of the info_type in this context. The following abbrevs
are used in the comment:
AP Always Present.
ABS Added By Server. The client is not allowed to give
this info_type here.
IBS Ignored By Server. As ABS, but the client is allowed
to send a misc_item of this type that the server will
ignore.
External author: (Meaning that the text originated somewhere else.)
x_author AP.
x_system AP.
Recipient:
recpt AP.
loc_no IBS/AP.
x_recpt If external recipient.
x_system If external recipient.
rec_time ABS when the recipient marks the text as read.
sent_by ABS if the text is sent to the recipient by
someone else than the author.
x_person Sender, if external, and not author.
x_system If x_person is present.
sent_at ABS if it was sent after it was created.
CC_Recipient: (should be omitted from comments to this text).
cc_recpt AP.
loc_no IBS/AP.
x_recpt If external recipient.
x_system If external recipient.
rec_time ABS when the recipient marks the text as read.
sent_by ABS if the text is sent to the recipient by
someone else than the author.
x_person Sender, if external, and not author.
x_system If x_person is present.
sent_at ABS if it was sent after it was created.
Kommentar till:
comm_to AP.
x_text If external origin of text.
x_system If external origin of text.
sent_by ABS if the comment link is added by someone else
than the author.
x_person Sender, if external, and not author.
x_system If x_person is present.
sent_at Om s{nt i efterhand.
Fotnot till:
foot_to AP.
x_text If external origin of text.
x_system If external origin of text.
sent_by ABS if the comment link is added by someone else
than the author.
x_person Sender, if external, and not author.
x_system If x_person is present.
sent_at Om s{nt i efterhand.
Kommenteras i:
comm_in AP.
x_text If external origin of text.
x_system If external origin of text.
Fotnot i:
foot_in AP
x_text If external origin of text.
x_system If external origin of text.
Protokoll a, ej A.
Ett anrop f|r att se vart personliga kommentarer ska g}:
get_personal_id(x_author, x_system) -> Misc_list:
Recpt AP
X-recpt Maybe
X-system Maybe
THIS FILE CONTAINS LOOSE THOUGHTS! DON'T TAKE THIS TOO SERIOUSLY!
Externa saker:
F|rfattare:
Personligt: sl} upp i databas f|r att se vart kommentar skall.
Mottagare:
Fall 1) Mailinglista importeras.
X-author 15
X-origin
Fall 2) Kommentar p} mailinglista.
L{gg in i m|tet. Gateway-klienten uppt{cker ett nytt inl{gg utan X-author, och skickar iv{g det till mailinglistan/newsgruppen.
Fall 3) Personligt p} mailinglista.
G|r lookup(X-author, kommentarm|te) och f} ett m|te d{r man ska skriva
kommentaren (typiskt RFC-800-m|tet).
Fall 4) Eko p} ekom|ten.
"Trivialt".
Fall 5) Kommentar p} ekom|te.
"Trivialt".
Fall 6) Personligt p} ekom|te.
Som fall 3, men resultatet blir typiskt echo-mail-m|tet. Den gw-klient
som l{ser det m|tet g|r lookup(X-server) och f}r en port att koppla
sig till.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment