import ports/converters/luit, feedback/ok matthieu

Luit is a filter that can be run between an arbitrary application and
a UTF-8 terminal emulator. It will convert application output from the
locale's encoding into UTF-8, and convert terminal input from UTF-8 into
the locale's encoding.

Note that luit(1) support is not present in xterm(1) on OpenBSD, so this
is only useful in special cases - e.g. as a wrapper for telnet(1) or
an SSH client when connecting to systems without UTF-8 support.
This commit is contained in:
sthen
2026-02-10 17:04:35 +00:00
parent 4e8bf32e76
commit d921172beb
4 changed files with 36 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
COMMENT = filter to convert between UTF-8 and other locales
DISTNAME = luit-20250912
CATEGORIES = converters
HOMEPAGE = https://invisible-island.net/luit/luit.html
# MIT
PERMIT_PACKAGE = Yes
WANTLIB += c iconv util z
SITES = https://invisible-mirror.net/archives/luit/ \
ftp://ftp.invisible-island.net/luit/
EXTRACT_SUFX = .tgz
LIB_DEPENDS = converters/libiconv
CONFIGURE_STYLE = gnu
NO_TEST = Yes
.include <bsd.port.mk>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (luit-20250912.tgz) = RpWAYOZvNby4pRuiLaHBPXJtKKhsHPUgURvPeRS+854=
SIZE (luit-20250912.tgz) = 213001
+8
View File
@@ -0,0 +1,8 @@
Luit is a filter that can be run between an arbitrary application and
a UTF-8 terminal emulator. It will convert application output from the
locale's encoding into UTF-8, and convert terminal input from UTF-8 into
the locale's encoding.
Note that luit(1) support is not present in xterm(1) on OpenBSD, so this
is only useful in special cases - e.g. as a wrapper for telnet(1) or
an SSH client when connecting to systems without UTF-8 support.
+2
View File
@@ -0,0 +1,2 @@
@bin bin/luit
@man man/man1/luit.1