Lemmy for LUS
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
learnbyexample to Linux@lemmy.mlEnglish • 2 years ago

Things You Didn't Know About GNU Readline

twobithistory.org

external-link
message-square
4
fedilink
49
external-link

Things You Didn't Know About GNU Readline

twobithistory.org

learnbyexample to Linux@lemmy.mlEnglish • 2 years ago
message-square
4
fedilink
What is GNU Readline and where did it come from?
alert-triangle
You must log in or register to comment.
  • @MonkderZweite@feddit.ch
    link
    fedilink
    8•2 years ago

    maintained by a single volunteer.

    https://xkcd.com/2347/

  • @drre@feddit.de
    link
    fedilink
    5•2 years ago

    I’m using vim mode in my bash and i agree that a mode indicator would be nice

    • wvstolzing
      link
      fedilink
      6•2 years ago

      As of bash 4.3, (which came out nearly 10 years ago) it’s possible to get readline to set a variable to do that: https://git.savannah.gnu.org/cgit/bash.git/tree/CHANGES?h=bash-4.3#n832

      I’ve haven’t used bash in a long time, but there are many questions/answers on stackoverflow that provide hints as to implementing an indicator like that. One zsh’s ‘zle’ (line editor) it’s a matter of setting an environment variable inside a custom prompt; so the bash approach should be similar.

      • @drre@feddit.de
        link
        fedilink
        5•2 years ago

        awesome! thanks the tip!

Linux@lemmy.ml

!linux@lemmy.ml
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: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 139 users / day
  • 663 users / week
  • 1.67K users / month
  • 5.85K users / 6 months
  • 8 subscribers
  • 8.22K Posts
  • 212K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @nooter692@lemmy.ml
  • @MarcellusDrum@lemmy.ml
  • Arthur Besse
  • Cyclohexane
  • @d3Xt3r@lemmy.nz
  • BE: 0.18.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org