Re: [dev] piscou?

2024-05-04 Thread Hiltjo Posthuma
On Sat, May 04, 2024 at 12:40:21PM +0200, Страхиња Радић wrote: > While browsing through the commits to /sites, I noticed a program > piscou[1]. Just looking at its Makefile, it seems to include dubious > code such as: > > clang: CC=clang > clang: CFLAGS += -Weverything

Re: [dev] reading an epub book with less: adventures in text processing

2024-03-09 Thread Hiltjo Posthuma
On Sat, Mar 09, 2024 at 09:34:12AM -0500, Greg Reagle wrote: > I have an epub ebook. It is a novel, but when I get this process working, I > want to repeat it for any epub ebook. > > I want to read it, with formatting (such as underline or italics), with less. > I am happy to use any software

Re: [dev] [st] XTSMGRAPHICS query

2024-02-18 Thread Hiltjo Posthuma
On Sat, Feb 17, 2024 at 09:45:44PM -0500, Tim Culverhouse wrote: > Hello - I am the author of a TUI library and received a bug report regarding > cursor placement on exiting an application. > > I was able to narrow down a simple reproducer to how st a XTSMGRAPHICS query: > > echo -e

Re: [dev] [st][patch] more work on the XEmbed embedder

2024-02-04 Thread Hiltjo Posthuma
On Sun, Feb 04, 2024 at 08:38:46AM +0300, Robin Haberkorn wrote: > Hello! > > I picked up the patch from Jochen Sprickerhof > that was posted on hack...@suckless.org a few years ago, allowing you to > embed applications into st via Xembed. So this is the _host_ side of > Xembed, very similar to

Re: [dev] Presenting some more software

2024-01-15 Thread Hiltjo Posthuma
On Mon, Jan 15, 2024 at 06:22:21AM +0100, Страхиња Радић wrote: > On 24/01/13 09:19PM, stefan1 wrote: > > https://github.com/stefan1/su > > https://github.com/stefan1/rootdo > > https://github.com/stefan1/rdoedit > > I find sup[1] (~120-ish LoC) very useful, and in line with

Re: [dev] [bug] sbase / expr: loss of leading zeros in string operations

2024-01-07 Thread Hiltjo Posthuma
On Sun, Jan 07, 2024 at 01:20:21PM +0100, fom...@0w.se wrote: > Hello, > > Thanks for the software. > > For your information, with the latest and also with earlier sbase: > > Expected: > > $ expr 3 : '.*' > 5 > $ expr 3 : '\(.*\)' > 3 > > $ expr 3x : '\(.*\)' > 3x > >

Re: [dev] surf: usage does not match supported flags

2023-11-10 Thread Hiltjo Posthuma
On Fri, Nov 10, 2023 at 10:37:31AM -0800, Eric Pruitt wrote: > Since at least commit fce76429b8f8ed48116557df3a478bc435145d94, the > flags in surf's usage don't match what's actually supported. > > Eric > This is the -p and -P option. It should probably also be removed from the man page :) --

Re: [dev] A secure wireless protocol

2023-10-14 Thread Hiltjo Posthuma
On Sat, Oct 14, 2023 at 01:17:04PM +0200, Sagar Acharya wrote: > Dear devs, > > Currently, all phones use WiFi, GSM, Bluetooth networks in practically all > applications. For WiFi and Bluetooth replacements, do you have any alternate > network in mind which caters to only local public and

Re: [dev] C cgi based forum services

2023-08-10 Thread Hiltjo Posthuma
On Thu, Aug 10, 2023 at 09:21:15AM +0200, Sagar Acharya wrote: > Are there any nice cgi based forums out there? > > Which provide register, login and posting? > > It would be best if they're coded in C or Lua. > > > Thanking you > Sagar Acharya > https://humaaraartha.in > Yes, but you could

Re: [dev] Suckless paint/graphic editor program [OS topic]

2023-07-12 Thread Hiltjo Posthuma
On Wed, Jul 12, 2023 at 02:59:04PM -0400, fo...@dnmx.org wrote: > 1s of all I'd like to say I'm sorry because of the e-mail formatting that > seems > to happen.. someone did tell me clients don't like that, but I do not > unfortunately have health to figure this out, I will remember this, >

Re: [dev] Minimalist software. Should I care?

2023-07-04 Thread Hiltjo Posthuma
On Tue, Jul 04, 2023 at 01:16:34PM -0500, Dave Blanchard wrote: > I take a practical approach. I use simple programs when they do the job well, > and more complex programs when they get the job done better. Sometimes a > simple program can be useful for certain jobs, such as ones involving shell

Re: [dev] Minimalist software. Should I care?

2023-07-04 Thread Hiltjo Posthuma
On Tue, Jul 04, 2023 at 07:06:12PM +0300, Nikita Krasnov wrote: > Just bear with me on this one, this is not a bait or a troll, I promise. I > genuinely fell very confused. > > What would be the point of using minimalist software if bloated and > excessively complex programs completely satisfy

Re: [dev] Announcing a couple small X11 utilities

2023-07-04 Thread Hiltjo Posthuma
On Tue, Jul 04, 2023 at 07:51:59PM +0600, NRK wrote: > Hi all, > > I'd like to share some small X11 utilities that I've developed and have > been using in my daily setup. The utilities are all fairly small in > size and requires only typical X libraries. > > sxcs > > > This is a simple

