Re: [dev] app locations?

2016-10-17 Thread Dimitris Papastamos
On Mon, Oct 17, 2016 at 10:01:12AM -0400, stephen Turner wrote: > So i have determined the locations of most of sbase and ubase using > the linux FHS [0]. I have a few that needs categories for the legacy > style linux and was hoping someone would have a few pointers. I > offered my thoughts based

Re: [dev] Allow secure access to Web site suckless.org

2016-08-03 Thread Dimitris Papastamos
On Wed, Aug 03, 2016 at 01:20:32PM +0200, FRIGN wrote: > On Wed, 3 Aug 2016 13:10:06 +0200 > hiro <23h...@gmail.com> wrote: > > > are you claiming Let's Encrypt is trustworthy?! > > However, to add to my previous point, I like the automated process for > Let's Encrypt, and it adds more trust than

Re: [dev] [noice] with musl

2016-07-18 Thread Dimitris Papastamos
On Mon, Jul 18, 2016 at 02:09:02PM +0300, Cág wrote: > > did you try recompiling with "-fPIC"? > > I am not sure where to put it, so I did it like this > > make CC="gcc -fPIC" > > and it gave the same error. Try to do a make clean first and then simply make.

Re: [dev] [noice] with musl

2016-07-18 Thread Dimitris Papastamos
On Mon, Jul 18, 2016 at 02:09:02PM +0300, Cág wrote: > > did you try recompiling with "-fPIC"? > > I am not sure where to put it, so I did it like this > > make CC="gcc -fPIC" > > and it gave the same error. noice does not build any shared libraries. A friend of mine tried to build it on alpin

Re: [dev] [smdev] hotplugging

2016-06-25 Thread Dimitris Papastamos
On Sat, Jun 25, 2016 at 11:25:50PM +0300, Cág wrote: > Hi lads, > > Could ye please point me to the right solution? I'm trying to > replace udev with > smdev. Typing smdev returns me > "Environment not set up correctly for hotplugging". Try echo `which smdev` > /proc/sys/kernel/hotplug and then r

Re: [dev] [lnanosmtp]

2016-06-09 Thread Dimitris Papastamos
On Thu, Jun 09, 2016 at 03:41:22PM +0200, FRIGN wrote: > This is so full of bullshit. There's no reason e.g. not to make it > compilable on the BSD's. The Linux syscall-interface is also prone > to changes. If the Linux syscall interface changes in a non backwards-compat manner then it is consider

Re: [dev] [slock] [PATCH] Ctrl-u now resets the input

2016-06-08 Thread Dimitris Papastamos
On Wed, Jun 08, 2016 at 09:55:38AM +0200, Anselm R Garbe wrote: > Hi Troy, > > I'm not sure if this feature is really required. Typing a wrong > password can be corrected on second attempt anyways. > > What is the opinion of other users to this change? I don't think it is necessary for slock. I

Re: [dev] [dwm] under NetBSD

2016-05-03 Thread Dimitris Papastamos
On Tue, May 03, 2016 at 03:52:50PM +0300, Mitt Green wrote: > Hi, > > I adjusted paths in config.mk: > X11INC = /usr/X11R7/include > X11LIB = /usr/X11R7/lib > FREETYPEINC = ${X11INC}/freetype2‎ > > It compiles successfully, but startx/xinitrc > show me X for a second and then it goes > back to tt

Re: [dev] a few questions about watch in ubase

2016-04-21 Thread Dimitris Papastamos
On Thu, Apr 21, 2016 at 02:04:43PM -0400, Greg Reagle wrote: > Please excuse me if these questions are rudimentary. I am using Debian > Stable. > > Why is watch linked with the crypt library? > cc -s -o watch watch.o libutil.a -lcrypt > It does not seem to need it. watch does not use anything

Re: [dev] [lnanohttp] nanonimal http server for linux

2016-04-20 Thread Dimitris Papastamos
On Thu, Apr 21, 2016 at 01:18:12AM +1100, Sylvain BERTRAND wrote: > On Wed, Apr 20, 2016 at 03:09:20PM +0100, Dimitris Papastamos wrote: > > On Thu, Apr 21, 2016 at 12:22:42AM +1100, Sylvain BERTRAND wrote: > > > On Wed, Apr 20, 2016 at 09:39:43AM +0100, Dimitris Papastamos wro

Re: [dev] [lnanohttp] nanonimal http server for linux

2016-04-20 Thread Dimitris Papastamos
On Thu, Apr 21, 2016 at 12:22:42AM +1100, Sylvain BERTRAND wrote: > On Wed, Apr 20, 2016 at 09:39:43AM +0100, Dimitris Papastamos wrote: > > On Wed, Apr 20, 2016 at 07:05:09PM +1100, Sylvain BERTRAND wrote: > > > quark pulls the posix libc. lnanohttp has 0 deps: this

Re: [dev] [lnanohttp] nanonimal http server for linux

2016-04-20 Thread Dimitris Papastamos
On Wed, Apr 20, 2016 at 07:05:09PM +1100, Sylvain BERTRAND wrote: > quark pulls the posix libc. lnanohttp has 0 deps: this is straight linux > syscalls programming, there are no libc syscall wrappers. What's wrong with libc?

