• rothaine@lemmy.zip
    link
    fedilink
    arrow-up
    27
    ·
    6 months ago

    Fun read!

    And even today, anyone who has worked on a project where some developers are on Windows and some are not has probably encountered the fun that is configuring autocrlf in Git: Windows uses CRLF (“carriage return, line feed”) as a line ending in text files, while other systems just use LF.

    • hperrin@lemmy.ca
      link
      fedilink
      English
      arrow-up
      8
      ·
      6 months ago

      Personally, I think carriage return line feed makes more sense in the context of a printer carriage. But then, how often are people using printers like that?

      • Onomatopoeia@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        6 months ago

        It was probably designed like that because line printers were the thing in the early days of Windows.

        • deadbeef79000@lemmy.nz
          link
          fedilink
          arrow-up
          5
          ·
          6 months ago

          That’s in TFA.

          Having two characters: CR followed by LF allowed time for a teletype to physically return its carriage before printing the next printable character.

        • Default Username@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          6 months ago

          Not sure about that. Even the IBM 5150, which was the computer where DOS was first released and also coined the term “PC”, had a video card come as standard.