News for hackers. Stuff that matters.
Re:The JED Programmer's Editor (2017) by m463 on Saturday May 02, 2020 @09:23PM (#23056168)
I used to use lightweight editors on small systems like vi (not vim, the smaller vi).

But when I discovered emacs tramp mode, I sort of got away from that.

emacs comes with tramp mode built-in and allows you to edit a file on even very small embedded devices using only ssh.

I think it might work on telnet or other protocols, but I've never tried them.

for example

  emacs /ssh:foo:/etc/bar.cfg
where ssh is the protocol, foo is the machine name and /etc/bar.cfg is the file on foo to edit.

or

  emacs /ssh:user@host:.profile
Re:The JED Programmer's Editor (2017) by dan-robertson on Sunday May 03, 2020 @09:19AM (#23058817)
The thing which I wish was easy is having ssh pass enough things forward (and backward) that you can ssh somewhere, run emacsclient on a file and have that file show up (via tramp) in your emacs.

It’s just about possible but hard and hacks and not really supported by ssh.

Re:The JED Programmer's Editor (2017) by smitty1e on Saturday May 02, 2020 @10:36PM (#23056463)
The syntax for tramp-mode is on the arcane side.
Re:The JED Programmer's Editor (2017) by m463 on Saturday May 02, 2020 @10:48PM (#23056523)
I mostly use emacs /ssh:ab:.bashrc which I think compares favorably with

  ssh ab
  emacs .bashrc
(or anything with a URL)

my .ssh/config contains a "Host ab" section for particulars about logging into the machine.

Although you have a point. For instance there is a weird bug or two in tramp mode, like (absolute-file-p "/ssh:ab:.bashrc") erroneously returns t

Re:The JED Programmer's Editor (2017) by TeMPOraL on Sunday May 03, 2020 @09:42AM (#23058924)
What's arcane in /[protocol]:[login]@[machine]:[path to remote file]?