Is there a shell or a terminal emulator that groups the lines produced by each command, so I can quickly scroll back up to two commands ago after the last command produced a hundred screens of nonsense?
If you have a fediverse account, you can quote this note from your own instance. Search https://mathstodon.xyz/users/christianp/statuses/114380791004205684 on your instance and quote it. (Note that quoting is not supported in Mastodon.)