Browsing GNU less without killing tail: tail, using unbuffer and trap

1 · Shane Mulligan · Jan. 5, 2020, 4 p.m.
tail, unbuffer and trap are 3 things which are useful together. tail usually stops reading if it receives SIGINT, which is created by pressing C-c. C-c is useful to be pressed inside less to prevent it from reading so you can navigate what has entered so far. unbuffer -p disables output buffering for grep. You can also use sed -u instead of grep but then you have to consider escaping....