a2m/README.md

51 lines
1.7 KiB
Markdown
Raw Normal View History

2016-09-07 15:23:12 -07:00
# a2m
Convert ansi art to mirc art.
2016-09-07 15:48:47 -07:00
![screenshot](https://github.com/tat3r/a2m/blob/master/screenshot.png?raw=true)
2016-09-07 18:34:05 -07:00
For reference screenshot is iTerm2 with Andale Mono font ssh'd to a linux
machine attached to a tmux session running irssi.
2016-09-07 15:23:12 -07:00
## Installation
run make and copy a2m wherever you want.
## Usage
run a2m -h for a list of options
## Troubleshooting
### IRC Client
IRCCloud doesn't work very well. It's monospaced font is *Iconsolata*, served
2016-09-07 18:34:05 -07:00
up by Google Web Fonts, which doesn't draw the block characters correctly
(see below). In addition it appears to ignore several lines when flooding
fast. Don't use IRCCloud, it's for people who habitually make bad decisions
in life. Works best with a terminal based client.
2016-09-07 15:23:12 -07:00
### Terminal
Don't use reverse video, just make foreground white on black background, but
not bright white, there should be two different whites, bright white and
2016-09-07 16:37:41 -07:00
grayish white, 16 unique colors in all, as shown below:
Color | Regular | Bold
------|---------|-----
Black | #000000 (0, 0, 0) | #555555 (85, 85, 85)
Red | #aa0000 (170, 0, 0) | #ff5555 (255, 85, 85)
Green | #00aa00 (0, 170, 0) | #55ff55 (85, 255, 85)
2016-09-08 01:11:21 -07:00
Yellow | #aaaa00 (170, 85, 0) | #ffff55 (255, 255, 85)
2016-09-07 16:37:41 -07:00
Blue | #0000aa (0, 0, 170) | #5555ff (85, 85, 255)
Magenta | #aa00aa (170, 0, 170) | #ff55ff (255, 85, 255)
Cyan | #00aaaa (0, 170, 170 ) | #55ffff (85, 255, 255)
White | #aaaaaa (170, 170, 170) | #ffffff (255, 255, 255)
2016-09-07 15:23:12 -07:00
### Font
The font you use needs to be monospaced obviously but if its missing some of
the block drawing unicode characters its going to borrow them from another
font, which will probably having a different width, resulting in poor alignment
and jagged edges. *Andale Mono* is the best I've found so far.