quinq | 1 Jul 23:56 2015

[surf] new surf2 branch

Hi suckless users,
Just a quick word to inform you that a new branch for surf (ingenuously called
surf2) has been created as a first step toward running surf on top of WebKit2.
It's not fully mature yet but quite usable and having user feedback would be
greatly appreciated.
Have a good surf!

Weng Xuetian | 1 Jul 18:40 2015
Picon

Input method under break (again) under st

Hi all,

Some fcitx user reaches me about input method issue, and I surprisingly found 
that input method is broken again in st because I have fixed it once.

The new issue is caused by commit 2937b05aed9cee8d6651cd806d31682a853c773 
which removes a XFilterEvent call.

XFilterEvent is required to be called after you using XOpenIM, this is not 
unnecessary. It does not only filter the key event, but some clientmessage for 
input method as well.

Regards,
Xuetian
Programmer Nerd | 14 Jun 05:20 2015
Picon

[dwmstatus] barM.c security and enhancement patch.

I noticed that barM.c obtained from here
dwm.suckless.org/dwmstatus/barM.c was using fixed buffers without
concern for the length of said buffer creating the possibility of a
buffer overflow.

I have also declared global variables and functions static because
there is only one file. This may lead to slightly better generated
code.

I have also made the program loop in order to eliminate the bash loop.
There is no advantage to looping in bash.

Finally I have made slight improvements to some of the comments.
Attachment (barM.c.patch): text/x-diff, 4413 bytes
quinq | 12 Jun 21:21 2015

[sbase] again some patches for ls

Here are the modifications for ls I made a while ago, I tried this time to separate them into different commits.
From 6282aeb63747d0922fd779ad44bdb00c484634b1 Mon Sep 17 00:00:00 2001
From: Quentin Rameau <quinq <at> quinq.eu.org>
Date: Fri, 12 Jun 2015 15:09:32 +0200
Subject: [PATCH 1/5] ls: fix -q

Move qflag handling to output() instead of modifying the actual entity
name which broke recursivity.
---
 ls.c | 50 +++++++++++++++++++++++++++++---------------------
 1 file changed, 29 insertions(+), 21 deletions(-)

diff --git a/ls.c b/ls.c
index cdfce4d..3034e6b 100644
--- a/ls.c
+++ b/ls.c
 <at>  <at>  -102,15 +102,34  <at>  <at>  output(const struct entry *ent)
 	struct group *gr;
 	struct passwd *pw;
 	ssize_t len;
-	char buf[BUFSIZ], *fmt,
+	size_t l;
+	char *name, *c, *u, *fmt, buf[BUFSIZ],
 	     pwname[_SC_LOGIN_NAME_MAX], grname[_SC_LOGIN_NAME_MAX],
 	     mode[] = "----------";
