converters/dos2ansi 2.0 FreeBSD
Converter for old MS-DOS/ANSI.SYS text files
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- converters
- Package size
- 42.3 KiB, 97.5 KiB installed
Description
A tool to convert MS-DOS/ANSI.SYS text files to modern terminals.
This tool converts MS-DOS text files using ANSI.SYS escape sequences to a format a modern terminal can display. The output will use a Unicode encoding of characters and only ANSI SGR escape sequences to set basic foreground and background colors, intensity and blinking attribute. The input is expected to use CP-437 or one of the other supported DOS codepages.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | converters/dos2ansi | 2.0 |
| HardenedBSD | converters/dos2ansi | 2.0 |
| GhostBSD | converters/dos2ansi | 2.0 |
Install
Binary package:
pkg install dos2ansi
From the ports tree:
cd /usr/ports/converters/dos2ansi/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= dos2ansi>0:converters/dos2ansi
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.0 | 2.0 | - | 2.0 | 2.0 |
| FreeBSD:14:quarterly | 2.0 | 2.0 | n/a | 2.0 | 2.0 |
| FreeBSD:15:latest | 2.0 | 2.0 | n/a | 2.0 | 2.0 |
| FreeBSD:15:quarterly | 2.0 | 2.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0 | 2.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 3
Run dependencies 28
- archivers/brotli
- devel/gettext-runtime
- graphics/png
- print/freetype2
- print/indexinfo
- textproc/expat2
- x11-fonts/encodings
- x11-fonts/fontconfig
- x11-fonts/ibmfonts
- x11-fonts/libXft
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-fonts/oldschool-pc-fonts
- x11-toolkits/libXaw
- x11-toolkits/libXmu
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXpm
- x11/libXrender
- x11/libxcb
- x11/luit
- x11/xorgproto
- x11/xterm
No port depends on this one.
Configuration
Options name: converters_dos2ansi
| Option | Default | Description |
|---|---|---|
| BITMAP | on | Add bitmap fonts from x11-fonts/ibmfonts |
| DOCS | off | Build and/or install documentation |
| HTML | off | Build and install HTML manpages |
| MANPAGES | on | Build and/or install manual pages |
| NCURSES | on | Build with terminfo-based color output |
| SCALABLE | on | Add scalable fonts from x11-fonts/oldschool-pc-fonts |
| SHOWANSI | off | Install showansi script |
- USES
- compiler:c11 gmake tar:xz
- Service scripts
- none
- Conflicts with
- dos2ansi dos2ansi-nox11
- Flavors
dos2ansi-nox11-2.0
Files
Manual pages 2
- dos2ansi(1)
- showansi(1)
pkg-plist 11
- bin/dos2ansi
- bin/showansi
- @sample etc/dos2ansi/showansirc.sample
- share/doc/dos2ansi/README.md
- share/doc/dos2ansi/html/dos2ansi.1.html
- share/doc/dos2ansi/html/showansi.1.html
- share/dos2ansi/showansi/fonts.bitmap
- share/dos2ansi/showansi/fonts.mixed
- share/dos2ansi/showansi/fonts.scalable
- share/man/man1/dos2ansi.1.gz
- share/man/man1/showansi.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| dos2ansi-2.0.tar.xz | 74408 | a34979621f932fae36b3bfc77ddad26c172e6d05bc68aae865cb3eaf663db70c |
Master sites 1
- https://github.com/Zirias/dos2ansi/releases/download/v2.0/
Commit history 0
No commits in the history this site was built from.