Re: [dev] Scrollback utility for use with st

2020-04-06 Thread Anselm Garbe
Hi there, On Sun, 5 Apr 2020 at 04:00, Laslo Hunhold wrote: > On Sun, 5 Apr 2020 12:11:09 +0200 > Georg Lehner wrote: > > A question: why is the scrollback-patch not included in `st` already > > exactly my point. I see no reason why there can't at least be a > scrollback, which defaults to 0 in

Re: [dev] Scrollback utility for use with st

2020-04-06 Thread v4hn
On Mon, Apr 06, 2020 at 04:43:04PM +0200, Laslo Hunhold wrote: > but I first wanted to test the waters and see how the general opinion here is. Well, unless the hardcore scrollback-is-for-wimps-and-too-hard-to-maintain crew hid somewhere until now, there seems to be general agreement that everyone

Re: [dev] Scrollback utility for use with st

2020-04-06 Thread Laslo Hunhold
On Mon, 06 Apr 2020 09:58:06 -0400 "Greg Reagle" wrote: Dear Greg, > Yes that happen to me occasionally, which is why I use the scrollback > patch for st. I find it much easier to hit Shift+PageUp than to > rerun a command. And when the output of a command changes with time, > re-running it mi

Re: [dev] Scrollback utility for use with st

2020-04-06 Thread Greg Reagle
On Mon, Apr 6, 2020, at 04:40, Laslo Hunhold wrote: > On Mon, 06 Apr 2020 08:48:38 +0200 > "Silvan Jegen" wrote: > But how often do you get some output and think "oh, I > actually needed that" Yes that happen to me occasionally, which is why I use the scrollback patch for st. I find it much eas

Re: [dev] Scrollback utility for use with st

2020-04-06 Thread Hadrien Lacour
On Mon, Apr 06, 2020 at 01:38:09PM +0200, Laslo Hunhold wrote: > On Mon, 6 Apr 2020 13:27:21 +0200 > Laslo Hunhold 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

Re: [dev] Scrollback utility for use with st

2020-04-06 Thread Laslo Hunhold
On Mon, 6 Apr 2020 13:27:21 +0200 Laslo Hunhold 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 t

Re: [dev] Scrollback utility for use with st

2020-04-06 Thread Laslo Hunhold
On Mon, 6 Apr 2020 11:43:29 +0200 Hadrien Lacour wrote: Dear Hadrien, > If what you said is true about having to reimplement a terminal > emulator in the scrollback utility, it completely makes sense to > integrate it. I'm definitely not an expert in terminal emulators (Roberto, Hiltjo and Chri

Re: [dev] Scrollback utility for use with st

2020-04-06 Thread Hadrien Lacour
On Mon, Apr 06, 2020 at 10:40:32AM +0200, Laslo Hunhold wrote: > On Mon, 06 Apr 2020 08:48:38 +0200 > "Silvan Jegen" wrote: > > Dear Silvan, > > > I honestly never use tmux either. If I think I may need the output of > > a program, I just redirect it to a file/editor/pager. > > yeah, same here. Bu

Re: [dev] Scrollback utility for use with st

2020-04-06 Thread Laslo Hunhold
On Mon, 06 Apr 2020 08:48:38 +0200 "Silvan Jegen" wrote: Dear Silvan, > I honestly never use tmux either. If I think I may need the output of > a program, I just redirect it to a file/editor/pager. yeah, same here. But how often do you get some output and think "oh, I actually needed that" and

Re: [dev] Scrollback utility for use with st

2020-04-06 Thread Silvan Jegen
Dear Laslo Laslo Hunhold wrote: > On Sun, 05 Apr 2020 16:52:15 +0200 > "Silvan Jegen" wrote: > > Dear Silvan, > > > Yes, the scrollback buffer can be implemented by a different tool like > > tmux for example. That's why this functionality is not implemented in > > st from what I understand. Se

Re: [dev] Scrollback utility for use with st

2020-04-05 Thread Laslo Hunhold
On Sun, 05 Apr 2020 16:52:15 +0200 "Silvan Jegen" wrote: Dear Silvan, > Yes, the scrollback buffer can be implemented by a different tool like > tmux for example. That's why this functionality is not implemented in > st from what I understand. Separation of concerns and so on. > > I can see why

Re: [dev] Scrollback utility for use with st

