Re: [hackers] [surf][PATCH] Add support for wayland based compositors.

2023-04-04 Thread Jochen Sprickerhof
I've pushed a similar/more complete patch using dmenu-wl[1] here: https://gitlab.com/jspricke/surf/-/commit/3787ac989303a316ad08cb4c1a26fc5258ce7926 [1] https://github.com/nyyManni/dmenu-wayland Cheers Jochen * hazardchem [2023-04-04 18:07]: This doesn't fix sending a URL via dmenu in config

Re: [hackers] [dmenu] inputw: improve correctness and startup performance || NRK

2022-04-29 Thread Jochen Sprickerhof
* Laslo Hunhold [2022-04-29 20:05]: On Fri, 29 Apr 2022 22:55:31 +0600 NRK wrote: Dear NRK, While you've asked this to Hiltjo, I figured I'd give my 2c on this since I've been trolling around the dmenu code base a bit recently. Most of the heavy-lifting is currently done via libsl, however

Re: [hackers] [dmenu] inputw: improve correctness and startup performance || NRK

2022-04-29 Thread Jochen Sprickerhof
Hi Laslo, * Laslo Hunhold [2022-04-29 16:57]: Yes, a progress indicator would be nonsense in the general case of course. In the general case, though, dmenu won't block when reading from stdin and I proposed a "busy" indication only in the case a read from stdin blocks. What I proposed was that

[hackers] [svkbd][PATCH] Force installing executable

2021-02-25 Thread Jochen Sprickerhof
So we don't fail if it is executed at the same time. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 076c8b0..e82704e 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ dist: install: all mkdir -p ${DESTDIR}${PREFIX}/bin -

Re: [hackers] [surf][patch] Update URI atom for WEBKIT_LOAD_COMMITTED event too

2020-08-23 Thread Jochen Sprickerhof
Hi Leonardo, * Leonardo Taccari [2020-08-23 09:59]: The attached patch in this email fix this issue. Thanks! +1 for including in master. Cheers Jochen signature.asc Description: PGP signature

Re: [hackers] [st] Remove ^E and ^Y

2020-05-16 Thread Jochen Sprickerhof
Applied, thx. I think one way forward would be: http://st.suckless.org/patches/fix_keyboard_input/ Cheers Jochen * k0ga [2020-05-16 10:46]: Sorry, this patch is for scroll, no for st. On Sat, May 16, 2020 at 09:57:28AM +, Roberto E. Vargas wrote: ^E and ^Y are characters reserved by P

Re: [hackers] [scroll] Revert "Revert "Ignore carriage return in history"" || Jochen Sprickerhof

2020-05-04 Thread Jochen Sprickerhof
* Ivan J. [2020-05-04 10:47]: On 4 May 2020 08:58:42 CEST, g...@suckless.org wrote: commit 0e8130becf0f5d73cf16f262664248f5b1a813fc Author: Jochen Sprickerhof AuthorDate: Mon May 4 08:58:38 2020 +0200 Commit: Jochen Sprickerhof CommitDate: Mon May 4 08:58:38 2020 +0200 Revert

Re: [hackers] [scroll-vanilla][PATCH] Fix warning for too many arguments for format

2020-04-30 Thread Jochen Sprickerhof
Thanks! * Steve Ward [2020-04-30 07:28]: --- ptty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptty.c b/ptty.c index c99c010..99f 100644 --- a/ptty.c +++ b/ptty.c @@ -130,7 +130,7 @@ main(int argc, char *argv[]) /* handle cursor position requ

Re: [hackers] [scroll][PATCH] Don't retain any clear screen sequence variants.

2020-04-26 Thread Jochen Sprickerhof
Thanks! * Ian Remmler [2020-04-25 17:13]: (Simpler, replaces previous patch) Elide all clear screen escape sequences from the scrollback buffer, partial or complete. zshell, for example, emits ^[[J on startup, which causes the scrolled down portion of the screen to be cleared when scrolling to

Re: [hackers] [scroll][PATCH]] distclean should remove things created in dist

2020-04-24 Thread Jochen Sprickerhof
Thanks! * Steve Ward [2020-04-24 06:43]: --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d7b6d8..b577876 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ clean: rm -f scroll ptty distclean: clean - rm -f config.h +

Re: [hackers] [scroll] Catch invalid cursor positions || Jochen Sprickerhof

2020-04-21 Thread Jochen Sprickerhof
Hi Steve, * Steve Ward [2020-04-20 21:05]: gcc emits this warning when using the "-Wextra" option. Should x and y be dereferenced? Fixed, thx! Cheers Jochen signature.asc Description: PGP signature

Re: [hackers] [scroll] Fix make on OpenBSD || Jochen Sprickerhof

2020-04-12 Thread Jochen Sprickerhof
Hi Quentin, * Quentin Rameau [2020-04-12 08:34]: Fix make on OpenBSD -scroll: config.h +scroll: scroll.c config.h I think it'd be better to fix OpenBSD make or let OpenBSD port maintainers to patch the software rather than pushing changes do standard code because of some buggy implementa

[hackers] [st] patch for XEmbed embedder support

2020-01-04 Thread Jochen Sprickerhof
Hi list, I've implemented embedder support, i.e. the host part, for st. This allows clients to embed into the st window and is useful if you start X applications from the terminal. For example: $ surf -e $WINDOWID The behavior is similar to Plan 9 where applications can take over windows..

Re: [hackers] [surf][PATCH] Document SIGHUP in manpage

2018-02-24 Thread Jochen Sprickerhof
* Markus Teich [2018-02-24 10:21]: Quentin Rameau wrote: I'm not sure the example is necessary, and I'd prefer to rephrase it simply to “Surf will reload the current page on SIGHUP”, what do you think? I agree that the example should be removed. Fine with me as well. Thanks for taking care

Re: [hackers] [dmenu] Instantiate j var outside #ifdef XINEMARA directive because it is used in loop outside directive || Vincent Carluer

2018-01-04 Thread Jochen Sprickerhof
j doesn't need initialization, so here is V2. From 0c1c5014b0a413df9591f37a987afbc5cd626c32 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Thu, 4 Jan 2018 19:02:00 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20warning:=20=E2=80=98i=E2=80=99=20may=20be?= =?UTF-8?q?=20used=20uninitialized

Re: [hackers] [dmenu] Instantiate j var outside #ifdef XINEMARA directive because it is used in loop outside directive || Vincent Carluer

2018-01-04 Thread Jochen Sprickerhof
Hi, there is a small regression in there: * g...@suckless.org [2018-01-04 18:16]: - int x, y, i = 0; + int x, y, i, j = 0; The attached patch fixes that. Cheers Jochen From 58f604d2e38515819e962f27b34dda67686f1661 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Thu, 4