Re: [dev] Scrollback utility for use with st

From: Lehner Georg <jorge_AT_at.anteris.net>
Date: Tue, 31 Mar 2020 11:13:22 +0200

It's not a patch for st. It is a standalone program. And it is
definitely a different codebase.

Regards,

   Georg
On 3/31/20 10:10 AM, Ivan Tham wrote:
> Is not that the same as st scrollback patch?
>
> On Tue, Mar 31, 2020 at 09:42:34AM +0200, Lehner Georg wrote:
>> Hello,
>>
>> A non goal of `st` is to provide a scrollback buffer - `dvtm` or
>> `tmux` is proposed for this task.
>>
>> Since launching several `st`s already DOES provide multiple terminals
>> I couldn't see the point in using them.  So I decided to rip the
>> session and window stuff out of `dvtm` and only keep the scrollback
>> buffer implementation.
>>
>> The result is `sb` the scrollback buffer utility.  Get it here:
>>
>>     https://at.magma-soft.at/darcs/sb/
>>     https://at.magma-soft.at/darcs/sb/sb-0.1.tar.gz
>>
>> I run it as follows:
>>
>>     tabbed -c -r 2 st -w '' -t st sb
>>
>> This gives me a vt environment similar to my battle-scarred
>> xfce4-terminal but without the steroids AND I can scroll back/forth in
>> history with Shift-PgUp/Shift-PgDown.
>>
>> Some notes:
>>
>> - `sb` does NOT pretend to be a virtual terminal, and leaves the TERM
>>   variable alone (mostly).
>>
>> - `sb` features less then 2500 sloc and a 49k binary.
>>  `dvtm`: 4000+ slock and 55k.
>>
>> - `dvtm` effectively implements it's own terminal emulator, which
>>   comprises also most of the remnant code in `sb`.
>>
>> - `sb` behavior is buggy in several aspects, e.g. window redraw and
>>  "copy mode".
>>
>> Maybe someone more savvy with vt than I can help rip out everything
>> that's not needed.
>>
>> Best Regards,
>>
>>  Georg
>>
>>
>
Received on Tue Mar 31 2020 - 11:13:22 CEST

This archive was generated by hypermail 2.3.0 : Tue Mar 31 2020 - 11:24:09 CEST