There are a lot of reasons why a scrollback buffer comes in handy. I found a patch by github user bogner, implementing scrollback functionality in dtach: https://github.com/bogner/dtach/commit/21ede5c752f1cadcb51d6809964e04387d012133 It seems to work without any trouble (tested on amd64). Note that the command line option "-r winch" for dtach is needed for it to work. The default scrollback buffer size of 8192 bytes seems to be reasonable. I'll attach the needed scrollback buffer patch for dtach-0.8 and a patch for the ebuild dtach-0.8.ebuild. Hope to see it included in the tree some day :) Reproducible: Always
Created attachment 272965 [details, diff] Scrollback buffer patch for dtach-0.8
Created attachment 272967 [details, diff] Patch for dtach-0.8.ebuild; ebuild applies the scrollback buffer patch if USE="scrollback" is set
Please upstream this patch. Sorry but we don't want to support extra features. Thank you.