Giter Club home page Giter Club logo

Comments (6)

Mirppc avatar Mirppc commented on August 29, 2024

The only tip i could give is not to try, there are missing dependencies in the termux repo last i tried.

from twin.

cosmos72 avatar cosmos72 commented on August 29, 2024

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.

ha5dzs avatar ha5dzs commented on August 29, 2024

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.

cosmos72 avatar cosmos72 commented on August 29, 2024

Good to hear that :)
Yes, Errstr is a function defined in one of the Twin sources.

from twin.

ha5dzs avatar ha5dzs commented on August 29, 2024

OK, will try to have a look.

from twin.

cosmos72 avatar cosmos72 commented on August 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.