2020-04-05 Thread Georg Lehner
On 4/5/20 2:58 PM, Greg Reagle wrote: On Sun, Apr 5, 2020, at 06:57, Laslo Hunhold wrote: On Sun, 5 Apr 2020 12:11:09 +0200 Georg Lehner wrote: A question: why is the scrollback-patch not included in `st` already exactly my point. I see no reason why there can't at least be a scrollback, whic

Re: [dev] Scrollback utility for use with st

2020-04-05 Thread Silvan Jegen
Hi "Greg Reagle" wrote: > On Sun, Apr 5, 2020, at 06:57, Laslo Hunhold wrote: > > On Sun, 5 Apr 2020 12:11:09 +0200 > > Georg Lehner wrote: > > > A question: why is the scrollback-patch not included in `st` already > > > > exactly my point. I see no reason why there can't at least be a > > scro

Re: [dev] Scrollback utility for use with st

2020-04-05 Thread Greg Reagle
On Sun, Apr 5, 2020, at 06:57, Laslo Hunhold wrote: > On Sun, 5 Apr 2020 12:11:09 +0200 > Georg Lehner wrote: > > A question: why is the scrollback-patch not included in `st` already > > exactly my point. I see no reason why there can't at least be a > scrollback, which defaults to 0 in config.h.

Re: [dev] Scrollback utility for use with st

2020-04-05 Thread Laslo Hunhold
On Sun, 5 Apr 2020 12:11:09 +0200 Georg Lehner wrote: Dear Georg, > A question: why is the scrollback-patch not included in `st` already exactly my point. I see no reason why there can't at least be a scrollback, which defaults to 0 in config.h. Wouldn't this make all sides happy? With best re

Re: [dev] Scrollback utility for use with st

2020-04-05 Thread Georg Lehner
On 4/3/20 9:17 AM, Laslo Hunhold wrote: On Thu, 2 Apr 2020 21:14:11 +0200 Georg Lehner wrote: Dear Georg, ... at this point, why not just use the scrollback-patch? With best regards Laslo Finally I felt nudged to test the scrollback patches. Nice work! Two of the patches failed - the la

Re: [dev] Scrollback utility for use with st

2020-04-03 Thread Laslo Hunhold
On Thu, 2 Apr 2020 21:14:11 +0200 Georg Lehner wrote: Dear Georg, > I just figured out, that `st` already has an unlimited scrollback > buffer > - kind of. > > Run `st -o /tmp/unlimited_scrollbackbuffer`. > > Than inside the `st` terminal, you can `less`, `vi` ... whatever you > want. > > Fo

Re: [dev] Scrollback utility for use with st

2020-04-02 Thread Georg Lehner
I just figured out, that `st` already has an unlimited scrollback buffer - kind of. Run `st -o /tmp/unlimited_scrollbackbuffer`. Than inside the `st` terminal, you can `less`, `vi` ... whatever you want. For a starter try: `less -r +G /tmp/unlimited_scrollbackbuffer` Of course it makes sense

Re: [dev] Scrollback utility for use with st

2020-04-02 Thread Greg Reagle
On Wed, Apr 1, 2020, at 16:51, Lehner Georg wrote: > That is absolutely great! R.I.P `sb`. If a standalone scrollback program were good enough, could it be used to replace the scrollback code in tmux, dvtm, xterm? Would that be a good idea? Do you think the developers of these programs would b

Re: [dev] Scrollback utility for use with st

2020-04-01 Thread Lehner Georg
Hi Jochen, That is absolutely great! R.I.P `sb`. Best Regards, Georg On 4/1/20 10:04 AM, Jochen Sprickerhof wrote: Hi Georg, * Lehner Georg [2020-03-31 09:42]: The result is `sb` the scrollback buffer utility.  Get it here: https://at.magma-soft.at/darcs/sb/ https://at.magma-sof

Re: [dev] Scrollback utility for use with st

2020-04-01 Thread Jochen Sprickerhof
Hi Georg, * Lehner Georg [2020-03-31 09:42]: 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 Nice :). Incidentally younix and me are working on a similar project based on the i

Re: [dev] Scrollback utility for use with st

2020-03-31 Thread Lehner Georg
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

Re: [dev] Scrollback utility for use with st

2020-03-31 Thread Ivan Tham
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

[dev] Scrollback utility for use with st

2020-03-31 Thread Lehner Georg
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 kee