mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 16:40:31 -04:00
mtm is the Micro Terminal Multiplexer, a terminal multiplexer. It has four major features/princples: - Simplicity: there are three commands (change focus, split, close). There are no modes, no dozens of commands, no crazy feature list. - Compatibility: mtm emulates a classic ANSI text terminal. That means it should work out of the box on essentially all terminfo/termcap-based systems (even pretty old ones), without needing to install a new termcap entry. - Size mtm is small. The entire project is around 1000 lines of code. - Stability: mtm is "finished" as it is now. You don't need to worry about it changing on you unexpectedly. The only changes that can happen at this point are: - Bug fixes. - Translation improvements. - Accessibility improvements. - Fixes to keep it working on modern OSes. WWW: https://github.com/deadpixi/mtm PR: 228152 Submitted by: 0mp@FreeBSD.org Reviewed by: tobik
20 lines
745 B
C
20 lines
745 B
C
--- config.def.h.orig 2018-05-07 14:54:13 UTC
|
|
+++ config.def.h
|
|
@@ -38,7 +38,7 @@
|
|
|
|
/* The path for the wide-character curses library. */
|
|
#ifndef NCURSESW_INCLUDE_H
|
|
- #if defined(__APPLE__) || (defined(BSD) && !defined(__linux__))
|
|
+ #if defined(__APPLE__) || (defined(BSD) && !defined(__linux__)) || defined(__FreeBSD__)
|
|
#define NCURSESW_INCLUDE_H <curses.h>
|
|
#else
|
|
#define NCURSESW_INCLUDE_H <ncursesw/curses.h>
|
|
@@ -50,6 +50,8 @@
|
|
#ifndef FORKPTY_INCLUDE_H
|
|
#if defined(__APPLE__) || (defined(BSD) && !defined(__linux__))
|
|
#define FORKPTY_INCLUDE_H <util.h>
|
|
+ #elif defined(__FreeBSD__)
|
|
+ #define FORKPTY_INCLUDE_H <libutil.h>
|
|
#else
|
|
#define FORKPTY_INCLUDE_H <pty.h>
|
|
#endif
|