Re: [dev] [ANNOUNCE] flao: simple FLAC audio player

2016-04-17 Thread Dimitris Papastamos
On Sat, Apr 16, 2016 at 04:39:22PM -0400, Wolfgang Corcoran-Mathe wrote: > Hi all, > > I have been working on a CLI player for FLAC[0] audio files intended > as a replacement for the old and crufty flac123[1]. It is about 230 > SLOC and includes the minimum amount of FLAC insanity necessary to >

Re: [dev] [dwm] bad line in config.mk?

2016-04-08 Thread Dimitris Papastamos
On Sat, Apr 09, 2016 at 12:13:44AM +0545, Neeraj Adhikari wrote: > Hi, > > I downloaded the dwm-6.1 tarball and tried to compile but it failed > with the error message that ft2build.h was not found. When I looked at > config.mk, The line below immediately below "# OpenBSD (uncomment)" > that chang

Re: [dev] [dmenu] versioning and patching

2016-03-19 Thread Dimitris Papastamos
On Mon, Mar 14, 2016 at 07:25:22PM -0700, Eric Pruitt wrote: > On Mon, Mar 14, 2016 at 08:12:17PM -0600, Anthony J. Bentley wrote: > > Boruch Baum writes: > > > 1] I want to request that dmenu produce 'correct' output for its > > > --version command. Currently, the ouput is identical to --help oupu

Re: [dev] Re: [sbase] [PATCH] sort: Fix -u option

2016-03-13 Thread Dimitris Papastamos
On Sat, Mar 12, 2016 at 03:48:13PM -0800, Michael Forney wrote: > On Sat, Mar 12, 2016 at 11:46:31AM -0800, Michael Forney wrote: > > In eb9bda878736344d1bef06d42e57e96de542a663, a bug was introduced in the > > handling of -1 return values from getline. Since the type of the len > > field in struct

Re: [dev] [bug][dwm] Fullscreen youtube after tag switch in 6.1

2016-03-06 Thread Dimitris Papastamos
On Sun, Mar 06, 2016 at 01:18:57PM -0300, Carlos Pita wrote: > > Flash is very much a technical problem. Binary blob, catastrophic > > security record, X11 support is a giant hack (render a window on top of > > the page), absolutely non-portable outside of a few common > > OS+architecture combinati

Re: [dev] [sbase][bug] cat -u is not unbuffered

2016-03-01 Thread Dimitris Papastamos
On Tue, Mar 01, 2016 at 12:23:52AM -0600, Ryan Wilson wrote: > So I was studying sbase and found a bug in cat. POSIX says that cat -u should > "Write bytes from the input file to the standard output without delay as each > is read." But if you try feeding cat input slowly you can see this is not

Re: [dev] suckless shared tools

2016-02-27 Thread Dimitris Papastamos
On Sat, Feb 27, 2016 at 03:56:25PM -0300, Marc Collin wrote: > Hello, > A few days ago arg.h was update on sbase to fix an out-of bounds error. > After that the same error was fixed (some sooner some later) on lots > of other projects that also have arg.h like ubase, slock, dmenu, st, > and others.

Re: [dev] [sbase][PATCH] Add factor(1)

2016-02-26 Thread Dimitris Papastamos
On Fri, Feb 26, 2016 at 12:48:09PM +0100, Jens Staal wrote: > On 2016 M02 26, Fri 09:11:20 CET Mattias Andrée wrote: > > I'm actually using factor. And it is in base systems, so > > I think it should be included, but I will be simplifying > > it. > > What about including it in ubase instead? That

Re: [dev] [sbase][PATCH] Add factor(1)

2016-02-26 Thread Dimitris Papastamos
On Fri, Feb 26, 2016 at 12:45:27PM +0100, Mattias Andrée wrote: > On Fri, 26 Feb 2016 11:39:07 + > Dimitris Papastamos wrote: > > > On Fri, Feb 26, 2016 at 12:33:37PM +0100, Mattias Andrée > > wrote: > > > On Fri, 26 Feb 2016 11:31:31 + &g

Re: [dev] [sbase][PATCH] Add factor(1)

2016-02-26 Thread Dimitris Papastamos
On Fri, Feb 26, 2016 at 12:33:37PM +0100, Mattias Andrée wrote: > On Fri, 26 Feb 2016 11:31:31 + > Dimitris Papastamos wrote: > > > On Fri, Feb 26, 2016 at 12:28:32PM +0100, Mattias Andrée > > wrote: > > > On Fri, 26 Feb 2016 11:26:15 + &g

Re: [dev] [sbase][PATCH] Add factor(1)

2016-02-26 Thread Dimitris Papastamos
On Fri, Feb 26, 2016 at 12:28:32PM +0100, Mattias Andrée wrote: > On Fri, 26 Feb 2016 11:26:15 + > Dimitris Papastamos wrote: > > > On Fri, Feb 26, 2016 at 12:19:32PM +0100, Mattias Andrée > > wrote: > > > On Fri, 26 Feb 2016 10:07:31 + &g

