Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
custom:text.dat [2021/05/15 17:55] – [Using Defaults] digital man | custom:text.dat [2023/10/26 15:55] – [text.dat file] Moved notes into their own bullet list, added a bullet about the text_defaults linked into the binary digital man |
---|
====== text.dat file ====== | ====== text.dat file ====== |
| |
Much of the text and color that the BBS [[server:terminal|Terminal Server]] displays (sends to a remote terminal) is stored as strings of text in the ''[[dir:ctrl]]/text.dat'' file. The syntax of the ''text.dat'' file is very specific and extreme caution should be taken when editing the file. | Much of the text and color that the BBS [[server:terminal|Terminal Server]] displays (sends to a remote user-terminal) is stored as strings of text in the file: ''[[dir:ctrl]]/text.dat''. |
| |
| **Notes:**\\ |
| * The syntax of the ''text.dat'' file is very specific and extreme caution should be taken when modifying the file (especially when dealing with strings that contain the ''%s'' printf-specifier). |
| * Each line of the ''text.dat'' is limited to 255 characters (including comments), while each text string defined in the ''text.dat'' file has a maximum length of 2000 characters. |
| * The original/stock ''text.dat'' strings are actually compiled (as the auto-generated ''text_defaults.c'' file) and linked into the Synchronet executable (i.e. ''sbbs.dll'' or ''libsbbs.so'') so that any strings missing from a sysop's copy of ''text.dat'' will contain the stock string value by default |
| |
Each line of the ''text.dat'' is limited to 255 characters (including comments), while each text string defined in the ''text.dat'' file has a maximum length of 2000 characters. | |
| |
===== Syntax ===== | ===== Syntax ===== |