News for hackers. Stuff that matters.
Re:The Linux Upskill Challenge by cbsks on Friday February 03, 2023 @11:19PM (#34651473)
I’m on team vim, but it is still interesting to me that the challenge has vim but not emacs. I would think that an introduction to Linux would include both.
Re:The Linux Upskill Challenge by asicsp on Friday February 03, 2023 @11:49PM (#34651639)
Probably because emacs is not installed by default?
Re:The Linux Upskill Challenge by sigjuice on Saturday February 04, 2023 @03:36AM (#34652805)
TRAMP could also work, depending on the situation.
Re:The Linux Upskill Challenge by xylophile on Friday February 03, 2023 @11:50PM (#34651645)
Regardless of which team you're on or why, the base installs of almost every distro includes vi or vim, but many leave out emacs and nano. Since you have to pick one editor to be the first one taught, it makes sense to teach vim to avoid losing the learner.
Re:The Linux Upskill Challenge by analognoise on Saturday February 04, 2023 @12:08AM (#34651726)
This is as it should be.

Emacs is about enlightenment; enlightenment is a path to be walked not a destination; it is a journey you must choose.

Along the way, you might accidentally edit text files. That's not the point.

Anyway, makes sense to me why it's not default included.

Re:The Linux Upskill Challenge by ttrefa on Saturday February 04, 2023 @03:00AM (#34652627)
> Emacs is about enlightenment;

And that's why I'm on team Vim. I rather not use a tool that needs/uses cult-like slogans to convince people to keep them hooked. I want the usefulness to be the reason, not some kind of belief system.

Re:The Linux Upskill Challenge by imwillofficial on Saturday February 04, 2023 @03:50AM (#34652891)
It was a joke my friend
Re:The Linux Upskill Challenge by pxc on Saturday February 04, 2023 @03:51AM (#34652896)
It's just a bit of playfulness.

Nobody is 'hooked' on Emacs because of slogans. A person uses Emacs because they like it.

Re:The Linux Upskill Challenge by bbarnett on Saturday February 04, 2023 @09:25AM (#34654708)
But... that's what alcoholics say!
Re:The Linux Upskill Challenge by mdiesel on Saturday February 04, 2023 @06:26AM (#34653610)
A defining feature of cults is how difficult it is to leave...

:q!

Re:The Linux Upskill Challenge by tryauuum on Saturday February 04, 2023 @10:22AM (#34655107)
Have you ever tried exiting emacs? It's not easier than vim.
Re:The Linux Upskill Challenge by hgfsxvju on Saturday February 04, 2023 @10:59AM (#34655381)
Lol "team vim," spoken like someone who doesn't know what Emacs is at all

I use a vim implemented in Emacs Lisp -- evil-mode -- so I can have access to the rest of the usefulness of Emacs while also having everything model editing has to offer

The GP is joking, but I'll happily use a vim in Emacs while the reverse is impossible, and you can figure out what that means for your belief system

I also just use regular vim sometimes

Tools aren't teams

Re:The Linux Upskill Challenge by slater on Saturday February 04, 2023 @11:06AM (#34655442)
He said, rooting for a tool.
Re:The Linux Upskill Challenge by dizhn on Saturday February 04, 2023 @10:08AM (#34655017)
Surely we can all agree that nano (pico) is a toy compared to either.
Re:The Linux Upskill Challenge by rascul on Saturday February 04, 2023 @02:11PM (#34657139)
Nano has a lot of functionality. Not really a toy.
Re:The Linux Upskill Challenge by lo_zamoyski on Saturday February 04, 2023 @10:29AM (#34655157)
> enlightenment is a path to be walked not a destination

There is no path without an end.

Re:The Linux Upskill Challenge by randomNumber7 on Saturday February 04, 2023 @05:18AM (#34653315)
I don't understand why so many distros ship vi instead of vim. Vim was realeased as an improvement in 1991!!!
Re:The Linux Upskill Challenge by ihatepython on Saturday February 04, 2023 @06:54AM (#34653769)
To save precious disk space
Re:The Linux Upskill Challenge by chasd00 on Saturday February 04, 2023 @08:23AM (#34654275)
Including Vi-improved would be complicit in the assumption there was an imperfection in vi.
Re:The Linux Upskill Challenge by GuB-42 on Saturday February 04, 2023 @09:20AM (#34654669)
I am not aware of many distros shipping the original vi today. However, a lot of them ship busybox, which is a self-contained and lightweight collection of standard UNIX tools, including a simplified vi. If you have a UNIX shell on an embedded system, there is a good chance it is running busybox.

vim is an order of magnitude bigger than the entire busybox package. In fact, it may be bigger than the entire system.

Re:The Linux Upskill Challenge by chasd00 on Saturday February 04, 2023 @08:21AM (#34654250)
Clearly, you would only want to focus on the superior editor. /smile
Re:The Linux Upskill Challenge by pxc on Saturday February 04, 2023 @03:58AM (#34652932)
In this day and age, an intro to Linux should probably recommend an editor which has CUA shortcuts by default, like micro, or most GUI editors.

I don't think an intro to GNU/Linux really also needs to be an intro to a text editor at all. Just teach people the man command, tell them a few of the editors that exist, and maybe mention tools like vimtutor.

Re:The Linux Upskill Challenge by chasd00 on Saturday February 04, 2023 @08:25AM (#34654290)
To be sorta serious about editors for a min. I think console editors should definitely be in there because a lot of Linux access takes place over ssh without a GUI.
Re:The Linux Upskill Challenge by lrvick on Saturday February 04, 2023 @08:57AM (#34654512)
And Vi/Vim is present everywhere, so it is a must for sysadmins.
Re:The Linux Upskill Challenge by pxc on Saturday February 04, 2023 @01:09PM (#34656578)
Sysadmins can install whatever editor(s) they prefer!
Re:The Linux Upskill Challenge by lrvick on Wednesday February 08, 2023 @02:24PM (#34713409)
Thee ability to modify the root filesystem should never exist on a production system.
Re:The Linux Upskill Challenge by ndsipa_pomu on Saturday February 04, 2023 @09:57AM (#34654945)
I've been using and administering linux machines for decades and I can't remember ever using emacs. I still only know the real basics of vi - how to insert/delete and most importantly how to save and quit or quit without saving. Anything requiring more manipulation (even copy/pasting), I switch to something like Geany instead.

The point of learning vi is that it's nearly always available, even on a broken system and is often a key part of fixing broken systems, so learning the basics of it is more or less essential. Not even just Linux - I've had to bring up vi on an ancient HP-UX system once to get it to boot.