mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
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:
@@ -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>
|
||||
@@ -0,0 +1,2 @@
|
||||
SHA256 (luit-20250912.tgz) = RpWAYOZvNby4pRuiLaHBPXJtKKhsHPUgURvPeRS+854=
|
||||
SIZE (luit-20250912.tgz) = 213001
|
||||
@@ -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.
|
||||
@@ -0,0 +1,2 @@
|
||||
@bin bin/luit
|
||||
@man man/man1/luit.1
|
||||
Reference in New Issue
Block a user