Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
custom:ctrl-a_codes [2018/03/01 12:10] – Links to util:binkit changed to module:binkit digital man | custom:ctrl-a_codes [2020/05/08 11:45] – re-title the page digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ctrl-A Codes ====== | + | ====== |
- | " | + | //Attribute Codes// |
===== Background ===== | ===== Background ===== | ||
Line 12: | Line 12: | ||
===== Use ===== | ===== Use ===== | ||
- | Ctrl-A codes are 2-character sequences which begin with a Ctrl-A (ASCII 1) character (hence the name) and are followed by a single character (case insensitive) which determines the operation to be performed. The only exception to this 2-character | + | Ctrl-A codes are 2-character sequences which begin with a Ctrl-A (ASCII 1) character (hence the name) and are followed by a single character (case insensitive) which determines the operation to be performed. The only exception to this 2-character |
It can sometimes require a special purpose text editor to actually enter a Ctrl-A character into a text file. Some editors may require a special key sequence or use of a menu option to enter a Ctrl-A character into a file. The graphical representation of the character may be a happy face or any other non-alphanumeric symbol that the editor chooses to render to represent that character code. There are [[atcodes|@-Codes]] for the equivalent of many of the Ctrl-A codes, so may consider using them if they are more convenient for your text editor of choice. | It can sometimes require a special purpose text editor to actually enter a Ctrl-A character into a text file. Some editors may require a special key sequence or use of a menu option to enter a Ctrl-A character into a file. The graphical representation of the character may be a happy face or any other non-alphanumeric symbol that the editor chooses to render to represent that character code. There are [[atcodes|@-Codes]] for the equivalent of many of the Ctrl-A codes, so may consider using them if they are more convenient for your text editor of choice. | ||
- | In the '' | + | In the '' |
- | The [[module:binkit]] utility may be used to convert files encoded with ANSI X3.64 terminal escape sequences (e.g. '' | + | The [[util:ANS2ASC]] utility may be used to convert files encoded with ANSI X3.64 terminal escape sequences (e.g. '' |
===== Colors ===== | ===== Colors ===== | ||
- | The following table is a list of Color Ctrl-A codes and their purpose: | + | The following table is a list of //Color Control// |
^Color ^Foreground^Background^ | ^Color ^Foreground^Background^ | ||
Line 36: | Line 36: | ||
===== Attributes ===== | ===== Attributes ===== | ||
- | The following table is a list of Attribute Ctrl-A codes, and a brief description of each code's usage: | + | The following table is a list of //Attribute |
^Attribute ^ Code ^Description | ^Attribute ^ Code ^Description | ||
- | |High | '' | + | |Bright |
- | |Blink | + | |Blink |
- | |Blink-Font | + | |Bright-Background | '' |
- | |High-Blink-Font | + | |Blink-Font |
- | |Normal | + | |High-Blink-Font |
- | |Optimized Normal | '' | + | |Normal |
- | |Optimized Normal | '' | + | |Optimized Normal |
+ | |Optimized Normal | ||
+ | ==== 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" | ||
+ | |||
+ | The //Blink// console attribute behaves similarly: once set, all newly-printed characters will have the blink attribute until a //Normal// attribute code is encountered. | ||
===== Control ===== | ===== Control ===== | ||
- | The following table is a list of Terminal Control Ctrl-A codes, and a brief description of each code's usage: | + | The following table is a list of //Terminal Control// Ctrl-A codes, and a brief description of each code's usage: |
^ Operation | ^ Operation | ||
Line 58: | Line 63: | ||
|Delay | |Delay | ||
|Cls | '' | |Cls | '' | ||
- | |Home | + | |Home |
|Clreos | |Clreos | ||
|Clreol | |Clreol | ||
Line 65: | Line 70: | ||
|LF | |LF | ||
|Cond-Newline | |Cond-Newline | ||
+ | |Cond-Linecont | ||
|Cond-Blankline | ''?'' | |Cond-Blankline | ''?'' | ||
- | |Push Attr | '' | + | |Push Attr | '' |
|Pop Attr | |Pop Attr | ||
+ | |SOH | '' | ||
+ | |SUB | '' | ||
+ | |EOF | '' | ||
|Cursor Right | |Cursor Right | ||
===== Macros ===== | ===== Macros ===== | ||
- | The following table is a list of Macro Ctrl-A codes, and a brief description of each code's usage: | + | The following table is a list of //Macro// Ctrl-A codes, and a brief description of each code's usage: |
^Macro | ^Macro | ||
|Date | |Date | ||
|Time | |Time | ||
- | |Ctrl-A | ||
===== Advanced ===== | ===== Advanced ===== | ||
- | The following table is a list of Advanced Ctrl-A codes, and a brief description of each code's usage: | + | The following table is a list of //Advanced// Ctrl-A codes, and a brief description of each code's usage: |
^Operation^ Code ^Description | ^Operation^ Code ^Description | ||
- | |Sync | + | |Sync |
- | |EOF | | + | |Embed File| '' |
- | |Embed File| '' | + | |
===== Security ===== | ===== Security ===== | ||
- | Synchronet also supports Ctrl-A codes used to hide text from users | + | Synchronet also supports |
not meeting certain security criteria (i.e.: Security Level or Flags from Flag Set #1). | not meeting certain security criteria (i.e.: Security Level or Flags from Flag Set #1). | ||
- | The following table is a list of Security Ctrl-A codes, and a brief description of each code's usage: | + | The following table is a list of Security |
^Code | ^Code | ||
Line 111: | Line 118: | ||
===== See Also ===== | ===== See Also ===== | ||
* [[atcodes|@-Codes]] | * [[atcodes|@-Codes]] | ||
- | * [[module:binkit]] | + | * [[:util: |
- | * [[module:binkit]] | + | * [[:util: |
* [[: | * [[: | ||
* [[: | * [[: | ||
+ | * [[: | ||
{{tag> | {{tag> | ||