tvisionModern port of Turbo Vision 2.0, a TUI framework
g20260927develΣ=1 g20260927Version of this port present on the latest quarterly branch.upstream: r586A newer version was found upstream by portscout, first on 2026-09-28.
A modern port of Turbo Vision 2.0, the classical framework
for text-based user interfaces. Now cross-platform and with
Unicode support.
Note that this project has no stable releases for the time
being. If you are a developer, try to stick to the latest
commit and report any issues you find while upgrading.
devel/tvision: Update to 2026.05.12
ChangeLog:
- Update the borders of framed views upon insertion or removal
- Prevent out-of-bounds array access in TCommandSet
- Regenerate missing scan codes in win32-input-mode
- Fix write() usage in StderrRedirector
- Also restore terminal state on SIGBUS and SIGPIPE
MFH: 2026Q2
devel/tvision: New port: Modern port of Turbo Vision 2.0, a TUI framework
Some alterations and additions were made to the original submission.
PR: 285640
Mark for depreciation, since unmaintained, failing to work with current
versions of GCC, dead upstream, and requiring gcc33 which fails to build
itself (and does not support current versionf of FreeBSD or non-i386).
EXPIRATION_DATE=2009-03-02.
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above )
USE_GMAKE as a temporary band-aid for make(1) in FreeBSD 7 that now
remakes makefiles but cycles on lib/Makefile from tvision sources.
GNU make does not consider a target that exists, has no commands, is
older than its sources as out-of-date if no sources were actually remade and
thus does not cycle on such Makefiles. The fix for make(1) is coming soon.
* Integrate tvision-0.8-timeout.patch from PR: 71544
** Don't use alarms and signals, but use the timeout-feature of ncurses.
Submitted by: Erling Jacobsen <linuxcub@email.dk>
* Don't patch a sourcefile twice, move patch-ncurses-mouse into
patch-lib::system.cc
* As gcc33 is broken on AMD64 use gcc34 there
* Bump PORTREVISION
First round of patches from Erling Jacobsen:
* ntohs() won't work, because it converts from bigendian to native
byteorder, and the format used in TVision streams is littleendian.
Conversion must be done explicitly, by calling readByte() several
times, in consecutive statements !
*This enables ncurses mouse support, which was broken (it seemed to depend
on gpm in an unhealthy way).
*Un*x filenames can easily contain spaces ... Don't trim the filename.
*Avoid possible problems with signed/unsigned char comparisons. And
functions like toupper must be called with an unsigned char.
PR: 71544
Submitted by: Erling Jacobsen <linuxcub@email.dk>
Set maintainer back to ports, as libh is now officially a dead project
Compile with GCC 3.4
Bump PORTREVISION
Refer to "tvision/myendian.h" instead of just "myendian.h" and actually
install the header.
PR: 36800
Submitted by: The Anarcat <anarcat@anarcat.dyndns.org>
Fix MASSIVE typo INSTALL_SHLIBS --> INSTALLS_SHLIBS, which occured because I
just cun'n'pasted the name from Satoshi's commit message without checking it.