Fredrik Fornwall
9 years ago
3 changed files with 46 additions and 0 deletions
@ -0,0 +1,9 @@ |
|||||
|
TERMUX_PKG_HOMEPAGE=http://www.brain-dump.org/projects/abduco/ |
||||
|
TERMUX_PKG_DESCRIPTION="Clean and simple terminal session manager" |
||||
|
TERMUX_PKG_VERSION=0.5 |
||||
|
TERMUX_PKG_SRCURL=http://www.brain-dump.org/projects/abduco/abduco-${TERMUX_PKG_VERSION}.tar.gz |
||||
|
TERMUX_PKG_BUILD_IN_SRC=yes |
||||
|
TERMUX_PKG_DEPENDS="libutil,dvtm" |
||||
|
|
||||
|
export PREFIX=$TERMUX_PREFIX |
||||
|
CFLAGS+=" $CPPFLAGS" |
@ -0,0 +1,9 @@ |
|||||
|
TERMUX_PKG_HOMEPAGE=http://www.brain-dump.org/projects/dvtm/ |
||||
|
TERMUX_PKG_DESCRIPTION="Terminal tiling window manager" |
||||
|
TERMUX_PKG_VERSION=0.15 |
||||
|
TERMUX_PKG_SRCURL=http://www.brain-dump.org/projects/dvtm/dvtm-${TERMUX_PKG_VERSION}.tar.gz |
||||
|
TERMUX_PKG_BUILD_IN_SRC=yes |
||||
|
TERMUX_PKG_DEPENDS="libutil, ncurses" |
||||
|
|
||||
|
export PREFIX=$TERMUX_PREFIX |
||||
|
CFLAGS+=" $CPPFLAGS" |
@ -0,0 +1,28 @@ |
|||||
|
diff -u -r ../dvtm-0.15/vt.c ./vt.c
|
||||
|
--- ../dvtm-0.15/vt.c 2016-01-09 06:40:56.000000000 -0500
|
||||
|
+++ ./vt.c 2016-01-21 08:09:47.457953606 -0500
|
||||
|
@@ -21,7 +21,9 @@
|
||||
|
#include <ctype.h> |
||||
|
#include <errno.h> |
||||
|
#include <fcntl.h> |
||||
|
+#ifndef __ANDROID__
|
||||
|
#include <langinfo.h> |
||||
|
+#endif
|
||||
|
#include <limits.h> |
||||
|
#include <signal.h> |
||||
|
#include <stdio.h> |
||||
|
@@ -1309,10 +1311,14 @@
|
||||
|
|
||||
|
static void is_utf8_locale(void) |
||||
|
{ |
||||
|
+#ifdef __ANDROID__
|
||||
|
+ is_utf8 = true;
|
||||
|
+#else
|
||||
|
const char *cset = nl_langinfo(CODESET); |
||||
|
if (!cset) |
||||
|
cset = "ANSI_X3.4-1968"; |
||||
|
is_utf8 = !strcmp(cset, "UTF-8"); |
||||
|
+#endif
|
||||
|
} |
||||
|
|
||||
|
static wchar_t get_vt100_graphic(char c) |
Loading…
Reference in new issue