Re: [dev] Re: coreutils / moreutils - DC a directory counter

2013-07-29 Thread Bjartur Thorlacius
On mán 29.júl 2013 11:38, Thorsten Glaser wrote: Are they, still? I thought they had the equivalent of UFS_DIRHASH nowadays… Ext4 does, optionally.

Re: [dev] Re: coreutils / moreutils - DC a directory counter

2013-07-29 Thread Bjartur Thorlacius
On mán 29.júl 2013 04:39, Paul Hoffman wrote: Their 100+ Perl and bash scripts are slow because they're opening files in a humongous directory. They can't subdivide the directory because they're afraid that they will break the scripts when modifying them. I posted a comprehensive comment on the

Re: [dev] [sbase] [patch v3] Add df(1)

2013-07-23 Thread Bjartur Thorlacius
On 07/23/2013 02:18 PM, Steve Dee wrote: BSD doesn't have mntent or /proc, but does have getmntinfo. I think we Well, FreeBSD has some sort of a /proc, even if intentionally incompatible with Linux.

[Resend?] Re: [dev] coreutils / moreutils - DC a directory counter

2013-07-18 Thread Bjartur Thorlacius
On 07/17/2013 06:13 PM, Calvin Morrison wrote: I rely heavily on unioned directories (go plan9!) so mine tend to get large when working with many large datasets. Does anyone use large directories often? Unices avoid large directories to scalability problems like the one you're trying to solve.

Re: [dev] Re: coreutils / moreutils - DC a directory counter

2013-07-17 Thread Bjartur Thorlacius
On 07/17/2013 09:02 PM, Calvin Morrison wrote: So it seems a good deal of that time is ls Wait, sbase ls doesn't seem to implement -f. Are you sorting the directory entries?

Re: [dev] coreutils / moreutils - DC a directory counter

2013-07-17 Thread Bjartur Thorlacius
On 07/17/2013 06:13 PM, Calvin Morrison wrote: I rely heavily on unioned directories (go plan9!) so mine tend to get large when working with many large datasets. Does anyone use large directories often? Unices avoid large directories to scalability problems like the one you're trying to solve.

Re: [dev] textwin

2013-07-17 Thread Bjartur Thorlacius
Well, there's gobject.io_add_watch, if you're ok with something that sucks somewhat. Feel free to rewrite this in Tcl/Tk. Please, join #suckless. import gtk,pygtk import subprocess import gobject class CommandTextView(gtk.TextView): def __init__(self,command): super(CommandTextView,self).__ini

Re: [dev] [sbase] [patch] Adding tar v2

2013-07-17 Thread Bjartur Thorlacius
On 07/17/2013 01:52 PM, Markus Wichmann wrote: I do partially. That is, I usually list the archive before unpacking, but I don't visually scan each and every entry, because, for one, I use st, so no scrollback buffer (I refuse to run a terminal multiplexer in an environment, were it is never goin

[dev] Parentheses

2013-07-04 Thread Bjartur Thorlacius
Galos, David: The types array stood out to me as a bit of a code smell. After pondering over it for a couple of minutes, I realized that you could just do this: type = argv[1][0] == 'b' ? S_IFBLK : S_IFCHR; type = ((argv[1][0] == 'b') ? S_IFBLK : S_IFCHR)

Re: [dev] [sbase] sponge v2

2013-07-03 Thread Bjartur Thorlacius
On 07/02/2013 07:54 PM, Calvin Morrison wrote: >If on any system other than linux, I would consider loading into ram, >but because of memory overcommit, malloc never fails, the whole system >crawls to a halt, and the oom killer takes 20 minutes to put >everything back together. No thanks. Okay s

Re: [dev] Re: Why HTTP is so bad?

2013-05-25 Thread Bjartur Thorlacius
On 05/24/2013 08:47 PM, random...@fastmail.us wrote: You need_something_ monolithic to manage a linear (or, rather, branching only when you choose to, via open new window or new tab) browsing history, even if content viewers aren't part of it. When you click a link within "the appropriate viewer

Re: [dev] Re: Why HTTP is so bad?

2013-05-24 Thread Bjartur Thorlacius
On 05/24/2013 02:35 PM, Strake wrote: It has saner syntax, too. In special, fewer quotation marks :)

Re: [dev] Re: Why HTTP is so bad?

2013-05-24 Thread Bjartur Thorlacius
On 05/24/2013 02:11 PM, Christian Neukirchen wrote: Types can't be declared properly in Unix. In Unix, filetype are defined on a per file basis. Delimeters in IPC text streams are defined using $IFS. Rc is hailed exclusively because it makes less use if $IFS. Well, that and the Plan 9 label.

