Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
custom:atcodes [2019/07/15 21:34] – [User Information] Added new MAILW#, MAILP#, and SPAMW# aliases digital man | custom:atcodes [2019/08/04 23:45] – [Terminal Information / Control] Added POS:n, YESCHAR, NOCHAR, QUITCHAR, DELAY:n digital man |
---|
|DEGREE_C | |Send a degree Celsius symbol appropriate for the user's terminal | | |DEGREE_C | |Send a degree Celsius symbol appropriate for the user's terminal | |
|DEGREE_F | |Send a degree Fahrenheit symbol appropriate for the user's terminal | | |DEGREE_F | |Send a degree Fahrenheit symbol appropriate for the user's terminal | |
| |YESCHAR | |Print the character that corresponds with an affirmative "Yes" answer key (e.g. ''Y'') | |
| |NOCHAR | |Print the character that corresponds with an negative "No" answer key (e.g. ''N'') | |
| |QUITCHAR | |Print the character that corresponds with a "quit" command key (e.g. ''Q'') | |
|EOF | |End-of-file (stop parsing/displaying) | | |EOF | |End-of-file (stop parsing/displaying) | |
|PAUSE |MORE |Force a screen pause (hit a key) prompt| | |PAUSE |MORE |Force a screen pause (hit a key) prompt| |
|POFF |NOPAUSE |Toggle automatic screen pause off | | |POFF |NOPAUSE |Toggle automatic screen pause off | |
|RESETPAUSE | |Reset the automatic screen pause line counter | | |RESETPAUSE | |Reset the automatic screen pause line counter | |
| |DELAY://n// | |Wait //n// 10ths of a second before continuing | |
|UP://n// | |Move cursor up //n// rows | | |UP://n// | |Move cursor up //n// rows | |
|DOWN://n// | |Move cursor down //n// rows | | |DOWN://n// | |Move cursor down //n// rows | |
|LEFT://n// | |Move cursor left //n// columns | | |LEFT://n// | |Move cursor left //n// columns | |
|GOTOXY://x,y// | |Move cursor to //x/////y// coordinate (1-based) | | |GOTOXY://x,y// | |Move cursor to //x/////y// coordinate (1-based) | |
| |POS://x// | |Move cursor to column //x// (1-based) | |
|HOME | |Home cursor (to upper left), don't clear| | |HOME | |Home cursor (to upper left), don't clear| |
|CLRLINE | |Clear the current line (cursor to first column)| | |CLRLINE | |Clear the current line (cursor to first column)| |
| |
==== Unicode ==== | ==== Unicode ==== |
Only UTF-8 terminals support Unicode. For other terminals (TTY/ASCII, CP437, and PETSCII), an equivalent "fallback" character may be automatically available or explicitly specified in the @-code itself. | Only UTF-8 terminals support Unicode. For other terminals (TTY/ASCII, CP437, and PETSCII), an equivalent "fallback" character may be automatically available or when using the ''U+'' @-codes, explicitly specified in the @-code itself. |
| |
The 'U+' @-code supports additional syntax to allow the sysop to specify the CP437 fallback character: | The 'U+' @-code supports additional syntax to allow the sysop to specify the CP437 fallback character: |
* ''@U+<code>,<char>@'': Send a Unicode character with specified fallback character, in hexadecimal (specify ''0'' to send //no// character to non-UTF-8 terminals) | * ''@U+<code>,<char>@'': Send a Unicode character with specified fallback character, in hexadecimal (specify ''0'' to send //no// character to non-UTF-8 terminals) |
* ''@U+<code>!<char>@'': Send a Unicode character with specified fallback character to be used //only// when no automatic fallback character is supported | * ''@U+<code>!<char>@'': Send a Unicode character with specified fallback character to be used //only// when no automatic fallback character is supported |
| |
| === Examples === |
| |
| ^ @-code ^ UTF-8 ^ CP437 ^ US-ASCII ^ |
| | WIDE:Test | ''Test'' | ''T e s t'' | ''T e s t'' | |
| | CHECKMARK | ''✓'' | ''√'' | ''+'' | |
| | COPY | ''©'' | ''(C)'' | ''(C)'' | |
| | TRADEMARK | ''™'' | ''(TM)'' | ''(TM)'' | |
| | ELLIPSIS | ''…'' | ''...'' | ''...'' | |
| | U+20AC | ''€'' | | | |
| | U+20AC,24 | ''€'' | ''$'' | ''$'' | |
| | U+2265 | ''≥'' | ''≥'' | ''>'' | |
| | U+2265!a8 | ''≥'' | ''≥'' | ''>'' | |
| | U+2265,a8 | ''≥'' | ''¿'' | ''?'' | |
| | U+1F609 | ''😉'' | | | |
| | U+1F609:;-) | ''😉'' | '';-)'' | '';-)'' | |
| |
| |
===== External Content ===== | ===== External Content ===== |
| |