Re: [dev] Am I doing this right?

2023-07-01 Thread Hiltjo Posthuma
On Sat, Jul 01, 2023 at 06:15:17PM +0300, Nikita Krasnov wrote: > Is this message – an equivalent of a new forum topic or thread? Does anyone > even see this? Sorry, first time having conversations this way. Also, is > hard-wrapping lines at 80 characters a requirement? I see many people > doing

Re: [dev] [slock] eye candy for slock

2023-06-25 Thread Hiltjo Posthuma
On Sun, Jun 25, 2023 at 11:32:56AM +0200, Ivan Morén wrote: > I made this patch (see the attached animated gif) forever ago, and > have been using it ever since. Does anyone have interest in this as a > patch? I would be happy to share it, but would probably want to (maybe > with help?) clean up

Re: [dev] Suckless filesystems

2023-06-22 Thread Hiltjo Posthuma
On Thu, Jun 22, 2023 at 12:08:42PM +0200, Sagar Acharya wrote: > Which are the filesystems which suckless recommends? > > In my view, simple ones are FAT32, ext2. > > I think journaling is required which I see as within disk backup. A robust > and easy fsck like program which corrects errors

Re: [dev] [sbase] segfault in cron

2023-06-22 Thread Hiltjo Posthuma
On Thu, Jun 22, 2023 at 05:46:09PM +0100, Frank Busse wrote: > Hi, > > > I ran KLEE on revision #530407 and it found a segfault in cron. It can > be reproduced via: > > $ printf '1*' > A > $ sbase-530407/bin/cron "-nfA" > > Seems free() points into rubbish: > > AddressSanitizer:DEADLYSIGNAL >

Re: [dev] [license] gpl issues