Re: [dev] [sbase][PATCH] Add factor(1)

2016-02-26 Thread Dimitris Papastamos
On Fri, Feb 26, 2016 at 12:19:32PM +0100, Mattias Andrée wrote: > On Fri, 26 Feb 2016 10:07:31 + > Dimitris Papastamos wrote: > > > On Fri, Feb 26, 2016 at 09:47:14AM +0100, Mattias Andrée > > wrote: > > > On Fri, 26 Feb 2016 09:43:02 +0100 > > > FRIGN

Re: [dev] [sbase][PATCH] Add factor(1)

2016-02-26 Thread Dimitris Papastamos
On Fri, Feb 26, 2016 at 09:47:14AM +0100, Mattias Andrée wrote: > On Fri, 26 Feb 2016 09:43:02 +0100 > FRIGN wrote: > > > On Fri, 26 Feb 2016 09:37:12 +0100 > > Mattias Andrée wrote: > > > > Hey Mattias, > > > > > Mostly random things, but regularly when I correct maths > > > tests. > > > >

Re: [dev] [sbase][PATCH] Add factor(1)

2016-02-25 Thread Dimitris Papastamos
We don't need a factor implementation in sbase. In the future, if you are unsure on whether a particular tool is needed or to avoid duplicated effort in case someone else is working on it, ask on the mailing list first.

Re: [dev] [sbase][RFC] patch: whitespace patches

2016-02-25 Thread Dimitris Papastamos
On Thu, Feb 25, 2016 at 02:42:42PM +0100, Mattias Andrée wrote: > On Thu, 25 Feb 2016 14:11:05 +0100 > FRIGN wrote: > > > On Thu, 25 Feb 2016 13:39:30 +0100 > > Mattias Andrée wrote: > > > > Hey Matthias, > > > > > I think the documentation should be clear that it > > > only to be relied upon

Re: [dev] [sbase][RFC] patch: whitespace patches

2016-02-25 Thread Dimitris Papastamos
On Thu, Feb 25, 2016 at 02:11:05PM +0100, FRIGN wrote: > On Thu, 25 Feb 2016 13:39:30 +0100 > Mattias Andrée wrote: > > Hey Matthias, > > > I think the documentation should be clear that it > > only to be relied upon if whitespace changes do > > not have any affects. Perhaps it should not allow

Re: [dev] [sbase][RFC] patch: whitespace patches

2016-02-25 Thread Dimitris Papastamos
On Wed, Feb 24, 2016 at 08:54:13PM +0100, Mattias Andrée wrote: > Hi! > > I'm working on implementing patch(1). I'm thinking about > introducing an extension to the standard: -w. When this > flag is used, patch will verify that the patchfile only > changes whitespace in the file. > > So I have 2

Re: [dev] [sbase][PATCH 2/2] add sha512-224sum (SHA512/224) and sha512-256sum (SHA512/256)

2016-02-24 Thread Dimitris Papastamos
Thanks for the patches! I've applied the first. This one causes a compilation issue with the sbase-box target because of the '-' in the source file name. Can you have a look?

Re: [dev] [sbase] missing tool - awk

2016-02-20 Thread Dimitris Papastamos
On Fri, Feb 19, 2016 at 08:48:51PM -0200, Alba Pompeo wrote: > Hello. > I notice awk is in the sbase TODO. > Why not just import Kernighan's awk[0]? He created the language after > all. And the program isn't legacy code (last update was on 2012). So > all looks fine. > Want to hear what you think.

Re: [dev] [sbase][PATCH] Add tsort(1)

2016-02-17 Thread Dimitris Papastamos
On Wed, Feb 17, 2016 at 01:17:33AM +0100, Mattias Andrée wrote: > Signed-off-by: Mattias Andrée > --- > Makefile | 1 + > README | 1 + > tsort.1 | 72 + > tsort.c | 218 > +++ > 4 files changed, 292 inserti

Re: [dev] [ANNOUNCE] slock-1.3

