diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-09 16:54:26 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-09 18:22:21 +0200 |
commit | 4f231871a0208ec9bcc2679fce25d3b9795d1597 (patch) | |
tree | bdc9055166fe236f009c6640acf53b6706310c27 /README | |
parent | 41ab5cf0289dab60ac1ddc97cf9680ee2468ea6c (diff) | |
download | sciteco-4f231871a0208ec9bcc2679fce25d3b9795d1597.tar.gz |
added raw ANSI mode to facilitate 8-bit clean editing (refs #5)
* When enabled with bit 2 in the ED flags (0,4ED),
all registers and buffers will get the raw ANSI encoding (as if 0EE had been
called on them).
You can still manually change the encoding, eg. by calling 65001EE afterwards.
* Also the ANSI mode sets up character representations for all bytes >= 0x80.
This is currently done only depending on the ED flag, not when setting 0EE.
* Since setting 16,4ED for 8-bit clean editing in a macro can be tricky -
the default unnamed buffer will still be at UTF-8 and at least a bunch
of environment registers as well - we added the command line option
`--8bit` (short `-8`) which configures the ED flags very early on.
As another advantage you can mung the profile in 8-bit mode as well
when using SciTECO as a sort of interactive hex editor.
* Disable UTF-8 checks in 8-bit clean mode (sample.teco_ini).
Diffstat (limited to 'README')
-rw-r--r-- | README | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -77,7 +77,7 @@ Features * Full Unicode (UTF-8) support: The document is still represented as a random-accessible codepoint sequence. * 8-bit clean: SciTECO can be used to edit binary files if the encoding is changed to - ANSI (`0EE`) and automatic EOL conversion is turned off (`16,0ED`). + ANSI and automatic EOL conversion is turned off (easiest with `--8bit`). * Self-documenting: An integrated indexed help system allows browsing formatted documentation about commands, macros and concepts within SciTECO (`?` command). Macro packages can be documented with the `tedoc` tool, generating man pages. |