Re: [dev] Re: Why HTTP is so bad?

2013-05-24 Thread Bjartur Thorlacius
On 05/24/13 12:02, Dmitrij Czarkoff wrote: That said, I never actually tried to make any serious use of gopher (not to mention content creation), so I may be misunderstanding it. But even if there is no protocol better then HTTP, it doesn't necessarily mean that HTTP is OK. Types can't be d

Re: [dev] [dwm] Running dwm in KDE

2013-05-21 Thread Bjartur Thorlacius
On 05/21/2013 05:22 PM, Fernando C.V. wrote: Also instead of slim you can just add "[[ $TTY == "/dev/tty1" ]] && exec xinit" to your bashrc and get rid of the display manager completely. Wouldn't that be .profile?

Re: [dev] print utility

2013-04-02 Thread Bjartur Thorlacius
Do note that gres(1) lives on as replace(1). Replace is maintained by the MySQL team.

Re: [dev] print utility

2013-03-31 Thread Bjartur Thorlacius
On 03/31/2013 06:03 PM, Charlie Kester wrote: Why add this extra complexity when stdio is already buffering the input stream? I did not mean to imply double-buffering. In fact, I figured I should've linked to documentation on input streams seconds after I sent the mail.

Re: [dev] print utility

2013-03-31 Thread Bjartur Thorlacius
On 03/31/2013 01:52 PM, Charlie Kester wrote: I'd read the file one character at a time, counting newlines, until I reached the desired line. [..] Doing it this way avoids the need for a buffer altogether, along with any guessing about possible line lengths. Reading is expensive. Loop through a

Re: [dev] [PATCH] Changed the way title is set to support UTF-8.

2013-02-22 Thread Bjartur Thorlacius
On 02/22/2013 05:32 PM, Lukas Fleischer wrote: You can use `git send-email --annotate HEAD^` and add a prefix to the subject. Or just change the "format.subjectprefix" configuration value to something like "st] [PATCH". Which is one reason why cluttering Subject sucks more than using Keywords.

Re: [dev] [dmenu][bug]cjk ime is unusable in dmenu

2013-02-09 Thread Bjartur Thorlacius
On 02/09/2013 03:57 AM, Daniel Zhang wrote: Do you know how to fixed it? I did some try but could not find where should be fixed. The offending function is grabkeyboard: XGrabKeyboard(dc->dpy, DefaultRootWindow(dc->dpy), True, GrabModeAsync, GrabModeAsync, CurrentTime). Try deleting calls

Re: [dev] [dmenu][bug]cjk ime is unusable in dmenu

2013-02-08 Thread Bjartur Thorlacius
On Fri, Feb 8, 2013 at 12:27 PM, Daniel Zhang wrote: > I use fcitx for inputing chinese, it works well in Xlib program such as st, > xterm, urxvt. But in dmenu, it cannot be activated(using ctrl+space). > Dmenu annoyingly grabs the entire keyboard and thereby disables all other keyboard shortcuts.

[dev] Internet messages

2012-12-08 Thread Bjartur Thorlacius
lordkrandel wrote: If you do not care about their user base, and also do not care about integration with mail clients, just share a folder over 9p, FTP, HTTP or whatever. Thatt way combining multiple folders into superfolders becomes trivial. Unfortunately, browsing huge hierarchical folders "s

Re: [dev] Starch has a web site

