AminetAminet
Search:
84749 packages online
About
Recent
Browse
Search
Upload
Setup
Services

text/misc/aha.lha

Mirror:Random
Showing: ppc-powerup icongeneric icon
No screenshot available
Short:Ansi HTML Adapter
Author: ziz at mailbox.org (Alexander Matthes)
Uploader:polluks+aminet sdf lonestar org (Stefan Haubenthal)
Type:text/misc
Version:0.5
Architecture:m68k-amigaos,ppc-morphos
Date:2019-10-27
Download:text/misc/aha.lha - View contents
Readme:text/misc/aha.readme
Downloads:4428

aha - Ansi HTML Adapter
=======================

Converts ANSI escape sequences of a unix terminal to HTML code.

![aha screenshot](/screenshot.png?raw=true "aha screenshot")

Examples
========

* `aha --help | aha --black --title "the awesome aha help"> aha-help.htm`
  * Creates an HTML file of the help of aha with black background
* `colordiff oldfile.c newfile.c | aha > colordiff.htm`
  * Creates an HTML file with a colorful diff-output of two files "oldfile.c" and "newfile.c" with white background
* `ls --color=always | aha --pink > ls.htm`
 * Creates an HTML file with a colorful ls-output with pink background.
* `echo q | htop | aha --black --line-fix > htop.htm`
  * Creates an HTML file with the output of htop. You have to use --line-fix due the other new-line-commands htop uses.
* `MAN_KEEP_FORMATTING=1 COLUMNS=80 man aha | ul | aha > man-aha.htm`
  * Creates an HTML file with the man page of aha. Man uses nroff's bold and underline, which ul converts to SGR.

Compilation / Installation
==========================

Aha has no dependencies except for a C compiler and `make`.

To compile just type `make`.
To install aha to `/usr/local/` type `make install`.
You can change the installation directory with `make install PREFIX=/your/path`.
You can override the man directory with `make install MANDIR=/your/path/man`

Licensing
=========

All files are subjects to the LGPL2+ or the MPL1.1 (Dual licensed).


Contents of text/misc/aha.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1377    2868  48.0% -lh5- fc49 Oct 26 14:48 aha/aha.1
[generic]                 8953   33354  26.8% -lh5- 3008 Oct 26 14:48 aha/aha.c
[generic]                 1180    2829  41.7% -lh5- 89ae Oct 26 14:48 aha/CHANGELOG
[generic]                 9298   25384  36.6% -lh5- a315 Oct 26 14:48 aha/LICENSE.LGPLv2+
[generic]                 8732   26015  33.6% -lh5- 289b Oct 26 14:48 aha/LICENSE.MPL1.1
[generic]                  237     451  52.5% -lh5- 9ccd Oct 26 14:48 aha/Makefile
[generic]                  680    1428  47.6% -lh5- 2062 Oct 26 14:48 aha/README.md
[generic]               369096  369096 100.0% -lh0- 53ac Oct 26 14:48 aha/screenshot.png
[generic]                11844   36496  32.5% -lh5- 2377 Oct 26 14:50 aha/aha
[generic]                14971   33180  45.1% -lh5- 4a6a Oct 26 14:56 aha/aha.68k
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        10 files  426368  531101  80.3%            Oct 26 19:30
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>