this post was submitted on 11 Aug 2023
789 points (95.5% liked)

linuxmemes

21222 readers
112 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 members of the community for any reason.
  • 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.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 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. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] s_s@lemmy.one 4 points 1 year ago (2 children)

    GUI is pretty unappealing once you learn CUI. Still need GUI for web browsing, though.

    [–] sharkfucker420@sh.itjust.works 2 points 1 year ago (2 children)

    I assume CUI means console user interface? Didn't know that was a thing

    [–] spikespaz@programming.dev 2 points 1 year ago

    As opposed to CLI, which is specifically command line, yes. The terminal consumes you, relieving you of both the will and necessity that would drive you to use anything else. All of your goals can be accomplished with one weapon: a clicky keyboard.

    [–] s_s@lemmy.one 1 points 1 year ago* (last edited 1 year ago)

    CUI was me messing up. I meant TUI (text user interface).

    The command line interface (CLI) is the original TUI and is always prompt and response. You're prompted for a command, you type it in and then the computer spits out the answer below.

    The original CLI were printed on a teletype machine before there were videoterminals. So if your TUI has a real typewriter-kind-of-experience, that's a CLI. So even something like cowsay is CLI.

    TUI is a more broadly encompassing term. This includes CLI, but also programs that display text or text like lines all over the screen. The popular library ncurses is generally used to make these programs. Popular examples would be vim, or emacs, or htop, things like that.

    A very simple example of a non-CLI TUI program is less. It lets you pipe output of a CLI command into it so that it can be scrolled without using only the screen buffer.

    [Edit] "Console" is a pretty unique term. Back when a computer took up an entire room, the console was the table that the computer operator sat at. Some of the earliest WWII era computers, a console might have just had a panel with indicator lights and you primarily interacted with the punchcard interface.

    But eventually, the teletype machine or videoterminal sat on the console table. So doing something "at the console" became slang for using CLI and the terms began to be used interchangeably.

    And if you want to go deeper into the weeds, there are still console table furniture you can buy for non-computer usages. Basically a console table is a kind of narrow side table you find near a door. Originally most of these tables included front legs made of "consoles" which is an ancient greek corbel (architecture element) that is shaped like a scroll.