2023-06-18 Thread Hiltjo Posthuma
On Sun, Jun 18, 2023 at 04:58:07PM +1200, Miles Rout wrote: > > > On 6 May 2023 8:56:23 pm NZST, "Страхиња Радић" wrote: > > But that is pointless to > >bring up here, because the reality is that the programmers who made suckless > >software mostly picked Expat License (and are calling it

Re: [dev] organizing programs

2023-05-13 Thread Hiltjo Posthuma
On Sat, May 13, 2023 at 11:26:15PM +0200, Viktor Grigorov wrote: > Pen and paper work best for me when it comes to tasks. I like it, when you attach it to a balloon you can even sync it to the clouds! > > May 13, 2023, 23:01 by s.je...@gmail.com: > > > Heyhey! > > > > Страхиња Радић wrote: >

Re: [dev] Simpler WiFi alternatives

2023-05-13 Thread Hiltjo Posthuma
On Sat, May 13, 2023 at 12:05:24AM -0700, Jeremy wrote: > On 05/13/23 10:55AM, NRK wrote: > > On Fri, May 12, 2023 at 10:10:31PM +0200, Yan Doroshenko wrote: > > > Hello everyone, > > > > > > I'd like to take a moment and thank everyone for an extremely polite, > > > respectful and to the point

Re: [dev] Simpler WiFi alternatives

2023-05-12 Thread Hiltjo Posthuma
On Fri, May 12, 2023 at 11:39:43AM -0700, Jeremy wrote: > On 05/12/23 08:27AM, Lee Phillips wrote: > > Since the administrators of this list are unable or unwilling to block > > access to this loser, I'm unsubscribing. I don't need this kind of garbage > > in my inbox. I have plenty of other

Re: [dev] [dwm] with SIGCHLD commit, dwm cannot launch dmenu_extended.

2023-04-09 Thread Hiltjo Posthuma
On Sat, Apr 08, 2023 at 11:02:56PM +0200, Storkman wrote: > On Sat, Apr 08, 2023 at 04:28:15PM +0200, p...@mailbox.org wrote: > > Hello everyone, > > > > I bind keyboard shortcut to launch dmenu_extended[1] in dwm, what works > > flawlessly before the `Use sigaction(SA_NOCLDWAIT) for SIGCHLD > >

Re: [dev] [dwm] with SIGCHLD commit, dwm cannot launch dmenu_extended.

2023-04-08 Thread Hiltjo Posthuma
On Sat, Apr 08, 2023 at 07:24:07PM +0200, p...@mailbox.org wrote: > - patch is disabled > - `dwm 2> ~/dwm.log` shows nothing > > define command as > > static const char *dmenu_extend[] = { "dmenu_extended_run", NULL }; > > bind the command to a keyboard shortcut > > static Key keys[] =

Re: [dev] [DEV][Quark] Big problem

2023-02-25 Thread Hiltjo Posthuma
On Sat, Feb 25, 2023 at 09:50:42AM -0500, fo...@dnmx.org wrote: > Hello. > Before I start, I want to clarify 2 things: > 1. I'm not 100% sure if it's a Quark problem, but there are like 2/4th > chance that it is. > 2. I'm hosting my site over the Tor network > > Problem I have: software runs, can

Re: [dev] dwm 6.4 compilation error on FreeBsd

2023-02-16 Thread Hiltjo Posthuma
On Thu, Feb 16, 2023 at 06:07:02PM +1300, beastie wrote: > Hello I am experiencing an error when trying to compile the latest > version of dwm from https://git.suckless.org/dwm, > > Here is the commit that I think is causing the issue: >

Re: [dev] bump copyright years?

2023-02-08 Thread Hiltjo Posthuma
On Wed, Feb 08, 2023 at 09:23:45PM +, Al wrote: > This isn't in response to any single email in the thread, just putting my two > cents in :) > > It isn't quite accurate to say that year of creation/publication is never > relevant. The year is relevant whenever copyright assignment is done.

Re: [dev] [st] terminfo entries won't get deleted

2023-02-03 Thread Hiltjo Posthuma
On Thu, Feb 02, 2023 at 10:33:55PM +, danin-sac wrote: > Hi, > after looking in the Makefile I saw that the terminfo entries wouldn't get > deleted if you uninstall the program. Is there a specific reason for that? > > Best regards. > maybe -- Kind regards, Hiltjo

Re: [dev] [dwm] Obtain focused monitor

2023-01-08 Thread Hiltjo Posthuma
On Sun, Jan 08, 2023 at 07:40:21PM +0900, A Farzat wrote: > On 23/01/08 11:32am, Hiltjo Posthuma wrote: > > On Sun, Jan 08, 2023 at 07:19:10PM +0900, A Farzat wrote: > > > Is there a way to obtain the currently focused monitor in dwm? I want to > > > use it in my scri

Re: [dev] [dwm] Obtain focused monitor

2023-01-08 Thread Hiltjo Posthuma
On Sun, Jan 08, 2023 at 07:19:10PM +0900, A Farzat wrote: > Is there a way to obtain the currently focused monitor in dwm? I want to > use it in my script to control which monitor gets its brightness > modified. > > Regards, > Farzat selmon -- Kind regards, Hiltjo

Re: [dev] [ii] connect to servers with self signed tls certificates

2022-10-29 Thread Hiltjo Posthuma
On Sat, Oct 29, 2022 at 11:38:10AM -0500, fernandoreyesavila3 wrote: > Hello all, > > I am hosting an ergo irc server with self signed certificates. > Connecting to any public irc server works as expected. ii prints the > following when I try to connect to my server. > > $ ii -s servername.com

Re: [dev] [dwm] dmenu dwm wrong screen

2022-10-28 Thread Hiltjo Posthuma
On Fri, Oct 28, 2022 at 11:07:44AM +0200, Yan Doroshenko wrote: > Helo, > > > I have a strange behavior of dmenu inside dwm with two monitors. dmenu is > displayed on the screen with the mouse cursor (instead of the active one) if > there are no windows open on any screen. Otherwise it works

Re: [dev] [libsl][bug] Call FcFini on cleanup for projects calling FcIni

2022-10-28 Thread Hiltjo Posthuma
On Thu, Oct 27, 2022 at 01:19:28PM -0700, Anskrevy wrote: > Any program using libsl, or calling FcIni (directly or indirectly), that > does not call FcFini results in a small memory leak. dwm and dmenu are > effected by this. Appending a call to FcFini in the cleanup function will > fix this. >

Re: [dev] Some questions on communication suckless style

2022-10-19 Thread Hiltjo Posthuma
On Wed, Oct 19, 2022 at 07:41:19AM +0200, Laslo Hunhold wrote: > On Wed, 19 Oct 2022 00:49:57 + > Rodrigo Martins wrote: > > Dear Rodrigo, > > > toxic is a curses command line interface for the tox protocol. With > > it you can do group audio calls and one on one video calls. toxic > >

Re: [dev] Some questions on communication suckless style

2022-10-14 Thread Hiltjo Posthuma
On Fri, Oct 14, 2022 at 01:56:52PM -0500, fernandoreyesavila3 wrote: > Hello, > > I recently got my friends and I on irc through irssi. I am looking for a > way to do screen sharing and voice chat. I looked at the suckless page > and it doesn't include recomendations for voice chat besides xmpp

[dev] json2tsv 1.0 release - a tool to convert JSON to TSV

2022-09-02 Thread Hiltjo Posthuma
Hi all, I would like to share the 1.0 release of my project json2tsv. json2tsv is a tool to convert JSON to TSV. json2tsv reads JSON data from stdin. It outputs each JSON type to a TAB- Separated Value format per line by default. A different field and record separator can be set (than a TAB and

Re: [dev] Broken link in /faq/

2022-08-31 Thread Hiltjo Posthuma
On Wed, Aug 31, 2022 at 08:41:51PM +0200, Страхиња Радић wrote: > The first link in > > https://suckless.org/faq/ > > http://freecode.com/articles/stop-the-autoconf-insanity-why-we-need-a-new-build-system > > seems to be broken. Just wanted to ask if it is ok for me to replace it with > >

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-30 Thread Hiltjo Posthuma
On Tue, Aug 30, 2022 at 09:11:03PM +0600, NRK wrote: > On Tue, Aug 30, 2022 at 04:50:14PM +0200, Hiltjo Posthuma wrote: > > Then write a patch to improve it instead of whining about it. > > The topic was font fallback; I adviced not to replicate drw, explained > my reasoning why

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-30 Thread Hiltjo Posthuma
On Tue, Aug 30, 2022 at 08:08:21PM +0600, NRK wrote: > On Tue, Aug 30, 2022 at 11:42:33AM +0900, Pontus Stenetorp wrote: > > My intuition is that it is related to font loading and fall backs, so > > I am tempted to take a stab at it by comparing the font > > loading/handling between tabbed, dwm,

Re: [dev] Re: [sacc][PATCH] Infer the (n)curses(w) library to use and -l

2022-08-18 Thread Hiltjo Posthuma
On Wed, Aug 17, 2022 at 03:31:33PM -0300, Spenser Truex wrote: > On 22/08/16 10:04AM, Quentin Rameau wrote: > > Hi Spenser, > > > > > Useful since curses cocks up any portability here. We prioritise the > > > user's entries in CURSESLIB where possible, and use LIBS when pkg-config > > > cannot be

Re: [dev] [lsw][bug] segfault after querying window with no children

2022-06-25 Thread Hiltjo Posthuma
On Sat, Jun 25, 2022 at 01:50:17AM +, Augusto Castelo wrote: > Hi, > > lsw crashes with a segfault when you pass a window id of a window with no > children. > > I spotted the problem, at line 39 of lsw.c; XQueryTree isn't failing but is > setting `n` (children count (unsigned int)) to 0,

Re: [dev] redirecting standard error to another terminal

2022-06-18 Thread Hiltjo Posthuma
On Sat, Jun 18, 2022 at 09:03:27AM -0400, Greg Reagle wrote: > OMG I wish I had known this YEARS ago. I can redirect the standard error of > a program to a different terminal! I am using X11 and dwm and st on Debian. > For example: > > ls --foobar 2> /dev/pts/0 > > I am excited by the

Re: [dev] Suckless CMatrix clone

2022-05-29 Thread Hiltjo Posthuma
Hi Ryan, On Sun, May 29, 2022 at 03:04:00AM -0400, Ryan Raymond wrote: > Hello all. I'm working on a suckless cmatrix clone. > It's not done yet, and it still suffers from constant memory leakage, but > I'm having fun working on it. > It already shows 50% reduced cpu/ram usage vs cmatrix, despite

Re: [dev] [dwm] Incorrect resolution when turning on dual monitors

2022-05-25 Thread Hiltjo Posthuma
On Tue, May 24, 2022 at 10:06:21PM -0400, Christopher Brown wrote: > I am using the latest git version, so I reverted the commit. However, > I am still experiencing the issue after doing that. > > Christopher > > On Sat, May 7, 2022 at 12:15 PM Hiltjo Posthuma > wrote: &

Re: [dev] [dwm] Incorrect resolution when turning on dual monitors

2022-05-07 Thread Hiltjo Posthuma
On Fri, May 06, 2022 at 10:27:32PM -0400, Christopher Brown wrote: > Hello, > > I have been intermittently encountering an issue where dwm messes up > my monitor resolutions when powering on my two monitors. Frequently, > both screens will be combined on one monitor while the other monitor > does

Re: [dev] [dwm] Multihead Issues Autostart

2022-05-01 Thread Hiltjo Posthuma
On Sun, May 01, 2022 at 12:56:50PM +0200, Yan Doroshenko wrote: > Hello, > > > I'm using DWM on two monitors with cool_autostart patch and in the autostart > array I'm running xrandr to set the monitor layout. > > Quite often a situation happens when the second monitor is enabled (arandr >

Re: [dev] Regarding dwm and st logo being removed

2022-04-28 Thread Hiltjo Posthuma
On Thu, Apr 28, 2022 at 12:19:07PM +0200, Laslo Hunhold wrote: > On Thu, 28 Apr 2022 08:34:36 +0600 > NRK wrote: > > Dear NRK, > > > Recently noticed that the dwm and st logo was removed from their > > homepages[0][1]. > > > > I was wondering if there's any specific reason for that, or if

Re: [dev][st] Solution: UTF-8 needs IBus!

2022-04-28 Thread Hiltjo Posthuma
On Tue, Apr 26, 2022 at 05:38:51PM -0500, Robert Winkler wrote: > On Tue Apr 26, 2022 at 4:21 PM CDT, Κράκ Άουτ wrote: > > Στις 26 Απρ 2022 23:59, ο/η Robert Winkler έγραψε: > > > To make a long story short: The input of UTF-8 characters with st needs > > > an IBus daemon (standard on Gnome, but

Re: [dev] Regarding dwm and st logo being removed

2022-04-28 Thread Hiltjo Posthuma
On Thu, Apr 28, 2022 at 08:34:36AM +0600, NRK wrote: > Hi, > > Recently noticed that the dwm and st logo was removed from their > homepages[0][1]. > > I was wondering if there's any specific reason for that, or if there's > plan for a new logo(s)? > > I atleast really liked the current logos,

Re: [dev][st][dwm] st UTF-8 works on Gnome, but not on DWM

2022-04-26 Thread Hiltjo Posthuma
On Tue, Apr 26, 2022 at 08:20:34AM -0500, Robert Winkler wrote: > Getting closer: I tried the compiled st in different window managers > (thanks for the hint to test the binary in different environments!). > > In Plasma, spectrwm, and dwm, UTF-8 of st does not work. > > But SURPRISE: in Gnome

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

2022-04-26 Thread Hiltjo Posthuma
On Mon, Apr 25, 2022 at 05:38:35PM +0100, Chris Down wrote: > Hiltjo Posthuma writes: > > Whats the similar issue exactly? Does this issue also happen when bisecting > > the > > same commit (so its a also regression)? > > For 8806b6e23793 ("manage: propertyno

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

2022-04-25 Thread Hiltjo Posthuma
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 > > index 0fc328a..f2a10c0 100644 > > --- a/dwm.c

Re: [dev] Bye

2022-04-23 Thread Hiltjo Posthuma
On Sat, Apr 23, 2022 at 12:06:16PM +0200, Olivier Regnier wrote: > > This page describes how to unsubscribe: https://suckless.org/community/ -- Kind regards, Hiltjo

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

2022-04-23 Thread Hiltjo Posthuma
On Sat, Apr 23, 2022 at 12:39:28AM +0100, Ethan Marshall wrote: > Hi all, > > I recently noticed that certain dialog windows (such as the Chromium > system printing dialog and gpg-askpass popups) were being managed as > tiled windows, rather than floating. This changed recently, so I > bisected

Re: [dev] [st] UTF-8 not working

2022-04-20 Thread Hiltjo Posthuma
On Tue, Apr 19, 2022 at 07:09:57PM -0500, Robert Winkler wrote: > > > On April 15, 2022 2:23:36 PM CDT, Quentin Rameau wrote: > >Hi Robert, > > > >> Hi, according to the st Status, UTF-8 should be working. Much needed for > >> multilingual typing with ú, ü, ß, µ, ¿ etc. > >> However, I only get

Re: [dev] [dwm] hardcoded dmenucmd && dmenumon

2022-02-17 Thread Hiltjo Posthuma
On Thu, Feb 17, 2022 at 11:12:23AM +0100, Страхиња Радић wrote: > On 22/02/17 01:08, NRK wrote: > > Assuming there isn't, one alternative could be just using env vars. > > Why would an environment variable be preferable here to a command line > parameter? > > Environment variables are clunky,

Re: [dev] [dwm] hardcoded dmenucmd && dmenumon

2022-02-16 Thread Hiltjo Posthuma
On Wed, Feb 16, 2022 at 05:52:48PM +0600, NRK wrote: > Hi, > > Currently dmenumon and dmenucmd are hardcoded into spawn(), I noticed > this after I removed `dmenumon` (as I don't use multimonitor) from > config.h and saw that the compilation failed. > > if (arg->v == dmenucmd) >

Re: [dev] sfeed: RSS/Atom parser and reader

2022-02-12 Thread Hiltjo Posthuma
On Fri, Feb 11, 2022 at 03:26:12PM +0100, Sebastiano Tronto wrote: > Hello, > > > I would like to share my project I've been using and tweaking over the > > years: > > > > sfeed is a RSS and Atom parser (and it has some format programs). > > [...] > > Thank you Hiltjo for this nice piece of

[dev] sfeed: RSS/Atom parser and reader

2022-02-11 Thread Hiltjo Posthuma
Hi, I would like to share my project I've been using and tweaking over the years: sfeed is a RSS and Atom parser (and it has some format programs). It converts RSS or Atom feeds from XML to a TAB-separated file. There are formatting programs included to convert this TAB-separated format to

Re: [dev] Special target ".POSIX" in Makefiles

2021-12-31 Thread Hiltjo Posthuma
On Fri, Dec 31, 2021 at 11:33:21AM +0100, Laslo Hunhold wrote: > On Fri, 31 Dec 2021 11:16:18 +0100 > Hiltjo Posthuma wrote: > > Dear Hiltjo, > > > In my opinion a practical way is to really test it on different > > systems (bleeding edge Linux, older Debian stable, N

Re: [dev] Special target ".POSIX" in Makefiles

2021-12-31 Thread Hiltjo Posthuma
On Fri, Dec 31, 2021 at 01:52:42AM -0800, Arthur Williams wrote: > I too fell victim to the GNU trap and thought "?=" was standard and > actually useful. > > > and want to "dynamically" override it (e.g. in a build system context) > > when the environment already specifies PREFIX, you either do >

Re: [dev] [st] wide characters getting cropped

2021-10-27 Thread Hiltjo Posthuma
On Wed, Oct 27, 2021 at 03:52:09AM +0600, NRK wrote: > On Tue, Oct 26, 2021 at 07:51:52PM +, Ian Liu Rodrigues wrote: > > I've noticed that in some situations wide characters are being cropped > > on my terminal. The following script, which uses a wide character from > > the "Nerd Font 

Re: [dev] Whether a css selector applies to given html surf code

2021-10-26 Thread Hiltjo Posthuma
On Tue, Oct 26, 2021 at 07:35:01AM +0200, Sagar Acharya wrote: > I assume you mean writing css straight into html file itself. Kamitkami is > not meant for css that we write. One can use if one uses 1 single style file > which turns gigantic when used across many html files. > It's meant for

Re: [dev] [dwm] Possible bug in resizemouse function

2021-10-17 Thread Hiltjo Posthuma
On Sat, Oct 16, 2021 at 10:18:18PM +0800, Xu Lu wrote: > The related code is in line 1326-1332 in dwm.c (current git HEAD): > > if (c->mon->wx + nw >= selmon->wx && c->mon->wx + nw <= selmon->wx + > selmon->ww > && c->mon->wy + nh >= selmon->wy && c->mon->wy + nh <= selmon->wy + >

Re: [dev] Join Please

2021-09-18 Thread Hiltjo Posthuma
On Sat, Sep 18, 2021 at 09:00:09AM -0400, Carl wrote: > Hello, > > May I please join? > > Thanks! > -- > https://www.youtube.com/embed/twyWHrHWq9E -- Kind regards, Hiltjo

Re: [dev] [website] broken links to plan9.bell-labs.com

2021-08-27 Thread Hiltjo Posthuma
On Fri, Aug 27, 2021 at 02:13:02PM +0800, roy...@gmail.com wrote: > Hello, > > I noticed that there are broken links in > https://suckless.org/community/ that is linking to > plan9.bell-labs.com, which should be replaced with 9p.io/plan9/. > > Regards, > Roy > OK... so do it. -- Kind

Re: [dev] [st] Crash when displaying these characters

2021-08-17 Thread Hiltjo Posthuma
On Mon, Aug 16, 2021 at 03:34:51PM -0700, Menche wrote: > On Mon, 16 Aug 2021 21:56:57 +0200 > Robert Alm Nilsson wrote: > > > Hi, when I run this command: > > > > printf '\xf0\x9f\x8d\x95' > > > > st crashes with this output: > > > > X Error of failed request: BadLength (poly

Re: [dev][dmenu] Setting FC_SCALABLE causes slowdowns

2021-08-09 Thread Hiltjo Posthuma
On Sun, Aug 08, 2021 at 10:33:07AM -0400, Miles Alan wrote: > I'm working on trying to speed up dmenu rendering in some edgecases. I've > sent a patch to the hackers ML about line-length effecting performance. > > A second issue I'm noticing is that the line within drw.c: >

Re: [dev] Article in line with suckless.org

2021-08-07 Thread Hiltjo Posthuma
On Sat, Aug 07, 2021 at 08:02:31AM +0200, Sagar Acharya wrote: > I have written this article at the link below. > > https://designman.org/sagaracharya/blog/pretend_computer_security > > It enhances the value of suckless by pointing the problems in gigantic > softwares. Let me know what you

Re: [dev] [svkbd] layout.sr.h

2021-08-02 Thread Hiltjo Posthuma
On Mon, Aug 02, 2021 at 04:13:12PM +0200, Страхиња Радић wrote: > On 21/08/02 02:31, Petr Vaněk wrote: > > probably no Serbian reviewers here if no one wrote in 4 months :) > > I suspected that is the case, but still the question remains who then reviewed > layout.sh.h? > > > Anyway, I looked to

Re: [dev] [svkbd] layout.sr.h

2021-07-30 Thread Hiltjo Posthuma
On Fri, Jul 30, 2021 at 08:53:33PM +0200, Страхиња Радић wrote: > On 21/03/29 11:39, Страхиња Радић wrote: > > On 21/03/29 11:25, Hiltjo Posthuma wrote: > > > > > > Hi, > > > > > > You can add the patch as an attachment or inline and send it fo

Re: [dev] Better naming for arg.h API

2021-07-08 Thread Hiltjo Posthuma
On Thu, Jul 08, 2021 at 05:32:38PM +0500, Nikita Zlobin wrote: > In Mon, 5 Jul 2021 13:36:50 +0200 > Hiltjo Posthuma wrote: > > > It is based on: > > https://9fans.github.io/plan9port/man/man3/arg.html > > > > argc (count) and argv (array of strings) a

Re: [dev] Better naming for arg.h API

2021-07-05 Thread Hiltjo Posthuma
On Mon, Jul 05, 2021 at 02:48:10PM +0500, Nikita Zlobin wrote: > For now all names in arg.h use ARG for prefix. > However, considering existing argv parsing helpers like getopt, there > could be two prefixes: > OPT - for option key or name (for long opts) > ARG - optional option value if any,

Re: [dev] tabbed: Use PWD xprop to set workdir for spawned clients. Any clear cons?

2021-07-02 Thread Hiltjo Posthuma
On Fri, Jul 02, 2021 at 01:16:41AM +0500, Nikita Zlobin wrote: > I use tabbed for multitab terminal emulator. But I lacked one feature, > presenting in at least some vte-based terminals: when new tab is > opened, it inherits workdir from previous active tab. > > I tried to find, it same could be

Re: [dev] Possible ideas for suckless project

2021-07-01 Thread Hiltjo Posthuma
On Thu, Jul 01, 2021 at 11:54:27PM +0500, Nikita Zlobin wrote: > Hello. > I had some ideas for several years, but never tried to discuss them due > to nothing similar was ever in use. I like suckless direction, though I > would also seek to use same concepts (those I already know) to boost >

Re: [dev] [st] Thoughts on kitty keyboard protocol

2021-06-20 Thread Hiltjo Posthuma
On Sun, Jun 20, 2021 at 08:25:23PM +, opal hart wrote: > On Sat, 22 May 2021 15:10:02 +0200 > Страхиња Радић wrote: > > > Speaking as (thus far) just a user of suckless programs and someone who > > supports > > suckless philosophy, it comes down to: why should this protocol be > >

Re: [dev] Update outdated suckless website

2021-06-11 Thread Hiltjo Posthuma
Hi Martin, Thank you for the valuable feedback. On Fri, Jun 11, 2021 at 02:15:47PM +0800, Martin Tournoij wrote: > Hello, > > I think the suckless website could do with some updating. I think suckless > has potential, but people are turned off by the old website. Using a more > modern website

Re: [dev] adding mtm to the suckless website

2021-05-22 Thread Hiltjo Posthuma
On Fri, May 21, 2021 at 06:11:49PM -0400, Greg Reagle wrote: > I would like to add mtm (https://github.com/deadpixi/mtm), but I don't know > whether to add it to "rocks" or "other_projects". What is the difference? > The rocks part -- Kind regards, Hiltjo

Re: [dev] [dmenu] XLFD fonts are not supported

2021-05-16 Thread Hiltjo Posthuma
On Sun, May 16, 2021 at 10:39:27PM +0200, qsm...@tutanota.com wrote: > If I try > >     printf 'X\n' | dmenu -fn '-misc-fixed-*-*-*-*-*-*-*-*-*-*-*-*' > > with Dmenu 5.0, it runs with a fallback font that is clearly not the XLFD > Fixed font. No warning, nothing at all on standard error to

Re: [dev] Sxmo presentation at AlpineConf (Sat May 15, 14:30 UTC)

2021-05-14 Thread Hiltjo Posthuma
On Fri, May 14, 2021 at 03:59:47PM +0200, Maarten van Gompel wrote: > Hi all, > > I just wanted to drop a little announcement that this weekend on > AlpineConf 2021, we will present Sxmo, the simple X mobile environment. > As it is largely based on the suckless stack of tools (dwm, dmenu, >

Re: [dev] less lines of code suck less

2021-05-03 Thread Hiltjo Posthuma
On Mon, May 03, 2021 at 04:28:47PM -0400, Greg Reagle wrote: > Would sbase suck less if the program head, which is currently a C program of > 77 lines, were replaced with something like > #!/bin/sh > sed "$1"q > No > I know that it would need to be a bit more elaborate than that to handle

Re: [dev] Checksums and Sig files for release gzip

2021-04-17 Thread Hiltjo Posthuma
On Wed, Apr 14, 2021 at 09:05:01AM +0300, Sergey Matveev wrote: > *** Markus Wichmann [2021-04-14 06:03]: > >I don't care about the speed of a hash function. > > If we a talking here about checking software integrity, then speed is > important. Millions of people check the hash of downloaded

Re: [dev] Checksums and Sig files for release gzip

2021-04-16 Thread Hiltjo Posthuma
On Fri, Apr 16, 2021 at 09:16:30PM +0200, Anders Damsgaard wrote: > * Sagar Acharya [2021-04-16 20:01:56 +0200]: > > > Was any decision taken with regards to this? Would we have certain > > checksums and sigs for releases in future? > > > > Thanking you > > Sagar Acharya > >

Re: [dev] Checksums and Sig files for release gzip

2021-04-13 Thread Hiltjo Posthuma
On Tue, Apr 13, 2021 at 04:45:07PM +0200, Daniel Cegiełka wrote: > How/where SHA512 is better than SHA256 or SHA1? I don't see any added > value in this. If someone breaks into your server and replace files, > may also regenerate check sums (SHA256/512 or SHA3, scrypt etc.). The > use of MD5 will

Re: [dev] Completeness suckless

2021-04-12 Thread Hiltjo Posthuma
On Mon, Apr 12, 2021 at 08:22:18AM +0200, Daniel Cegiełka wrote: > > Choose an OS which has a small kernel and other minimal software > > that you need. (OpenBSD is the only one I can see here today) > > suckless is strongly Linux-oriented - musl, ubase, smdev, nldev, nlmon > No, there are also

Re: [dev] Completeness suckless

2021-04-10 Thread Hiltjo Posthuma
On Sat, Apr 10, 2021 at 08:14:08AM +0200, Sagar Acharya wrote: > >I say that coming from one of the best universities in France; I didn't have > >very much respect left for the word "scientist" when I left > Same here. Exactly same! But they for sure are intelligent. One of the key > things in

Re: [dev] [svkbd] layout.sr.h

2021-03-29 Thread Hiltjo Posthuma
On Mon, Mar 29, 2021 at 10:38:49AM +0200, Страхиња Радић wrote: > Hi, > > I created a Serbian keyboard layout for svkbd, how can I upload it so it > can be included in svkbd? > > Thanks in advance, > Strahinya Radich > Hi, You can add the patch as an attachment or

Re: [dev] [dwm] Hide window content when moving/resizing windows

2021-02-10 Thread Hiltjo Posthuma
On Wed, Feb 10, 2021 at 01:10:40PM +0200, Κράκ Άουτ wrote: > Στις 10/2/21 12:34 μ.μ., ο/η Hiltjo Posthuma έγραψε: > > On Wed, Feb 10, 2021 at 10:40:39AM +0200, Κράκ Άουτ wrote: > > > I started using dwm a couple of months ago, switching from xfce4. Since > > >

Re: [dev] Hide window content when moving/resizing windows

2021-02-10 Thread Hiltjo Posthuma
On Wed, Feb 10, 2021 at 10:40:39AM +0200, Κράκ Άουτ wrote: > I started using dwm a couple of months ago, switching from xfce4. Since > my pc is a bit constrained on resources I really appreciate the low > memory footprint of dwm. But I've noticed that it's slower than > xfce/xfwm when

Re: [dev] newbie question

2020-10-28 Thread Hiltjo Posthuma
On Wed, Oct 28, 2020 at 11:44:35AM +0100, Adam Kandur wrote: > > hi everyone, i'm new in c programming. i tried to read sources but stuck with > enum. > as i know, enum is mainly used to assign names to integral constants. but i > don't understand, for example, this code >

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

2020-10-17 Thread Hiltjo Posthuma
On Sat, Oct 17, 2020 at 09:53:47AM +0200, Jona Ackerschott wrote: > Dear suckless community, > Hi Jona, > There seems to be a bug in surf, in the 'readpipe' function in surf.c. > The pipes for communication with the web extension are being closed > there in the switch statement, which is

Re: [dev] GNU Guix

2020-09-29 Thread Hiltjo Posthuma
On Tue, Sep 29, 2020 at 12:21:57PM +, Cuckoo's Calling wrote: > Hello All, > > I came across an amazing project called GNU Guix. > > So, I made an animation to introduce the novel concepts of this project. > > Here is the link for the video, >

Re: [dev] [LibrePlanet]: New Presentation

2020-09-28 Thread Hiltjo Posthuma
On Mon, Sep 28, 2020 at 05:21:06AM +, Goo Goo Knox wrote: > Hi All, > > I am planning to apply for a session in upcoming LibrePlanet conference, to > present a topic on this project. > > Here is the self-shot version of the presentation, >

Re: [dev] [svkbd] request release tag

2020-09-18 Thread Hiltjo Posthuma
On Wed, Sep 16, 2020 at 11:36:45PM +0200, Hiltjo Posthuma wrote: > On Wed, Sep 16, 2020 at 04:11:15PM +0200, Maarten van Gompel wrote: > > On 20-09-13 10:44, Hiltjo Posthuma wrote: > > > Sure that's possible. I have released 0.2 now. > > > > > > If you

Re: [dev] [svkbd] request release tag

2020-09-16 Thread Hiltjo Posthuma
On Wed, Sep 16, 2020 at 04:11:15PM +0200, Maarten van Gompel wrote: > On 20-09-13 10:44, Hiltjo Posthuma wrote: > > Sure that's possible. I have released 0.2 now. > > > > If you have additional fixes/changes which are generic enough to be > > upstreamed > > th

Re: [dev] [svkbd] request release tag

2020-09-13 Thread Hiltjo Posthuma
On Sun, Sep 13, 2020 at 08:17:22PM +0200, Maarten van Gompel wrote: > Hey Hiltjo et al., > > Can we do a release tag for svkbd (0.2)? I'd like to package it for at > least Alpine Linux / postmarketOS so it'd be best if we have a proper tag > then. > > Regards, > > -- > > Maarten van Gompel >

Re: [dev] [dwm] Unexpected session close by clicking a link

2020-09-12 Thread Hiltjo Posthuma
On Fri, Sep 11, 2020 at 01:55:12PM -0300, Sure Thing wrote: > On Thu, Sep 10, 2020 at 7:31 PM Hiltjo Posthuma > wrote: > > > > On Thu, Sep 10, 2020 at 04:24:20PM -0300, Sure Thing wrote: > > > Hi, I've been using dwm for a few months, excellent wm. Recently I > >

Re: [dev] [dwm] Unexpected session close by clicking a link

2020-09-10 Thread Hiltjo Posthuma
On Thu, Sep 10, 2020 at 04:24:20PM -0300, Sure Thing wrote: > Hi, I've been using dwm for a few months, excellent wm. Recently I > clicked a link (retro console review on youtube) and the session > closed (as if Meta-Shift-Q was pressed). > I compiled a version with symbols, attached gdb to the

Re: [dev] [dmenu] ASCII tab and unit separator cause startup lag

2020-08-06 Thread Hiltjo Posthuma
On Thu, Aug 06, 2020 at 10:06:35AM -0400, Greg B wrote: > Hello, > > I've been using dmenu for a window switcher with wmctrl. I noticed after > a recent refactor to my window-listing function that I was seeing > significant lag in the dmenu window popping up after my hotkey. I've > done some

Re: [dev] [st] XIM switching problems in combination with XKB dead keys

2020-07-17 Thread Hiltjo Posthuma
On Fri, Jul 17, 2020 at 07:01:59PM +0200, Maarten van Gompel wrote: > Hi, > > I identified a problem when switching input methods: XIM and XKB keymaps > with dead keys can not be used properly in the same session as that > breaks the dead keys (= composition keys for diacritics). > > My

[dev] [st] release 0.8.4

2020-06-19 Thread Hiltjo Posthuma
Hi all, st is now tagged 0.8.4 as release and available as a tarball. I want to thank all people who made patch contributions to make st better. Below most of the changes are listed. Security * config.def.h: add an option allowwindowops, by default off (secure). Similar to the

  1   2   3   4   >