Node:create-text-old, Next:delete-text, Previous:mark-as-read, Up:Protocol Requests
create-text-old [28] (( text : HOLLERITH; misc-info : ARRAY Misc-Info )) -> ( Text-No );
Creates a new text with contents from text
and recipients
etc. defined by misc-info
(see The Misc-Info List). In
addition to the result, the server will send an asynchronous message
to all members of any of the recipients of the new text. It is not
defined whether this messages comes before or after the reply to
the create-text message. Clients should be prepared for either
situation.
The text up to the first line feed is considered to be the subject line. The remaining text is the message body. Although messages with only a subject are valid, clients should avoid letting users create such messages.
The only Misc-Info items valid for this call are recpt
,
cc-recpt
, bcc-recpt
(protocol version 10),
comm-to
and footn-to
.
Example:
1 28 20HExample\nMessage body 3 { 0 5 1 112 2 33467 } :16 0 33502 13 16 15 16 6 97 3 196 1 119 1 20 0 5 { 0 5 6 148 1 112 6 3438 2 33467 } =1 33502
In this example, person 119 creates a text containing a subject and a one-line body. The recipient of the text is conference five, conference 112 is a CC recipient and the text is a comment to text 33467. The server reply indicates that the new text has been given number 33502. Finally there is an asynchronous message sent to all members of recipient conferences. Note how the message was sent before the reply to the client. The misc-info list in this message has two additional fields, the local numbers of the text in each of its recipient conferences.
login-first
string-too-long
text
is longer than the maximum length of a message.
temporary-failure
no-such-text
not-author
footnote-limit
comment-limit
access-denied
anonymous-rejected
illegal-misc