this post was submitted on 11 Aug 2023
800 points (95.7% liked)

linuxmemes

21410 readers
998 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!


    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 fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] 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.