Re: [dev] st lack of scrollback

2016-09-03 Thread Pickfire
Hard for me but should be easy for you. :) On Fri, Sep 02, 2016 at 10:49:06AM -0800, Britton Kerin wrote: On Fri, Sep 2, 2016 at 1:18 AM, Jochen Sprickerhof wrote: * Britton Kerin [2016-08-30 14:21]: I don't, sorry. Given Martin's statement about scrollback patch I guess there's a good chan

Re: [dev] st lack of scrollback

2016-09-02 Thread Britton Kerin
On Fri, Sep 2, 2016 at 1:18 AM, Jochen Sprickerhof wrote: > * Britton Kerin [2016-08-30 14:21]: >> I don't, sorry. Given Martin's statement about scrollback patch I guess >> there's >> a good chance it's actually due to that. > > Please note that the patch in the Wiki is maintained by me and wo

Re: [dev] st lack of scrollback

2016-09-02 Thread Pickfire
Hi, I think using the scrollback + mouse + altscreen with the mousekey isn't a nice thing, I think I need to do a rewrite for mouse + altscreen. (I mean a single patch to do all three) On Fri, Sep 02, 2016 at 11:18:40AM +0200, Jochen Sprickerhof wrote: * Britton Kerin [2016-08-30 14:21]: I don

Re: [dev] st lack of scrollback

2016-09-02 Thread Jochen Sprickerhof
* Britton Kerin [2016-08-30 14:21]: > I don't, sorry. Given Martin's statement about scrollback patch I guess > there's > a good chance it's actually due to that. Please note that the patch in the Wiki is maintained by me and works fine. http://st.suckless.org/patches/scrollback Cheers Jochen

Re: [dev] st lack of scrollback

2016-08-30 Thread Britton Kerin
On Wed, Aug 17, 2016 at 12:18 AM, Ivan Delalande wrote: > Hi, > > On Mon, Aug 15, 2016 at 10:39:41PM -0800, Britton Kerin wrote: >> btw, st sometime seems to eat input, and fail to output lines. You >> might want to >> try it without dvtm sometime in case that program is somehow masking a bug. >

Re: [dev] st lack of scrollback

2016-08-30 Thread Britton Kerin
On Mon, Aug 15, 2016 at 10:57 PM, Martin Kühne wrote: > On Tue, Aug 16, 2016 at 8:39 AM, Britton Kerin > wrote: >> >> The point is it's *much* easier for you to do it. You know how terminal >> programming works already, I don't. I *could* do it, but it would be >> extremely >> inefficient. >>

Re: [dev] st lack of scrollback

2016-08-17 Thread Christoph Lohmann
Greetings. On Wed, 17 Aug 2016 15:09:34 +0200 Martin Kopta wrote: > Sorry about interrupting this wonderful discussion, but I would like to alert > you of something about the scrollback patch. I was porting it to the new st > (after the big refactorings) and to be completely honest, I fucked it u

Re: [dev] st lack of scrollback

2016-08-17 Thread Martin Kopta
Sorry about interrupting this wonderful discussion, but I would like to alert you of something about the scrollback patch. I was porting it to the new st (after the big refactorings) and to be completely honest, I fucked it up badly. Sure, it works and I use it everyday. Occasionally, I pull the ma

Re: [dev] st lack of scrollback

2016-08-17 Thread Ivan Delalande
Hi, On Mon, Aug 15, 2016 at 10:39:41PM -0800, Britton Kerin wrote: > btw, st sometime seems to eat input, and fail to output lines. You > might want to > try it without dvtm sometime in case that program is somehow masking a bug. Do you have more details about this? And eventually steps to repro

Re: [dev] st lack of scrollback

2016-08-16 Thread Teodoro Santoni
2016-08-16 6:39 GMT, Britton Kerin : > The problem is you imagine your weird factorization of an extremely > common bit of > terminal emulator functionality is somehow the right one. You say use > dvtm. But > dvtm is 4500 lines and I want nothing else from it. It's 95% redundant with > dwm > and

Re: [dev] st lack of scrollback

2016-08-15 Thread Martin Kühne
On Tue, Aug 16, 2016 at 8:39 AM, Britton Kerin wrote: > > The point is it's *much* easier for you to do it. You know how terminal > programming works already, I don't. I *could* do it, but it would be > extremely > inefficient. > I don't know how the current patch implements scrollback and I'm

Re: [dev] st lack of scrollback

2016-08-15 Thread Britton Kerin
On Thu, Aug 11, 2016 at 11:18 AM, Martin Kühne wrote: > On Thu, Aug 11, 2016 at 8:36 PM, Britton Kerin > wrote: >>> Fix the patches. >> >> I have no idea how and I haven't found suckless people fun to work with >> > > Interesting how you switch a virtue (writing code) with laziness > (telling ot

