Re: [dev] Scrollback utility for use with st

From: Laslo Hunhold <dev_AT_frign.de>
Date: Mon, 6 Apr 2020 13:38:09 +0200

On Mon, 6 Apr 2020 13:27:21 +0200
Laslo Hunhold <dev_AT_frign.de> wrote:

> I'm definitely not an expert in terminal emulators (Roberto, Hiltjo
> and Christoph are), but the case is pretty clear to me when I look at
> scroll[0], which Jan and Jochen are working on right now.
> If you look at scroll.c, you can see that the tool deals pretty
> intensely with escape codes.

And just to add to this thought: Sure, scroll does not reimplement an
entire terminal emulator, but still, what I meant is that they have to
substantially reimplement many of the functions a terminal emulator
has. Added to this, scroll does not yet solve the cutting off of lines
on resize. For this, it needs to detect a terminal-resize and redraw
the screen, adding more to complexity.

We are already at 300+ LOC with scroll, and even if the changes in st
are not merely 50-80 LOC to address the two problems I mentioned
earlier, they sure will be below 300 LOC.

With best regards

Laslo
Received on Mon Apr 06 2020 - 13:38:09 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 06 2020 - 13:48:09 CEST