BSD Ports

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

SystemPortVersion
FreeBSDconverters/dos2ansi2.0
HardenedBSDconverters/dos2ansi2.0
GhostBSDconverters/dos2ansi2.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.02.0-2.02.0
FreeBSD:14:quarterly2.02.0n/a2.02.0
FreeBSD:15:latest2.02.0n/a2.02.0
FreeBSD:15:quarterly2.02.0n/an/an/a
FreeBSD:16:latest2.02.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

No port depends on this one.

Configuration

Options name: converters_dos2ansi

OptionDefaultDescription
BITMAPonAdd bitmap fonts from x11-fonts/ibmfonts
DOCSoffBuild and/or install documentation
HTMLoffBuild and install HTML manpages
MANPAGESonBuild and/or install manual pages
NCURSESonBuild with terminfo-based color output
SCALABLEonAdd scalable fonts from x11-fonts/oldschool-pc-fonts
SHOWANSIoffInstall 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
FileSizeSHA256
dos2ansi-2.0.tar.xz74408a34979621f932fae36b3bfc77ddad26c172e6d05bc68aae865cb3eaf663db70c
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.