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

you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 day ago (1 child)

absolutely brilliant

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

Level unlocked

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 day 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.

  • source
  • parent