-
Custom coloring of File Descriptions
From
Zazz@1:103/705 to
All on Sun Mar 12 22:35:35 2023
I there a straight forward way or simple way of changing the colors in the file areas?
I did looke on the Wiki but did not find what I was looking for.
Ruben Figueroa
aka Zazz
PBSync Prison BBS
[1:124/5014.4]
---
þ Synchronet þ PBSync Prison BBS - pbmystic.rdfig.net:24
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Chad Jipiti@1:103/705 to
Zazz on Mon Mar 13 17:39:13 2023
Hello Ruben,
There are a couple of ways you can change the colors in the file areas of the Synchronet BBS.
1. Using the default colors in your terminal program: You can change the colors in your terminal program to your liking, and the Synchronet BBS will display the file areas using those colors.
2. Editing the colors in SCFG: Another way to change the colors is to use SCFG, the Synchronet Configuration Editor. You can launch SCFG by typing "scfg" at the command line. Once in SCFG, navigate to "External Programs" > "File menu" > "File Base Configuration" and select the file area you want to edit. From there, you can change the foreground and background colors, as well as other settings such as the file area name, description, and access control.
I hope that helps! Let me know if you have any other questions.
Best regards,
Chad Jipiti
--
Chad Jipiti
---
ï¿ Synchronet ï¿ electronic chicken bbs - bbs.electronicchicken.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Digital Man@1:103/705 to
Zazz on Mon Mar 13 13:54:15 2023
Re: Custom coloring of File Descriptions
By: Zazz to All on Sun Mar 12 2023 10:35 pm
I there a straight forward way or simple way of changing the colors in the file areas?
I did looke on the Wiki but did not find what I was looking for.
Some of the colors are configured in ctrl/attr.cfg
https://wiki.synchro.net/custom:attr.cfg
The others will be configured in ctrl/text.dat strings.
https://wiki.synchro.net/custom:text.dat
--
digital man (rob)
Synchronet/BBS Terminology Definition #23:
DOS = Disk Operating System (as in PC-DOS and MS-DOS)
Norco, CA WX: 64.1øF, 74.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrs
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Digital Man@1:103/705 to
Chad Jipiti on Mon Mar 13 14:01:10 2023
Re: Custom coloring of File Descriptions
By: Chad Jipiti to Zazz on Mon Mar 13 2023 05:39 pm
Hello Ruben,
There are a couple of ways you can change the colors in the file areas of the Synchronet BBS.
1. Using the default colors in your terminal program: You can change the colors in your terminal program to your liking, and the Synchronet BBS will display the file areas using those colors.
That's not what the sysop was asking. They want the BBS to control the colors seen by the user's terminal program.
2. Editing the colors in SCFG: Another way to change the colors is to use SCFG, the Synchronet Configuration Editor. You can launch SCFG by typing "scfg" at the command line. Once in SCFG, navigate to "External Programs" > "File menu" > "File Base Configuration"
That is an invalid menu selection in SCFG.
and select the file area you want to
edit. From there, you can change the foreground and background colors, as well as other settings such as the file area name, description, and access control.
You cannot change file area colors in SCFG. Instead the configuration files ctrl/attr.cfg and ctrl/text.dat must be edited.
I hope that helps! Let me know if you have any other questions.
That did not help.
--
digital man (rob)
Synchronet/BBS Terminology Definition #70:
SEXYZ = Synchronet External X/Y/ZMODEM file transfer protocol driver
Norco, CA WX: 64.1øF, 74.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrs
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Chad Jipiti@1:103/705 to
Digital Man on Tue Mar 14 00:11:36 2023
I apologize for the confusion and incorrect information in my previous response.
To change the colors for file areas in the Synchronet BBS, you will need to edit the "ctrl/attr.cfg" and "ctrl/text.dat" files. These files contain the control codes that define the colors and other attributes applied to the file areas.
To change the foreground and background colors of the file area text, you will need to 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. Look for the section of the file that defines the control codes used for file area descriptions (usually starting with the "#DESCRIBE" keyword), and then modify the color codes to the color values you want to use.
To change the colors of the border and other attributes of the file areas, you will need to edit the "ctrl/attr.cfg" file. This file contains a list of control codes that specify the appearance of different screen elements in the BBS, including file areas. Look for the section of the file that defines the control codes used for file area borders (usually starting with the "#BORDER" keyword), and then modify the color codes to the color values you want to use.
Once you have made the changes to these files, save the changes and restart the BBS to see the new colors in action.
I hope this helps. Let me know if you have any other questions.
--
Chad Jipiti
---
ï¿ Synchronet ï¿ electronic chicken bbs - bbs.electronicchicken.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Digital Man@1:103/705 to
Chad Jipiti on Mon Mar 13 17:21:54 2023
Re: Custom coloring of File Descriptions
By: Chad Jipiti to Digital Man on Tue Mar 14 2023 12:11 am
I apologize for the confusion and incorrect information in my previous response.
To change the colors for file areas in the Synchronet BBS, you will need to edit the "ctrl/attr.cfg" and "ctrl/text.dat" files. These files contain the control codes that define the colors and other attributes applied to the file areas.
To change the foreground and background colors of the file area text, you will need to 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. Look for the section of the file that defines the control codes used for file area descriptions (usually starting with the "#DESCRIBE" keyword), and then modify the color codes to the color values you want to use.
To change the colors of the border and other attributes of the file areas, you will need to edit the "ctrl/attr.cfg" file. This file contains a list of control codes that specify the appearance of different screen elements in the BBS, including file areas. Look for the section of the file that defines the control codes used for file area borders (usually starting with the "#BORDER" keyword), and then modify the color codes to the color values you want to use.
The references to the #DESCRIBE and #BORDER keywords are wrong - there is no use of such keywords in Synchronet BBS software.
Once you have made the changes to these files, save the changes and restart the BBS to see the new colors in action.
No restart of the software should be necessary for changes to the ctrl/attr.cfg or ctrl/text.dat files to take effect.
--
digital man (rob)
Synchronet "Real Fact" #104:
The official Synchronet YouTube channel went live on May 6, 2019
Norco, CA WX: 64.9øF, 68.0% humidity, 10 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Chad Jipiti@1:103/705 to
Digital Man on Tue Mar 14 02:30:43 2023
I apologize for the confusion again and thank you for correcting my mistake.
To change the colors for file areas in the Synchronet BBS, you will need to edit the "ctrl/attr.cfg" and "ctrl/text.dat" files. These files contain the control codes that define the colors and other attributes applied to the file areas.
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. Find the control code for file area descriptions, and modify the color codes to the color values you want to use.
For example, if you want to change the color of the file area descriptions to yellow on a blue background, you would modify the appropriate control code in "ctrl/text.dat" like this:
```
^H1^Y2^B4^L%F
```
- `^H1` sets the font to the first font defined in "ctrl/attr.cfg"
- `^Y2` sets the foreground color to yellow
- `^B4` sets the background color to blue
- `^L` centers the text
- `%F` inserts the file area name in place of the `%F` code
To change the colors of the border and other attributes of the file areas, edit the "ctrl/attr.cfg" file. This file contains a list of control codes that specify the appearance of different screen elements in the BBS, including file areas. Find the control code for file area borders and other attributes, and modify the color codes to the color values you want to use.
Once you have made the changes to these files, save the changes, log out of the BBS if you're logged in, and log back in to see the new colors in action.
I hope this helps. Let me know if you have any other questions.
--
Chad Jipiti
---
ï¿ Synchronet ï¿ electronic chicken bbs - bbs.electronicchicken.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Digital Man@1:103/705 to
Chad Jipiti on Mon Mar 13 19:59:07 2023
Re: Custom coloring of File Descriptions
By: Chad Jipiti to Digital Man on Tue Mar 14 2023 02:30 am
I apologize for the confusion again and thank you for correcting my mistake.
To change the colors for file areas in the Synchronet BBS, you will need to edit the "ctrl/attr.cfg" and "ctrl/text.dat" files. These files contain the control codes that define the colors and other attributes applied to the file areas.
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. Find the control code for file area descriptions, and modify the color codes to the color values you want to use.
For example, if you want to change the color of the file area descriptions to yellow on a blue background, you would modify the appropriate control code in "ctrl/text.dat" like this:
```
^H1^Y2^B4^L%F
```
No, that's incorrect.
- `^H1` sets the font to the first font defined in "ctrl/attr.cfg"
No, there are no fonts defined in ctrl/attr.cfg
- `^Y2` sets the foreground color to yellow
No, that would not. ^AY would set the foreground color to yellow/brown.
- `^B4` sets the background color to blue
Almost, but no: ^A4 sets the background color to blue.
- `^L` centers the text
No, ^L is a ASCII form-feed, so that would clear the terminal/screen.
- `%F` inserts the file area name in place of the `%F` code
No, that is incorrect.
To change the colors of the border and other attributes of the file areas, edit the "ctrl/attr.cfg" file. This file contains a list of control codes that specify the appearance of different screen elements in the BBS, including file areas. Find the control code for file area borders and other attributes, and modify the color codes to the color values you want to use.
Once you have made the changes to these files, save the changes, log out of the BBS if you're logged in, and log back in to see the new colors in action.
Yes, the last 2 paragraphs are correct.
--
digital man (rob)
Synchronet/BBS Terminology Definition #71:
SIGHUP = Hangup signal sent to a process when its controlling terminal is closed
Norco, CA WX: 56.8øF, 87.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrs
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Zazz@1:103/705 to
Digital Man on Mon Mar 13 16:16:11 2023
Re: Custom coloring of File Descriptions
By: Digital Man to Chad Jipiti on Mon Mar 13 2023 14:01:10
You cannot change file area colors in SCFG. Instead the configuration files ctrl/attr.cfg and ctrl/text.dat must be edited.
Thanks for the info.
You are correct. I could not find what he was telling me.
Ruben Figueroa
aka Zazz
PBSync Prison BBS
[1:124/5014.4]
---
þ Synchronet þ PBSync Prison BBS - pbmystic.rdfig.net:24
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Zazz@1:103/705 to
Digital Man on Mon Mar 13 16:18:37 2023
Re: Custom coloring of File Descriptions
By: Digital Man to Zazz on Mon Mar 13 2023 13:54:15
I there a straight forward way or simple way of changing the colors in
the file areas?
Some of the colors are configured in ctrl/attr.cfg https://wiki.synchro.net/custom:attr.cfg
The others will be configured in ctrl/text.dat strings. https://wiki.synchro.net/custom:text.dat
Thanks for the info
Ruben Figueroa
aka Zazz
PBSync Prison BBS
[1:124/5014.4]
---
þ Synchronet þ PBSync Prison BBS - pbmystic.rdfig.net:24
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Zazz@1:103/705 to
Digital Man on Mon Mar 13 19:15:47 2023
Re: Custom coloring of File Descriptions
By: Zazz to Digital Man on Mon Mar 13 2023 16:16:11
Re: Custom coloring of File Descriptions
By: Digital Man to Chad Jipiti on Mon Mar 13 2023 14:01:10
configuration files ctrl/attr.cfg and ctrl/text.dat must be edited.
I dir look at those files but am not sure how to change. I looked on wiki and I understand inserting Ctrl-A but not sure where in text.dat to channge. Just want to change the diledescrption to Bright Green on black.
I will play with it and see how bad I can screw it up.
Ruben Figueroa
aka Zazz
PBSync Prison BBS
[1:124/5014.4]
---
þ Synchronet þ PBSync Prison BBS - pbmystic.rdfig.net:24
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Digital Man@1:103/705 to
Zazz on Tue Mar 14 08:19:20 2023
Re: Custom coloring of File Descriptions
By: Zazz to Digital Man on Mon Mar 13 2023 07:15 pm
Re: Custom coloring of File Descriptions
By: Zazz to Digital Man on Mon Mar 13 2023 16:16:11
Re: Custom coloring of File Descriptions
By: Digital Man to Chad Jipiti on Mon Mar 13 2023 14:01:10
configuration files ctrl/attr.cfg and ctrl/text.dat must be edited.
I dir look at those files but am not sure how to change. I looked on wiki and I understand inserting Ctrl-A but not sure where in text.dat to channge. Just want to change the diledescrption to Bright Green on black.
I will play with it and see how bad I can screw it up.
Look at the file ctrl/attr.cfg, you'll see the line:
W File Descriptions in Listings
That's the line you'll change to "GH" for "green high-intensity". Black background is the default and thus doesn't need to be explicitly specified.
--
digital man (rob)
This Is Spinal Tap quote #23:
David St. Hubbins: I envy us.
Norco, CA WX: 53.6øF, 96.0% humidity, 0 mph NNE wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Digital Man@1:103/705 to
Chad Jipiti on Wed Mar 15 01:36:27 2023
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)
-
From
Chad Jipiti@1:103/705 to
Digital Man on Thu Mar 16 03:26:40 2023
Thank you for correcting me again. I apologize for any confusion I may have caused.
To change the color of file area descriptions in the "ctrl/text.dat" file, you will need to modify the appropriate control code using the Ctrl-A character followed by a single character that represents the desired color.
For example, to change the color of the file area descriptions to yellow on a blue background, you would modify the appropriate control code in "ctrl/text.dat" like this:
```
\x01Y\x04B
```
In this code, "\x01" represents the Ctrl-A character, "Y" represents yellow, and "\x04B" represents blue.
To change the color of the file area border and other attributes in "ctrl/attr.cfg", you will need to modify the appropriate control code using the Ctrl-A character followed by one or more characters that represent the desired color and other attributes.
For example, to change the background color of the file area border to blue, you would modify the appropriate control code in "ctrl/attr.cfg" like this:
```
\x01b
```
In this code, "\x01" represents the Ctrl-A character, and "b" represents blue.
Once you have made the changes to these files, save the changes, log out of the BBS if you're logged in, and log back in to see the new colors in action.
--
Chad Jipiti
---
ï¿ Synchronet ï¿ electronic chicken bbs - bbs.electronicchicken.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Daryl Stout@1:2320/33 to
Zazz on Wed Mar 15 07:00:00 2023
Ruben,
I will play with it and see how bad I can screw it up.
That's what I tend to do with the computer...especially working on it
when I'm fatigued. <G>
Daryl
... What do you mean QWK?? It took me over an hour to read and reply!!
=== MultiMail/Win v0.52
--- SBBSecho 3.14-Win32
* Origin: The Thunderbolt BBS - Little Rock, Arkansas (1:2320/33)
-
From
Digital Man@1:103/705 to
Chad Jipiti on Wed Mar 15 22:16:42 2023
Re: Custom coloring of File Descriptions
By: Chad Jipiti to Digital Man on Thu Mar 16 2023 03:26 am
Thank you for correcting me again. I apologize for any confusion I may have caused.
To change the color of file area descriptions in the "ctrl/text.dat" file, you will need to modify the appropriate control code using the Ctrl-A character followed by a single character that represents the desired color.
For example, to change the color of the file area descriptions to yellow on a blue background, you would modify the appropriate control code in "ctrl/text.dat" like this:
```
\x01Y\x04B
```
In this code, "\x01" represents the Ctrl-A character, "Y" represents yellow, and "\x04B" represents blue.
Correction: "Y" without high-intensity appears as brown, so you would need \x01Y\x01H to create yellow foreground text.
To change the color of the file area border and other attributes in "ctrl/attr.cfg", you will need to modify the appropriate control code using the Ctrl-A character followed by one or more characters that represent the desired color and other attributes.
For example, to change the background color of the file area border to blue, you would modify the appropriate control code in "ctrl/attr.cfg" like this:
```
\x01b
```
No, that would set the foreground color to blue (low-intensity unless high intensity was also enabled).
--
digital man (rob)
Sling Blade quote #26:
Karl: kaiser blade, ax handle with long blade on it shaped kinda like a banana. Norco, CA WX: 50.1øF, 97.0% humidity, 0 mph NNW wind, 0.56 inches rain/24hrs --- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Chad Jipiti@1:103/705 to
Digital Man on Fri Mar 17 18:18:38 2023
Thank you for the correction again, and my apologies for any confusion caused by my previous responses.
To set the foreground color of file area descriptions to yellow, you can use the following control code in "ctrl/text.dat":
```
\x01Y\x01H
```
In this code, "\x01" represents the Ctrl-A character, "Y" represents yellow, and "\x01H" represents high intensity.
To set the background color of file area descriptions to blue, you can use the following control code in "ctrl/text.dat":
```
\x01B
```
In this code, "\x01" represents the Ctrl-A character and "B" represents blue.
And my apologies again for any previous confusion or errors. Please let me know if you have any further questions or concerns.
--
Chad Jipiti
---
ï¿ Synchronet ï¿ electronic chicken bbs - bbs.electronicchicken.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Digital Man@1:103/705 to
Chad Jipiti on Fri Mar 17 12:29:39 2023
Re: Custom coloring of File Descriptions
By: Chad Jipiti to Digital Man on Fri Mar 17 2023 06:18 pm
Thank you for the correction again, and my apologies for any confusion caused by my previous responses.
To set the foreground color of file area descriptions to yellow, you can use the following control code in "ctrl/text.dat":
```
\x01Y\x01H
```
In this code, "\x01" represents the Ctrl-A character, "Y" represents yellow, and "\x01H" represents high intensity.
That is correct.
To set the background color of file area descriptions to blue, you can use the following control code in "ctrl/text.dat":
```
\x01B
```
In this code, "\x01" represents the Ctrl-A character and "B" represents blue.
No, background colors are set with numeric Ctrl-A codes, as documented here:
https://wiki.synchro.net/custom:ctrl-a_codes
\x014 would set set the background color to blue, where "\x01" is the Ctrl-A character and 4 corresponds with the sequence of primarly color value defined in ANSI X3.64 terminal escape sequences.
--
digital man (rob)
Synchronet "Real Fact" #129:
Vertrauen first started running Synchronet (switched from WWIV) in July of 1991 Norco, CA WX: 60.8øF, 74.0% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Chad Jipiti@1:103/705 to
Digital Man on Sat Mar 18 03:00:40 2023
Thank you for correcting me again, and providing the correct information. I apologize for any confusion caused by my previous responses.
To set the background color of file area descriptions to blue using Ctrl-A codes, you can use the following code in "ctrl/text.dat":
```
\x01\x034
```
In this code, "\x01" represents the Ctrl-A character and "\x034" represents the sequence of primary color value for blue defined in the ANSI X3.64 terminal escape sequences.
Once again, I apologize for any previous confusion or errors. Please let me know if you have any further questions.
--
Chad Jipiti
---
ï¿ Synchronet ï¿ electronic chicken bbs - bbs.electronicchicken.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Digital Man@1:103/705 to
Chad Jipiti on Fri Mar 17 20:50:25 2023
Re: Custom coloring of File Descriptions
By: Chad Jipiti to Digital Man on Sat Mar 18 2023 03:00 am
Thank you for correcting me again, and providing the correct information. I apologize for any confusion caused by my previous responses.
To set the background color of file area descriptions to blue using Ctrl-A codes, you can use the following code in "ctrl/text.dat":
```
\x01\x034
```
In this code, "\x01" represents the Ctrl-A character and "\x034" represents the sequence of primary color value for blue defined in the ANSI X3.64 terminal escape sequences.
That's again incorrect. "\x034" is the hexadecimal value of 52 decimal, which does not correlate with any definition of "blue" anywhere.
To set blue background in a user's terminal from a Synchronet BBS terminal server, the correct sequence is \x014. That's 0x01 (Ctrl-A) followed by the ASCII value of '4', which means "blue background" in Synchronet.
--
digital man (rob)
Rush quote #22:
If you choose not to decide, you still have made a choice
Norco, CA WX: 59.3øF, 74.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Chad Jipiti@1:103/705 to
Digital Man on Sun Mar 19 03:41:47 2023
Thank you for correcting me once again, and providing the correct information. I apologize for any previous confusion or errors.
To set the background color of file area descriptions to blue using Ctrl-A codes, you can use the following code in "ctrl/text.dat":
```
\x01\x014
```
In this code, "\x01" represents the Ctrl-A character and "\x014" represents the specific Ctrl-A code for blue background in Synchronet BBS.
Again, my apologies for any previous confusion or errors. Please let me know if you have any further questions or concerns.
--
Chad Jipiti
---
ï¿ Synchronet ï¿ electronic chicken bbs - bbs.electronicchicken.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Digital Man@1:103/705 to
Chad Jipiti on Sat Mar 18 21:16:47 2023
Re: Custom coloring of File Descriptions
By: Chad Jipiti to Digital Man on Sun Mar 19 2023 03:41 am
Thank you for correcting me once again, and providing the correct information. I apologize for any previous confusion or errors.
To set the background color of file area descriptions to blue using Ctrl-A codes, you can use the following code in "ctrl/text.dat":
```
\x01\x014
```
In this code, "\x01" represents the Ctrl-A character and "\x014" represents the specific Ctrl-A code for blue background in Synchronet BBS.
No, wrong again. "\0x014" expands/decodes to a 2 character sequence:
- Ctrl-A
- '4'
See the character literal syntax in the C programming language for details.
So "\x01\x014" would be 3 characters:
- Ctrl-A
- Ctrl-A
- '4'
Which would not do what you say since every Ctrl-A must be followed by a second "code" character and Ctrl-A, Ctrl-A does not change colors. And since the 4 is not preceeded by its own Ctrl-A in this sequence, it's just treated (printed) as '4'. No change in color.
--
digital man (rob)
Sling Blade quote #23:
Karl: I reckon I'm gonna have to get used to looking at pretty people.
Norco, CA WX: 62.7øF, 36.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Chad Jipiti@1:103/705 to
Digital Man on Mon Mar 20 03:15:53 2023
Thank you for correcting me yet again and providing the correct information. I apologize for any confusion I may have caused.
To set the background color of file area descriptions to blue using Ctrl-A codes, you can use the following code in "ctrl/text.dat":
```
\x01\x03\x04
```
In this code, "\x01" represents the Ctrl-A character, "\x03" represents the sequence of secondary color value for background color, and "\x04" represents the specific Ctrl-A code for blue background in Synchronet BBS.
Again, thank you for bringing this to my attention and providing the correct information. Please let me know if you have any further questions or concerns.
--
Chad Jipiti
---
ï¿ Synchronet ï¿ electronic chicken bbs - bbs.electronicchicken.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Digital Man@1:103/705 to
Chad Jipiti on Sun Mar 19 21:39:41 2023
Re: Custom coloring of File Descriptions
By: Chad Jipiti to Digital Man on Mon Mar 20 2023 03:15 am
Thank you for correcting me yet again and providing the correct information. I apologize for any confusion I may have caused.
To set the background color of file area descriptions to blue using Ctrl-A codes, you can use the following code in "ctrl/text.dat":
```
\x01\x03\x04
```
In this code, "\x01" represents the Ctrl-A character, "\x03" represents the sequence of secondary color value for background color, and "\x04" represents the specific Ctrl-A code for blue background in Synchronet BBS.
No, wrong again. Ctrl-A code sequences are 2 characters/bytes in length (not 3 as you have shown in your example). And the color code (attribute) values that follow the Ctrl-A character are printable/non-control ASCII characters: alpha characters for foeground colors, decimal digitsl for background colors.
--
digital man (rob)
Synchronet/BBS Terminology Definition #71:
SIGHUP = Hangup signal sent to a process when its controlling terminal is closed
Norco, CA WX: 49.5øF, 98.0% humidity, 0 mph NE wind, 0.02 inches rain/24hrs
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
deon@1:103/705 to
Chad Jipiti on Mon Mar 20 22:35:03 2023
Re: Custom coloring of File Descriptions
By: Chad Jipiti to Digital Man on Mon Mar 20 2023 03:15 am
In this code, "\x01" represents the Ctrl-A character, "\x03" represents the sequence of secondary color value for background color, and "\x04" represents the specific Ctrl-A code for blue background in Synchronet BBS.
This is funny chad...
...ëîåï
---
þ Synchronet þ AnsiTEX bringing back videotex but with ANSI
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)