Is there an editor like emacs, vim, etc. but (solely) used in the BSD world? reddit / BSD ---------------------------------------------------------------------- domzen · 2022-09-23 19:51 Hello there! I’m from the Linux universe, beloved brethren but every once in a while I look over “the fence” and see what’s going over there, at BSD. Anyway, recently I asked myself if I should learn more about Emacs as I otherwise use nano and vim. When I looked into emacs, I realised that this belongs to the GNU project as in GNU/Linux. That’s when I wondered if there is an equivalent in BSD, maybe even under a BSD license distributed? Thanks for the answers. :) ---------------------------------------------------------------------- crashj · 2022-09-23 20:05 https://en.wikipedia.org/wiki/Vi ---------------------------------------------------------------------- domzen · 2022-09-23 20:12 XD You got me here. And yes, you’re absolutely right. But in my head I already excluded this one (vi). Maybe I should have mentioned this to be more clear here. Is there anything more modern out there than (vi) with a BSD license? ---------------------------------------------------------------------- rhabarba · 2022-09-23 20:14 > When I looked into emacs, I realised that this belongs to the GNU project as in GNU/Linux. Linux is one of GNU's kernels, and the GNU operating system does not require it. That said, there is a wide variety of Emacsen, with GNU Emacs only being one of them. OpenBSD, for example, comes with a version of `mg` which is a Public Domain-licensed implementation of Emacs. ---------------------------------------------------------------------- crashj · 2022-09-23 20:22 The nvi2 suite contains multiple editors and is imported by FreeBSD into /usr/bin. It's the current state of the art. https://github.com/lichray/nvi2 ---------------------------------------------------------------------- ComfyRug · 2022-09-23 21:20 Emacs is older than Linux and BSD. (Emacs is fun, use that) ---------------------------------------------------------------------- tcmart14 · 2022-09-23 21:22 GNU Emacs was started in the late 70s to 80s? So there isn't really anything specific around it with its connection to Linux since Linux wasn't a thing until around 1992. Most text editors are meant to be cross platforms anyways. Especially with Emacs, a common joke that really does feel real sometimes is that GNU Emacs is often it's own OS unto itself, or "A good Operating system but bad text editor." The license is pretty just a license is most cases with text editors, it should be more about how you feel comfortable editing text and makes you feel more productive. If your just interested in trying different text editors besides the canonical 3 (Emacs, Vim, Nano), there are some interesting ones out there. JED and Joe's Own Editor are cool to look at and play with. Zee us akin to a MicroEmacs or PicoEmacs, but written in Rust (dual licensed Apached and MIT). ---------------------------------------------------------------------- rhabarba · 2022-09-23 22:59 GNU was started in the 80s. TECO EMACS predates GNU, it was later rewritten and became the first GNU application though as far as I remember. ---------------------------------------------------------------------- gumnos · 2022-09-24 00:00 `ed(1)` on BSD is distinct from GNU `ed` (which broke some of my common usage patterns in version 1.14). However, [it is portable](https://github.com/ibara/oed) so could be built on Linux if you want. :-) ---------------------------------------------------------------------- gumnos · 2022-09-24 00:03 Oh, and if `emacs` is your thing, OpenBSD has [`mg`](https://man.openbsd.org/mg.1) which I understand is a bit emacs-like in its operation. That said, I'm a `vi`/`ed` sorta guy and haven't really had cause to try it out. ---------------------------------------------------------------------- tcmart14 · 2022-09-24 01:19 Emacs history is pretty crazy. There were many different iterations and versions, some still standing today. ---------------------------------------------------------------------- domzen · 2022-09-24 04:36 Thanks for mentioning ed! I totally forgot about that one. In fact I just saw it once in a video from the YouTube channel of robonuggie. ---------------------------------------------------------------------- roarde · 2022-09-24 05:30 [Kakoune](https://kakoune.org/) fails your request on two counts: * It's not BSD-anything * It's not licensed; Unlicense is *not* a license, but a public-domain statement. You may be interested anyway. ---------------------------------------------------------------------- notpeter · 2022-09-24 17:56 mg (MicroGNUEmacs) despite the name is not affiliated with GNU and is a fork of MicroEmacs which is a clone of GNU Emacs. Basically it’s a lightweight, portable, emacs-style editor maintained by OpenBSD with a public domain license. https://github.com/troglobit/mg/ ---------------------------------------------------------------------- vivekkhera · 2022-09-27 04:22 One of the many versions of emacs called [JOVE](https://github.com/jonmacs/jove) is one that I used for many years until computers got fast enough that running full GNU emacs for even tiny edits was quick. I no longer use it. It has a long history in BSD systems. James Gosling also had his own version of emacs (often referred to as gosmacs) but the source code was not generally available and it really only ran well on Sun workstations, which were also BSD based until they rewrote it and renamed it Solaris.