Re: [dev] [st] Use scroll with arguments

2020-07-06 Thread tuxway+suckless
Let me know if it works. Hi mat, thanks for the help. I tried it, but it doesnt't seem to work, ST won't start. I guess the problem is related to the assignment of the args array with the DEFAULT macro. This might not work within the if statement, thus the args array maybe has no content.

Re: [dev] [st] Use scroll with arguments

2020-07-05 Thread Mateusz Okulus
> As far as I see, its only possible to specify e.g. "scroll" but not "scroll > -m 1000" to limit the scrollback buffer size. You can try this. Look at execsh in st.c, find line using: grep -n ^execsh st.c Change: DEFAULT(args, ((char *[]) {prog, arg, NULL})); to: if(scroll) DEFAULT(ar

Re: [dev] [st] Use scroll with arguments

2020-07-03 Thread tuxway+suckless
Dear mat, This patch has kscroll{up,down} that takes an argument. https://st.suckless.org/patches/scrollback/ thanks, I know these patches. But I'm interessted in the new possibility to specify an external scrollback application within st. As far as I see, its only possible to specify e.g. "

Re: [dev] [st] Use scroll with arguments

2020-07-03 Thread Mateusz Okulus
This patch has kscroll{up,down} that takes an argument. https://st.suckless.org/patches/scrollback/ Regards, mat signature.asc Description: PGP signature

[dev] [st] Use scroll with arguments

2020-07-03 Thread tuxway+suckless
Hello Suckless, is it possible to use arguments for scroll (e.g. -m or -M) within config.h of st? Currently I only can specify scroll itself without any argument using "char *scroll = "scroll";". Best regards