News for hackers. Stuff that matters.
Re:Tmux lets you select and copy text with your keyboard by pm215 on Friday April 02, 2021 @05:44AM (#26670175)
I use JOE in its "emacs-ish keybindings" mode (which you get if you run it as 'jmacs') for small "just run an editor in a terminal to edit this config file" jobs. I wanted an editor which was fast to start up, terminal-based, and emacs-like, and this was the one I found 20 years ago. It's always been reliable and it's always been available as a Debian package, so I've never felt a need to look for something else.

For long running edit sessions I use real emacs; I know you can set that up in a client-server arrangement to avoid the startup speed problem, but I never had the effort to investigate that; besides, sometimes you want to edit a file as root, who won't have a long-running emacs.

Re:Tmux lets you select and copy text with your keyboard by opan on Friday April 02, 2021 @08:16AM (#26670794)
For editing a file as root in emacs, you can use TRAMP to connect to your same machine as the root user. I think you also have to toggle a read-only mode afterward.
Re:Tmux lets you select and copy text with your keyboard by michael-ax on Friday April 02, 2021 @06:56AM (#26670443)
try this: emacsclient [-n] -c -a ""