Kai Hendry | 23 May 14:07
Picon
Picon
Favicon
Gravatar

simple portscanner

Thanks, I was wondering where it went after the suck of nmap 6.0 landed.

How do I use portscan if I just want to check in the same way I have
done in the past with nmap, what ports are open on a machine? IIUC
portscan has to specify ports individually which is a little
cumbersome. Be good if it was more of a drop in replacement in that
regard.

./portscan -p1-1024 webconverger.org # doesn't work for me for
example, which I now see in your original email

Cheers,

Kai Hendry | 23 May 11:33
Picon
Picon
Favicon
Gravatar

github mirror

Hi guys,

What are your github user ids, so I can add them to the scklss "Owners
Team" page?

Trying to figure out who reserved "suckless" on github:
http://twitter.com/kaihendry/status/205228871329656832

hghub.org no worky for me, all I see is "Under active development!".
Nonetheless it would be great if you could help figure out the optimal
hg-git-hg work flow and tools required to pull it off.

Regards,

On 23 May 2012 03:48, pancake <pancake <at> youterm.com> wrote:
> Hghub moved from trying to replace github to support hggit extension.
>
> Check hghub.org with few lines you can mirror hg repos in git. I think that a github mirror of suckless repos
would be interesting

Martin Kopta | 23 May 07:42
Picon

static linking from cat-v on r/linux

Watch your blood pressure.

http://www.reddit.com/r/linux/comments/tzk5e/dynamic_linking_considered_harmful_should_distros/

Swiatoslaw Gal | 19 May 18:26
Picon
Picon
Favicon

[dwm] dynamic environment variables

I am wondering if it is possible to implement some (synamic) management of
environment variables, so, for example I could change HTTP_PROXY when I hook my
laptop in a new place, and all the processes started from now on would respect
it.  I see some problems, it would work if I start my browser via dmenu, but
not from terminal or tabbed.  It seems that one cannot (easily) modify
/proc/PID/environ.  Sucking window managers do that with dbus which is dirty...

Sincerely,
s.

Sergej Pupykin | 16 May 19:07
Picon

[st] [patch] add font selection to command line


Hello,

this is small patch to add -f and -F switches to change FONT and
BOLDFONT defaults.

Attachment (st-fonts-in-cmdline.diff): application/octet-stream, 1714 bytes
Amit Uttamchandani | 16 May 03:53
Favicon

I messed up...used glib, dbus, and friends. Need help to fix this mistake

Hello,

I messed up bad...I thought by using glib/GIO functionality it would
make it easier for me. However, I realized now that everything is so
much more complicated.

I used glib/GIO/gvfs to do the following:

 1. Mounting USB disks, partitions, and samba shares.
    - Suckless alternative: libc, libmount?
 2. Getting filesystem size, file modification times, etc.
    - Suckless alternative: libc, anything else?
 3. Spawn tasks asynchronously and return the stderr and stdout output.
    - Suckless alternative: libspawn
 4. Dictionary data type to store key value pairs.
    - Suckless alternative: hash table with libc?
 5. String utility
    - Suckless alternative: libporty

Any recommendations on lighter weight libraries I can use to accomplish
the above tasks?

Thanks,
Amit

James Turner | 16 May 03:41
Favicon

dwm: XKeycodeToKeysym deprecated patch

XKeycodeToKeysym was deprecated on 2011-10-10 [0]. The included patch
updates dwm.c to use XkbKeycodeToKeysym instead.

[0]
http://cgit.freedesktop.org/xorg/lib/libX11/commit/include/X11?id=f2651e03f3295a453a2965c3749bc8b6e66f1c09

-- 
James Turner
james <at> calminferno.net
diff -r 48309b14abb9 dwm.c
--- a/dwm.c	Sun Apr 15 11:41:18 2012 +0200
+++ b/dwm.c	Tue May 15 21:30:26 2012 -0400
@@ -36,6 +36,7 @@
 #include <X11/Xlib.h>
 #include <X11/Xproto.h>
 #include <X11/Xutil.h>
+#include <X11/XKBlib.h>
 #ifdef XINERAMA
 #include <X11/extensions/Xinerama.h>
 #endif /* XINERAMA */
@@ -1089,7 +1090,7 @@
 	XKeyEvent *ev;

 	ev = &e->xkey;
-	keysym = XKeycodeToKeysym(dpy, (KeyCode)ev->keycode, 0);
+	keysym = XkbKeycodeToKeysym(dpy, (KeyCode)ev->keycode, 0, 0);
 	for(i = 0; i < LENGTH(keys); i++)
 		if(keysym == keys[i].keysym
(Continue reading)

Nikolay G. Petrov | 15 May 10:52
Picon
Favicon

switch keyboard layout

Hi guys!

I upgrade my os ubuntu 11.10 to 12.04 and dwm-5.8.2 to dwm-6.0
Before upgrade process, I switch under my keyboard layouts like this:
/etc/default/keyboard:
...
XKBOPTIONS="grp:ctrl_shift_toggle,grp_led:scroll"
...
,and it was be fine for me, but after upgrade that not working.
Can you help?
On the current time I have a only one layout (eng ) ).

-- Best regards, Nikolay G. Petrov!
Manolo Martínez | 14 May 13:24
Favicon
Gravatar

changing sizes in the master area

Hello,

An unpatched dwm cannot change the sizes of windows in the master area, can it?

Thanks
M

--

-- 

David Krauser | 14 May 01:10
Picon
Favicon

swerc v. werc

What's the difference between swerc and werc?

The only info I can find is this little snippet from the README:

"swerc is simple werc, a fork of Uriel's werc."

--
David Krauser

Amit Uttamchandani | 11 May 18:45
Favicon

suckless document generator for C code

Hello,

I'm looking for a document generator for C code. Mainly to document APIs
to give to UI developers.

Looked at quite a few options and it seems gtk-doc is suitable. A couple
of kernel projects use it (libudev) and it doesn't have a huge
dependency list.

What do you all think? What do you use?

Thanks,
Amit


Gmane