| Description: |
The specification of the Basic Message Layer (BTW, why
isn't that just the Message Layer?) says:
On top of the Basic Layer we have a message oriented
exchange of data. Each message is a syntactically valid
Tcl list terminated with an additional EOL.
This suggests that the string representation for a message
is the string representation for the list, followed by an EOL,
as would be written by
puts $fid [list $cmd $ser $args]
(no -nonewline). In reality, the command writing the data
is
puts $fid [list [list $cmd $ser $args]]
which is quite different.
A better description is probably to say that the totality
of everything written to the channel is a syntactically valid
Tcl list, where every element is a separate message. The
whitespace separating two messages must contain an EOL.
Note that EOL characters can occur within the list as well.
They can be distinguished from the message-separating
EOL by the fact that the data from the beginning up to
their location is not a valid Tcl list.
Minor issues:
* The SYNOPSIS section is bogus.
* The paragraph defining EOL shows it as whitespace.
It should say both linefeed and \n.
* comm should be a keyword of this manpage.
"communication" isn't a keyword of any other manpage,
so it can be dropped.
|
| User Comments: |
andreas_kupries added on 2007-08-22 06:37:42:
Logged In: YES
user_id=75003
Originator: NO
Fixed the description of the basic layer and messages.
The SYNOPSIS section is currently always generated, even if not needed. This would be an RFE for doctools, not comm.
EOL shown as whitespace fixed. I guess that doctools handled the \n in the text incorrectly. This could be a doctools bug, either general, or in specific backends.
Added comm as keyword.
Leaving 'communication' as keyword. The keywords describe the general topic of the document, and communication is certainly fitting.
Committed.
|