{"id":787,"date":"2021-12-11T19:30:44","date_gmt":"2021-12-11T19:30:44","guid":{"rendered":"https:\/\/blog.thomarite.uk\/?p=787"},"modified":"2021-12-11T19:32:30","modified_gmt":"2021-12-11T19:32:30","slug":"tty-scrollback-tmux","status":"publish","type":"post","link":"https:\/\/blog.thomarite.uk\/index.php\/2021\/12\/11\/tty-scrollback-tmux\/","title":{"rendered":"tty scrollback &#8211; tmux"},"content":{"rendered":"\n<p>One of the things I had in my to-learn list after rebuilding my laptop was how to scrollback using the tty console (Ctr+F1, etc). I searched and <a href=\"https:\/\/forums.fedoraforum.org\/showthread.php?324400-How-to-navigate-within-tty-terminal\">this<\/a> gave some hope. I tried to see how to do it in Debian as the steps mentioned looked like for Fedora only. This new <a href=\"https:\/\/unix.stackexchange.com\/questions\/346018\/how-to-increase-the-scrollback-buffer-size-for-tty\">link<\/a>  looked promising but no joy.<\/p>\n\n\n\n<p>It seems the scrollback support was dropped from kernet 5.9 onwards based on this <a href=\"https:\/\/www.phoronix.com\/scan.php?page=news_item&amp;px=Linux-5.9-Drops-Soft-Scrollback\">link<\/a>. The lack of a maintainer was the main reason (there were security issues that needed <a href=\"https:\/\/www.reddit.com\/r\/debian\/comments\/kxbfm8\/debian10_how_to_enable_scrollback_on_tty\/\">attention<\/a>). I run 5.15.<\/p>\n\n\n\n<p>But as workaround, you can use &#8220;<a href=\"https:\/\/tmuxcheatsheet.com\/\">tmux<\/a>&#8221; when in the tty and use its scrollback option. tmux is a tool that I would like to learn \ud83d\ude41 I normally use &#8220;terminator&#8221;. Although I can use both&#8230;<\/p>\n\n\n\n<p>How to scrollback in tmux? <a href=\"https:\/\/www.runrails.com\/tmux\/scrolling-in-tmux\/\">Here<\/a>. So &#8220;ctrl+b&#8221; then [. Then you can use Fn+PgUp in my case to go up one page. It<\/p>\n\n\n\n<p>A bit of <a href=\"https:\/\/linuxgazette.net\/143\/anonymous.html\">history<\/a> about Linux console scrollback.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the things I had in my to-learn list after rebuilding my laptop was how to scrollback using the tty console (Ctr+F1, etc). I searched and this gave some hope. I tried to see how to do it in Debian as the steps mentioned looked like for Fedora only. This new link looked promising &hellip; <a href=\"https:\/\/blog.thomarite.uk\/index.php\/2021\/12\/11\/tty-scrollback-tmux\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;tty scrollback &#8211; tmux&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-787","post","type-post","status-publish","format-standard","hentry","category-unix"],"_links":{"self":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/comments?post=787"}],"version-history":[{"count":3,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/787\/revisions"}],"predecessor-version":[{"id":790,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/787\/revisions\/790"}],"wp:attachment":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/media?parent=787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/categories?post=787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/tags?post=787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}