Re: [dev][surf] Compatibility: "empty" wep pages

2022-04-29 Thread Jochen Sprickerhof
Hi Robert, * Robert Winkler [2022-04-29 09:48]: However, some Web Pages do not work at all. Example: just produces a white page. Works fine here with libwebkit2gtk-4.1-dev version 2.36.1-1+b1 from Debian unstable and surf from git. Cheers Jochen signature.asc

Re: [dev] [dwm] possible regression in 8806b6e

2022-04-25 Thread Jochen Sprickerhof
* Hiltjo Posthuma [2022-04-25 18:13]: On Mon, Apr 25, 2022 at 04:00:21PM +0200, Jochen Sprickerhof wrote: Hi Chris, * Chris Down [2022-04-25 14:47]: > I'm still unable to reproduce the issue, but I am curious, does this fix > things? :-) > > diff --git a/dwm.c b/dwm.c >

Re: [dev] [dwm] possible regression in 8806b6e

2022-04-25 Thread Jochen Sprickerhof
Hi Chris, * Chris Down [2022-04-25 14:47]: I'm still unable to reproduce the issue, but I am curious, does this fix things? :-) diff --git a/dwm.c b/dwm.c index 0fc328a..f2a10c0 100644 --- a/dwm.c +++ b/dwm.c @@ -1061,6 +1061,7 @@ manage(Window w, XWindowAttributes *wa)

Re: [dev] st crashes with aerc

2022-04-10 Thread Jochen Sprickerhof
Hi Robert, * Robert Winkler [2022-04-09 19:52]: However, aerc runs in st only works with very tiny windows. When enlarging st, it crashes with the errors: X Error of failed request: BadLength (poly request too large or internal xlib length error) Major opcode of failed request: 139 (RENDER)

Re: [dev] tcvt: very useful for seeing more at once

2021-10-15 Thread Jochen Sprickerhof
* Markus Wichmann [2021-10-14 20:24]: On Thu, Oct 14, 2021 at 12:28:52PM -0400, Greg Reagle wrote: FYI Useful, but a lot of wasted screen space on my monitor: man dwm MUCH better! I see the entire man page: tcvt -c 4 man dwm You know, if you were trying to shill the program, you

Re: [dev] Wayland compositors