2016-02-15 Thread Dimitris Papastamos
On Mon, Feb 15, 2016 at 11:40:07AM +0100, FRIGN wrote: > On Mon, 15 Feb 2016 10:55:45 +0100 > Markus Teich wrote: > > Hey Markus, > > > This is an interesting idea. I would not use it for mainline (users don't > > want > > to change their password in many places), but you can push a patch to th

Re: [dev] [sbase][PATCH] ls: only display directory headers when more than one directory is specified

2016-02-15 Thread Dimitris Papastamos
Thanks! I've applied the patch.

Re: [dev] [sbase][PATCH] install

2016-02-12 Thread Dimitris Papastamos
On Thu, Feb 11, 2016 at 12:06:14PM +0100, Mattias Andrée wrote: > diff --git a/Makefile b/Makefile > index 1c09cac..b34800d 100644 > --- a/Makefile > +++ b/Makefile > @@ -103,6 +103,7 @@ BIN =\ > getconf\ > grep\ > head\ > + install.out\ > join\ > hostname\ >

Re: [dev] [sbase][PATCH] Makefile: uninstall [ command in the uninstall rule

2016-02-12 Thread Dimitris Papastamos
On Fri, Feb 12, 2016 at 09:45:03AM +0100, Mattias Andrée wrote: > Signed-off-by: Mattias Andrée > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 1c09cac..1742992 100644 > --- a/Makefile > +++ b/Makefile > @@ -202,7 +202,7 @@ in

Re: [dev] fsbm (1) version 1.1 released

2016-02-11 Thread Dimitris Papastamos
On Thu, Feb 11, 2016 at 12:55:34PM -0500, Calvin Morrison wrote: > On 11 February 2016 at 12:53, Alba Pompeo wrote: > > It's not supposed to be used on Linux on the first place - right. > > My bad for missing this information. > > > > > > On Thu, Feb 11

Re: [dev] fsbm (1) version 1.1 released

2016-02-11 Thread Dimitris Papastamos
On Thu, Feb 11, 2016 at 03:48:34PM -0200, Alba Pompeo wrote: > Both are very cool! > A nitpick is that Dimitri's version uses the nonstandard header sys/sysctl.h. > This prevents compilation on musl. Hm yes, it is only meant to work on OpenBSD. The sample() function is totally non-portable. (It

Re: [dev] fsbm (1) version 1.1 released

2016-02-11 Thread Dimitris Papastamos
On Thu, Feb 11, 2016 at 11:01:35AM -0500, Calvin Morrison wrote: > Hi, > > I had time to commit my last changes into fsbm [0], the minimal > bandwidth meter. Notably the two features added are below: > > -r flag now accepted to show raw byte or bit counts, rather than > squashing into Kb/s Mb/s

Re: [dev] [sbase][PATCH] install

2016-02-11 Thread Dimitris Papastamos
On Thu, Feb 11, 2016 at 01:57:00PM +0100, Mattias Andrée wrote: > It cannot be `install` because it conflicts with > install rule. So I decided to append .out (like in a.out) > to make it work. Duh, of course. > > > +static void > > > +make_dir(char *dir, int was_missing) > > > +{ > > > + if (!mk

Re: [dev] [sbase][PATCH] install

2016-02-11 Thread Dimitris Papastamos
Looks good, thanks! Some minor comments below. On Thu, Feb 11, 2016 at 12:06:14PM +0100, Mattias Andrée wrote: > New command. Includes the flags: > > -s strip binary > -d create directory > -D create missing directories > -t DIR target directory > -m MODEpermissio

Re: [dev] [sbase] install

2016-02-11 Thread Dimitris Papastamos
On Wed, Feb 03, 2016 at 08:10:50PM +0100, Mattias Andrée wrote: > I don't really see the point of including install, > but I assumed there would have been some consensus > on what to features to include. > None of implementations have the same flag set, and > some have incompatible flag sets; and i

Re: [dev] [sbase][PATCH v2] pathchk

2016-02-11 Thread Dimitris Papastamos
On Wed, Feb 03, 2016 at 08:12:26PM +0100, Mattias Andrée wrote: > New command, including man page. > UTF-8 compatible and should be POSIX-compliant. Applied, thanks!

Re: [dev] tag new slock release?

2016-02-10 Thread Dimitris Papastamos
On Wed, Feb 10, 2016 at 04:46:01PM +0100, Markus Teich wrote: > Heyho, > > I propose to tag a new v1.3 release for slock. I have no open patches or bug > reports on my list and my attention was brought to it a few times already. A > major thing noted by most people was the fix for resizing the cov

Re: [dev] [PATCH] Change an eprintf to a die to stop child from running its own slideshow

2016-01-14 Thread Dimitris Papastamos
On Thu, Jan 14, 2016 at 11:21:00AM +0100, Kamil Cholewiński wrote: > > It depends on your background. eprintf() and weprintf() were written by > > Rob Pike and Kernighan and used in the book "The Practice of Programming". > > I see... Principle of least surprise, except it's me who should never b

Re: [dev] [PATCH] Change an eprintf to a die to stop child from running its own slideshow

2016-01-14 Thread Dimitris Papastamos
On Thu, Jan 14, 2016 at 11:01:16AM +0100, Kamil Cholewiński wrote: > > Otherwise we can use the approach in sbase which is to have eprintf() > > be equivalent to die() and weprintf() for just the warning version. > > TBH I would find this behavior extremely confusing. The established > conventions

Re: [dev] [PATCH] Change an eprintf to a die to stop child from running its own slideshow

2016-01-14 Thread Dimitris Papastamos
On Thu, Jan 14, 2016 at 09:02:43PM +1300, David Phillips wrote: > The child thread was created because execlp will not return if successful. > The eprintf was placed after the call to execlp to catch any error, but the > child continued to return a (closed) fds[0], resulting in a second slideshow >

Re: [dev] [PATCH] Change an eprintf to a die to stop child from running its own slideshow

2016-01-14 Thread Dimitris Papastamos
On Thu, Jan 14, 2016 at 09:02:43PM +1300, David Phillips wrote: > The child thread was created because execlp will not return if successful. > The eprintf was placed after the call to execlp to catch any error, but the > child continued to return a (closed) fds[0], resulting in a second slideshow >

Re: [dev] lock (1) - where does it go?

2016-01-12 Thread Dimitris Papastamos
On Tue, Jan 12, 2016 at 12:00:57PM -0500, Calvin Morrison wrote: > On 12 January 2016 at 11:39, Dimitris Papastamos wrote: > > On Tue, Jan 12, 2016 at 11:28:42AM -0500, Calvin Morrison wrote: > >> > Care to clarify the limitations of flock? > >> > >&g

Re: [dev] lock (1) - where does it go?

2016-01-12 Thread Dimitris Papastamos
On Tue, Jan 12, 2016 at 11:28:42AM -0500, Calvin Morrison wrote: > > Care to clarify the limitations of flock? > > Extensive discussion took place here: > http://lists.suckless.org/dev/1404/20719.html Yes I saw the thread. What is the problem with the current flock implementation? I understand

Re: [dev] lock (1) - where does it go?

2016-01-12 Thread Dimitris Papastamos
On Tue, Jan 12, 2016 at 11:24:09AM -0500, Calvin Morrison wrote: > On 12 January 2016 at 10:27, Dimitris Papastamos wrote: > > On Tue, Jan 12, 2016 at 09:35:59AM -0500, Calvin Morrison wrote: > >> sorry to revive an old topic - > >> > >> I'd like to have

Re: [dev] lock (1) - where does it go?

2016-01-12 Thread Dimitris Papastamos
On Tue, Jan 12, 2016 at 09:35:59AM -0500, Calvin Morrison wrote: > sorry to revive an old topic - > > I'd like to have this in with other utils, because i find it useful in > my day to day work. I do not care about the licensing, feel free to > use whatever license is appropriate.MIT/X I think is

Re: [dev][ubase][PATCH] fix several problems in dd

2016-01-01 Thread Dimitris Papastamos
On Fri, Jan 01, 2016 at 12:52:31PM +0100, FRIGN wrote: > On Fri, 01 Jan 2016 11:21:05 +0100 > isabella parakiss wrote: > > Hey Isabella, > > > i've been told on #2f30 that my opinion is void until i submit meaningful > > patches. this is a rant^Wbreakdown and fix of a random tool in ubase > >

Re: [dev] Fmask [c posix]

2015-12-30 Thread Dimitris Papastamos
On Wed, Dec 30, 2015 at 12:49:59AM -0200, Marc Collin wrote: > Hello suckless. > > I came across something really interesting. > http://bbs.progrider.org/prog/read/1399107986 > What do you guys think? Why do you think it is interesting?

Re: [dev] libutil/eprintf clarification patch (to the Evil_Bob's request)

2015-12-21 Thread Dimitris Papastamos
On Mon, Dec 21, 2015 at 10:49:58AM +0100, Markus Teich wrote: > FRIGN wrote: > > I thought about this tonight and came to the conclusion that this "hack" > > doesn't introduce too many problems. > > Heyho FRIGN, > > what do you think about making `usage(int status, char *shortargs)` an > eprintf-

Re: [dev] C package manager-ish

2015-12-15 Thread Dimitris Papastamos
On Tue, Dec 15, 2015 at 12:20:52PM +0200, Adrian Grigore wrote: > Hey guys, > > I wanted to know what's your general opinion on https://github.com/clibs/clib. > > Disclaimer: I'm not a C programmer, but planning to learn. Well, package managers suck.

Re: [dev] c++ compiler that rocks

2015-11-29 Thread Dimitris Papastamos
> GCC C compiler is a virus, Then you are saying there is no > alternative if I want a c or c++ compiler. ? > > Or is suckless planning to develop a new C compiler? http://git.suckless.org/scc/

Re: [dev] dwm: drw_draw does too much

2015-11-27 Thread Dimitris Papastamos
On Fri, Nov 27, 2015 at 12:18:44PM -0700, David Kennedy wrote: > This part of the drawbar function is really confusing: > > if (m == selmon) { /* status is only drawn on selected monitor */       >             > w = TEXTW(stext); > x = m->ww - w; >

Re: [dev] [noice] [PATCH] Support commands specified by environment variables

2015-11-26 Thread Dimitris Papastamos
On Thu, Nov 26, 2015 at 01:59:32PM +0100, Martin Kühl wrote: > Not sure where else to post this, so... > > Specifying commands by name in config.h means that > every time one switches ones editor (for example), > one has to modify every config.h file referencing that editor > and then recompile ev

Re: [dev] Re: [sbase] Portability

2015-11-26 Thread Dimitris Papastamos
On Thu, Nov 26, 2015 at 05:12:17AM -0500, Random832 wrote: > Dimitris Papastamos writes: > > sbase should only contain code that runs on POSIX systems (with some > > minor exceptions) and fallback implementations for non-standardized > > interfaces that can be implemented por

Re: [dev] [sbase] Portability

2015-11-26 Thread Dimitris Papastamos
On Thu, Nov 26, 2015 at 01:52:23AM -0500, Random832 wrote: > I downloaded and built sbase for my OSX system to test the cal program, > and noticed (and fixed locally) several issues. > > Before posting any patches, I wanted to ask - philosophically speaking, > how much effort should sbase put towa

Re: [dev] [sbase] Portability

2015-11-26 Thread Dimitris Papastamos
On Thu, Nov 26, 2015 at 01:52:23AM -0500, Random832 wrote: > I downloaded and built sbase for my OSX system to test the cal program, > and noticed (and fixed locally) several issues. > > Before posting any patches, I wanted to ask - philosophically speaking, > how much effort should sbase put towa

Re: [dev] Announcement: Backporting the fun into C

2015-11-22 Thread Dimitris Papastamos
On Sun, Nov 22, 2015 at 11:21:13AM +0100, Martti Kühne wrote: > My experience with suckless software has shown me pretty clearly that > the tradeoffs in code quality around here are not really acceptable > for code that I wanted both to release or work on myself, and let's > face it, it doesn't hel

Re: [dev] Re: [sbase] cal doesn't highlight current day

2015-11-21 Thread Dimitris Papastamos
On Fri, Nov 20, 2015 at 06:53:53PM +, Connor Lane Smith wrote: > On 20 November 2015 at 18:40, Connor Lane Smith wrote: > > I've attached a patch. It's not too bad, although it does have ugly > > escape codes. But I don't actually mind either way. > > Slightly uglier bugfix. I've applied the

Re: [dev] [slcon2] Videos are now online!

2015-11-18 Thread Dimitris Papastamos
On Wed, Nov 18, 2015 at 10:52:19AM -0500, Greg Reagle wrote: > On 11/13/2015 02:30 PM, FRIGN wrote: > > videos of the slcon2 talks are now online[0] in the webm format. > > > > [0]: http://suckless.org/conference/ > > Great, thanks. Is there any code for "Simple Jabber - Divide And Conquer > XM

Re: [dev] a suckless hex editor

2015-11-13 Thread Dimitris Papastamos
On Fri, Nov 13, 2015 at 02:52:17PM -0500, Greg Reagle wrote: > Okay then. It no longer depends on xxd. It depends on od for the hex dump > (works with both GNU od and sbase od) and echo, awk, tr, cut for the reverse > hex dump. > #!/bin/sh > [ -z "$1" -o -z "$2" ] && { echo "$0 infile outfile";

Re: [dev] [sent] 0.1 release

2015-11-12 Thread Dimitris Papastamos
On Thu, Nov 12, 2015 at 01:20:57PM +0100, Markus Teich wrote: > Heyho, > > I am happy to announce the version 0.1 release of sent, a suckless > presentation > tool. Yesterday I finished the multiline support and now sent is not anymore > only useful for takahashi style presentations. The next big

Re: [dev] sbase: od: bug report

2015-10-26 Thread Dimitris Papastamos
On Mon, Oct 26, 2015 at 05:26:21PM +0100, FRIGN wrote: > On Mon, 26 Oct 2015 11:00:54 -0400 > Greg Reagle wrote: > > Hey Greg, > > > Since there is no accompanying patch/fix, I am using dev rather than > > hackers. > > thank you very much for this bug report! I still think this should be > on

Re: [dev] sbase: od: bug report

2015-10-26 Thread Dimitris Papastamos
Hint: Print out the values of skip and addr in the od() function.

Re: [dev] dmenu segfaults when pressing control+enter without a selection

2015-10-16 Thread Dimitris Papastamos
On Thu, Oct 15, 2015 at 08:26:58PM -0400, Matthew of Boswell wrote: > On Thu, 15 Oct 2015 18:08:20 -0400 > Matthew of Boswell wrote: > > > Fix attached. > > Nevermind... I didn't know that dmenu was on git.suckless.org... > There's no reference to its git repository on the main suckless.org > we

Re: [dev] Stali RC

2015-10-05 Thread Dimitris Papastamos
On Mon, Oct 05, 2015 at 11:02:13AM +0200, Roberto E. Vargas Caballero wrote: > > > > > - am I correct in thinking that we install manual pages, but currently no > > > 'man' program to read them? > > > > I'd propose using the OpenBSD man tools. > > > > I propose to use neatroff, that is a new i

Re: [dev] Stali RC

2015-10-04 Thread Dimitris Papastamos
On Sun, Oct 04, 2015 at 01:00:36PM -0300, Marc Collin wrote: > On Thu, Sep 24, 2015 at 11:29 PM, Pickfire wrote: > > Is there a package manager for suckless [...] ? > > > > Well maybe you could use apk[1]? > Looks suckless to me. There are no plans to have a package manager.

Re: [dev] Stali RC

2015-10-04 Thread Dimitris Papastamos
On Fri, Oct 02, 2015 at 02:21:57PM +, Richard wrote: > Actually, having set my expectations very low, I am finding that it works > surprisingly well. Having played and poked around in the OS for a few hours > this has lead to yet more questions: > > - do we install a pager? I've look in bin

Re: [dev] sbase: is od needed?

2015-09-28 Thread Dimitris Papastamos
On Mon, Sep 28, 2015 at 12:51:19PM -0400, Greg Reagle wrote: > Howdy. Would it be useful for me to write od? Has anyone else worked on > it? Yes it is in the TODO, send a patch to hackers@ when you have something to show. There was an implementation of a subset of od done in the past but it was

Re: [dev] Stali RC

2015-09-25 Thread Dimitris Papastamos
On Fri, Sep 25, 2015 at 08:45:05AM +, Richard wrote: > Ah, great thanks. So I was half right: if you follow the instructions on > > http://sta.li/installation > > > git clone http://git.sta.li/rootfs-x86_64 > > you will end up with no /etc directory. But the directory is still needed in >

Re: [dev] [slock] chown to root:root on install?

2015-09-08 Thread Dimitris Papastamos
On Tue, Sep 08, 2015 at 02:44:26PM +0100, Nick wrote: > Quoth Dimitris Papastamos: > > On Tue, Sep 08, 2015 at 02:30:39PM +0100, Nick wrote: > > > Separately to this, slock seems to exit (without prompt) after about > > > 0.3s after I run it, unless I move th

Re: [dev] [slock] chown to root:root on install?

2015-09-08 Thread Dimitris Papastamos
On Tue, Sep 08, 2015 at 02:30:39PM +0100, Nick wrote: > Separately to this, slock seems to exit (without prompt) after about > 0.3s after I run it, unless I move the mouse or hit the keyboard > directly after starting it. Has anyone else seen this? I could look > into it more, but wonder if I am

Re: [dev] [st] Compilation error after commit dc33d1d

2015-08-18 Thread Dimitris Papastamos
On Tue, Aug 18, 2015 at 08:28:41PM +0800, Pickfire wrote: > st build options: > CFLAGS = -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os -I. > -I/usr/include -I/usr/X11R6/include -I/usr/include/freetype2 > -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 > -I/usr/include

Re: [dev] Torified surf is unstable

2015-08-18 Thread Dimitris Papastamos
On Tue, Aug 18, 2015 at 12:41:51PM +0200, GhostAV wrote: > On Tue, Aug 18, 2015 at 11:28:36AM +0100, Dimitris Papastamos wrote: > > On Tue, Aug 18, 2015 at 12:23:12PM +0200, Gabriel Pérez-Cerezo wrote: > > > At Tue, 18 Aug 2015 11:15:59 +0100, > > > Dimitris Papastamos w

Re: [dev] Torified surf is unstable

2015-08-18 Thread Dimitris Papastamos
On Tue, Aug 18, 2015 at 12:00:40PM +0200, Gabriel Pérez-Cerezo wrote: > Hello, > > I run surf through tor using 'torify surf'. If I don't add the '-i' > option, it segfaults when searching on Duckduckgo. Even if I add the > '-i' flag, it crashes after some time with messages like > "*** Error

Re: [dev] Torified surf is unstable

2015-08-18 Thread Dimitris Papastamos
On Tue, Aug 18, 2015 at 12:23:12PM +0200, Gabriel Pérez-Cerezo wrote: > At Tue, 18 Aug 2015 11:15:59 +0100, > Dimitris Papastamos wrote: > > > The command prints > > > [Aug 18 11:55:55] WARNING torsocks[14305]: [syscall] Unsupported > > > syscall

Re: [dev] Torified surf is unstable

2015-08-18 Thread Dimitris Papastamos
On Tue, Aug 18, 2015 at 12:00:40PM +0200, Gabriel Pérez-Cerezo wrote: > Hello, > > I run surf through tor using 'torify surf'. If I don't add the '-i' > option, it segfaults when searching on Duckduckgo. Even if I add the > '-i' flag, it crashes after some time with messages like > "*** Error

Re: [dev] [dvtm] create in $CWD not working

2015-07-15 Thread Dimitris Papastamos
On Wed, Jul 15, 2015 at 01:11:22PM -0400, Ross Mohn wrote: > That highlights my frustration with the new definitions for the mailing > lists. I am a hacker/developer and really only ask a question when I > need a little help hacking on the code. As you can see, my question led > me to submit the pa

Re: [dev] [st][PATCH] Preserve pixelsize fractions in font defaultsize.

2015-06-12 Thread Dimitris Papastamos
On Fri, Jun 12, 2015 at 01:22:08PM -0700, Matthew Wesley wrote: > On Fri, Jun 12, 2015 at 1:00 PM, FRIGN wrote: > > we had this discussion before and the reasons have already been told. > > Adding a company to a license is a risk we won't take. > > We prefer to deny these patches in favor of stayi

Re: [dev] new mailinglist [news] and hackers repurpose

2015-06-05 Thread Dimitris Papastamos
> This is the suckless community you're talking about. > If somebody raises a support question without providing a patch, > the first five replies will usually tell him to write a patch. > Code and philosophical "development" questions go hand in hand > in this community, so I'm unsure how to draw

Re: [dev] [sbase] [PATCH 1/3] mv, cp: Preserve nanosecond timestamps

2015-05-16 Thread Dimitris Papastamos
This had been on my radar for some time, thanks for working on this. Applied all three patches.

Re: [dev] [sbase] [PATCH 1--2] ls: fix -S and -q

2015-05-15 Thread Dimitris Papastamos
On Fri, May 15, 2015 at 12:29:48AM +0200, Alexandre Niveau wrote: > Greetings, > > I found some bugs in ls. > > 1. option -S does not work on its own: > > $ echo "aa" >a; echo "b" >b; echo "ccc">c > $ ls -S > a > b > c > > First attached patch fixes this. Applied the first patch, will review t

Re: [dev] simple terminal : about fonts

2015-05-13 Thread Dimitris Papastamos
On Wed, May 13, 2015 at 01:28:09PM -0700, Eric Pruitt wrote: > On Wed, May 13, 2015 at 09:37:43PM +0200, Romain GIACALONE wrote: > > So could some users give me the value of their config.h:font[] ? > > I like [DejaVu Mono](http://dejavu-fonts.org/wiki/Main_Page). You can > see a screenshot of how

Re: [dev] [sbase] [PATCH] tar: support -f - as stdin/out

2015-05-12 Thread Dimitris Papastamos
On Tue, May 12, 2015 at 06:57:12PM +0100, Nick wrote: > Is - as a stdin/stdout file actually used many places? Because it > seems awfully weird to do: > > zcat < a.tar.gz | tar -t -f - > > rather than > > zcat < a.tar.gz | tar -t > > or even use -f /dev/stdin as FRIGN suggested. > > If it isn

Re: [dev] [PATCH] [slock] rework setting window color

2015-05-11 Thread Dimitris Papastamos
On Fri, May 08, 2015 at 06:13:21PM +0200, Markus Teich wrote: > + color = len ? INPUT : (failure || failonclear ? FAILED > : INIT); I would split this condition out. Looks good for the rest.

Re: [dev] [sbase] [PATCH] join: fix typo

2015-05-09 Thread Dimitris Papastamos
On Sat, May 09, 2015 at 01:01:30PM -0400, Wolfgang Corcoran-Mathe wrote: > --- > join.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/join.c b/join.c > index 2522404..58f0f88 100644 > --- a/join.c > +++ b/join.c > @@ -292,7 +292,7 @@ initspan(struct span *sp) > { >

Re: [dev] [sbase] [PATCH 1/2] ln: only check existence of src/to for hardlinks

2015-05-08 Thread Dimitris Papastamos
Applied both, thanks :)

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

2015-05-07 Thread Dimitris Papastamos
On Thu, May 07, 2015 at 11:58:14AM -0400, Jason Woofenden wrote: > On 2015-05-07 05:07PM, Jochen Sprickerhof wrote: > > * Jason Woofenden [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' > >

Re: [dev] Miscellaneous sbase issues

2015-05-05 Thread Dimitris Papastamos
On Mon, Apr 27, 2015 at 08:12:42PM +0100, Nick wrote: > One thing the patch doesn't cover is an archive using a symlink to > somewhere like ../../ and then putting a file in symlink/newfile > (hence sending it to ../../newfile). I only thought of that when > reading the bsdtar manpage[0]. > > I

Re: [dev] [sbase] [PATCH] join manpage: Fix spelling

2015-05-05 Thread Dimitris Papastamos
Thanks, applied both patches.

Re: [dev] [sbase] [PATCH] tr: Fix -c option when translating

2015-04-27 Thread Dimitris Papastamos
Applied, thanks!

Re: [dev] Miscellaneous sbase issues

2015-04-27 Thread Dimitris Papastamos
On Sun, Apr 26, 2015 at 06:24:18PM -0700, Michael Forney wrote: > tar > --- > Since fb1595a69c091a6f6a9303b1fab19360b876d114, tar calls remove(3) on > directories before extracting them. I'm not sure that it is reasonable > for tar to do this because users may want to re-extract archives, or > extr

Re: [dev] books that rock

2015-04-25 Thread Dimitris Papastamos
> >- K&R > >- The practice of programming > >- The dragon book > >- The standard C library. P.J. Plauger > >- Lions book > >- The desing of the unix operating system. J. Bach > >- The art of unix programming > >- Let's build a compiler (this is a articles serie, but > > there is a compiler version

Re: [dev] dmenu history

2015-04-23 Thread Dimitris Papastamos
On Thu, Apr 23, 2015 at 04:39:26PM +0100, maeve.ul...@openmailbox.org wrote: > http://tools.suckless.org/dmenu/patches/dmenu-tip-history.diff via > http://tools.suckless.org/dmenu/patches/history > > does not work with > > http://ftp.de.debian.org/debian/pool/main/s/suckless-tools/suckless-tools_

Re: [dev] [sbase] [join] RFC

2015-04-20 Thread Dimitris Papastamos
On Sun, Apr 19, 2015 at 12:28:05PM -0400, Wolfgang Corcoran-Mathe wrote: > I've added a manpage and applied all of FRIGN and Hiltjo's style > changes. Thanks, applied!

  1   2   3   4   5   >