Giter Club home page Giter Club logo

Comments (6)

Mirppc avatar Mirppc commented on August 29, 2024

You need to have gpm to have mouse support in a TTY. There just is no option at this time. GPM should be a dependency and you should have it installed. As for your keyboard issue, i cant replicate as i would not even bother in tty mode without gpm. This should be made more of a mandatory requirement for compiling.

from twin.

cosmos72 avatar cosmos72 commented on August 29, 2024

I guess @vanrein meant "if gpm daemon is not running" when twin is compiled with gpm support and started in Linux console.
I will look at it, thanks

from twin.

vanrein avatar vanrein commented on August 29, 2024

from twin.

cosmos72 avatar cosmos72 commented on August 29, 2024

bug confirmed.
As temporary workaround, blindly typing

stty sane<RETURN>

will fix the console after twin exited due the 10 seconds timeout

from twin.

vanrein avatar vanrein commented on August 29, 2024

The console is indeed part of the game played (on us) here. If tty is /dev/console, it complains that

starting display driver module `hw_tty' . . .
GPM_InitMouse() failed: unable to detect tty device
xterm_InitMouse() failed: this `linux' terminal
has no support for xterm-style mouse reporting.

where on /dev/tty2 it instead reports

starting display driver module `hw_tty' . . .
 . . .module `hw_tty' successfully started.

I am bootstrapping a system on BusyBox, so there are things to fix over here. This is after adding /sbin/init to the mix to get virtual terminals. This continues to be awkward, especially because gpm itself is happy to be on /dev/console as much as on /dev/tty2.

As a work-around, I can at least use tty2 for now.

from twin.

cosmos72 avatar cosmos72 commented on August 29, 2024

Fixed in commit fc647fe.

I opened #52 for the unrelated issue 'gpm not detected if twin started in /dev/console' reported above.

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.