ASC2ANS
Converts a Synchronet ASCII text file encoded with Ctrl-A codes (e.g. *.msg
or *.asc
file) to the equivalent ANSI terminal escape sequences.
This utility allows you to convert files that use Ctrl-A codes (attributes) into ANSI files suitable for viewing or editing with a ANSI Editors (the opposite function of the ANS2ASC utility).
The syntax is:
asc2ans infile.asc [outfile.ans] [options]
Option | Description |
---|---|
-strip | strip Ctrl-A codes without ANSI equivalent, e.g. pause, delay |
The suffix/extension for the input filename will most likely be .asc
or .msg
and the output file should have a .ans
extension.
If an [outfile.ans]
argument is not provided, the converted ANSI output is sent to stdout
.