Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
util:asc2ans [2018/03/01 12:11] – Links to util:binkit changed to module:binkit digital manutil:asc2ans [2023/12/29 02:05] (current) – The outfile.ans argument is optional (outputs to stdout if not supplied). digital man
Line 1: Line 1:
 ====== ASC2ANS ====== ====== ASC2ANS ======
  
-Converts a Synchronet ASCII text file encoded with [[custom:Ctrl-A codes]] to [[ref:ANSI]] terminal escape sequences.+Converts a Synchronet ASCII text file encoded with [[custom:Ctrl-A codes]] (e.g. ''*.msg'' or ''*.asc'' file) to the equivalent [[ref: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 [[resource:ANSI Editors]] (the opposite function of the [[module:binkit]] utility).+This utility allows you to convert files that use Ctrl-A codes (attributes) into ANSI files suitable for viewing or editing with a [[resource:ANSI Editors]] (the opposite function of the [[ANS2ASC]] utility).
  
 The syntax is: The syntax is:
-  asc2ans infile.asc outfile.ans [options]+  asc2ans infile.asc [outfile.ans[options]
  
 ^ Option ^ Description ^ ^ Option ^ Description ^
Line 13: Line 13:
  
 The suffix/extension for the input filename will most likely be ''.asc'' or ''.msg'' and the output file should have a ''.ans'' extension. 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''.
  
 ===== See Also ===== ===== See Also =====
-  * [[module:binkit|Utilities]] +  * [[:util:|Utilities]] 
-  * [[module:binkit]]+  * [[:util:ANS2ASC]]
   * [[:resource:ANSI Editors]]   * [[:resource:ANSI Editors]]
  
 {{tag>ansi}}  {{tag>ansi}}