Hi all,
I'm sorry to make my first mail to the list a bug report, but I noticed that
the window title is being set incorrectly, namely by way of the XStoreName()
function. Unfortunately, that function does not respect the character set of
the supplied string (which on my system is UTF-8), and
Datum: Wed, 16 Jan 2013 18:36:07 +0100
Von: Christoph Lohmann 2...@r-36.net
An: dev mail list dev@suckless.org
Betreff: Re: [dev] [tabbed] Title setting is broken
Greetings.
[...]
Thanks. It is applied a bit modified. Can you check that it now works
for your case?
Yes, it works
On Wed, Jun 26, 2013 at 08:51:46PM -0400, Viola Zoltán wrote:
Hi, DWM users! I wrote a daemon to the DWM status bar! I send it in
attachment. The program name kajjam. Start it simple: ./kajjam
Just a few comments on this.
Compile it with this command:
g++ -funsigned-char
On Fri, Jun 28, 2013 at 08:18:50AM +0300, Edgaras wrote:
On Thu, Jun 27, 2013 at 07:01:52PM +0200, Markus Wichmann wrote:
The function you are looking for is called asprintf().
Isn't asprintf just GNU extension? An IIRC such things a kinda mostly frown
upon here? Though it sure sounds
On Sun, Jun 30, 2013 at 10:27:36AM +0200, Christoph Lohmann wrote:
Greetings.
On Sun, 30 Jun 2013 10:27:36 +0200 oneofthem oneoft...@lavabit.com wrote:
Why doesn't any of the suckless software use a client-server model?
Learn about X11. And then stop those stupid questions without any
On Sat, Jul 06, 2013 at 10:53:01PM -0500, Galos, David wrote:
I also see it a lot in scripts, along with using full options instead
of short--perhaps to be more verbose? So, for compatibility, perhaps it
is best to allow both.
If you mean GNU --long-options, then never in a million years :)
Hi all,
linking ii against uClibc gives a warning about it using
gethostbyname(). I have modified it to use getaddrinfo():
diff --git a/ii.c b/ii.c
index d93266c..117dcf5 100644
--- a/ii.c
+++ b/ii.c
@@ -8,6 +8,7 @@
#include sys/socket.h
#include sys/select.h
#include netinet/in.h
+#include
On Tue, Jul 16, 2013 at 08:58:49AM +0100, Nick wrote:
Quoth Chris Down:
On 14 July 2013 20:42, Nick suckless-...@njw.me.uk wrote:
I'd be inclined to check for and filter out leading .. and /
characters, to avoid tarballs doing unexpectedly evil things.
I think all security onus for
On Wed, Jul 17, 2013 at 01:23:33PM -0400, Calvin Morrison wrote:
Hi guys,
I came up with a utility[0] that i think could be useful, and I sent
it to the moreutils page, but maybe it might fit better here. All it
does is give a count of files in a directory.
I was sick of ls | wc -l being
On Fri, Jul 26, 2013 at 10:54:43PM +0300, sin wrote:
On Fri, Jul 26, 2013 at 12:14:08PM +0100, Nick wrote:
On Fri, Jul 26, 2013 at 01:51:01PM +0300, sin wrote:
Incorporated Steve's changes as well to make it compile/work
on OpenBSD. I realize #ifdef's are terrible but for now it should
On Fri, Oct 18, 2013 at 03:07:41PM +0300, sin wrote:
I do not consider find(1) to be elegant in any way. I agree many ppl use it,
including myself, I just wish we could do without this madness.
I can do without it! I just do
setopt extendedglob
chmod g-x **/*(#q.E^AI)~/**/*
(I hope I
Hi all,
on an unrelated note: mkdir's mode argument is read in as a decimal
number and applied directly to chmod. Are you sure we want that?
Especially with chmod's and ls' use of the symbolic constants?
Also on an unrelated note: Are there really systems out there that don't
define those
Hi all,
as previously threatened, here are some git patches. Hope that helps.
Ciao,
Markus
From dfe485c4298aa8572f7534e19336b682239d0879 Mon Sep 17 00:00:00 2001
From: Markus Wichmann nullp...@gmx.net
Date: Sun, 20 Oct 2013 10:49:59 +0200
Subject: [PATCH 1/4] Make mkdir read mode argument
Hi all,
I was wondering: I know that ssh is crap once you look at what it
actually does (overcomplex configuration/encapsulation/protocol), so is
there any alternative already in existence? If not, I have a proposal
for one: Shell over SSL.
The reason for SSL is that AFAIK most of the suck in it
On Mon, Nov 04, 2013 at 08:57:12PM +0400, Alexander S. wrote:
if something was invented in the era of insufficient computing power,
it does make it more clunky to use.
True. C's dynamic memory management is proof of that.
Being old isn't what makes C old;
Yes it does! But it doesn't make C
On Tue, Dec 03, 2013 at 10:23:02AM +0100, patrick295767 patrick295767 wrote:
I haven't python for instance ;) What for? it is slow. Nothing faster
than C coded apps.
This may be off topic, but I think you might be mistaken here. For one
thing, Gtk and cousins are written in C and last I
On Thu, Dec 12, 2013 at 02:32:03PM -0500, Andrew Gwozdziewycz wrote:
find(1) seems very un-unixy, but it's very powerful.
It's not, though, because ultimately it's just a file system walk with a
system for querying stat(2). No, the problem I have with find is that
its output is not necessarily
On Wed, Dec 25, 2013 at 09:54:51AM +0100, Christoph Lohmann wrote:
Greetings.
On Wed, 25 Dec 2013 09:54:51 +0100 Markus Teich markus.te...@stusta.mhn.de
wrote:
Heyho,
I noticed many CLOSE_WAIT connections from surf in the output of `lsof -i
-an`
after browsing some websites with
On Tue, Jan 14, 2014 at 06:13:58PM -0800, Parke wrote:
Hi,
I use the Openbox window manager with xterm. I just tried replacing
xterm with st.
Compared to xterm, st will stutter/freeze when I resize a window by
dragging a window edge with the mouse. I have Openbox set to refresh
the
Hi all,
I got bored over the weekend and decided to start porting dwm to XCB.
The reason being that XCB rules and Xlib drools. I'm almost done with
dwm.c, but I have come across a few problems I'd like to discuss here.
First of all, how do we do error handling? Xlib has those error handler
On Tue, Jan 21, 2014 at 09:59:48AM +0100, Alexander Huemer wrote:
On Tue, Jan 21, 2014 at 09:41:54AM +0100, Markus Wichmann wrote:
I got bored over the weekend and decided to start porting dwm to XCB.
The reason being that XCB rules and Xlib drools. I'm almost done with
dwm.c, but I have
On Tue, Jan 21, 2014 at 12:45:36PM +, Nick wrote:
On Tue, Jan 21, 2014 at 01:07:37PM +0100, Markus Wichmann wrote:
Also, maybe the majority here is unaware of what kind of a code base
Xlib is. I have seen OS kernels with less complexity.
I haven't used either Xlib or XCB to any
On Tue, Feb 11, 2014 at 12:19:59PM +, Nick wrote:
I was reading the opengroup specifications for make(1) recently[0],
and found that even our standard makefile practise of using 'include'
for config variables is nonstandard, as far as they're concerned.
Needless to say I think 'include' is
On Mon, Mar 10, 2014 at 09:22:39PM +0100, Paul Onyschuk wrote:
On Mon, 10 Mar 2014 20:39:08 +0100
Szymon Olewniczak szymon.olewnic...@rid.pl wrote:
But having so many individual programs is more harder to use that just
one (we need to run more commands), so reasonable would be to combine
On Thu, Apr 10, 2014 at 05:03:33PM -0300, Amadeus Folego wrote:
I probably discovered why this happens.
The WM_DELETE_WINDOW command is being received with success, I tested
it.
The issue is that the command xmonad uses to spawn st double-forks the
process, making the SIGHUP signal not
On Sun, Apr 13, 2014 at 02:10:51PM +0200, FRIGN wrote:
Good day,
sometimes, you depend on an initramfs to do stuff for you before
the rootfs is available.
Busybox has become the standard for all your initramfs needs, but
tbh, I hate working with it.
Statically linking sbase and ubase and
On Wed, Apr 16, 2014 at 11:10:23PM +0100, Dimitris Papastamos wrote:
On Thu, Apr 17, 2014 at 12:07:46AM +0200, Szabolcs Nagy wrote:
so implementing that tool is a one-liner in c
so it is easy to add if it's missing from ubase
We already have pivot_root in ubase. Markus is basically
On Fri, Apr 25, 2014 at 04:42:09PM +0200, Roberto E. Vargas Caballero wrote:
The problem is Wall change from one system to another (this is something
OpenBSD users know with strcpy calls...), and it doesn't force how to
remove the warning, so at the end I think style is not really improved
On Sun, May 04, 2014 at 03:58:39PM +0100, Chris Down wrote:
My seconds use is perhaps a little unclear, sorry. I meant the shell
quoting [method used in soap] does not handle existing instances [of
single quotes] inside single quotes.
Did you even read the code? Of course it does: Every
On Mon, May 12, 2014 at 07:28:48PM -0400, Lee Fallat wrote:
[GPL quoted in full]
Could you please take the time to shorten your quotes to the part you
actually want to reply to?
I've come to adopt the NoLicenseLicense, for sole reason of
demonstrating to people that many of us code for the
On Mon, May 12, 2014 at 01:46:02PM -0600, Anthony J. Bentley wrote:
Example: LibreCAD, a fork of QCad, which had been relicensed by the
authoring company under the GPLv2. LibreCAD wanted to support AutoCAD's
DWG file format. Unluckily for them, LibreDWG (a FSF project) is licensed
GPLv3+, and
On Thu, May 15, 2014 at 04:08:59PM +0200, Sylvain BERTRAND wrote:
Hi,
Unfortunately, libquvi on gentoo expects a system
installed lua (with additional modules).
I don't want this high level script language as a system
dependency. I would prefer lua being packaged internally into
libquvi.
On Sat, May 17, 2014 at 04:14:21PM +0200, Teodoro Santoni wrote:
You're speaking like you're using some OS in which, during runtime,
the code of that software written with a scripting language
is passed through a dispatcher that recalls namespace sessions
and, then, to a limited number of
On Mon, Jun 02, 2014 at 06:41:45PM +0200, FRIGN wrote:
Well, I prefer /etc/passwd, given it gives a false feeling of security
using the shadow-file.
In reality, it's a solution for a very unimportant issue.
If your password is strong, having the hashes won't help any attacker.
On the other
Hi all,
Let us analyze the problem at hand: To display an image on screen, we
need to
- interpret the image file
- display the content on screen
So, having one program that reads some standardized input and displays
it on screen, while another program converts any given image file to
that
On Tue, Jun 24, 2014 at 07:32:10PM +0200, FRIGN wrote:
We are dealing with floats with at most 2 decimal places. I propose we
just go for
CEIL(x) ((int)(x) + ((x) 0 (int)(x) != (x)))
Well, if we know that much already then the easiest to read version
would be:
#define CEIL(x) ((int)(x =
On Mon, Jun 30, 2014 at 08:54:52PM +0200, Markus Teich wrote:
Heyho,
since I did not find any suckless project regarding this issue, I would like
to
ask you guys for some feedback:
unsigned char *msg;
size_t msg_size;
struct foo *msg_data;
struct bar *msg_signature;
msg_size =
On Sun, Aug 17, 2014 at 08:56:45AM +0200, Christoph Lohmann wrote:
You are wrong. The approach to shuffle everything into object‐liked
structures is what makes software development ill. Stop it now.
It would be hard for that statement to be more wrong, because what makes
software
On Wed, Nov 19, 2014 at 07:58:28PM +0100, k...@shike2.com wrote:
For long time I followed the rule of kernel style of not using typedef
ever, but I changed it to the rule of using typedef only with structs
and capital letter, and I can say that this last is far better; You
get more readable
On Wed, Nov 19, 2014 at 11:12:43AM -0500, random...@fastmail.us wrote:
On Wed, Nov 19, 2014, at 09:55, Dimitris Papastamos wrote:
Regarding your question on cp -f then the answer is not quite.
cp -f will try to unlink the destination if it fails to open it for
whatever
reason.
And
On Sat, Nov 22, 2014 at 12:39:07AM +, Henrique Lengler wrote:
Hi,
I have a video player (mplayer) installed on my computer with a lot of
codecs, so it is able to play a lot of videos formats.
I don't like the idea of installing some plugins like gstreamer to play
vide on on the browser
On Sun, Nov 23, 2014 at 10:20:44PM +, Henrique Lengler wrote:
Hi,
What is the situation of GCC, is it bloated?
Holy shit, yes! Ever tried to compile it?
And in the end, GCC has a lot of optimizers that make pedantic
asumptions about the code they compile. For instance, if i is of signed
On Mon, Nov 24, 2014 at 11:01:13AM +0100, koneu wrote:
On November 24, 2014 6:35:51 AM CET, Markus Wichmann nullp...@gmx.net wrote:
that this asumption removes most overflow checking code.
This behaviour is a pro, not a con, of GCC. If you rely on undefined
behaviour to
check for ... well
the correct year for
some of the months.
Found it!
From 2476d80e7f4854382943368299b4e06a0c53db8c Mon Sep 17 00:00:00 2001
From: Markus Wichmann nullp...@gmx.net
Date: Mon, 15 Dec 2014 20:42:12 +0100
Subject: [PATCH] Fix problem with multi month display spanning a year.
---
cal.c | 2 +-
1 file
On Tue, Dec 23, 2014 at 08:42:18AM -0700, Anthony J. Bentley wrote:
The point of this rule is not visual alignment. Width of the type doesn't
matter; it is always one tab. The advantage is that you can find the
declaration of member foo by grepping for ^Ifoo.
Similarly, the function name at
On Thu, Dec 25, 2014 at 04:02:35PM +0100, k...@shike2.com wrote:
I don't use ctags. It's simple, if you use the correct code style you don't
need aditional tools.
ctags tells me the place where all the functions are defined. It also
tells me where all the defines are and where all the
On Fri, Dec 26, 2014 at 10:24:27AM +0100, FRIGN wrote:
no matter how big the codebase is, in my opinion, if you need tools like
that there's something wrong with the code. And I've worked with really
big codebases (good and bad) in my time.
I'm talking about stuff like musl: I don't want to
On Wed, Jan 14, 2015 at 10:42:07PM +0100, Markus Teich wrote:
Heyho,
since I was tired of fetching lots of unneeded html and js and images just to
get a weather forecast, I wrote wego[0]. Comments welcome.
When I tried to run it, it would just print Malformed response. I
added a line to
On Sat, Jan 10, 2015 at 08:51:03PM +0100, FRIGN wrote:
On Sat, 10 Jan 2015 02:52:09 +0100
Dmitrij D. Czarkoff czark...@gmail.com wrote:
+#define UPPER A-Z
+#define LOWER a-z
+#define PUNCT !\#$%'()*+,-./:;=?@[\\]^_`{|}~
These definitions hugely misrepresent corresponding
On Mon, Mar 30, 2015 at 08:50:11AM -0700, Evan Gates wrote:
The problem is using glibc's regex engine without first calling
setlocale to ensure a UTF-8 locale. This causes it to remain in the
C/POSIX locale. This will effect the same problem in all tools that
use the libc's regex engine (expr,
On Mon, Mar 30, 2015 at 08:33:48PM +0200, FRIGN wrote:
On Mon, 30 Mar 2015 19:05:19 +0200
Markus Wichmann nullp...@gmx.net wrote:
How about simply calling setlocale()? Or was that too simple? If the
user has set a non-UTF-8 locale and then uses UTF-8, that's on them!
POSIX locales
Hi all,
I recently read the ICCCM regarding selection handling and noticed we
are doing it wrong. Basically, we're supposed to provide real timestamps
in all the calls to selection functions and check for success.
Now, when requesting selection ownership, that's easy, because xsetsel()
is only
Sorry, forgot to include my work so far.
Ciao,
Markus
From 96c65781f6d0d7b4f914156f520efe86ce193975 Mon Sep 17 00:00:00 2001
From: Markus Wichmann nullp...@gmx.net
Date: Sat, 11 Apr 2015 21:21:34 +0200
Subject: [PATCH] Implement most ICCCM rules for selection handling.
ICCCM mandates the use
On Wed, Jul 08, 2015 at 12:00:35PM +0200, Roberto E. Vargas Caballero wrote:
We are ignoring return value of dup(), so just remove it.
From dup(3):
The dup() system call creates a copy of the file descriptor oldfd,
using the lowest-numbered unused descriptor for the
On Thu, Jun 09, 2016 at 10:50:56PM +1100, Sylvain BERTRAND wrote:
> Hi,
>
> Introducing a new minimal and naive smtp server à la suckless: lnanosmtp
>
> https://github.com/sylware/lnanosmtp
> https://repo.or.cz/lnanosmtp.git
>
> cheers,
>
> --
> Sylvain
>
Dear Lord, it's been a while since
On Mon, Jun 13, 2016 at 11:32:11PM +0200, Mattias Andrée wrote:
> Proofreading and suggestions is greatly appreciated!
>
Page 5: "Branches are incredibly cheap on modern CPUs." Not so! I wrote
a variety of CRC32 algorithms to benchmark (which will just measure my
personal CPU, I know, but it's
On Sat, Jun 25, 2016 at 09:39:48PM +0100, Dimitris Papastamos wrote:
> Try echo `which smdev` > /proc/sys/kernel/hotplug
Erm... you want to add some more layers of evaluation? Why not just
this?
which smdev >/proc/sys/kernel/hotplug
JM2C,
Markus
On Wed, Jan 27, 2016 at 11:22:55PM +0100, Mattias Andrée wrote:
> Perhaps I should describe how the program works
> (although it is very simple.) The documents are
> compared just like of they were words, but with
> lines rather than characters, and only add and
> remove are valid changes, not
On Thu, Feb 02, 2017 at 06:45:49PM +0100, Mattias Andrée wrote:
> Greetings!
>
> I'm work on implementing make(1), and I have two questions for you:
>
> 1) What extensions do you think I shall implement? I think I will
>add $(foreach), $(shell), and I will definitely add $(SHELL).
>
On Thu, Feb 02, 2017 at 07:20:34PM +0100, willy wrote:
> Hello everyone,
>
> While playing with sbase and musl, I encountered a strange bug: tar
> fails to extract bzip2 compressed archives when bzip2 is compiled
> against musl (I only tested static linking). Note that bzip2 uncompresses
> the
On Thu, Sep 01, 2016 at 10:14:18PM +0200, FRIGN wrote:
> On Thu, 1 Sep 2016 21:53:21 +0200
> Sylvain BERTRAND wrote:
>
> Hey Sylvain,
>
> > Added IPv6 to lnanohttp and lnanosmtp:
>
> how do you expect anyone to use your software when you ship your own
> "libc"
On Sat, Sep 10, 2016 at 08:09:41PM +0200, Antoni V. wrote:
> Hi everyone from suckless.
>
> I wanted to know how you perform basic (and not so basic) statistics.
> There are programs like R, but they are generally too big and complex.
>
> I'm aware of desc [1] but it's missing a lot of useful
On Thu, Sep 22, 2016 at 08:04:44PM +0200, u...@netbeisser.de wrote:
> main.c:7:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘void’
> noreturn void __stack_chk_fail(void);
>
noreturn is already a return type (in as much as void is one, namely
syntactically), so remove
On Wed, Oct 19, 2016 at 11:02:03AM +0100, Cág wrote:
> Hi,
>
> I have 16 colours in config.h from my palette, from 0 to 15,
> with 0 (black) being defaultbg and 7 (white) being defaultfg.
> My cursor is 12 (brblue) and reverse cursor is set 7 (white).
> However, in reality reverse cursor is 0
On Fri, Dec 23, 2016 at 08:07:11PM +, Cág wrote:
> Hi,
>
> I was trying to create an archive with my gtk themes with
> "tar -c themes | xz > themes.tar.xz"
> and it says "tar:strlcpy: input string too long".
>
> The same happens without piping. BusyBox' tar did this
> fine.
>
> Also, when
On Sun, Sep 24, 2017 at 11:08:23PM -0400, Rendov Norra wrote:
> The archive shows silence and positivity on threads with go in the subject.
> Unfortunately gmane is unusable, so there's no way to search bodies.
I guess everyone here is just too jaded to respond to those threads
anymore. Anytime
On Mon, May 21, 2018 at 07:12:46PM +0300, Adrian Grigore wrote:
> cc -lutf -o cat cat.o util.o
> cat.o: In function `main':
> cat.c:(.text+0x179): undefined reference to `chartorune'
> cat.c:(.text+0x1dd): undefined reference to `runetochar'
> cc: error: linker command failed with exit code 1 (use
On Thu, Oct 19, 2017 at 12:19:13PM +0200, Quentin Rameau wrote:
> Hello Jianzhong,
> > It's easy for keyboard selection, but for mouse selection, precise
> > positioning is a little bit difficult.
>
> I'd suggest you manage this outside of surf, either by training your
> mouse skills, or by
On Thu, Jul 19, 2018 at 03:49:10PM -0400, Cág wrote:
> If you take a look at README (https://git.suckless.org/sbase/tree/README),
> you'll find out completeness of the programs and missing arguments; out
> of all I only wonder why multi-column output of ls(1) is intentionally
> left out. On Plan 9
On Tue, Jul 17, 2018 at 07:28:25PM -0700, Eric Pruitt wrote:
> The suckless tools don't strictly follow POSIX. For example, sbase mv(1)
> and cp(1) don't support "-i". Furthermore it's pretty portable; find(1)
> on OpenBSD, FreeBSD, macOS and GNU find(1) all support using NUL bytes.
> It's the
Hi all,
I recently read the source code of sdhcp, and it does seem to be a nice
tool, but I couldn't help but notice a few things. Now, maybe I'm dense,
and none of the things I'm about to bring up matter for some reason, and
if so, that would be really cool. But some of these really do seem like
On Thu, Nov 01, 2018 at 08:46:06AM +0100, John Soros wrote:
> config.def.h | 6 +
> x.c | 76
> 2 files changed, 82 insertions(+)
>
> diff --git a/config.def.h b/config.def.h
> index 87ebdbb..265a4ff 100644
> --- a/config.def.h
>
On Thu, Nov 01, 2018 at 09:33:37AM +0100, Quentin Rameau wrote:
> Hello John,
>
> > + DIR* srcdir = opendir("/proc/self/task");
>
> Is that a Linux‐only patch?
>
The subject line would indicate thus. Funnily enough, *that* dependency
could be removed. What can't be removed is the dependency
On Thu, Nov 01, 2018 at 04:12:40PM +0100, John Soros wrote:
> Yes! This is much, much better! Thanks. Pity that it still doesn't work
> on OpenBSD.
If the info I gathered over the course of the last hour is correct, then
the way to query CWD in OpenBSD is
#include
char cwd[PATH_MAX];
On Mon, Nov 12, 2018 at 03:01:02AM +0100, Alessandro Pistocchi wrote:
> Hi everyone,
>
Hi Alessandro,
> I am new to suckless.org. I have seen some of your projects and I
> think I share a vision with you guys to make things as simple as
> possible but not simpler.
>
That's why you have an
On Mon, Nov 12, 2018 at 11:17:49AM +, Alessandro Pistocchi wrote:
> On 12 Nov 2018, at 05:28, Markus Wichmann wrote:
> >
> > That's why you have an iPhone?
>
> You would be surprised. I still use an old phone with the numeric keys
> as a mobile phone.
>
Those a
On Mon, Nov 12, 2018 at 01:14:38PM -0800, Michael Forney wrote:
> Usually how it works is either the display server itself needs to be
> setuid to open those input devices, or some other program (commonly
> systemd-logind) needs to open it on its behalf. I believe Xorg with
> systemd disabled will
On Sat, Dec 29, 2018 at 08:32:13PM -0500, stephen Turner wrote:
> If one was going to rewrite a cleaner make what would be the recommended
> approach?
> [...]
> I am not skilled enough to start from scratch [...]
>
Maybe start with that. Make is a pretty simple algorithm: You build a
dependency
On Fri, Jan 04, 2019 at 10:20:42AM -0200, Caio Barros wrote:
> Em qui, 3 de jan de 2019 às 23:22, Martin Tournoij
> escreveu:
>
> > Note there is a typo in that hashbang,
>
> oops! I was typing as I went :D. Actually in the original script I
> didn't add the shebang #!/bin/sh, but I did it now
On Thu, Jan 10, 2019 at 08:11:57PM +, sylvain.bertr...@gmail.com wrote:
> Expect POSIX to add significant technical cost over time, like ISO, ANSI,
> the most monstruous being the w3c.
You ever try to write POSIX utilities according to the standard? Believe
me, POSIX of all standards doesn't
On Fri, Jan 04, 2019 at 02:17:12PM -0200, Caio Barros wrote:
> That's it! Yes, I'm unfotunately still runing a display manager:
> lightdm. I'm slowly getting rid of the bloat [...]
It was never my intention to advise you of how bloated or unbloated your
system can be. To be honest, I don't know
On Sat, Mar 09, 2019 at 06:59:38PM +, sylvain.bertr...@gmail.com wrote:
> Hi,
>
> I am coding a little/simple custom language parser, and I was wondering if
> there
> are "suckless" grade alternatives to flex and bison, anyone? But wait...
>
> That said and as of today, I still don't agree
On Fri, Jan 25, 2019 at 08:41:54PM +0100, Silvan Jegen wrote:
> The opinions on Go are mixed on this list from what I remember.
Oh boy, that again. If you wait a minute, someone will tell you that Go
is bloated because a Hello World clocks in at 2MB or something.
I have a different problem with
On Tue, Jan 29, 2019 at 02:34:19PM -0600, Cág wrote:
> Well, I assumed most people on this list do write C for a living, isn't
> that so?
>
I certainly do. Working in embedded stuff.
> Can you web development in C?
>
You can, since you can do anything in C. But why would you want to? Web
dev
On Sat, Feb 02, 2019 at 06:15:26PM +, sylvain.bertr...@gmail.com wrote:
> Hi,
>
> I am looking at xml parsers.
>
> I am about to go expat, but I am wondering if there are some interesting
> alternatives I did miss?
>
> --
> Sylvain
>
At work, we're using libxml2. Since we are also using
On Wed, May 15, 2019 at 01:15:43PM +0200, Przemek Dragańczuk wrote:
> LG3D was a WM written in Java, which maximises the irony.
OK, I didn't know that one. Awesome.
> Java apps
> know how to work on it, so they work fine when they think they are
> running on it. The issue has something to do
On Sat, May 11, 2019 at 08:52:32PM +0100, Piotr Oleskiewicz wrote:
> I would prefer to
> write
>
> X(int, i, 1)
>
> rather than
>
> X(int, i, atoi, "%d", 1)
>
> Many thanks,
> Piotr
>
That is going to be tough, as in C in a macro, there is no way to really
determine what type name you
On Sun, May 12, 2019 at 01:30:10AM -0700, Michael Forney wrote:
> What about _Generic in C11? This allows you to choose an expression
> based on the type of another expression.
God dammit, looks like I need to get some C11 training under my belt.
Completely forgot _Generic was a thing.
Ciao,
On Tue, Sep 17, 2019 at 12:15:59PM +0200, C.J. Wagenius wrote:
> Hi.
>
> I'm using surf on void linux (musl). I get a whole lot of zombies (sh
> ) when spawning child processes (Go & Find). I don't know where the
> optimal place is to put a waitpid for them but this works for me.
>
> # --- Start
On Sat, Jun 15, 2019 at 09:28:05PM +0200, Mattias Andrée wrote:
> `long double` is able to exactly represent all values exactly
> representable in `uint64_t`, `int64_t` and `double` (big float
> can be used for other languages).
Not guaranteed. What exactly a long double is, is different for each
On Wed, Sep 25, 2019 at 08:20:52AM +0200, Laslo Hunhold wrote:
> chroot() should never be optional. unveil() might bring the same
> effect, but the unveil()-wrapper in quark doesn't do anything on Linux.
>
chroot() has several detrimental effects, most importantly making it
impossible to access
On Wed, Sep 25, 2019 at 04:32:45PM +0200, Laslo Hunhold wrote:
> please excuse the ignorant question, but why would you want to access
> /dev/null? The problem with /dev/urandom is well-known, which is why
> OpenBSD has arc4random(3).
>
You might not, but a library you use might. I remember musl
On Sat, Dec 21, 2019 at 07:05:45PM -0800, Michael Forney wrote:
> - Most BSD chmod(1) have -H, -L, and -P options (defaulting to -P),
> and the filesystem *does* record the mode of a symlink, but this mode
> has no affect on the kernel's access checks.
Well, most Linux FSes have the capacity to
On Wed, May 20, 2020 at 12:24:00PM +1000, Александр Рянин wrote:
> I use Arch Linux, dwm and st. Got st through the git clone. Got it without
> patches. Just make && sudo make install. When trying to run mutt st falls
> with an error output:
>
> $ st
> erresc: unknown csi ESC[22;0;0t
> erresc:
On Sat, Oct 24, 2020 at 07:44:43PM +0100, Daniel Littlewood wrote:
> Hi all,
>
> I have noticed a feature from tmux that I would like to have in vanilla st.
> The behaviour is that when the screen resizes, the window is redrawn
> to fit the new size.
> In vanilla st, if I make the window smaller
On Sat, May 22, 2021 at 06:50:51AM +, Tobias Bengfort wrote:
> I just found out about this protocol:
>
> https://sw.kovidgoyal.net/kitty/keyboard-protocol.html
>
> Basically it provides a way to send unambigous esc and other keys as well as
> key release events to terminal programs while being
On Mon, Mar 22, 2021 at 03:15:35PM -0400, Sebastian LaVine wrote:
> The Suckless community is international, and many of course do not speak
> English -- in particular American English -- as a primary language. But as
> an American, the word used in that email address is beyond vulgar, and
>
On Wed, Mar 24, 2021 at 11:12:29PM +0100, Страхиња Радић wrote:
> Didn't know that, thanks. What is the reasoning behind having a separate
> .def.h in the first place then? Wouldn't editing a local copy of config.h from
> the cloned repository suffice?
The idea is that you keep your
On Tue, Apr 13, 2021 at 09:58:56PM +0300, Sergey Matveev wrote:
> *** Markus Wichmann [2021-04-13 20:17]:
> >Y'know, while we're bikeshedding, why not just use SHA-3?
>
> Answer is: https://www.imperialviolet.org/2017/05/31/skipsha3.html
I don't care about the speed of a hash
On Tue, Apr 13, 2021 at 05:08:31PM +0200, Mattias Andrée wrote:
> On Tue, 13 Apr 2021 16:57:39 +0200
> Sagar Acharya wrote:
>
> > Sure, any good signature. SHA512 is stronger than SHA1, MD5 and SHA256. It
> > shouldn't take a second more than others. Why use a weaker checksum?
>
> SHA512 is
1 - 100 of 124 matches
Mail list logo