Node:get-text-stat-old, Next:, Previous:get-text, Up:Protocol Requests



get-text-stat-old [26] (1) Obsolete (10)


        get-text-stat-old [26] ( text-no : Text-No )
                -> ( Text-Stat-Old );

Get information about text number text-no. The text-stat contains information about the size of the text, its recipients, comments, author and more.

For compatibility reasons this call will only return the misc-infos 0=recpt, 1=cc-recpt, 2=comm-to, 3=comm-in, 4=footn-to, 5=footn-in, 6=loc-no, 7=rec-time, 8=sent-by and 9=sent-at. Newer misc-infos will either be removed or converted to a similar one. Specifically, 15=bcc-recpt may (at the servers discretion) be converted to 1=cc-recpt or omitted entirely.

Example:

        1 26 100
        =1 7 35 16 15 6 96 1 196 1 14 1 22 1
           7 { 0 7 6 85 0 15 6 1
           8 13 9 12 37 16 15 6 96 1 196 1
           3 311 }

In this example, text number 100 was created by person 7 at approximately 4:35PM on July 15 1996. Its recipients are conferences 7 and 15, and it was sent to conference 15 by person 13 at 16:37 on the day it was created. The text has a single comment: text 311.

Error codes

no-such-text
The text text-no does not exist, or no read access. This error code will also be used when attempting to fetch texts without logging in first. (There are some texts that are readable without logging in: the motd-of-lyskom (see set-motd-of-lyskom), and texts with the world-readable aux item set on them.)
text-zero
Attempt to retrieve text number 0.