not digg
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
slazer2au@lemmy.world to linuxmemes@lemmy.worldEnglish · 1 day ago

New EU directive drop.

lemmy.world

message-square
76
fedilink
439

New EU directive drop.

lemmy.world

slazer2au@lemmy.world to linuxmemes@lemmy.worldEnglish · 1 day ago
message-square
76
fedilink
alert-triangle
You must log in or register to comment.
  • shellington@lemmings.world
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    2 hours ago

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

    • SoftestSapphic@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      30 minutes ago

      I liked it a lot until it started asking me for money every time I saved a file.

      Now I use the built in text editor.

  • OR3X@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 hours ago

    ED IS THE STANDARD TEXT EDITOR

  • jenesaisquoi@feddit.org
    link
    fedilink
    English
    arrow-up
    9
    ·
    6 hours ago

    Defaulting to nano without consent

    This is the real crime

    • Frenchgeek@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      3 hours ago

      Okay. Proceed to set up ‘ed’ as default

      • jenesaisquoi@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 hours ago

        I’m okay with that

  • Bluewing@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    6 hours ago

    No Vim! Vi only! Yes I know if you type “vi filename.txt” you get Vim. That’s not the point. Vi is nearly 50 years old. Have some respect.

    • luciferofastora@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      I think the distinction is trivial. Or trivimial?

  • 1985MustangCobra@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 hours ago

    I’m glad a peace was found, but go vim!

  • myotheraccount@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    8 hours ago

    I don’t use Arch btw.

  • utopiah@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    9 hours 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

  • madjo@feddit.nl
    link
    fedilink
    arrow-up
    8
    ·
    9 hours ago

    nano for lyfe! what’s the fine for a “class c user experience violation”?

    • ExLisper@lemmy.curiana.net
      link
      fedilink
      arrow-up
      8
      ·
      8 hours ago

      Banishment to Windows.

      • pudgymongrel@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        edit-2
        7 hours ago

        That’s torture and a human rights violation!

      • madjo@feddit.nl
        link
        fedilink
        arrow-up
        2
        ·
        6 hours ago

        eww, ok, I’ll switch to vim

        • luciferofastora@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          1 hour ago

          You can still use nano. Just don’t make it the default for your distro or you’ll lose your Linux license.

        • somerandomperson@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          1
          ·
          2 hours ago

          steals your escape key
          Now, try to exit vim.

  • AnarchistArtificer@slrpnk.net
    link
    fedilink
    English
    arrow-up
    13
    ·
    17 hours 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

  • Æ Sea F.@infosec.exchange
    link
    fedilink
    arrow-up
    4
    ·
    13 hours ago

    @slazer2au

    Freedom of religion is a fundamental human right. Evangelization should not be punished. I protest (:

  • Brewchin@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    ·
    21 hours ago

    Awesome. And now…

    • Step 2: Tabs or spaces.
    • cally [he/they]@pawb.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 minutes ago

      4 spaces by default for indentation unless .editorconfig says otherwise.

    • bluemoon@piefed.social
      link
      fedilink
      English
      arrow-up
      10
      ·
      20 hours ago

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

    • slazer2au@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      21 hours ago

      Vertical or horizontal tabs?

      • kunaltyagi@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        9 hours ago

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

        • slazer2au@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          9 hours ago

          New?

  • Jaysyn@lemmy.world
    link
    fedilink
    arrow-up
    22
    arrow-down
    1
    ·
    21 hours ago

    LOL, I prefer nano.

    • kunaltyagi@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      9 hours ago

      There’s always a smaller editor: pico

    • DeltaWingDragon@sh.itjust.works
      link
      fedilink
      arrow-up
      6
      ·
      21 hours ago

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

      • Tja@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        15 hours ago

        Hello, EU police?

    • BlameTheAntifa@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      21 hours ago

      You pervert!

  • ashenone@lemmy.ml
    link
    fedilink
    arrow-up
    92
    arrow-down
    1
    ·
    1 day ago

    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
      link
      fedilink
      arrow-up
      26
      ·
      1 day ago

      Delete nano already.

      Let’s make micro the standard!!

      • Akatsuki Levi@lemmy.world
        link
        fedilink
        English
        arrow-up
        22
        ·
        1 day ago

        Nah, ed

        • tal@lemmy.today
          link
          fedilink
          English
          arrow-up
          20
          ·
          1 day ago

          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
            link
            fedilink
            arrow-up
            17
            ·
            22 hours ago

            • wizardbeard@lemmy.dbzer0.com
              link
              fedilink
              English
              arrow-up
              7
              ·
              22 hours ago

              Nice, an analognowhere I missed!

      • ashenone@lemmy.ml
        link
        fedilink
        arrow-up
        11
        ·
        1 day ago

        Why should micro be the standard over nano?

        • unknowing8343@discuss.tchncs.de
          link
          fedilink
          arrow-up
          13
          arrow-down
          1
          ·
          edit-2
          1 day ago

          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 (she/they/…)@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            7
            ·
            9 hours ago

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

            • svddendesire@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              1
              ·
              5 hours ago

              Removed by mod

      • katy ✨@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        21 hours ago

        make the standard code-insiders but in vim mode

  • Sentient Loom@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    26
    ·
    1 day ago

    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.

    • cally [he/they]@pawb.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 minutes ago

      Obviously Emacs with Evil mode… or Vim with Vimacs?

    • Cevilia (she/they/…)@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 hours 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)

    • pemptago@lemmy.ml
      link
      fedilink
      English
      arrow-up
      5
      ·
      21 hours ago

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

      • Sentient Loom@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 hours ago

        Of course. Why would you use the wrong editor?

    • QuazarOmega@lemy.lol
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      23 hours ago

      Which is clearly…

      The pen

      • Sentient Loom@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        The pen

        Is that a neovim plugin?

  • Lorem Ipsum dolor sit amet@lemmy.world
    link
    fedilink
    arrow-up
    29
    ·
    1 day ago

    Ed is the standard and only option.

    • dgdft@lemmy.world
      link
      fedilink
      English
      arrow-up
      21
      ·
      edit-2
      1 day ago

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

      • anton@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        10
        ·
        22 hours ago

        Remember to put

        #!/bin/rm
        

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

        • jim3692@discuss.online
          link
          fedilink
          arrow-up
          5
          ·
          10 hours ago

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

          • Cevilia (she/they/…)@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 hours ago

            rm doesn’t work on NixOS?

            Then how do you do rm -rf / --no-preserve-root?

            • utopiah@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              9 hours ago

              Not really cool to post commands like that without consideration for privileges for newcomers, make sure to use sudo first. /s

            • jim3692@discuss.online
              link
              fedilink
              arrow-up
              2
              ·
              9 hours ago

              NixOS has rm. But it’s not under /bin. There is no /bin in NixOS. The user’s programs are inside /run/current-system/sw/bin, and those are symlinks from files hidden in /nix/store.

              Running rm -rf / --no-preserve-root under NixOS, will not nuke the entire system, since /nix/store is mounted as read-only, and only remounted as rw when new applications are downloaded, or older unused ones are wiped.

              • myotheraccount@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                6 hours ago

                Does that mean it works if you happen to run it while a download is ongoing?

                • jim3692@discuss.online
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  6 hours ago

                  Maybe… I haven’t tried it to be honest. I will need to setup a VM for that, as my personal files would get wiped anyway.

                  If you want to test it yourself, try to rm while nixos-rebuild is running.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      13
      ·
      edit-2
      1 day ago

      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.

      • Lorem Ipsum dolor sit amet@lemmy.world
        link
        fedilink
        arrow-up
        15
        ·
        1 day ago

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

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

        • Samskara@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          8 hours ago

          LFS is unlikely to run on such a machine. BSD or Xenix are appropriate operating systems.

    • Jännät@sopuli.xyz
      link
      fedilink
      arrow-up
      7
      ·
      1 day ago

      TECO is clearly the correct choice

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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.
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 figures

We 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.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 698 users / day
  • 1.05K users / week
  • 6.98K users / month
  • 17.7K users / 6 months
  • 1 local subscriber
  • 27.9K subscribers
  • 976 Posts
  • 25.8K Comments
  • Modlog
  • mods:
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org