Comments (6)
The only tip i could give is not to try, there are missing dependencies in the termux repo last i tried.
from twin.
I have not been able to compile twin on Termux - and not for lack of attempts.
On the other hand, I managed to compile and run twin on UserLand running debian, but can I only recommend it if you have a very large tablet - or external mouse and keyboard. Otherwise it's almost unusable from a small(ish) Android device.
If you want to use it as a server on Android, and attaching it to a larger display somewhere else, then of course the screen size on Android is not a factor :)
from twin.
I am using a Gemini PDA I bought from Planet Computers, which has a physical keyboard. The advantage of Termux is that you can configure the terminal interface, and you literally can pinch-zoom it to increase font size, and it resizes the terminal window dynamically. It can be useful when I want to copy and paste some output, and I can zoom out to have small letters if I want to see some logs or files being updated.
I managed to compile twin without any issues, I only had to install a couple of libraries, it only took me a couple of swings in the configure-make-make-install loop. It was so easy I can't even remember anything special about it! :) The entire 'system' is Debian-esque, and most things are working out of the box, minus the hardware management. I even have Midnight Commander installed. Everything works in this little isolated environment, kind of like chroot.
I have not been able to look at your code in detail yet, but can you tell me if this 'Errstr' thing is something you created internally? If not, and it should be in some library, I can try installing that library (or a different version of that library) and see if it works.
from twin.
Good to hear that :)
Yes, Errstr
is a function defined in one of the Twin sources.
from twin.
OK, will try to have a look.
from twin.
Fixed in commit 91ad986: compiling and running twin inside Termux now works.
At Termux prompt, you need to run:
apt update
apt install git build-essential ncurses
git clone https://github.com/cosmos72/twin
cd twin
./configure --prefix=/data/data/com.termux/files/usr
make
make install-strip
twin
Known issues:
- Termux keyboard does not have a "Pause" button - you need a customized
$HOME/.twinrc
that uses a different key to open the menu --hw=tty
driver does not yet recognize the "mouse" (touchscreen actually)
from twin.
Related Issues (20)
- Long running headless TWIN hangs [on 32-bit system] HOT 10
- Compile error using (intentionally old) g++ 4.9.2 HOT 16
- Twin clients die when connection is lost HOT 13
- hw_X11 and hw_xft don't work as expected in some cases HOT 11
- Crash attaching both --hw=X11 and --hw=xft at the same time HOT 2
- Support for Wayland? HOT 1
- I can't compile on Ubuntu 20.04 HOT 6
- Problems compiling: hw: No such file or directory HOT 2
- Integer overflow when calculating AllocMem() size HOT 1
- I made a deb package and put it into an apt repository HOT 5
- xft install command HOT 1
- GPM support in Twin Term HOT 8
- Problems Compiling Part 2 HOT 5
- Mouse drivers not working on fresh compilation of Twin HOT 1
- compiled in w11 wsl 1 -> Bug ? HOT 3
- How do I change the bloody font? (Times New Roman is just the precursor to Comic Sans, and I hate it) HOT 9
- Alacritty support? HOT 3
- Bright versions of 4-bit color palette HOT 10
- Automating commands and fullscreen?
- Ctrl actions writes random characters when using the micro text editor inside a twin terminal.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twin.