Skunk [any]

🫘🥄🦨💨

  • 0 Posts
  • 1 Comment
Joined 4 months ago
cake
Cake day: July 25th, 2026

help-circle
  • This is probably know to most but I found out in the most hilarious way that Ctrl-R in bash lets you search through past commands.

    Someone was complaining about Ctrl-S not working in term-mode on emacs and Ctrl-R behaving weird in term-mode in emacs. So I looked at it myself and indeed it does! Well term-mode can be set in char-mode (every key-stroke except C-c is sent to the terminal immediately) vs line-mode (input is sent to the terminal only after hitting Enter, allowing for emacsy input editing before submission). Now in line-mode C-s and C-r work as they do in emacs, but then it hit me that the “weird” C-r search in char-mode must therefore be part of bash and sure enough it does the exact same thing in gnome-terminal as well lol.