config_ansi_editor
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
config_ansi_editor [2019/03/22 03:19] – created ansi editor (work in progress) avon | config_ansi_editor [2019/03/22 23:07] – content updates avon | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | New command line option | + | ====== ANSI Editor ====== |
+ | |||
+ | Mystic has its own inbuilt ANSI editor it's packed full of features for viewing, editing and creating ANSI files. Like all of Mystic' | ||
+ | |||
+ | ==== Getting Started ==== | ||
+ | |||
+ | There are a couple of ways to access the editor. There is a command line option | ||
+ | |||
+ | | ||
+ | |||
+ | If < | ||
mystic -ansi text\gj-glue1.ans | mystic -ansi text\gj-glue1.ans | ||
- | The ANSI editor can load display files with color codes from PCBoard, Wildcat, Mystic' | + | You can also run Mystic -CFG then head to the ' |
+ | |||
+ | The ANSI editor can load display files with color codes from PCBoard, Wildcat, CNET, Mystic' | ||
+ | |||
+ | In this example the editor menu has been invoked by pressing the ESC key. | ||
+ | |||
+ | [X:01 Y:1 ] ATTR [OVR] [NORMAL] < | ||
+ | ┌─────────────────────────────────────────────────────────────────────────────┐ | ||
+ | │ ¦ ··· | ||
+ | ├─────────────────────────────────────────────────────────────────────────────┤ | ||
+ | │█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀|!4 | ||
+ | │█|!1 | ||
+ | │█|!3 | ||
+ | │█ | ||
+ | │█ | ||
+ | │█ | ||
+ | │█|!2 | ||
+ | │▀▄▄▄▄▄▄▄║ | ||
+ | ├────────║ | ||
+ | │ ¦ ··· | ||
+ | ├────────║ | ||
+ | │█▀▀▀▀▀▀▀║ | ||
+ | │█|!5 | ||
+ | │█|!7 | ||
+ | │█ | ||
+ | │█ | ||
+ | │█ | ||
+ | │█|!6 | ||
+ | │▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█│ | ||
+ | └─────────────────────────────────────────────────────────────────────────────┘ | ||
+ | |||
+ | ==== Editor Menu Options ==== | ||
+ | |||
+ | There are several hot keys that can be selected. | ||
+ | |||
+ | **O - Open File** | ||
+ | |||
+ | This will open a file explorer to a default directory specified as 'Text File Path' in the [[config_system_paths|System Paths]] section of Mystic -CFG | ||
+ | |||
+ | A file mask is applied so that only ASCII or ANSI files with *.a?? extensions are displayed. Pressing enter on any file loads its contents in to the editor. | ||
+ | |||
+ | Note the options below include a CTRL-D to specify a directory path to open and TAB that will show/hide directories from the explorer view. The delete key will also allow files to be deleted from the //Open File// dialog box. | ||
+ | |||
+ | Below is a screenshot of the file explorer in action. | ||
+ | |||
+ | | ||
+ | ╔═══════════════════════════ Select a File ═══════════════════════════╗ | ||
+ | ║ (Ctrl-D) Directory | ||
+ | ║ c: | ||
+ | ║ ║ | ||
+ | ║ File Name Size Date Time ║ | ||
+ | ║ amsghlp1.asc | ||
+ | ║ amsghlp2.asc | ||
+ | ║ ansichat.ans | ||
+ | ║ ansieditor.ans | ||
+ | ║ ansiflst.ans | ||
+ | ║ ansigal.ans | ||
+ | ║ ansigalh.ans | ||
+ | ║ ansigalv.ans | ||
+ | ║ ansihelp.ans | ||
+ | ║ ansimidx.ans | ||
+ | ║ ansimidxhelp.asc | ||
+ | ║ ansimlst.ans | ||
+ | ╚═════════════════════════════════════════════════════════════════════╝ | ||
+ | |||
+ | **S - Save File** | ||
+ | |||
+ | This hot key opens a //Save File// dialogue box and allows you to set the following: | ||
+ | |||
+ | * **File Name** - Set the full path and filename of the ANSI / ASCII you are saving. | ||
+ | * **Clear Screen** - Save file with a clear screen code included. Default is ' | ||
+ | * **Allow Abort** - Options are ' | ||
+ | * **Pause Screen** - Save file with a pause screen code included. Options are ' | ||
+ | * **Display Speed** - Sets display speed emulation. Options are 'Full Speed', | ||
+ | * **File Type** - Set file type (ANSI / ASCII / Pipe Code) | ||
+ | * **CRLF at EOF** - If this is Yes, Mystic will save a CRLF at the end of the ANSI file so that the cursor moves to the next line. If No, then Mystic will not. Default is Yes. | ||
+ | * **Line Length** - Set the number of lines to be saved. Default is 0 | ||
+ | |||
+ | Below is a screenshot of the //Save File// options. | ||
+ | |||
+ | ╔══════════════════════════════ Save File ══════════════════════════════╗ | ||
+ | ║ ║ | ||
+ | ║ File Name │ c: | ||
+ | ║ Clear Screen │ Yes ║ | ||
+ | ║ Allow Abort │ Default | ||
+ | ║ Pause Screen │ Default | ||
+ | ║ Display Speed │ Full Speed ║ | ||
+ | ║ File Type │ ANSI ║ | ||
+ | ║ CRLF at EOF │ Yes ║ | ||
+ | ║ Line Length │ 0 ║ | ||
+ | ║ ║ | ||
+ | ║ Save Abort Save ║ | ||
+ | ║ ║ | ||
+ | ╚═══════════════════════════════════════════════════════════════════════╝ | ||
+ | ** | ||
+ | Enter Key / Number Keys / Arrow Keys / Letter Keys (A-M)** | ||
+ | |||
+ | Pressing the ENTER key will toggle the focus of the Foreground and Background selector. Then use the left/right arrow keys to change the colour of the Foreground or Background subject to which has focus applied. | ||
- | ANSI editor has a "CRLF at EOF" which always defaults to Yes. If this is Yes, Mystic will save a CRLF at the end of the ANSI file so that the cursor moves to the next line. If No, then Mystic will not. | + | Number keys can also be used to directly apply a colour setting for both Foreground (FG) and Background (BG) elements in this dialogue box. |
- | ANSI editor shows a "File saved" confirmation box after saving. | + | Letter keys A - M can select which active Glyph set is required. The Sysop can then use F1 - F10 keys to draw Glyphs using the active set. |
- | ANSI editor retains the changed filename between save dialog boxes | + | **Q - Quit Drawing** |
- | CTRL+X | + | This will close the ANSI editor |
- | ANSI editor buffers default to saving with "Clear Screen Yes" | + | ==== Block Options ==== |
- | ANSI editor has block options. | + | * The ANSI editor has block options. |
+ | * ANSI editor has a block option for filling a block with a character, an attribute or both. | ||
+ | * ANSI editor has a block option to select a block and center text found within the selected block (using the center of the selected block as the center point) | ||
- | ANSI editor has a block option for filling a block with a character, an attribute or both. | + | ==== Miscellaneous Notes ==== |
- | ANSI editor | + | * The ANSI editor |
+ | * CTRL+X will also exit the ANSI editor, asking to save if the file has been changed first. | ||
- | Mystic supports CNET Control-Y color codes. | ||
- | now load CNET color coded files. |
config_ansi_editor.txt · Last modified: 2019/03/24 05:00 by g00r00