2012-12-06 Thread Bjartur Thorlacius
On Thu, Dec 6, 2012 at 3:59 PM, Truls Becken wrote: > The installation guideline suggests using the Arch installer. That's fine, but > I'd just like to mention that I always found it fascinating how you can > install > Arch by booting any Linux system you have at hand (an existing installation or

Re: [dev] Re: I'm back

2012-11-18 Thread Bjartur Thorlacius
On Sun, Nov 18, 2012 at 2:32 PM, hiro <23h...@gmail.com> wrote: > tinycore also links all files of mounted squashfs mounts into the > /usr/local. That kind of hack is more simple than stuff like unionfs. > With replacements being written into /usr? I prefer the indirection being behind a standard a

Re: [dev] I'm back

2012-11-18 Thread Bjartur Thorlacius
On Sun, Nov 18, 2012 at 11:10 AM, Felix Janda wrote: > On 11/18/12 at 07:00am, Jens Staal wrote: >> Each application gets its own directory under /opt and then installed files >> get symlinks in / (the file system hierarchy is stali-inspired with >> everything >> in root and usr just pointing bac

Re: [dev] Troff for typsetting e-mails

2012-10-28 Thread Bjartur Thorlacius
Christoph Lohmann wrote: as the subject says, I’m thinking of typesetting my e‐mail in troff. I have never done that; I use plain UTF-8. But are you talking about writing email in troff and converting it to HTML? Or what makes email special, aside from the convention to use plain text inste

Re: [dev] Hide border in monocle mode

2012-10-24 Thread Bjartur Thorlacius
On Tue, Oct 23, 2012 at 09:53:58AM +0300, Daniel Bainton wrote: > On 23 October 2012 00:31, Bjartur Thorlacius wrote: > > Attached is a unified patch against tip for hiding the border of clients > > when in monocle mode. A border is still drawn when in tiled mode, even if >

[dev] Hide border in monocle mode

2012-10-22 Thread Bjartur Thorlacius
Attached is a unified patch against tip for hiding the border of clients when in monocle mode. A border is still drawn when in tiled mode, even if there's only one client visible. That's unuseful but as a passive reminder of the current mode. This behaviour is a compromise stemming from the bord

Re: [dev] [st] toggle font

2012-10-16 Thread Bjartur Thorlacius
On Tue, Oct 16, 2012 at 06:25:40PM +0200, Roberto E. Vargas Caballero wrote: > > Surely, it would be better to use a separate control input stream, > > stdctl (or nstdctl), for configuration. > > Are you talking about keep, for example, file descriptor 3 for control > operations? Yes.

Re: [dev] uriel is gone

2012-10-14 Thread Bjartur Thorlacius
The Internet won't quite be the same without him.

Re: [dev] [st] toggle font

2012-10-13 Thread Bjartur Thorlacius
Edgaras wrote: On Wed, Oct 10, 2012 at 09:28:33PM +0100, Nick wrote: Quoth Roberto E. Vargas Caballero: I also need this feature, but maybe could be done in other way. I talked about this with other persons of the list, and we liked let st be configured using the stdin of st, so you can do it s

Re: [dev] Hall of shame of the web

2012-09-30 Thread Bjartur Thorlacius
hiro wrote: that hall of shame is called google. we should all get back to using gopher or telnet. Yes. Because Gopher and Telnet are superior to HTTP and SSH. /s

Re: [dev] [dwm] Why does gimp float by default

2012-09-30 Thread Bjartur Thorlacius
Anselm R Garbe wrote: As long as the typical gimp incorporates the multi-window UI the rule will remain in default's config.h. In other words, so long as Gimp doesn't manage it's own window, the window manager won't either? FWIW enslaved mplayer w/resizehints is a great feature. If fullscree

Re: [dev] Hall of shame of the web

2012-09-29 Thread Bjartur Thorlacius
mrpantou...@upyum.com wrote: What do you mean by « all the plug-ing » ? Only Flash or would you like to include Silverlight, VLC… ? All the plugins the page requests, presumably.

Re: [dev] any update on stali?

2012-08-27 Thread Bjartur Thorlacius
On Mon, Aug 27, 2012 at 8:55 PM, Strake wrote: > * diversify architecturally, e.g. i686, Loongson > Why Loongson?

Re: [dev] sfeed: a simple RSS and Atom parser and reader

2012-08-05 Thread Bjartur Thorlacius
Hiltjo Posthuma wrote: I would like to announce a simple RSS and Atom parser and reader I've been working on. [snip] - easy to sync your feeds TO THE CLOUD ;P I don't think rsync depends on an Atom parser. Or are your referring to some Atom PubSub magic?

Re: [dev] Re: Digest of dev@suckless.org issue 186 (12070-12119)

2012-07-17 Thread Bjartur Thorlacius
On Tue, Jul 17, 2012 at 9:13 PM, Kurt H Maier wrote: > On Tue, Jul 17, 2012 at 07:52:06PM +0100, Deric Bytes wrote: >> Unsubscribe > > No. > "Like"

Re: [dev] Starting surf automatically after webserver has started

2012-07-17 Thread Bjartur Thorlacius
The init systems of the mainstream distros are terribly broken in the name of 'easy' modification. I would love having the core boot script compiled into a single executable from a simple shell script of &&s, &s, ;s and |s. Rc might be a good choice for the glue as a language easily learnt in minu

Re: [dev] Starting surf automatically after webserver has started

2012-07-17 Thread Bjartur Thorlacius
On Tue, Jul 17, 2012 at 2:20 AM, Amit Uttamchandani wrote: > Hello, > > I would like to have surf start up when the webserver on the system has > started up. > > Right now, surf starts up but the webserver starts up after surf. Thus, > when surf loads there is a 404 not found error. A manual refre

Re: [dev] fceux in fullscreen

2012-07-04 Thread Bjartur Thorlacius
On Tue, Jul 3, 2012 at 9:32 PM, Manolo Martínez wrote: > On 07/03/12 at 06:36pm, Bjartur Thorlacius wrote: >> Can you verify that the rectangle is in fact not a new top-level >> window but an in-window artifact of SDL by logging window mapping >> requests in your X11

Re: [dev] Systems Software Research is Irrelevant

2012-07-03 Thread Bjartur Thorlacius
On Tue, Jul 3, 2012 at 7:27 PM, Kurt H Maier wrote: > "As we realize ECMAScript/Web based applications are becoming very > important and useful, ES operating system has been designed to make > the Web Apps APIs as the primary operating system interfaces," > JavaScript is becoming fairly standard f

Re: [dev] Systems Software Research is Irrelevant

2012-07-03 Thread Bjartur Thorlacius
On Tue, Jul 3, 2012 at 5:39 PM, Kai Hendry wrote: > On the topic of odd finds, anyone heard of > http://code.google.com/p/es-operating-system/ ? > Yeah, but didn't think anyone would go out and write a new CSS HTML rendering engine for it to run JavaScript interactive hypermedia applications on it

Re: [dev] fceux in fullscreen

2012-07-03 Thread Bjartur Thorlacius
On Tue, Jul 3, 2012 at 5:56 PM, Manolo Martínez wrote: > None of that works: dwm keys are, as I say, unresponsive in fceux > fullscreen. When trying sleep + xprop, xprop complains that it can't > "grab the mouse". > Can you verify that the rectangle is in fact not a new top-level window but an in-

Re: [dev] fceux in fullscreen

2012-07-03 Thread Bjartur Thorlacius
On Tue, Jul 3, 2012 at 4:51 PM, Manolo Martínez wrote: > Also, this square is slightly bigger than the unmaximized fceux, so I > don't really know where is that coming from. How can I get it out of the > way? > Please send us the output of running xprop and clicking on the black square, and then f

Re: [dev] [dmenu] multiple menu patch

2012-07-03 Thread Bjartur Thorlacius
Have you considered multisel? http://tools.suckless.org/dmenu/patches/multisel http://tools.suckless.org/dmenu/patches/multiselect_and_newline

Re: [dev] waste less space (was: dwm tip changes)

2012-06-24 Thread Bjartur Thorlacius
Sounds promising. Doing this optimally seems fairly hard. Are you certain your repo is consistent, or is my ISP now not only blocking but also fiddling with source code I want? On Sun, Jun 24, 2012 at 10:58:10PM +0200, Robert Figura wrote: % hg clone http://spuerwerk.dyndns.org/~rfigura/teslawm/

Re: [dev] dwm tip changes

2012-06-24 Thread Bjartur Thorlacius
On 6/24/12, Hannes Blut wrote: > I enjoy letting a video play in the corner using mplayer. I don't like > to tile the vo of mplayer because that tends to mess up the aspect > ratio. > You can fix that by making dwm respect size hints. See config.h. Tiling mplayer vo is actually the coolest featur

Re: [dev] dwm tip changes

2012-06-24 Thread Bjartur Thorlacius
On Sun, Jun 24, 2012 at 02:34:06PM +0200, Arian Kuschki wrote: > I cannot judge the cost of additional complexity to dwm's source. But > I think being able to use certain sucky apps in 'full-screen-tiling' > mode actually makes the world suck a little bit less. I don't believe > e.g. evince or chro

Re: [dev] suckless document generator for C code

2012-05-11 Thread Bjartur Thorlacius
On 5/11/12, Amit Uttamchandani wrote: > The problem right now is the APIs are kept in a MS Word Office 2010 > .docx file, which doesn't work right with LibreOffice. > I smiled - `til I realized you weren't joking.

Re: [dev] [ii] exposed password on process monitoring

2012-04-20 Thread Bjartur Thorlacius
On Fri, 20 Apr 2012 00:37:40 -, Nico Golde wrote: * Ivan Kanakarakis [2012-04-20 01:54]: I think a nice thing to do that would also resolve the naming choice would be to have -k or some other argument mean that ii should read the -k flag as an env var. so $ ii -k IRCPASS would getenv("IR

Re: [dev] Multimedia keys doesn't send proper keycodes

2012-04-20 Thread Bjartur Thorlacius
On Fri, 20 Apr 2012 21:38:01 -, Carlos Torres wrote: the wonders of execve At least it doesn't try to interpret anything in the filename but control characters. -- -,Bjartur

Re: [dev] Multimedia keys doesn't send proper keycodes

2012-04-17 Thread Bjartur Thorlacius
On Tue, 17 Apr 2012 19:41:33 -, Arian Kuschki wrote: or use xbindkeys to bind those keys, e.g. Or speckeysd. -- -,Bjartur

Re: [dev] A tiny IRC connection tool

2012-04-16 Thread Bjartur Thorlacius
IRC I/O seems like an absurdly simple and useful tool. Should it not be on suckless.org? -- -,Bjartur

Re: [dev] fix numlock bug

2012-04-14 Thread Bjartur Thorlacius
On 4/13/12, Nikolay G. Petrov wrote: > When my "numlock" is active, I can't switching under different workspace > or start the terminal,or by press on mouse button, nothings works! When > I switch off "numlock", all is ok. > Where in source code I can fix that? > Try stepping through updatenumlock

Re: [dev] st utf8 printing

2012-04-14 Thread Bjartur Thorlacius
On 4/13/12, Connor Lane Smith wrote: > vim *is* a GUI. It's not a line editor, is it? libcurses is a GUI > toolkit too, it just happens to abstract over the hack that is ANSI > escapes. > The curses version is a TUI; it uses characters rather than arbitrary icons or drawing graphics.

Re: [dev] [dwm] drop the bars (was: systray in upstream dwm?)

2012-04-10 Thread Bjartur Thorlacius
On 4/10/12, Jan Christoph Ebersbach wrote: > Sounds interesting but since there is no way of communicating with dwm we > wouldn't gain much. The code for bars and keybindings would also stay. I'm > rather for going the whole way. > Yeah, dwm would still have to draw tag names/icons itself. But do

Re: [dev] [dwm] drop the bars (was: systray in upstream dwm?)

2012-04-10 Thread Bjartur Thorlacius
On Saturday 07 April 2012 12:13:43 Jan Christoph Ebersbach wrote: > I wonder how these kind of patches can be done in a better way. It's clear > that including a systray in dwm is not a good idea but it is also not > possible to work around the bar included in dwm. I want to see the mode my > tag i

Re: [dev] [slock] Issue with shadow passwords and NIS

2012-04-08 Thread Bjartur Thorlacius
On 4/7/12, Ben Secrest wrote: > I'm not sure the best way to differentiate between the shadow vs. NIS > situation. One guess is that when shadow information is present, the > pw_passwd field of the passwd struct will contain 'x', '*', or > whatever the system uses as a placeholder in /etc/passwd.

Re: [dev] dmenu idea and diff, Ability to set menu width

2012-03-17 Thread Bjartur Thorlacius
> I wasn't suggesting resizing it depending on the match, but resizing > it to the given font metrics for the longest item read from stdin > instead (only once at the start of dmenu). > Most simply, dmenu would be as wide as the screen.

Re: [dev] [dwm] Why am I having a gap between the master window and the others?

2012-02-18 Thread Bjartur Thorlacius
Þann fim 16.feb 2012 20:08, skrifaði pmarin: Now a new question arose. Which applications need to have resizehints set to True? MPlayer, for example.

Re: [dev] Adventures with static linking

2012-02-14 Thread Bjartur Thorlacius
Thanks for a great reading. :) On Feb 14, 2012, at 7:26 PM, Paul Onyschuk wrote: I compiled almost whole Xorg (statically linked) from pkgsrc. Only missing part is xkeyboard-config, which depends on intltool. Intltool requires XML Parser module for Perl. I used static build of Perl, so dynamic

Re: [dev] Adventures with static linking

2012-02-14 Thread Bjartur Thorlacius
On Feb 14, 2012, at 7:26 PM, Paul Onyschuk wrote: # find / -name "*.so*" | xargs rm But, think of the hyphens! Not that this should cause any trouble with existing rm implementations, but you'll never know what syntactic extensions GNU might come up with for userspace in-rm chroot filesyste

Re: [dev] Environment variables

2012-02-12 Thread Bjartur Thorlacius
On Sun, 12 Feb 2012 12:09:44 -, Christoph Lohmann <2...@r-36.net> wrote: Some of you might be more experienced in the old Unix ways and might know how in the good old days all the environment variables were standardized. What I am up to: There are these new stylish ways of running application

Re: [dev] Suckless OS (was About escape sequences and stuff)

2012-02-11 Thread Bjartur Thorlacius
On Sat, 11 Feb 2012 20:32:16 -, Jonathan Slark wrote: Has the suckless community considered starting an operating system from scratch? Linux/BSD etc suck by default as they are evolutions of software from the 1970s and have all the legacy baggage that comes with that. Even Plan 9 da

Re: [dev] sbase TODO patch

2012-02-11 Thread Bjartur Thorlacius
Þann lau 11.feb 2012 09:29, skrifaði Felix Janda: sed 's/rmdir/unlink/' rmdir.c > unlink.c Shouldn't there be an utility that does both? A flag to rm, perhaps?

Re: [dev] Hosting services for projects under public domain, ISC, MIT/X or BSD licenses

2012-02-09 Thread Bjartur Thorlacius
Thank you! Do you only accept software projects?

Re: [dev] [st] VT100 Emulation

2012-02-05 Thread Bjartur Thorlacius
Þann sun 5.feb 2012 09:02, skrifaði Christoph Lohmann: > > Why are we still emulating a 32 years old terminal? > Because it works. s/works/breaks if you so much as use a variable width font

Re: [dev] [st] VT100 Emulation

2012-02-04 Thread Bjartur Thorlacius
Þann lau 4.feb 2012 23:05, skrifaði Kurt H Maier: There are already terminals that care about such bullshit; why write another?

Re: [dev] [st] Handling of WM_DELETE_WINDOW atom

2012-02-04 Thread Bjartur Thorlacius
Þann fös 3.feb 2012 19:47, skrifaði Kurt H Maier: The ICCCM part is about clients with multiple top-level windows, which st isn't, and ewmh sucks. Yes, dwm should not strive for full ewmh conformance. Just because a part of the standard is idiotic doesn't mean we should ignore the whole of it

Re: [dev] [dwm] Optional status bar

2012-01-28 Thread Bjartur Thorlacius
Þann lau 28.jan 2012 22:40, skrifaði Suraj N. Kurapati: DBus is overkill. A named pipe or UNIX domain socket would suffice. I think even doing it the Xorg way would be an overkill. I'm in favor of splitting tagging into a separate program drawing to a subwindow of a panel. Some people use tag

Re: [dev] [dwm] Optional status bar

2012-01-28 Thread Bjartur Thorlacius
Þann lau 28.jan 2012 19:13, skrifaði Tom Vincent: It seems we can conclude targeting ewmh/icccm is out of the question. For tag switching at least.

Re: [dev] [dwm] Optional status bar

2012-01-28 Thread Bjartur Thorlacius
Þann lau 28.jan 2012 19:13, skrifaði Tom Vincent: Thanks for the discussion. It seems we can conclude targeting ewmh/icccm is out of the question. How about a new "suckless" protocol between dwm and its status bar? Much like dmenu handles launching, there's still scope in separating the status

Re: [dev] [dwm] Optional status bar

2012-01-28 Thread Bjartur Thorlacius
On Sat, 28 Jan 2012 16:35:49 -, Kurt H Maier wrote: On Sat, Jan 28, 2012 at 04:01:09PM -, Bjartur Thorlacius wrote: Dwm creates a dock (status bar) of its own and manages unlike any other x window. Dwm is configured to use a menu that, rather than being managed like any other x

Re: [dev] [dwm] Optional status bar

2012-01-28 Thread Bjartur Thorlacius
On Sat, 28 Jan 2012 15:28:24 -, Kurt H Maier wrote: This phrasing suggests an implicit approval of the way e.g. ewmh-compliant software handles docks. dwm handles docks perfectly fine -- it renders them like any other x window. if the dock doesn't like it, that is the dock's problem, not

Re: [dev] [dwm] Optional status bar

2012-01-28 Thread Bjartur Thorlacius
On Sat, 28 Jan 2012 12:51:46 -, Tom Vincent wrote: (NB, is there an equivalent to xmonad's [runOrRaise][1] action in dwm?). No. Dwm has a rudimentary built-in application launcher (spawn(), IIRC), but advanced launching is handled externally by dmenu_run, which opens an override-redirec

Re: [dev] network usage graphs

2012-01-26 Thread Bjartur Thorlacius
On Thu, 26 Jan 2012 22:36:28 -, hiro <23h...@googlemail.com> wrote: Thanks, this is the only valid answer, but now I have to install an other OS: -bash: ed: command not found How can debian/ubuntu folks be so ignorant?! aptitude install rc coreutils moreutils What use is bloatware such

Re: [dev] [dwm] running rdesktop in full-screen

2012-01-26 Thread Bjartur Thorlacius
Þann fim 26.jan 2012 18:12, skrifaði Dennis Yurichev: I'm running rdesktop from terminal window with -f option meaning full-screen. But when I try to escape from it by pressing RCtrl-RAlt-Enter, rdesktop tries to change its window's geometry but can't, and stays in full-screen mode. Is there some

Re: [dev] [slock] kill slock with Ctrl+Alt+Multiply

2012-01-23 Thread Bjartur Thorlacius
On Sun, 22 Jan 2012 20:08:03 -, hiro <23h...@googlemail.com> wrote: People used to take their steering wheels with them so that nobody drives their car away. So I think your approach should work. Perhaps you could take away the whole keyboard. It's very easy on my thinkpad. Only 7 screws awa

Re: [dev] suckless vs. security? - Was: [slock] kill slock with Ctrl+Alt+Multiply

2012-01-23 Thread Bjartur Thorlacius
On Mon, 23 Jan 2012 11:04:55 -, Nick wrote: On Mon, Jan 23, 2012 at 11:57:42AM +0100, hiro wrote: Security is not a feature. I thought you were restricting yourself to Sundays. Yes, on Sundays ;) -- -,Bjartur

Re: [dev] suckless vs. security? - Was: [slock] kill slock with Ctrl+Alt+Multiply

2012-01-23 Thread Bjartur Thorlacius
On Mon, 23 Jan 2012 09:59:21 -, Nick wrote: They may well be examples of things that stunnel can work fine with. Wrapper programs can be very handy alternatives to building in alternative network functionality (e.g. torify), though they tend to play less well with static binaries. You can't

Re: [dev] [slock] kill slock with Ctrl+Alt+Multiply

2012-01-20 Thread Bjartur Thorlacius
Þann fös 20.jan 2012 23:42, skrifaði Rob: On Fri, Jan 20, 2012 at 07:01:22PM +, Bjartur Thorlacius wrote: Surely it just destroys the window, you can't get a PID for any X window, since it could be a networked one As I expected. The PID is usually stored in a window property,

Re: [dev] [slock] kill slock with Ctrl+Alt+Multiply

2012-01-20 Thread Bjartur Thorlacius
Does this actually go out and send a SIGTERM to the PID of the owner of the window, or merely destroy the window?

Re: [dev] [dwm] about _NET_ACTIVE_WINDOW support

2012-01-15 Thread Bjartur Thorlacius
Þann sun 15.jan 2012 18:09, skrifaði Andreas Amann: The problem is that Ivan uses wmname to set _NET_WM_NAME to "LG3D". Actually chromium does not care about _NET_WM_NAME. But "wmname" has a dirty side effect, it sets the _NET_SUPPORTING_WM_CHECK property of the root window to the window id of

Re: [dev] One Border is Not Enough

2012-01-15 Thread Bjartur Thorlacius
On Sun, 15 Jan 2012 13:08:55 -, Connor Lane Smith wrote: Your work is so mission critical that mistaking window focus being "very unlikely" is not enough? Well then, the only way to avoid such a mistake is to maximise every window (i.e., monocle mode); or more generally always placing the f

Re: [dev] One Border is Not Enough

2012-01-15 Thread Bjartur Thorlacius
On Sun, 15 Jan 2012 12:02:01 -, Troels Henriksen wrote: "Bjartur Thorlacius" writes: This could be implemented as a gap between windows in tile(). Just offset windows a few pixels more than {wh,ww} + 2*borderpx. Dwm.c is probably more readable than the previous sentence.

Re: [dev] One Border is Not Enough

2012-01-15 Thread Bjartur Thorlacius
This could be implemented as a gap between windows in tile(). Just offset windows a few pixels more than {wh,ww} + 2*borderpx. Dwm.c is probably more readable than the previous sentence. -- -,Bjartur

Re: [dev] [dwm] Tags vs Monitors

2012-01-13 Thread Bjartur Thorlacius
Þann fös 13.jan 2012 10:32, skrifaði Thomas Dean: This problem would come up if there was only one tagset and each monitor would be an independent view whose visible tags could be set independently. I rather meant that there should be only one tagset, and all monitors together would form a combin

Re: [dev] interested in issue tracker dev

2012-01-12 Thread Bjartur Thorlacius
What's wrong with GNATS?

Re: [dev] wmii falling out of favor

2012-01-07 Thread Bjartur Thorlacius
Þann fim 5.jan 2012 23:12, skrifaði Connor Lane Smith: That's not inherent to GUIs, it just so happens that existing GUIs are extremely poorly made. It's not interaction which needs to be logged so much as the modification of persistent data -- files and such -- which could easily be logged by

[dev] Logging Commands

2012-01-05 Thread Bjartur Thorlacius
On Thu, 05 Jan 2012 14:19:00 -, David Tweed wrote: I'm not aware of any way of either storing or, more importantly, searching a user's interaction with the GUI apps on a computer system. Some GUI programs such as Netsurf log user actions for later inspection.[1] GNOME Zeitgeist is also in

Re: [dev] [surf] make error

2012-01-04 Thread Bjartur Thorlacius
On Wed, 04 Jan 2012 20:28:20 -, Hannes Blut wrote: In file included from /usr/include/webkit-1.0/JavaScriptCore/JavaScriptCore.h:30:0, from surf.c:20: /usr/include/webkit-1.0/JavaScriptCore/JSStringRefCF.h:30:43: fatal error: CoreFoundation/CoreFoundation.h: No such file or

Re: [dev] monsterwm - 700 SLOC dwm fork

2011-12-30 Thread Bjartur Thorlacius
I love suckless' facility for coralling all the nitwits into one self-contained forum. It just sucks when some of the retardation leaks out into the real world. T,FTFY The real world is still safe. You're not.

Re: [dev] dwm in Deus Ex 3 concept art

2011-12-25 Thread Bjartur Thorlacius
On Sun, 25 Dec 2011 08:23:36 -, Suraj N. Kurapati wrote: I recently finished playing Deus Ex 3 and while reading about its development, I found this DWM reference in a concept art poster: http://www.stuffwelike.com/stuffwelike/wp-content/uploads/2008/11/deusex3_169801.jpg For all we know

Re: [dev] network usage graphs

2011-12-24 Thread Bjartur Thorlacius
On 12/25/11, Anthony J. Bentley wrote: On 12/24/11, Szabolcs Nagy wrote: >> * hiro <23h...@googlemail.com> [2011-12-24 02:00:47 +0100]: >>> >> sed -i 1d original.dat > > That’s a GNUism. > What about $(rp "sed 1d" original.dat) ;) To address the original (-er) question, I think moreutils sponge

Re: [dev] wmii falling out of favor

2011-12-24 Thread Bjartur Thorlacius
On 12/24/11, Connor Lane Smith wrote: > I'm not sure a screenshot is necessary. It would just be a fullscreen > window. :p If you hide the status bar it's honestly *just* the window. And a border, telling you whether it is focused or not (assuming a non-zero borderpx).

Re: [dev] wmii falling out of favor

2011-12-23 Thread Bjartur Thorlacius
On Fri, 23 Dec 2011 10:34:35 -, hiro <23h...@googlemail.com> wrote: I kill dwm when I've placed all my windows correctly so I can save more RAM. I actually did that the other day, so I could GIMP my Christmas cards.

Re: [dev] sbase ls patch

2011-12-22 Thread Bjartur Thorlacius
Tiny cleanup patch. Now more memory is allocated than necessary. Is that a good thing or a typo?

Re: [dev] [wmii] widgets with graphics?

2011-12-22 Thread Bjartur Thorlacius
On Thu, 22 Dec 2011 13:44:54 -, dtk wrote: is there a way to have widgets in the status bar display images instead of utf8 symbols? s/(image|symbol)/glyph/g Modify your font. There are patches either on the website or on the Archlinux Forums that modify dwm to use more powerful font rend

Re: [dev] simplyread

2011-12-19 Thread Bjartur Thorlacius
On 12/19/11, hiro <23h...@googlemail.com> wrote: > It's a good quote that I think I had yet to see. But I knew the > communists also used such unique methods. > It was taken out of the context of an article found on Al Jazeera arguing that people should be dictated by benevolent "intellectuals" eth

Re: [dev] simplyread

2011-12-19 Thread Bjartur Thorlacius
> Even if HTML5 were the only standard around, people would still misuse > it untill you guys enable me to one-click-slay (TM) them. > "Of course, all seducers of the masses, potential tyrants or fanatics, have used this argument to make their case; the communists did the same when they declared th

  1   2   3   >