Comments (6)
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.
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.
from twin.
bug confirmed.
As temporary workaround, blindly typing
stty sane<RETURN>
will fix the console after twin exited due the 10 seconds timeout
from twin.
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.
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)
- Would you consider putting config in /etc? HOT 11
- Input is _dead_ in `twterm` on 32-bit systems HOT 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
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.