2021-08-31 Thread Jochen Sprickerhof
* Hadrien Lacour [2021-08-31 15:43]: On Tue, Aug 31, 2021 at 03:49:43PM +0200, Maarten van Gompel wrote: dwm -> sway (granted, not the same thing) svkbd -> wvkbd (see https://github.com/jjsullivan5196/wvkbd/pull/2) st -> foot dmenu -> bemenu If only there was an equivalent to lemonbar

Re: [dev] [surf][bug] bug in pipe communication to extension

2020-10-17 Thread Jochen Sprickerhof
Hi Jona, * Jona Ackerschott [2020-10-17 09:53]: To reproduce this bug, execute mainline surf without patches, go to 'google.com' (Exactly this, combinations of 'http(s)' or 'www' added to this can change the behaviour) and then to 'twitter.com' (Again extactly this). These sites are just one

Re: [dev] [st] crashes with BadLength

2020-04-07 Thread Jochen Sprickerhof
Hi Tait, * Tait Hoyem [2020-04-07 16:35]: Anyway, the subject began with the unicode sequence \xf0\x9f\x8c\x88. Apparently this is the globe emoji. When attempting to display the character I noticed that neomutt crashed, and so did my terminal! To investigate, I open up xterm, urxvt and see

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

Re: [dev] [slock] Slock left a file in /etc/pam.d after uninstall

2019-12-20 Thread Jochen Sprickerhof
Hi Enan, * Enan Ajmain <3nan.ajm...@gmail.com> [2019-12-19 09:38]: I installed slock manually. But I might have installed from Ubuntu repo in the past to check it out. So, you might be right. sudo apt purge suckless-tools Cheers Jochen signature.asc Description: PGP signature

Re: [dev] Failed to open file “/var/lib/dbus/machine-id”: Permission denied

2019-07-19 Thread Jochen Sprickerhof
Hi Piotr, * Piotr Martyniuk [2019-07-18 15:09]: I recently updated to Debian 10 x64 and tried to open local html file with surf. But when I do this I get the following error: $ surf info.html (surf:24332): IBUS-WARNING **: 15:06:50.866: Unable to load /var/lib/dbus/machine-id: Failed to open

Re: [dev] [Announce] [dwm-6.2] [dmenu-4.9] new release

2019-05-28 Thread Jochen Sprickerhof
* ilf [2019-05-28 11:19]: Up to dwm 6.1, the status bar text had a padding space on the very left edge. In 6.2, that's not there any more. Even if specifically adding one or more space glyphs to the text passed to "xsetroot -name", these are stipped. I see this on multiple devices with

Re: [dev] dwm alpha patch: const isn't a const??

2019-05-26 Thread Jochen Sprickerhof
Hi Paul, * Paul Swanson [2019-05-26 08:05]: I've a fresh clone of dwm and the dwm alpha patch (20180613-b69c870) and it's generating the following error: dwm.c In file included from dwm.c:280:0: config.h:24:27: error: initializer element is not constant

Re: [dev] [surf] scroll not working

2019-04-15 Thread Jochen Sprickerhof
From: Jochen Sprickerhof Date: Fri, 12 Oct 2018 21:46:50 +0200 Subject: [PATCH] Scroll using js As peer https://stackoverflow.com/a/21861770, all other methods are deprecated. --- config.def.h | 12 ++-- surf.c | 7 +++ 2 files changed, 13 insertions(+), 6 deletions(-) diff

Re: [dev] st shift/inser

2017-07-10 Thread Jochen Sprickerhof
* Stéphane Ortega [2017-07-10 13:20]: > Hello, I noticed on my system that the copy / paste from a graphical interface > to the command line via shift-Inser no longer worked. On version 0.6 of st > it's ok. On the latest version via git pull, it does not work anymore. Is this

Re: [dev] [st] Larger HISTSIZE consumes huge memory

2017-06-22 Thread Jochen Sprickerhof
* Techno Implant [2017-06-22 19:38]: > > What's the problem here? It's only virtual memory, so the Kernel should > > do exactly that already. > > ps aux for st and urxvt > > rss is ram memory from my understanding . 100MB or larger for a > terminal is much. Wrong:

Re: [dev] [st] Larger HISTSIZE consumes huge memory

2017-06-22 Thread Jochen Sprickerhof
* Techno Implant [2017-06-21 19:39]: > With HISTSIZE being 2000 memory consumed is around 8MiB > And for 4 it's 120MiB. This is a large number for terminal. > Whereas for urxvt I set saveLines to 65000 and it consumes less around > 8MiB. It increases when I have more

Re: [dev] Surf update

2017-05-26 Thread Jochen Sprickerhof
being on), to make it work flag > has to be turned off and on again. Try the attached patch. From 2b804da35568f957062b75506d1f1d5eb76b1b19 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof <g...@jochen.sprickerhof.de> Date: Thu, 25 May 2017 13:16:55 +0200 Subject: [PATCH] set config upon sta

Re: [dev] [st] patch for bold, italic, underline colors

2017-04-23 Thread Jochen Sprickerhof
Hi Suraj, * Suraj N. Kurapati [2017-04-23 12:09]: > Please review and apply the attached patch on my behalf. I think we don't need it, as you can do it using environment variables: https://unix.stackexchange.com/questions/119/colors-in-man-pages Cheers Jochen

