5 ms·
How do you get mouse support without X? Or do you mean the editor does a lot of amazing things without X, but you also have mouse support with X?
by P5fRxh5kUvp2th 4y ago
How do you get mouse support without X? Or do you mean the editor does a lot of amazing things without X, but you also have mouse support with X?
- genpfault 4y agogpm[1]? consolation[2]? [1]: https://packages.debian.org/bullseye/gpm https://packages.debian.org/bullseye/gpm [2]: https://salsa.debian.org/consolation-team/consolation https://salsa.debian.org/consolation-team/consolation
- lproven 4y agoYou install gpm. https://linux.die.net/man/8/gpm https://linux.die.net/man/8/gpm But even if you do that, in basically all other existing Linux console editors, from Vim to Nano to Joe to Pico or whatever, your mouse doesn't work because they don't understand mice. Tilde does.
- P5fRxh5kUvp2th 4y agoWell, to be fair, I disable mouse support in vim :)
- creatonez 4y agoVim and Emacs definitely do, and have supported it for many years.
- lproven 4y agoTBH, I detest both, but I know millions love them. But... on the console, with no X11? Really? I'm sure Vim didn't last time I tried. Not that it has much UI to operate with a mouse.
- creatonez 4y agoWith vim, you have to `:set mouse=a`. With neovim, it's the default configuration. Emacs has a similar setting.
- lproven 4y agoOK. I will take your word for it. :-) I personally think modal editors should have died by the 1980s, and am firmly with the late great Larry Tesler, who said "Don't Mode Me In". His personalised numberplate read NOMODES. Emacs could be OK for non-Emacs types with some modernisation, and the best step in that direction is ErgoEmacs: https://ergoemacs.github.io/ https://ergoemacs.github.io/ Since about 1987 there has been one standard UI language for normal desktop apps, and all major OSes follow it, including almost all Linux graphical desktops. It's called IBM CUA. I started playing with computers in about 1981 and working with them in 1988. I learned dozens of weird editors and UIs back then, on dozens of OSes, from CP/M and VMS to RISC OS and GEM and AmigaOS and Concurrent DOS and SIBO and EPOC16 and so on. It was a massive relief when CUA came along and swept them all away. Sadly this didn't happen to the command-line Linux world. I am not a programmer; I'm a writer. I don't want syntax highlighting or any of that. I want to edit English text. All the fancy features of Vim and Emacs are 100% totally useless to me, and so I am not willing or interested in learning their horrible 1970s UIs just to get at features for programmers that I don't want or need. It is over 35 years since there was a standard UI for editors. Any editor whose developers want me to try it must comply 100% with CUA, including the same menu names accessed with the same keystrokes. So: no Emacs or Vim for me. Which means: if they need fancy options to support a mouse, and it doesn't work out of the box, that means that for me, it doesn't work. But I am happy to hear it can be enabled. What I like about Tilde is that it's small, fast, free, has the standard UI, and it works with a mouse with zero extra configuration. For me, that means 5 ways that it beats both Emacs and Vim put together.
- P5fRxh5kUvp2th 4y agoTo each their own, but you'll pry vim from my cold, dead hands :)
- 4y ago
- creatonez 4y agoModern terminal emulators support modes where mouse clicks and even dragging can be sent to the program in the form of escape codes.