Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
custom:text.dat [2018/03/07 12:07] digital man Added "Using Defaults" section |
custom:text.dat [2021/05/15 17:48] digital man [Using Defaults] Add example *nix command-line to create an empty text.dat |
||
---|---|---|---|
Line 69: | Line 69: | ||
- | ===== Customization ===== | + | ===== Customize ===== |
Knowledge of the C programming language may be very helpful in producing the desired results. If all you want to | Knowledge of the C programming language may be very helpful in producing the desired results. If all you want to | ||
Line 88: | Line 88: | ||
All of the ''text.dat'' names and numbers can be found in: | All of the ''text.dat'' names and numbers can be found in: | ||
- | - The [[custom:JavaScript]] load file: ''[[dir:exec]]/load/[[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/text.js|text.js]]'' | + | - The [[custom:JavaScript]] load file: ''[[dir:exec]]/load/[[https://gitlab.synchro.net/sbbs/sbbs/-/blob/master/exec/load/text.js|text.js]]'' |
- | - The C header file: ''[[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/src/sbbs3/text.h]]'' | + | - The C header file: ''[[https://gitlab.synchro.net/sbbs/sbbs/-/blob/master/src/sbbs3/text.h]]'' |
**Note**: The default (US-English) values of all ''text.dat'' strings are hard-coded into Synchronet (e.g. ''sbbs.dll'' or ''libsbbs.so'') so if any lines are missing from your ''text.dat'' file or the file itself is missing, the default values will be automatically used. | **Note**: The default (US-English) values of all ''text.dat'' strings are hard-coded into Synchronet (e.g. ''sbbs.dll'' or ''libsbbs.so'') so if any lines are missing from your ''text.dat'' file or the file itself is missing, the default values will be automatically used. | ||
Line 117: | Line 117: | ||
To use all default text strings you can either: | To use all default text strings you can either: | ||
- | * Download the ''[[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/ctrl/text.dat|text.dat]]'' revision from CVS which correlates with the executables you're using and overwrite your local file, or | + | * Download the ''[[https://gitlab.synchro.net/sbbs/sbbs/-/commits/master/ctrl/text.dat|text.dat]]'' revision from the Source Repository which correlates with the executables you're using and overwrite your local file, or |
- | * Replace (overwrite) your ''text.dat'' file with a 0-byte file. | + | * Replace (overwrite) your ''text.dat'' file with a 0-length file (each 'missing' string is replaced with the default string): |
+ | |||
+ | cp /dev/null /sbbs/ctrl/text.dat | ||
===== See Also ===== | ===== See Also ===== | ||
* [[:dir:CTRL]] Directory | * [[:dir:CTRL]] Directory | ||
- | * [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/ctrl/text.dat?view=markup|Current text.dat file in CVS]] | + | * [[https://gitlab.synchro.net/sbbs/sbbs/-/raw/master/ctrl/text.dat|Current text.dat file in Git]] |
* [[:config:|Customization]] | * [[:config:|Customization]] | ||
{{tag>text.dat customization ansi}} | {{tag>text.dat customization ansi}} | ||