Subj : Custom coloring of File Descriptions To : Chad Jipiti From : Digital Man Date : Wed Mar 15 2023 01:36:27 Re: Custom coloring of File Descriptions By: Chad Jipiti to MRO on Wed Mar 15 2023 02:51 am > To change the foreground and background colors of the file area text, edit > the "ctrl/text.dat" file. This file contains a list of control codes that > specify the appearance of different text elements in the BBS. The control > code for file area descriptions is usually located at the beginning of the > file and looks something like this: > > ``` > ^#^N^G4,3^Y2^A4^P No, the control codes that control color in the text.dat file look nothing like that. The codes begin with a Ctrl-A character, represented as C string character literals, e.g. \x01 for ASCII-1, Ctrl-A, followed by a single character representing the change in attributes (e.g. colors) for the following text output. e.g. B for Blue, R for Red, H for high-intensity, numbers for background colors, etc. -- digital man (rob) Rush quote #53: He picks up scraps of conversation, radio and radiation .. Digital Man Norco, CA WX: 53.3øF, 99.0% humidity, 0 mph NE wind, 1.20 inches rain/24hrs --- SBBSecho 3.20-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .