Re: [hackers] [dwm][patch] config.mk patch for OpenBSD

2022-05-01 Thread Hiltjo Posthuma
On Sun, May 01, 2022 at 01:53:47PM -0400, fo...@dnmx.org wrote: > :D I am so glad that I could have helped, and do it 3 times at once, hah! > > You have made my day, for I have contributed to something else again :) > Have a nice day > - fossy. > no u :P > > > On Sun, May 01, 2022 at

Re: [hackers] [dwm][patch] config.mk patch for OpenBSD

2022-05-01 Thread Hiltjo Posthuma
On Sun, May 01, 2022 at 10:33:53AM -0400, fo...@dnmx.org wrote: > Hello there, fellow hackers! > > Here's a patch for the config.mk (attached)! > I apologize for not sending an e-mail trough git. > > Have a nice day, > OpenBSD user. Thanks, also added this comment for dmenu and st. -- Kind

[hackers] [dwm] Makefile: add manual path for OpenBSD || Hiltjo Posthuma

2022-05-01 Thread git
commit cd0773cee9bad694dc9a6b1355a32bbe61abadff Author: Hiltjo Posthuma AuthorDate: Sun May 1 18:37:54 2022 +0200 Commit: Hiltjo Posthuma CommitDate: Sun May 1 18:37:54 2022 +0200 Makefile: add manual path for OpenBSD Reported by fossy , thanks diff --git a/config.mk

[hackers] [dmenu] Makefile: add manual path for OpenBSD || Hiltjo Posthuma

2022-05-01 Thread git
commit 28fb3e28120db29ea45d1951eee7047b4109ab5f Author: Hiltjo Posthuma AuthorDate: Sun May 1 18:38:25 2022 +0200 Commit: Hiltjo Posthuma CommitDate: Sun May 1 18:38:25 2022 +0200 Makefile: add manual path for OpenBSD diff --git a/config.mk b/config.mk index 0df3fc8..b0bd246 100644

[hackers] [st] Makefile: add manual path for OpenBSD || Hiltjo Posthuma

2022-05-01 Thread git
commit baa9357e96d2478baa52a3301e70ac80a229b726 Author: Hiltjo Posthuma AuthorDate: Sun May 1 18:38:40 2022 +0200 Commit: Hiltjo Posthuma CommitDate: Sun May 1 18:38:40 2022 +0200 Makefile: add manual path for OpenBSD diff --git a/config.mk b/config.mk index 4c4c5d5..ddf278a 100644

[hackers] [sbase][PATCH] tar: support creating entries with long paths and link targets.

2022-05-01 Thread Andrew Chambers
Posix tarballs use extended headers to represent paths that do not fit in the original ustar header format. This patch implements the transparent creation of these headers when paths overflow. --- tar.c | 81 +++ 1 file changed, 71

[hackers] [sbase][PATCH] tar: support extracting long paths, link targets, and times.

2022-05-01 Thread Andrew Chambers
Posix tarballs use extended headers to represent paths and values that do not fit in the original ustar header format. This patch implements parsing and handling of a subset of these extended headers. The motivating tarball was the gcc source code, which exceeds the original path limit. ---

Re: [hackers] [dmenu] fix incorrect comment, math is hard || Hiltjo Posthuma

2022-05-01 Thread Hiltjo Posthuma
On Sun, May 01, 2022 at 02:08:58PM +0600, NRK wrote: > Hi Quentin, > > On Sat, Apr 30, 2022 at 05:07:32PM +0200, Quentin Rameau wrote: > > - inputw = mw / 3; /* input width: ~33% of monitor width */ > > + inputw = mw / 3; /* input width: ~33.333% of monitor width */ > > You tried. > > diff

Re: [hackers] [dmenu] fix incorrect comment, math is hard || Hiltjo Posthuma

2022-05-01 Thread NRK
Hi Quentin, On Sat, Apr 30, 2022 at 05:07:32PM +0200, Quentin Rameau wrote: > - inputw = mw / 3; /* input width: ~33% of monitor width */ > + inputw = mw / 3; /* input width: ~33.333% of monitor width */ You tried. diff --git a/dmenu.c b/dmenu.c index 571bc35..3595267 100644 ---

Re: [hackers] [dmenu] inputw: improve correctness and startup performance, by NRK || Hiltjo Posthuma

2022-05-01 Thread Stein Gunnar Bakkeby
How about an arbitrary default size of something like MIN(TEXTW("W") * 30, mw / 3)? On Sat, 30 Apr 2022, 13:46 NRK, wrote: > On Sat, Apr 30, 2022 at 01:28:49PM +0200, Hiltjo Posthuma wrote: > > Whats your monitor resolution width? > > I'm currently using 1366x768. Don't think it's worth