this post was submitted on 05 Nov 2025
533 points (98.4% liked)

linuxmemes

29869 readers
1123 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] ashenone@lemmy.ml 106 points 3 months ago (1 children)

    My boy nano getting a drive by. He always there for me when I need to quickly edit a conf file

    [–] unknowing8343@discuss.tchncs.de 25 points 3 months ago (3 children)

    Delete nano already.

    Let's make micro the standard!!

    [–] AkatsukiLevi@lemmy.world 22 points 3 months ago (1 children)
    [–] tal@lemmy.today 23 points 3 months ago (2 children)

    ed is, in fact, in the POSIX standard.

    https://pubs.opengroup.org/onlinepubs/9799919799/

    Shell & Utilities -> Utilities -> ed

    In fact, it looks like ex and sed, both child editors of ed, are baked into the standard. No pico-family editors.

    [–] swab148@lemmy.dbzer0.com 21 points 3 months ago (1 children)
    [–] wizardbeard@lemmy.dbzer0.com 10 points 3 months ago

    Nice, an analognowhere I missed!

    load more comments (1 replies)
    [–] ashenone@lemmy.ml 11 points 3 months ago (1 children)

    Why should micro be the standard over nano?

    [–] unknowing8343@discuss.tchncs.de 14 points 3 months ago* (last edited 3 months ago) (1 children)

    Because nano has unacceptable key combos, and no support for mouse. micro has sensible key combos, good syntax highlighting and supports mouse perfectly fine.

    [–] Cevilia@lemmy.blahaj.zone 11 points 3 months ago (1 children)

    Nano's key combos are acceptable. Source: I accept them.

    load more comments (1 replies)
    load more comments (1 replies)
    [–] LorIps@lemmy.world 30 points 3 months ago (3 children)

    Ed is the standard and only option.

    [–] dgdft@lemmy.world 23 points 3 months ago* (last edited 3 months ago) (1 children)

    EDITOR=shred too if you’re brave or having a rough day.

    [–] anton@lemmy.blahaj.zone 11 points 3 months ago (1 children)

    Remember to put

    #!/bin/rm
    

    at the top of every file, to teach people not to execute files they shouldn't.

    [–] jim3692@discuss.online 6 points 3 months ago (5 children)

    Please use "/usr/bin/env [command]". Otherwise, it will not work on NixOS

    load more comments (5 replies)
    [–] tal@lemmy.today 13 points 3 months ago* (last edited 3 months ago) (1 children)

    Ed is kinda-sorta great-granddaddy vim.

    https://en.wikipedia.org/wiki/Ed_(software)

    ed (pronounced as distinct letters, /ˌiːˈdiː/)[1] is a line editor for Unix and Unix-like operating systems. It was one of the first parts of the Unix operating system that was developed, in August 1969.

    Dennis M. Ritchie produced what Doug McIlroy later described as the "definitive" ed,[5] and aspects of ed went on to influence ex, which in turn spawned vi.

    https://en.wikipedia.org/wiki/Vi_(text_editor)

    Vim ("Vi IMproved") has many additional features compared to vi, including (scriptable) syntax highlighting, mouse support, graphical versions, visual mode, many new editing commands and a large amount of extension in the area of ex commands.

    I've never used qed, but it sounds like that might be considered even one step back:

    https://en.wikipedia.org/wiki/Ed_(software)

    Many features of ed came from the qed text editor developed at Thompson's alma mater University of California, Berkeley.

    https://en.wikipedia.org/wiki/QED_(text_editor)

    Initial release: 1967

    I guess TECO


    which I also have not used


    would kinda-sorta be the emacs analog:

    https://en.wikipedia.org/wiki/TECO_(text_editor)

    TECO (/ˈtiːkoʊ/[1]), short for Text Editor & Corrector, [2] [3][4] is both a character-oriented text editor and a programming language,[5][6] that was developed in 1962 for use on Digital Equipment Corporation computers, and has since become available on PCs and Unix. Dan Murphy developed TECO while a student at the Massachusetts Institute of Technology (MIT).

    It was subsequently modified by many other people[7] and is a direct ancestor of Emacs, which was originally implemented in TECO macros.

    EDIT: Actually...hmm. Now that I think of it, I might have briefly used TECO on a DEC VAX/VMS cluster. IIRC, I mostly used EVE, though.

    EDIT2: Hmm. Apparently someone has ported TECO to Linux:

    https://www.almy.us/teco.html

    TECO, that grand old text editor your father used when he was young, is still available! It is powerful and compact precursor to EMACS and has a completely nongraphical user interface. This is based on Pete Siemsen's TECOC implementation, and comes with a copy of the original DECUS TECO documentation.

    Do I need a paper tape punch and reader to use TECO?

    No. Modern TECOs will also edit text files.

    Is TECO fast?

    Yes, it's probably the fastest editor available

    While I'm maintaining the files as I had worked on them and downloads here, Blake McBride has taken the source code, added the video/scope mode, fixed bugs and improved the speed (not that it is slow!), documented the changes and has it available in GitHub. Go here for his work https://github.com/blakemcbride/TECOC

    tries building it

    Hah. It takes under a third of a second to compile on my system:

    $ git clone https://github.com/blakemcbride/TECOC.git
    $ cd TECOC/src
    $ time make -j32 -f makefile.linux >/dev/null 2>&1
    
    real    0m0.296s
    user    0m2.341s
    sys     0m0.874s
    $
    

    Hmm. Yeah, I don't remember how to use this at all, if I did use it. Looks like the command syntax is a little like ed's, but you whack Escape twice to execute commands. Each press of Escape displays a dollar sign.

    Intro guide Β© 1972: https://ia902906.us.archive.org/25/items/bitsavers_decpdp10TOandbook04tecoIntro_1457616/04_tecoIntro_text.pdf

    $ ./tecoc
    *Ihello, world!$$
    *EWtest.txt$$
    *EX$$
    $ cat test.txt; echo
    hello, world!
    $
    

    Clearly does work, though.

    [–] LorIps@lemmy.world 16 points 3 months ago (1 children)

    Vim is bloatware atop Ed making it insanely memory hungry and nearly unusable.

    (Send from an IBM PC with 256k memory running LFS)

    load more comments (1 replies)
    [–] jaennaet@sopuli.xyz 7 points 3 months ago

    TECO is clearly the correct choice

    [–] sentient_loom@sh.itjust.works 25 points 3 months ago (5 children)

    This "neutrality" is like giving equal voice to doctors and tobacco companies. They need to take the initiative for public health and declare the correct, ergonomic editor as international standard.

    [–] QuazarOmega@lemy.lol 9 points 3 months ago* (last edited 3 months ago) (1 children)

    Which is clearly...

    The pen

    load more comments (1 replies)
    [–] pemptago@lemmy.ml 6 points 3 months ago (1 children)

    Yes, but only if it's the editor I use /s

    [–] sentient_loom@sh.itjust.works 6 points 3 months ago

    Of course. Why would you use the wrong editor?

    [–] Cevilia@lemmy.blahaj.zone 5 points 3 months ago

    It's like giving equal voice to NASA, and to Barry who thinks the sky is a carpet painted by a god.

    "This whole International Space Station idea is patently ridiculous, what're they gonna do, hang it from the carpet?"

    (with apologies to Dara O Briain)

    load more comments (2 replies)
    [–] Brewchin@lemmy.world 25 points 3 months ago (4 children)

    Awesome. And now...

    • Step 2: Tabs or spaces.
    [–] bluemoon@piefed.social 11 points 3 months ago

    a tab is four spaces... press tab all you want...

    [–] slazer2au@lemmy.world 8 points 3 months ago (1 children)

    Vertical or horizontal tabs?

    [–] kunaltyagi@programming.dev 5 points 3 months ago (1 children)

    Slazer here opening a new front in the tabs v space war

    load more comments (1 replies)
    load more comments (2 replies)
    [–] Jaysyn@lemmy.world 22 points 3 months ago (3 children)
    [–] DeltaWingDragon@sh.itjust.works 7 points 3 months ago (1 children)

    You're in luck, it's a designated neutral editor

    load more comments (1 replies)
    [–] BlameTheAntifa@lemmy.world 6 points 3 months ago

    You pervert!

    load more comments (1 replies)
    [–] DaGeek247@fedia.io 17 points 3 months ago

    Defaulting to nano without explicit user consent will be considered a class c user experience violation

    One step forward, two steps back. I always hate how politicians can be so accommodating of the popular minority while still being so discriminatory against the less popular ones.

    [–] muzzle@lemmy.zip 17 points 3 months ago* (last edited 3 months ago) (2 children)

    I use helix, BTW. It's like vim (but backwards) and it's written in rust.

    [–] Jumuta@sh.itjust.works 14 points 3 months ago

    main selling point being that it's purple

    [–] pemptago@lemmy.ml 4 points 3 months ago

    It's like neovim if you had amnesia and forgot all the time spent installing plugins and getting your configs just right.

    [–] shellington@lemmings.world 15 points 3 months ago (8 children)

    Why does nano always get such hate. Surely as a quick simple text editor it does the job?

    load more comments (8 replies)
    [–] AnarchistArtificer@slrpnk.net 14 points 3 months ago

    Vim has long since won the war. I say that as an emacs user who is familiar with using vim because it's installed by default on the vast majority of computers I interact with nowadays

    [–] jenesaisquoi@feddit.org 13 points 3 months ago (2 children)

    Defaulting to nano without consent

    This is the real crime

    load more comments (2 replies)
    [–] utopiah@lemmy.world 13 points 3 months ago

    I was laughing out loud until I read the part on VS Code or Google Docs to "avoid ideological tensions".

    Clearly Herve Beraud is a closed source advocate, total rage bait! /s

    [–] Gobbel2000@programming.dev 13 points 3 months ago (1 children)

    All offices within the EU administration will be supplied with the officially modified flavors of eumacs and neuvim.

    load more comments (1 replies)
    [–] madjo@feddit.nl 10 points 3 months ago (1 children)

    nano for lyfe! what's the fine for a "class c user experience violation"?

    [–] ExLisper@lemmy.curiana.net 9 points 3 months ago (9 children)
    [–] pudgymongrel@lemmy.world 10 points 3 months ago* (last edited 3 months ago)

    That's torture and a human rights violation!

    load more comments (8 replies)
    [–] myotheraccount@lemmy.world 9 points 3 months ago

    I don't use Arch btw.

    [–] exu@feditown.com 8 points 3 months ago* (last edited 3 months ago)

    How do they count Neovim?
    Also, Emacs absolutely can emulate vim, making it unnecessary

    [–] 1984@lemmy.today 8 points 3 months ago (1 children)

    Isnt that the woman who bent down to Trump to fuck over Europe?

    [–] Pringles@sopuli.xyz 11 points 3 months ago (1 children)

    Depends on how you look at it. The deal she made is never going to get ratified by the EU member states, but placated Trump enough to lower his stupid tariffs to acceptable levels. I think she 100% knew the deal she agreed with him was never going in effect and she just wanted to buy time, which so far has worked.

    It makes a lot of sense to buy time for a variety of reasons. She took a hit to her image with this "deal" but she effectively accomplished all the goals she had going into those discussions. But from afar it looks like she was played.

    load more comments (1 replies)
    [–] tomiant@piefed.social 7 points 3 months ago* (last edited 3 months ago)
    [–] McMonster@programming.dev 5 points 3 months ago

    European Commision's laptops run on Windows 11 and then they need to pay for AWS to do any kind of meanigful work... And then some devs still pick Windows to run on AWS anyway!

    [–] OR3X@lemmy.world 4 points 3 months ago (1 children)

    ED IS THE STANDARD TEXT EDITOR

    [–] ShadyGrove@lemmy.world 5 points 3 months ago

    You don't need ed, emacs can emulate it.

    load more comments
    view more: next β€Ί