A Week of Trial [June Events 2021] - Community & Forums Related Discussions
Users browsing this thread: 2 Guest(s)
|
|||
Yesterday was my first day and it was already pretty interesting. Found out that GPM isn't just a daemon that runs in the background and lets you copy and paste text. It's also a mouse server that you can write clients for. elinks uses it, for example, and that actually makes for a pretty good browsing experience: You can point and click to follow links, and you can even use the mouse wheel to scroll. Of course, elinks' menus are also clickable. That thing feels like a good old DOS program.
Also, nixers.net appears to work best in elinks. I just wish elinks could also show images like w3m can. It's pretty easy to write a simple GPM client. Just for fun, I wrote a little frontend for asciibrot, which turns it into an interactive ASCII mandelbrot explorer: Code: #include <errno.h> (It's not optimal, it should also adjust the number of iterations depending on the zoom level.) Sad thing is, GPM clients don't work when run under tmux. They can connect to the daemon (which listens on a UNIX socket), but they don't know their "true" TTY, so they just get errors instead of mouse events. GPM's documentation is available as GNU info pages. I never liked those, because navigation is so unusual. Yesterday, I finally learned about the "l" key in GNU info: When you follow a link to a section, you can press "l" to jump back to where you were. This was the missing piece of the puzzle for me. GNU info is much more enjoyable now and I think I'll spend a little more time investigating it. For what it's worth, my current setup uses three TTYs:
|
|||