Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
custom:ctrl-a_codes [2021/10/05 22:19] – [Use] Some Ctrl-A operands are case sensitive. digital mancustom:ctrl-a_codes [2024/05/25 16:00] (current) – [Attributes] Document new rainbow attribute code (Ctrl-AX) digital man
Line 38: Line 38:
 The following table is a list of //Attribute Control// Ctrl-A codes, and a brief description of each code's usage: The following table is a list of //Attribute Control// Ctrl-A codes, and a brief description of each code's usage:
  
-^Attribute ^ Code    ^Description                    ^ +^Attribute          ^ Code    ^Description                    ^ 
-|Bright             ''H''  |High Intensity foreground | +|Bright             | ''H'' |High Intensity foreground | 
-|Blink              ''I''  |Blinking (slow), when supported by the terminal | +|Blink              | ''I'' |Blinking (slow), when supported by the terminal | 
-|Bright-Background |  ''E''  |High intensity background (so-called iCE colors), when supported by the terminal (new in v3.17c) | +|Bright-Background  | ''E'' |High intensity background (so-called iCE colors), when supported by the terminal (new in v3.17c) | 
-|Blink-Font         ''f''  |Set the //Blink// attribute **only** if a alternate [[config:fonts.ini|Blink-font]] has been activated in the terminal (new in v3.17) | +|Blink-Font         | ''f'' |Set the //Blink// attribute **only** if a alternate [[config:fonts.ini|Blink-font]] has been activated in the terminal (new in v3.17) | 
-|High-Blink-Font    ''F''  |Set the //Blink// attribute **only** if a alternate [[config:fonts.ini|High-intensity Blink-font]] has been activated in the terminal (new in v3.17) | +|High-Blink-Font    | ''F'' |Set the //Blink// attribute **only** if a alternate [[config:fonts.ini|High-intensity Blink-font]] has been activated in the terminal (new in v3.17) | 
-|Normal             ''N''  |No Special Attributes (Normal, e.g. light-gray) - resets both //High// and //Blink// attributes | +|Normal             | ''N'' |No Special Attributes (Normal, e.g. light-gray) - resets both //High// and //Blink// attributes | 
-|Optimized Normal   ''-''  |Only changes to //normal// if High Intensity, Blinking, or Background attribute is set (or pop attributes if pushed)| +|Optimized Normal   | ''-'' |Only changes to //normal// if High Intensity, Blinking, or Background attribute is set (or pop attributes if pushed)| 
-|Optimized Normal   ''_''  |Only changes to //normal// if the Blinking or Background attribute is set |+|Optimized Normal   | ''_'' |Only changes to //normal// if the Blinking or Background attribute is set 
 +|Rainbow, wrapped   | ''X'' |Alternating attributes, wrapping the pattern for longer strings | 
 +|Rainbow            | ''x'' |Alternating attributes, repeating the last attribute for longer strings |
  
 +==== Rainbows ====
 +The rainbow attribute (Ctrl-AX or Ctrl-Ax code) enables an alternating attribute pattern that is configurable by the sysop in their ''[[dir:ctrl]]/[[config:attr.ini]]'' file or by using the ''RAINBOW'' [[custom:atcodes|@-code]].
 +  * If you wish to start with an attribute offset from the beginning of the configured rainbow attribute pattern (i.e. don't start with the first attribute of the pattern), include multiple consecutive Ctrl-AX or Ctrl-Ax codes before the first text character that's to be colorized.
 +  * If you wish for the last rainbow attribute to be repeated (rather than wrapping back to the first attribute) when the end of the attribute pattern is reached, use Ctrl-Ax (lowercase ''x'') instead of Ctrl-AX
 ==== High Intensity and Blink ==== ==== High Intensity and Blink ====
 The //High Intensity// console attribute behaves as it does with ANSI terminals: that is, once enabled, the current color and any subsequent new colors will be rendered in their "high intensity" (bright) version. To revert to normal/dark colors, a //Normal// (or //Optimized Normal//) Ctrl-A code must be specified. The //Normal// attribute code will reset both the //High Intensity// and the current color - back to the default, "light gray". The //High Intensity// console attribute behaves as it does with ANSI terminals: that is, once enabled, the current color and any subsequent new colors will be rendered in their "high intensity" (bright) version. To revert to normal/dark colors, a //Normal// (or //Optimized Normal//) Ctrl-A code must be specified. The //Normal// attribute code will reset both the //High Intensity// and the current color - back to the default, "light gray".