Re: [dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing terminal

2017-03-29 Thread Jochen Sprickerhof
* Greg Reagle [2017-03-27 21:37]: > > [1] http://st.suckless.org/patches/scrollback > > As listed above in [1], there is already a scrollback patch. Does it > have some deficiencies? Is it not a ring buffer? (Author here) It's a ring buffer. I wrote it after evaluating

Re: [dev] [st] Scrollback patch crashes X

2016-09-24 Thread Jochen Sprickerhof
Hi Nick, * Nick Warne [2016-09-24 12:50]: > To reproduce, use st with just the scrollback patch applied. > > Start dwm, and then use nano to load a large(ish) file (like dwm.c), > and use the PgDn key to scroll down - after about 10 seconds, X locks > up - keyboard/mouse don't

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Jochen Sprickerhof
* Kamil Cholewiński [2016-09-22 16:38]: > Yes, because a three digit code printed on the back of your CC, that > changes once in every 3-5 years, and that gets shared with three dozen > different vendors, is s mch beeetteeer. Huh, I never proposed that, but rather

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Jochen Sprickerhof
* Bobby Powers [2016-09-22 09:57]: > Are you saying that doing wire transfers in Europe is common, or doing > wire transfers to pay for online goods? It's common for both. > I'm glad to hear it is less > of a horrendous experience, but it still feels like a suck idea to >

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Jochen Sprickerhof
* Bobby Powers [2016-09-22 09:28]: > Ever wonder why existing web sites don't do this? Because it wire > transfers are terrible. Either you force users to use a bank website > (Cookies + JavaScript, so you have just lost your moral high ground), > or you force them to

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.

Re: [dev] [discussion] Cooperation between terminal and graphical programs

2016-06-25 Thread Jochen Sprickerhof
Hi Marc, * Marc Collin [2016-06-25 10:48]: > Is there any way to get this behavior on standard Linux with suckless > tools (dwm, st, etc)? http://dwm.suckless.org/patches/swallow Cheers Jochen signature.asc Description: PGP signature

[dev] "Note On Webkit Versions"

2016-04-29 Thread Jochen Sprickerhof
Hi, just saw this commit: http://git.suckless.org/sites/commit/?id=6e3450a047c5f7eda300f68814f7b1dfd499119e Can someone (@Christoph) please specify which version of Webkit and which packaging is meant and what are the symptoms of hell? Thanks! Jochen signature.asc Description: PGP signature

Re: [dev] [st] possible bug with unicode character

2016-04-13 Thread Jochen Sprickerhof
* Silvan Jegen [2016-04-13 10:17]: > Have you tested it exactly as you wrote it here? Since wcwidth wants a > wchar_t you probably would have to use L'☺'. Good point, also I had to set setlocale(LC_CTYPE, ""); to make it work in glibc (it worked fine without in musl). So it's

Re: [dev] [st] possible bug with unicode character

2016-04-12 Thread Jochen Sprickerhof
* Marc Collin [2016-04-12 16:31]: > So this is not a st bug and not a libc bug. I think it's a libc bug as well, quoting man 3 wcwidth: "The wcwidth() function returns the number of columns needed to represent the wide character c. If c is a printable wide character, the

Re: [dev] [st] possible bug with unicode character

2016-04-12 Thread Jochen Sprickerhof
I found the same last December and had a look into it, but my conclusion was that it's a bug in the font/libc, so I didn't reported my findings here. From my notes back then: - st expects chars to have a fixed width (see [1]). - It uses wcwidth(3) to get the length and reserves as much space on

Re: [dev] [st] Powerline fonts to large

2015-05-26 Thread Jochen Sprickerhof
* Ivan Tham ivanthamjun...@gmail.com [2015-05-26 14:49]: $ git apply st-scrollback.diff On branch master Your branch is up-to-date with 'origin/master'. Changes not staged for commit: (use git add file... to update what will be committed) (use git checkout -- file... to

Re: [dev] [st] Powerline fonts to large

2015-05-26 Thread Jochen Sprickerhof
* Ivan Tham ivanthamjun...@gmail.com [2015-05-26 17:47]: Thanks, I can get it to work now. Is there any way use the scrollback with mouse scroll? Write a patch. signature.asc Description: Digital signature

Re: [dev] [st] Powerline fonts to large

2015-05-25 Thread Jochen Sprickerhof
* Ivan Tham ivanthamjun...@gmail.com [2015-05-24 14:36]: The link you gave me doesn't work either, it has problem about unused function during compilation. The patch is against git master and works fine over here. signature.asc Description: Digital signature

Re: [dev] [st] Powerline fonts to large

2015-05-25 Thread Jochen Sprickerhof
* Ivan Tham ivanthamjun...@gmail.com [2015-05-25 19:57]: I cannot patch it, when ``git apply st-scrollback.diff``:: error: patch failed: config.def.h:7 error: config.def.h: patch does not apply error: patch failed: st.c:83 error: st.c: patch does not apply $ git rev-parse HEAD

Re: [dev] [st] Powerline fonts to large

2015-05-24 Thread Jochen Sprickerhof
* Ivan Tham ivanthamjun...@gmail.com [2015-05-23 15:45]: I think the link in the patches page should redirect to the link. No, the website is rendered from git and moderated, read: http://suckless.org/wiki Cheers Jochen signature.asc Description: Digital signature

Re: [dev] [st] Powerline fonts to large

2015-05-22 Thread Jochen Sprickerhof
Hi Ivan, * Ivan Tham ivanthamjun...@gmail.com [2015-05-22 14:44]: And the patch for scrollback does not work, is there other method to use scrollback without using terminal multiplexer as it disable many other things? I've just pushed a new version of the patch against the current master.

Re: [dev] RSS

2015-05-07 Thread Jochen Sprickerhof
* Nick suckless-...@njw.me.uk [2015-05-07 16:09]: Quoth Jochen Sprickerhof: I've implemented a prototype in Python (yes, I know) and would happily share it, if someone is interested. Make it so! Here you go: https://github.com/jspricke/rss2maildir Comments, patches, suckless

Re: [dev] RSS

2015-05-07 Thread Jochen Sprickerhof
Hi Alex, * Alexander Huemer alexander.hue...@xx.vu [2015-05-07 16:19]: P.S.: Maybe there is some other nice feed reader out there that I don't know about. tt-rss, miniflux and all the others are monsters unfortunately. I had the same thoughts last week and implemented my own rss2maildir

Re: [dev] sple - A simple PDF links/emails extracotr.

2015-05-07 Thread Jochen Sprickerhof
* Jason Woofenden ja...@jasonwoof.com [2015-05-07 10:09]: pdftohtml -stdout foo.pdf | sed -ne 's/href=\([^]\+\)/\n\1\n/g' -e 's/\(^[^\n]*\n\|\(\n\)\)\([^\n]*\)\n[^\n]*/\2\3/gp' I would use grep ;). Using my urlselct from [1] I would write: pdftotext foo.pdf - | urlselect Cheers Jochen

Re: [dev] [surf] [PATCH] Simplify eval arg handling

2015-05-04 Thread Jochen Sprickerhof
* koneu kone...@googlemail.com [2015-04-23 21:09]: Careful though, arg.v is _not_ the address you want to pass to evascript(), *(arg.v) is! (or at least that's what the old code suggests) Yeah, I'm chaging the API here. But as eval() is not used in surf and the old version is broken, I don't

Re: [dev] [st] [PATCH] Fix sigchld

2015-04-29 Thread Jochen Sprickerhof
to the wiki, but I think the initial one should be included upstream. Cheers Jochen From 21f0cfd393d4a2456edfbc51b5b8fdf88aa67f25 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof g...@jochen.sprickerhof.de Date: Wed, 25 Sep 2013 09:21:13 +0200 Subject: [PATCH] Add plumbing Default keybord shortcuts

Re: [dev] [st] [PATCH] Fix sigchld

2015-04-28 Thread Jochen Sprickerhof
* koneu kone...@googlemail.com [2015-04-28 05:05]: Patch attached. st stops responding after spawning a command. signature.asc Description: Digital signature

Re: [dev] [st] [PATCH] Fix sigchld

2015-04-27 Thread Jochen Sprickerhof
Hi Roberto, * Roberto E. Vargas Caballero k...@shike2.com [2015-04-27 10:42]: I don't understand this patch. The master process only has one child, the shell, so you only can wait for it. If you receives the signal is because the child already died, so I don't see the point of adding WNOHANG.

Re: [dev] [st] [PATCH] Fix sigchld

2015-04-27 Thread Jochen Sprickerhof
* koneu kone...@googlemail.com [2015-04-27 11:25]: On April 27, 2015 11:23:52 AM CEST, Jochen Sprickerhof d...@jochen.sprickerhof.de wrote: I'm spawning other process from st (dmenu and surf for urlview). Without checking the pid, st stops working if some other child finishes. Without

Re: [dev] [st] [PATCH] Fix sigchld

2015-04-27 Thread Jochen Sprickerhof
* koneu kone...@googlemail.com [2015-04-27 11:42]: waitpid and WNOHANG is not the way to go though. Use wait Why? wait is just convenience for waitpid. Also, it didn't work for me. Can you send a patch if you think there is a better way to do it? and check the pid against the shell's to decide

Re: [dev] [surf] [PATCH] Simplify eval arg handling

2015-04-23 Thread Jochen Sprickerhof
Ok, it does make sense, I had overlooked it because eval() is usually not called. The arg-v is passed to evalscript() which expects an char*. Cheers Jochen signature.asc Description: Digital signature

Re: [dev] [surf] [PATCH] Simplify eval arg handling

2015-04-23 Thread Jochen Sprickerhof
* Jason Woofenden ja...@jasonwoof.com [2015-04-23 14:36]: Both implementations (before and after your patch) pass a char*. But (assuming I'm reading the code correctly) they don't pass the same address. True, the old one assumes a char** (an array of strings), whereas the new one assumes a

[dev] [st] [PATCH] Fix sigchld

2015-04-22 Thread Jochen Sprickerhof
Only wait for termination of the shell. --- st.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/st.c b/st.c index 0204b2e..1615609 100644 --- a/st.c +++ b/st.c @@ -1245,10 +1245,14 @@ execsh(void) { void sigchld(int a) { int stat, ret; + pid_t p; -

[dev] [surf] [PATCH] Simplify eval arg handling

2015-04-22 Thread Jochen Sprickerhof
--- surf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surf.c b/surf.c index 87c10ef..75fa5db 100644 --- a/surf.c +++ b/surf.c @@ -1314,7 +1314,7 @@ static void eval(Client *c, const Arg *arg) { WebKitWebFrame *frame = webkit_web_view_get_main_frame(c-view);

[dev] [surf] [PATCH] Make strictssl Bool

2015-04-22 Thread Jochen Sprickerhof
--- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index a1ab211..1eb9566 100644 --- a/config.def.h +++ b/config.def.h @@ -19,7 +19,7 @@ static char *cookiefile = ~/.surf/cookies.txt; static char *cookiepolicies = Aa@; /* A:

Re: [dev] [surf] [PATCH] Simplify eval arg handling

2015-04-22 Thread Jochen Sprickerhof
Actually, scratch this, I have no idea why I had this in my queue. Sorry for the noise. Cheers Jochen signature.asc Description: Digital signature

Re: [dev] [surf] tabs and clipboard

2015-01-05 Thread Jochen Sprickerhof
* Dmitrij D. Czarkoff czark...@gmail.com [2015-01-05 08:04]: In tabbed you see titles of all tabs, in monocle view - only the title of the current window. Have a look at the fancybar [1] patch. I've pushed a new version this morning [2]. Cheers Jochen [1]

Re: [dev] [dmenu] Make C-w delete slash

2013-11-24 Thread Jochen Sprickerhof
Jochen From 8eb24c2bfbde9edfb0dd1f1ecbe712c60ac49f25 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof joc...@sprickerhof.de Date: Sat, 16 Feb 2013 17:24:52 +0100 Subject: [PATCH] add / to wordchars i.e. break words at /. --- dmenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[dev] [st][patch] scrollback buffer

2013-10-16 Thread Jochen Sprickerhof
Hi, I've implemented a (limited) scrollback buffer for st. Thanks to v4hn for testing and improving first versions. Cheers Jochen From 8bae501586ed77a624170937c8bd53433f64 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof joc...@sprickerhof.de Date: Thu, 3 Oct 2013 09:35:32 +0200 Subject

Re: [dev] music db editor

2013-10-12 Thread Jochen Sprickerhof
* Manolo Martínez man...@austrohungaro.com [2013-10-12 07:19]: on the files to be tagged. Does anyone here use another program for this purpose? http://musicbrainz.org/doc/MusicBrainz_Picard Cheers Jochen

Re: [dev] Re: slcon 2013

2013-06-23 Thread Jochen Sprickerhof
* Maximilian Dietrich d...@lavabit.com [2013-06-23 14:06]: Thank you for your work. I'm really interested in the talks. Would you mind linking the respective yt channel here or on the website? http://www.youtube.com/watch?v=qvmYo7Bhm0Y

Re: [dev] [surf-5.0] internal download manager

2013-01-31 Thread Jochen Sprickerhof
an experimental option. Cheers Jochen From 2a6b757556099581d8591ceea608b9bee74abeab Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof joc...@sprickerhof.de Date: Thu, 31 Jan 2013 00:20:48 +0100 Subject: [PATCH] Strip HttpOnly from cookies for wget --- config.def.h |4 ++-- 1 file changed, 2