Maybe there is a tool that does that? Maybe I’m doing this all wrong and there is a different way I should browse?

  • BonkTheAnnoyed@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    absolutely brilliant <slow clap>

    You know, I always kind of wondered what happened when I accidentally pressed control C, control V or whatnot in bash.

    Level unlocked

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

      Well…Control-C is treated by bash differently than in emacs. It basically cancels the existing line and gives you a fresh line.

      And IIRC, Control-V is also different, used to input literal control characters. Like, the terminal will handle that if it’s in cooked mode.

      checks

      $ od -x
      

      hits Control-V Control-C Enter Control-D

      ^C
      
      0000000 0a03
      0000002
      $
      

      Yeah.

      Control-U is also a notable difference I know off-the-cuff. In emacs, it’s the universal-argument prefix, which is an important way to pass arguments to functions. In readline, it’s kill-to-beginning-of-line.