+	Rune r;
+
+	if (qflag) {
(Continue reading)

Matthew Wesley | 12 Jun 20:34 2015
Picon

[st][PATCH] Preserve pixelsize fractions in font defaultsize.

The font size is actually a double and can have non-integer values when
fonts are specified in point size instead of pixel size. Update zoom
functions to preserve the fractional component in a float. Some small
precision is lost, but the zoom reset function gets very close to the
original size and the Arg union remains 32 bits wide.

Added Google to the LICENSE to the copyright list to meet our legal
requirements.
---
 LICENSE | 1 +
 st.c    | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/LICENSE b/LICENSE
index 1be82da..69ede9a 100644
--- a/LICENSE
+++ b/LICENSE
 <at>  <at>  -11,6 +11,7  <at>  <at>  MIT/X Consortium License
 © 2013 Michael Forney <mforney at mforney dot org>
 © 2013-2014 Markus Teich <markus dot teich at stusta dot mhn dot de>
 © 2014 Laslo Hunhold <dev at frign dot de>
+© 2015 Google, Inc.

 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
diff --git a/st.c b/st.c
index c2da66b..18d3ec9 100644
--- a/st.c
+++ b/st.c
 <at>  <at>  -3140,14 +3140,14  <at>  <at>  void
(Continue reading)

Ivan Tham | 12 Jun 06:11 2015
Picon

[st] Viewing images in terminal with w3m

Hi,

I know that w3m can only display images in xterm.
Is there other text browser that can display images like w3m in st? Or
is there any way to get w3m diaplay images in st?

--

-- 
 _____________________________________
< Do what you like, like what you do. >
 -------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Ross Mohn | 5 Jun 17:43 2015

[dvtm] Mouse clicks on tags patch

Hi again,

The attached patch allows you to assign functions to mouse clicks on the
tag indicators in the status bar. The default actions are:

    * left click to toggle viewing that tag
    * left double click to view only that tag
    * middle click to view all tags
    * right click to toggle assignment of the current client to that tag

I want to expand the functionality to include the ability to assign
functions to mouse clicks on other parts of the status bar, such as
clicking on the layout indicator to cycle through the layouts, and
clicking on the text area to create a new client. But, this will be much
cleaner and require much less code if we switch the mouse handling to be
more like that of the current dwm code.

So, I've attached this patch as is, with its functionality for pressing
just on the tag indicators in the status bar, but I'm stopping there and
will work on rewriting the mouse handling in general within dvtm.

Feedback appreciated! -Ross

Attachment (dvtm-0.14-mousetag.diff): text/x-diff, 3693 bytes
Hannes Blut | 5 Jun 12:26 2015
Picon

Re: new mailinglist [news] and hackers repurpose

Let me point out that I am still receiving this list on this mail
address, even though I am unsubscribed?

Christoph Lohmann | 4 Jun 18:22 2015
Picon

new mailinglist [news] and hackers repurpose

Greetings comrades.

We  (the  suckless  admins) decided about some additional bureaucracy to
make the suckless development more followable:

1.)  There  is now a news <at>  mailinglist for package maintainers who don’t
want to follow the discussions on dev <at> . All new releases should  be  an‐
nounced there and on dev <at> .

2.)  The  purpose  of  hackers <at>   has been redefined that new patches for
projects have to be sent and discussed there.

These  changes  will  keep  the  development  out of the endless support
threads on dev <at>  and development more enjoyable.

Sincerely,

Suckless admins

Evan Gates | 3 Jun 16:34 2015
Picon

[sbase][sed] patch: delete pattern space before updating ranges on c,d,D

saw the report on freenode/#2f30
-emg
From 94df11a7ffefbae7277bc9dea5283aeea2aed919 Mon Sep 17 00:00:00 2001
From: Evan Gates <evan.gates <at> gmail.com>
Date: Wed, 3 Jun 2015 07:31:31 -0700
Subject: [PATCH] delete pattern space before updating ranges on c,d,D

---
 sed.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sed.c b/sed.c
index b8e4be2..a5ca4b4 100644
--- a/sed.c
+++ b/sed.c
 <at>  <at>  -1665,6 +1665,7  <at>  <at>  app_line(void)
 static void
 new_next(void)
 {
+	*patt.str = '\0';
 	update_ranges(pc + 1, prog + pcap);
 	new_line();
 	pc = prog - 1;
--

-- 
2.4.2

Ross Mohn | 2 Jun 18:26 2015

[abduco] Strange behavior with abduco -A

Hi,

After my last pull a few weeks ago, I started noticing some strange
behavior with abduco and I want to know if others can reproduce it.
Here are the steps:

1) Run 'abduco -A foo ping suckless.org'

2) Press 'CTRL+\' to detach

3) Run 'abduco -A foo' to reattach

4) Press 'CTRL+\' and it flashes the screen but does not detach

5) Press 'CTRL+\' a second time and it detaches this time

Here's what the output looks like:

    $ abduco -A foo ping suckless.org
    abduco: foo: detached
    $ abduco -A foo
    abduco: foo: detached
    abduco: foo: detached
    $

Also, oddly, I am only seeing this behavior on my Ubuntu Linux host, not
my AIX hosts. Can others reproduce this?

Thanks -Ross

(Continue reading)


Gmane