Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 367015

Summary: app-misc/dtach: scrollback buffer patch
Product: Gentoo Linux Reporter: yannick
Component: New packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED UPSTREAM    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Scrollback buffer patch for dtach-0.8
Patch for dtach-0.8.ebuild; ebuild applies the scrollback buffer patch if USE="scrollback" is set

Description yannick 2011-05-12 18:08:18 UTC
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
Comment 1 yannick 2011-05-12 18:09:26 UTC
Created attachment 272965 [details, diff]
Scrollback buffer patch for dtach-0.8
Comment 2 yannick 2011-05-12 18:10:55 UTC
Created attachment 272967 [details, diff]
Patch for dtach-0.8.ebuild; ebuild applies the scrollback buffer patch if USE="scrollback" is set
Comment 3 Patrice Clement gentoo-dev 2020-06-22 09:22:19 UTC
Please upstream this patch. Sorry but we don't want to support extra features. Thank you.