Re: [dev] st lack of scrollback

2016-08-12 Thread Amer
Actually, it's no more than what you have called it, hack. It works only in bash -- due to it's policy of propagating HUP to childs when main process exits. So dash, etc. are out of question -- even by applying numerous nested dirty hacks. It makes me sad, being unable to compose clean solution.

Re: [dev] st lack of scrollback

2016-08-11 Thread Quentin Carbonneaux
On Thu, Aug 11, 2016 at 10:41:03PM +0300, Amer wrote: > For me it started playing nicely only with wrapper to tmux, though. > Because I didn't liked how sessions stayed alive after killing > terminals directly through window manager. > > $ st -e r.tmux > > $ cat r.tmux > #!/bin/bash -e > trap

Re: [dev] st lack of scrollback

2016-08-11 Thread Staven
On Thu, Aug 11, 2016 at 10:36:21AM -0800, Britton Kerin wrote: > On Thu, Aug 11, 2016 at 9:42 AM, Christoph Lohmann <2...@r-36.net> wrote: > > Greetings. > > > > On Thu, 11 Aug 2016 19:42:13 +0200 Britton Kerin > > wrote: > >> I realize it's a non-goal > > > > Then why do you send this useless ma

Re: [dev] st lack of scrollback

2016-08-11 Thread Amer
Thanks for idea, but this option doesn't feet the purpose at all. It will always destroy any unattached session. Even on manual detach. And what now? Manually switch option each time before detach? Bind switching to 'd' key and hope it's robust enough solution? Moreover, what to do with global det

Re: [dev] st lack of scrollback

2016-08-11 Thread Christoph Lohmann
Greetings. On Thu, 11 Aug 2016 22:35:26 +0200 Amer wrote: > For me it started playing nicely only with wrapper to tmux, though. > Because I didn't liked how sessions stayed alive after killing > terminals directly through window manager. > > $ st -e r.tmux > > $ cat r.tmux > #!/bin/bash -e >

Re: [dev] st lack of scrollback

2016-08-11 Thread Amer
For me it started playing nicely only with wrapper to tmux, though. Because I didn't liked how sessions stayed alive after killing terminals directly through window manager. $ st -e r.tmux $ cat r.tmux #!/bin/bash -e trap "tmux kill-session -t st-$$" INT TERM EXIT tmux new-session -s st-$$

Re: [dev] st lack of scrollback

2016-08-11 Thread Teodoro Santoni
Hi, 2016-08-11 17:32 GMT, Britton Kerin : > It should be a goal because it's generally desirable and the > alternative mentioned on the web page isn't. I've fulfilled that desire by using tmux inside st.

Re: [dev] st lack of scrollback

2016-08-11 Thread Martin Kühne
On Thu, Aug 11, 2016 at 8:36 PM, Britton Kerin wrote: >> Fix the patches. > > I have no idea how and I haven't found suckless people fun to work with > Interesting how you switch a virtue (writing code) with laziness (telling others where things go). Tell me more about your management virtues. >

Re: [dev] st lack of scrollback

2016-08-11 Thread Ali H. Fardan
On 2016-08-11 20:32, Britton Kerin wrote: I realize it's a non-goal I realize there are patches that sort of work (still jumps to bottom on output unfortunately) It should be a goal because it's generally desirable and the alternative mentioned on the web page isn't. I use st because it let me

Re: [dev] st lack of scrollback

2016-08-11 Thread Britton Kerin
On Thu, Aug 11, 2016 at 9:42 AM, Christoph Lohmann <2...@r-36.net> wrote: > Greetings. > > On Thu, 11 Aug 2016 19:42:13 +0200 Britton Kerin > wrote: >> I realize it's a non-goal > > Then why do you send this useless mail? Because I care enough to call bs on stupid stuff, you should be grateful

Re: [dev] st lack of scrollback

2016-08-11 Thread Christoph Lohmann
Greetings. On Thu, 11 Aug 2016 19:42:13 +0200 Britton Kerin wrote: > I realize it's a non-goal Then why do you send this useless mail? > I realize there are patches that sort of work (still jumps to bottom > on output unfortunately) Fix the patches. > It should be a goal because it's general

[dev] st lack of scrollback

2016-08-11 Thread Britton Kerin
I realize it's a non-goal I realize there are patches that sort of work (still jumps to bottom on output unfortunately) It should be a goal because it's generally desirable and the alternative mentioned on the web page isn't. I use st because it let me control fonts precisely on new high-res mon