Live data from Hacker News

Emacs in Odd Places (2020)

eigenbahn.com

11–20 of 22 posts

Re: Emacs in Odd Places (2020)

#11
The defining requirement for my first ever notebook (circa 1991) was that it had to be able to run the One True Emacs. That was met by a Toshiba T1800 w/4 MiB 386/sx @ 16 MHz, running a very early Slackware Linux. Wasn’t powerful enough to run X (in practice), but having Emacs means I can be productive.

It still sets the lower bar for what I consider useful, but indeed, 2nd best thing is a terminal into a computer running emacs.

Re: Emacs in Odd Places (2020)

#12

This is why I stick to a terminal based editor. You can use it practically anywhere with minimal resource usage. You can use it remotely so any machine is your workstation. You can use it on a machine without a GUI at all. With the new AI plugins I doubt even Jet Brains will be able to offer much over what Vim and Emacs can provide with fugitive, magit, fzf, etc. providing best in class features while still running o…

I have state-of-the-art gear and I mostly do everything in the terminal. Why? Because I run months long sessions in tmux that I attach to from all sorts of places and machines, including whatever notebook my youngest left around or from my phone (via Terminus) to quickly check on something.

Being able to resume exactly where I left off is more important to me than fancy colors and fonts (and the mouse to too slow and imprecise anyway).

Re: Emacs in Odd Places (2020)

#13
So happens, the "dumb terminal" he depicts as a dumb terminal is a VT320, one of the quintessential smart terminals. If you want a dumb terminal, go find a picture of an ADM 3a. (I first used emacs on a VT220, IIRC.)

Re: Emacs in Odd Places (2020)

#15

So happens, the "dumb terminal" he depicts as a dumb terminal is a VT320, one of the quintessential smart terminals. If you want a dumb terminal, go find a picture of an ADM 3a. (I first used emacs on a VT220, IIRC.)

I had a job where I used an ADM 3a hooked up to a Sun 3. It worked, but I don’t miss it. A vt320 is a lot fancier.

Re: Emacs in Odd Places (2020)

#17
post #16

I used to try installing emacs on many systems, but now I use tramp. It's super-easy to edit files over ssh on a remote system that doesn't need to have an editor installed: c-x c-f /remotehost:filename https://www.emacswiki.org/emacs/TrampMode

Likely you want to use:

        C-x C-f /ssh:remotehost:filename RET
and hope that you haven't broken it by using a weird prompt on the other end. Emacs expects to get a standard bash shell when it connects over ssh.

And for the record, it's 2023 and you can't just assume someone's keybindings. I use something more like:

    SPC f f /ssh:foo@bar:baz@quux:/etc/motd

Re: Emacs in Odd Places (2020)

#18
post #17
post #16

I used to try installing emacs on many systems, but now I use tramp. It's super-easy to edit files over ssh on a remote system that doesn't need to have an editor installed: c-x c-f /remotehost:filename https://www.emacswiki.org/emacs/TrampMode

Likely you want to use: C-x C-f /ssh:remotehost:filename RET and hope that you haven't broken it by using a weird prompt on the other end. Emacs expects to get a standard bash shell when it connects over ssh. And for the record, it's 2023 and you can't just assume someone's keybindings. I use something more like: SPC f f /ssh:foo@bar:baz@quux:/etc/motd

What’s the baz@quux part for?

Re: Emacs in Odd Places (2020)

#19

This is why I stick to a terminal based editor. You can use it practically anywhere with minimal resource usage. You can use it remotely so any machine is your workstation. You can use it on a machine without a GUI at all. With the new AI plugins I doubt even Jet Brains will be able to offer much over what Vim and Emacs can provide with fugitive, magit, fzf, etc. providing best in class features while still running o…

I have state-of-the-art gear and I mostly do everything in the terminal. Why? Because I run months long sessions in tmux that I attach to from all sorts of places and machines, including whatever notebook my youngest left around or from my phone (via Terminus) to quickly check on something. Being able to resume exactly where I left off is more important to me than fancy colors and fonts (and the mouse to too slow and…

ssh with tmux make a good default, and lately I have been trying out tramp with slime-connect and am excited about using that combo more.

Re: Emacs in Odd Places (2020)

#20
post #16

I used to try installing emacs on many systems, but now I use tramp. It's super-easy to edit files over ssh on a remote system that doesn't need to have an editor installed: c-x c-f /remotehost:filename https://www.emacswiki.org/emacs/TrampMode

You can configure autofs to access your networked filesystem seamlessly without the tramp mode qualifier in the path.
Post reply on HN