[dev] sshd?

2021-07-06 Thread Patrick
Hi all, What's a good minimal sshd? Or should we just run stunnel + telnetd? Patrick

Re: [dev] Pandoc replacement that sucks less

2019-04-28 Thread Patrick
On 2019-04-28 21:44, Thomas Meulendijks wrote: > I am currently using pandoc to convert my markdown files into pdf. 1) use TeX 2) create the TeX macros that you want to use 3) write a script to convert the old non-TeX docs 4) ditch markdown.

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-18 Thread Patrick Smith
On Sat, Feb 16, 2019 at 12:47 AM Ivan Tham wrote: > By the way, Patrick. Why use anthy instead of mozc for japanese input? I > heard anthy is a dead project (from arch wiki). Further follow-up: I switched from scim+anthy to fcitx+mozc, and the previous problems went away. Now (printf &#x

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-18 Thread Patrick Smith
On Sat, Feb 16, 2019 at 12:47 AM Ivan Tham wrote: > By the way, Patrick. Why use anthy instead of mozc for japanese input? I > heard anthy is a dead project (from arch wiki). I started using scim+anthy several years ago, and it has continued to work for me, so I've continued to use

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-15 Thread Patrick Smith
On Fri, Feb 15, 2019 at 11:33 AM Silvan Jegen wrote: > With the suggested patch applied, everything worked for me when using > IBus and in st we use a similar pattern to what this patch is proposing > (x.c:1007-1014). I am not sure why Patrick's IME (SCIM) is working in > st but not in dmenu with

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-13 Thread Patrick Smith
On Wed, Feb 13, 2019 at 12:29 AM Hiltjo Posthuma wrote: > Please try the latest git version and report back. It works for me. That is, there is no segfault from, for example, printf 'foo\nbar' | ./dmenu When I test with: printf 'あ\nお' | ./dmenu, I can't see a way to select the second option (sci

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-12 Thread Patrick Smith
I have: GTK_IM_MODULE=scim XMODIFIERS=@im=SCIM QT_IM_MODULE=scim If I unset XMODIFIERS, dmenu works correctly. If I set XMODIFIERS=@im=scim, dmenu segfaults. XSetLocaleModifiers returns '@im=SCIM', as expected. On Tue, Feb 12, 2019 at 1:57 AM Silvan Jegen wrote: > > Hi Patrick

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-11 Thread Patrick Smith
On Mon, Feb 11, 2019 at 12:43 PM Silvan Jegen wrote: > I found that the XSetLocaleModifiers("") call returns "@im=ibus" in my > case which is not surprising because the env variable XMODIFIERS is > set to @im=ibus on my machine. If Ibus is not running, however, I get > a segfault just like Jordan

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-10 Thread Patrick Smith
19 at 4:30 PM Jordan Timmerman wrote: > > I believe I have a patch to fix this issue. It is attached. > > Taken from: https://www.mail-archive.com/fltk-bugs@easysw.com/msg01159.html > > The link was pointed to by the Servo issue that Patrick Smith linked > to. (Thanks, Patrick!

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-10 Thread Patrick Smith
ther that would be an appropriate fix in the context of dmenu. On Sun, Feb 10, 2019 at 4:17 PM Patrick Smith wrote: > > Another point of information... after seeing > https://github.com/servo/servo/issues/9938, I tried these two commands > with my instrumented dmenu: > > >>&

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-10 Thread Patrick Smith
little finagling, I've managed to produce a backtrace by using > Quentin's suggested flag modifications to config.mk. This is attached. > It seems to me only to confirm what we've already learned: the failure > occurs in XmbLookupString. Perhaps with the additional diagnostic >

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-10 Thread Patrick Smith
I'm experiencing a problem that appears very similar to this one, and I can add a bit of information. Summary: When I have scim+anthy installed as an input method, the call to XOpenIM fails, returning a null pointer. But I don't know much about the internals of X, so can't be 100% sure this is the

Re: [dev] (academic) reading suggestions associated to the minimalist/suckless design philosophy?

2018-07-01 Thread Patrick Bucher
riting-coach (Source) In music, take Bach's E-Major Fugue from the second volume of the Well Tempered Clavier. Here's Glenn Gould's commented interpretation: https://www.youtube.com/watch?v=iFOqX3JGERo This is just a random collection of things that spontaneously came to my mind on a sunday morning. Patrick

Re: [dev] suckless too to minify CSS, JS and html

2018-05-18 Thread Patrick Bucher
reduce the HTTP payload big time, especially when gzipped M-( > > Stop this madness. > Yes, please! Patrick

Re: [dev] ASCII Delimited Text

2018-05-16 Thread Patrick Bucher
ws-notepad-now-supports-unix-line-endings/ Patrick

Re: [dev] Sane GPIO library (esp. for Raspi)

2017-10-31 Thread Patrick
On 2017-10-31 08:46, Kurt Van Dijck wrote: > I deal with GPIO for my projects by creating a device-tree overlay that > describes the hardware (input/output, active-low, ...). NICE

[dev] Sane GPIO library (esp. for Raspi)

2017-10-30 Thread Patrick Bucher
sit around idle in the meantime...). Thanks, Patrick

Re: [dev] Font problems in st, dwm, dmenu

2017-06-25 Thread Patrick Bucher
size=16:antialias=true:autohint=true:lang=ru"; The important part is to use "xos4 Terminus" instead of just "Terminus". It's related to a fontconfig update a couple of months ago. Maybe that's your problem. Patrick

Re: [dev] [st/dwm] Alt-Shift-C and Mod1-Shift-C

2017-01-13 Thread Patrick Bucher
On Fri, Jan 13, 2017 at 11:23:28PM +0800, Ivan Tham wrote: > On Thu, Jan 12, 2017 at 07:25:06PM +0100, Patrick Bucher wrote: > > I'm using st and dwm at the same time, and today I discovered a little > > problem > > when using the default config of both programs. s

[dev] [st/dwm] Alt-Shift-C and Mod1-Shift-C

2017-01-12 Thread Patrick Bucher
on my machine. (Maybe some of you use Super_L, vulgo "the Windows key".) So guess what happened when I was trying to copy some code into the clipboard today ;-) How do you deal with that? Thanks for suggestions, Patrick PS: Anybody using Arch Linux here? Since the fontconfig update today st

Re: [dev] environment variables versus runtime configuration (rc) files versus X resources

2014-11-03 Thread Patrick
On 2014-11-03 14:32, Greg Reagle wrote: > It occurred to me that environment variables can be used to configure a > program, instead of programming in a parser or extension language Things to think over and critique: http://www.catb.org/esr/writings/taoup/html/ch10s04.html extern char **environ;

Re: [dev] [dwm] cfacts patch

2014-01-13 Thread Patrick Steinhardt
Hi, On Fri, Jan 10, 2014 at 05:33:07PM +0100, Christoph Lohmann wrote: > Greetings. > > On Fri, 10 Jan 2014 17:33:07 +0100 Patrick Steinhardt wrote: > > Hi, > > > > I've written a patch that enables per-client 'cfacts'. This > > allows use

[dev] [dwm] cfacts patch

2014-01-09 Thread Patrick Steinhardt
tack. Attached is the patch and a description. Feel free to add this to the patches-section. Regards Patrick diff --git a/config.def.h b/config.def.h index 875885b..809788b 100644 --- a/config.def.h +++ b/config.def.h @@ -65,6 +65,9 @@ static Key keys[] = { { MODKEY,

Re: [dev] wswsh: a mksh web framework

2013-12-12 Thread Patrick
On 2013-12-13 14:25, Chris Down wrote: > > Is there an easier way to encourage clean URLs? > If masking files with directories is considered "clean", then I don't > want to live on this planet any more. Maybe give him the benefit of the doubt that he meant something like 'maintains hierarchical ta

Re: [dev] New utility "when"

2013-12-11 Thread Patrick
On 2013-12-11 22:46, Andrew Gwozdziewycz wrote: > On Wed, Dec 11, 2013 at 6:02 PM, Charlie Kester wrote: > > Maybe I'm have a dumb day (it happens, all too often), but is there a > > way to get the exit code of the longrunningscript in case it fails > > *after* the timebomb goes off? > There will

Re: [dev] New utility "when"

2013-12-11 Thread Patrick
On 2013-12-11 12:21, Andrew Gwozdziewycz wrote: > Yes. You can do exactly that. But you *can't* do: > when -t "ssh user@host" "xmessage 'Connected'" Time to rock the IPC? #!/bin/bash MAGIC=5 system_time_epoch() { date +%s; } file_time_mod() { stat --printf='%Y' $1 ; } file_age() { echo $(( $

Re: [dev] New utility "when"

2013-12-11 Thread Patrick
On 2013-12-11 11:31, Andrew Gwozdziewycz wrote: > Maybe one of you will stop laughing long enough to find it useful. So why isn't this a standard unix utility?

Re: [dev][announce] slm - music curation

2013-11-28 Thread Patrick
On 2013-11-28 21:03, Markus Teich wrote: > I had to smile on this one. But i don't treat „rm music-track.mp3“ any > different > than „rm important-file“. I think before I hit enter. And if by any chance I > learn this was a mistake 10 years later, then ffs I deserve to rip that disc > again. You

Re: [dev] slm - music curation && where the fuck is Kurt?

2013-11-28 Thread Patrick
On 2013-11-28 11:06, Charlie Kester wrote: > Hmm. I'm in the hardlinks-as-default camp BTW, anyone heard from Kurt M recently? It seems like it's been a while and he never seemed like the kind of guy to sit in the corner quietly nursing a beer unless some serious shit was happening.

Re: [dev][announce] slm - music curation

2013-11-28 Thread Patrick
On 2013-11-28 11:06, Charlie Kester wrote: > Here's a use-case that argues for hardlinks: I've often encountered > situations where ripping a CD or downloading from Amazon has resulted in > the same artist appearing in my collection under two slightly different > names. (I like world music, for ex

Re: [dev][announce] slm - music curation

2013-11-28 Thread Patrick
On 2013-11-28 19:33, Markus Teich wrote: > I for example see my music collection not as only-growing but also delete > stuff > I don't want to hear anymore regularly. Instead of rm'ing, tag it with a keyword e.g. 'lady-gaga-strangled-by-baboons-sounds-better-than-this-shit' and patch slm to expor

Re: [dev][announce] slm - music curation

2013-11-28 Thread Patrick
On 2013-11-28 19:22, Markus Teich wrote: > > I would recommend to rebuild the farm before usage. Hardlinks seem to be > > more > > sane since they maintain a stable state (no links can be broken), while a > > symlink can suddenly point to /tim/buck/too or nowhere at all. An example use-case shows

Re: [dev][announce] slm - music curation

2013-11-28 Thread Patrick
On 2013-11-28 16:26, FRIGN wrote: > However, I don't see a definite reason to favor one solution over the > other. It may just be another question of what your needs are, so I'd > propose to offer a compile-time solution to select symbolic or hard > links. I concur.

Re: [dev][announce] slm - music curation

2013-11-28 Thread Patrick
On 2013-11-28 18:06, Markus Teich wrote: > I would recommend to rebuild the farm before usage. Hardlinks seem to be more > sane since they maintain a stable state (no links can be broken), while a > symlink can suddenly point to /tim/buck/too or nowhere at all. Imagine a use-case where I would rm

Re: [dev][announce] slm - music curation

2013-11-28 Thread Patrick
On 2013-11-28 18:47, Roberto E. Vargas Caballero wrote: > Offer one of them as default option, but I think it should have the > runtime option to select one or other. Compile time; this seems to be a huge philosophical divide. ;) Maybe at some point I change my philosophy, so I just update the ex

Re: [dev][announce] slm - music curation

2013-11-28 Thread Patrick
On 2013-11-28 18:51, Markus Teich wrote: > As I posted earlier, I would favor the hardlinks as default. Can we get a couple concrete reasons / use-cases why?

Re: [dev][announce] slm - music curation

2013-11-28 Thread Patrick
On 2013-11-28 10:06, Charlie Kester wrote: > Well, for one thing, it solves the problem of stale symbolic links that > was mentioned earlier. Do you think we delete files accidentally? Assume that we treat our repo of music as non-rm, non-mv, since we only ever upgrade a file's quality.

Re: [dev][announce] slm - music curation

2013-11-28 Thread Patrick
On 2013-11-28 17:48, Roberto E. Vargas Caballero wrote: > I think having the option in runtime can be good, and I agree with you > that symlinks are more discoverable than hardlinks, so I think > symlinks should be the default option. WTF? Can I get a cogent discussion of sym vs hard links? sym

Re: [dev][announce] slm - music curation

2013-11-27 Thread Patrick
On 2013-11-27 23:01, Charlie Kester wrote: > In fact, now that you mention it, I think this should be the default. Why?

Re: [dev][announce] slm - music curation

2013-11-27 Thread Patrick
On 2013-11-27 23:50, Nick wrote: > Have you considered writing this using FUSE instead? Likely overkill. What's the cost of a stale link vs the cost to fix? Underlying all this is a need for a canonical directory structure for the source media files, i.e. never rm or mv, only ever upgrade quality

Re: [dev] Some thoughts about XML

2013-10-23 Thread Patrick
On 2013-10-24 14:43, Chris Down wrote: > On 2013-10-24 01:04, Samuel Holland wrote: > > [body] > > content="%ol%%p%" > > [ol] > > style="list-style-type: decimal" > > content="%li.1%%li.2%%li.3" > > [li] > > style="display: list-item" > > content1="Lack of proper hierarchy, for one;" > > content2="

Re: [dev] [st] RFC halt function

2013-04-26 Thread Patrick Haller
On 2013-04-26 23:11, hiro wrote: > just mod your shell to always copy all stdout of commands into a temp > file, then open the file with less after one of these stupidly long > commands. Or run them via 'at' Or run 'script' when you login And sed out all the terminal carp later on.

Re: [dev] [st] RFC halt function

2013-04-25 Thread Patrick Haller
On 2013-04-25 20:05, Christoph Lohmann wrote: > while trying to copy some stuff from iotop I came to the idea of having > some ??halt?? function in st. This is like the ??halt?? in 9term, where ev??? > erything will stand still but the terminal is working on the output in > the background. Why

Re: [dev] ii IPv6 support

2013-04-11 Thread Patrick Haller
On 2013-04-11 21:17, Carlos Torres wrote: > it was there just a little hidden > http://git.suckless.org/sites/tree/tools.suckless.org/ii/patches/ii-ipv6.diff i mean in the ii repo -> http://git.suckless.org/ii

Re: [dev] ii IPv6 support

2013-04-11 Thread Patrick Haller
On 2013-04-11 20:53, Nico Golde wrote: > http://tools.suckless.org/ii/patches/ii-ipv6.diff Aw fsck. Can we put the patches in the git repo? Either as plain files in patches/, or create a branch based on the commit they diff'd at?

Re: [dev] Call for pkgsrc users

2013-04-10 Thread Patrick Haller
On 2013-04-10 13:13, William Giokas wrote: > There are extremely strong technical arguments for using systemd as a > simple, easy to use and easy to configure initialization system. systemd trades simplicity for boot-speed and stack integration. There are always trade-offs. It's just this seems l

[dev] ii IPv6 support

2013-04-08 Thread Patrick
Attached is a patch to add IPv6 support to ii, based on where it was as of 7a99152ce64d7006730006094b333edbecbe505a Enjoy, scream, whatever... diff --git a/ii.c b/ii.c index d93266c..0ebeee3 100644 --- a/ii.c +++ b/ii.c @@ -37,6 +37,7 @@ static int irc; static time_t last_response; static Channe

Re: [dev] Makefile/markdown based static site generator

2013-02-21 Thread Patrick Haller
On 2013-02-21 10:19, sta...@cs.tu-berlin.de wrote: > of course: > sed -n '/^\s*

Re: [dev] Makefile/markdown based static site generator

2013-02-20 Thread Patrick Haller
On 2013-02-21 14:19, Kai Hendry wrote: > If you are a Makefile demi-god, you could please help me support input > files blighted with spaces. For example running the Makefile on my > blog, it chokes and stops with > https://github.com/kaihendry/natalian/blob/master/archives/tag/fair%20use.mdwn htt

Re: [dev] [dwm] Optional status bar

2012-01-28 Thread Patrick Haller
On 2012-01-28 14:22, Bjartur Thorlacius wrote: > When I think of it, I can't but wonder if we could write a program > that does tagging and tagging only, and a selection of separate > layout managers that automatically tile or maximize mapped windows. > Interoperability with (other) no-wm tools wou

Re: [dev] [surf] make error

2012-01-04 Thread Patrick Haller
On 2012-01-04 21:28, Hannes Blut wrote: > When making surf on my setup i get do what the error says, add it to your libs in your config.mk, like: LIBS = -L/usr/lib -lc -lX11 -ljavascriptcoregtk-1.0 ${GTKLIB} -lgthread-2.0

Re: [dev] wmii falling out of favor

2012-01-02 Thread Patrick Haller
On 2012-01-02 12:26, hiro wrote: > I don't understand how this is related to your quote? Suraj re-evaluated his toolset. I think the re-evaluation part is a good idea, however it seems you could spend too much time doing it. > You always execute ls when you cd to a different folder? in interacti

Re: [dev] wmii falling out of favor

2012-01-01 Thread Patrick Haller
On 2012-01-01 21:13, Suraj N. Kurapati wrote: > So I considered the trade-offs between SLOC minimalism, project and > community activity, and my productivity in DWM vs. WMII and finally > decided to switch back to WMII (which I used since six years prior). How often do people re-evaluate their too

Re: [dev] network usage graphs

2011-12-23 Thread Patrick Haller
On 2011-12-23 23:16, hiro wrote: > Only so nobody falls in the same pits: gnuplot sucks, bourne shell > sucks (better use awk for tabular calculations) post the scripts? also, check out http://www.colorcombos.com/

Re: [dev] network usage graphs

2011-12-22 Thread Patrick Haller
On 2011-12-22 13:58, hiro wrote: > What tools do you know that are able to render such graphics and > update once per second or so? push the burden of making pretty crap on the client; drop the data to json and let the clients use a javascript library like highcharts.

Re: [dev] Shameless patch request

2011-12-07 Thread Patrick Haller
On 2011-12-07 11:04, Justin Pogue wrote: > At work, I typically have a terminal doing something like "while true; > do ls -l /var/cores && sleep 10 && clear; done" Jobs need two scriptable pathways to your brain: 1) an immediate attention interrupt, and 2) a handle when not busy interrupt. status

Re: [dev] dmenu's lsx binary naming conflicts with lrzsz!

2011-11-27 Thread Patrick Haller
On 2011-11-27 15:32, Roger wrote: > locate "stest" |grep ^stest$ 08:53:31 Err 130 /Volumes/Users/phaller > locate ls | grep ^ls$ 08:53:34 Err 1 /Volumes/Users/phaller > locate ls | grep ^/bin/ls$ /bin/ls 08:53:43 /Volumes/Users/phaller>

Re: [dev] [dwm] [PATCH] spawn_cwd - spawn from current client's cwd

2011-11-25 Thread Patrick Haller
On 2011-11-25 22:42, Julian Dammann wrote: > > It's all about spatial locality. > Ever tried ":!your_terminal &" in vim? Maybe that's good enough for you if > bound to some key. autocmd BufEnter * cd %:p:h for when you use multiple buffers in vim.

Re: [dev] semicolons

2011-11-18 Thread Patrick Haller
On 2011-11-18 13:24, pancake wrote: > should we support code written by bitches? K&R v1, page 59: for (i = 0, j = strlen(s)-1; i < j; i++, j--) { SLoC count? Bitch count? ;)

Re: [dev] semicolons

2011-11-18 Thread Patrick Haller
} sloc() { __sloc "$1" | wc -l __sloc "$1" | sed -e 's,;,ROFL\n,g' |grep ROFL |wc -l __sloc "$1" | sed -e 's,(,ROFL\n,g' |grep ROFL |wc -l } worrying about stuff like the next seems tree/forest-y if (error) return printf("boot->head => missed?"), -1; btw, anyone recommend a suckless AST tool for C? Patrick

Re: [dev] Trouble with Gmail in surf

2011-11-17 Thread Patrick Haller
tk-webkitwebview.html#WebKitWebView-load-error something like: void loaderror(WebKitWebView *v, WebKitWebFrame *f, gchar *u, gpointer e, gpointer d, Client *c) { return printf("err %s\n", e->message), FALSE; } Patrick

Re: [dev] [surf] downloads

2011-11-04 Thread Patrick Haller
d a progress bar to that patch. Patrick diff -urN surf-tip/surf.c surf-dl/surf.c --- surf-tip/surf.c 2011-11-04 22:21:52.077749801 +0800 +++ surf-dl/surf.c 2011-11-04 23:35:55.630343708 +0800 @@ -42,6 +42,15 @@ gboolean zoomed; } Client; +typedef struct Download { + We

Re: [dev] Some 2wm questions

2011-10-31 Thread Patrick Haller
you want to control every window, you don't need a window manager. Patrick

Re: [dev] [dwm] 2000 SLOC

2011-10-31 Thread Patrick Haller
place as *the* place for users Patrick

Re: [dev] ssh-agent stanza in POSIX shell

2011-10-30 Thread Patrick Haller
ould probably test for functionality, something like: ssh_agent_check () { for sock in {$TMPDIR,/tmp}/ssh-*/agent* do export SSH_AUTH_SOCK=$sock ssh-add -l && return done eval `ssh-agent` } Patrick

Re: [dev] Please recommend a suckless rss reader

2011-10-29 Thread Patrick Haller
perl for the filter filter has been a ridiculously useful script, being a hash of common encoding transforms. It could be a sed scripts or in C; anyone seen or written something like it? Patrick wcat() { which curl > /dev/null 2>&1 && curl -s "$1";

Re: [dev] Please recommend a suckless rss reader

2011-10-29 Thread Patrick Haller
On 2011-10-29 23:22, Yue Wu wrote: > I'm looking for a cli newsreader, suckless, less dependencies. Thanks! cron + curl + xmlstarlet + md5 = lighter than rss2email.py Patrick

Re: [dev] Linux sucks!

2011-10-28 Thread Patrick Haller
On 2011-10-29 01:44, Connor Lane Smith wrote: > This thread is demented... *very* irritating. Trolls have to perform some socially useful function or else we'd all have learned by now. Patrick * yeah, I know it's only October. ;)

Re: [dev] Focusing on windows by name

2011-10-26 Thread Patrick Haller
On 2011-10-26 11:48, Manolo Martínez wrote: > > In openbox I have a key bound to the following:"wmctrl -xa mutt || > urxvt -name mutt -e mutt" xlsclients | grep -q mutt || urxvt -e mutt

Re: [dev] Simple made Easy (Rich Hickey at StrangeLoop)

2011-10-22 Thread Patrick Haller
eems like too much; probably only need a few generic ones: string, number, binary, list, hash. Too many types will hurt us just like re-inventing tar as MIME as output delimiter hurt us. > we ought to optimise for effectiveness of use by the user Absolutely; perhaps by reducing the output options of our programs. ;) Patrick

Re: [dev] Simple made Easy (Rich Hickey at StrangeLoop)

2011-10-21 Thread Patrick Haller
d input = free-form text. We combined data exchange with user interface, and user interface usually won that fight. Say data exchange won; would it help us to rewrite our programs to output JSON and our shells to pretty-print* JSON? Patrick [*] The cynic points out that people would then spen

Re: [dev] Suckless way of checking Nagios?

2011-10-16 Thread Patrick Haller
interrupt vector (and not an sms)? If so, I'd do something stoopid like parse the output of [1] and for every warning, put up a picture of kitty cat, and for every critical, put up an angry tiger. It sounds like w3m and a sed script would work just GRRReat! Patrick [1] http://ligers_kic

Re: [dev] Make dmenu sensitive to user aliases ("Hello world")

2011-10-02 Thread Patrick Haller
update an alias or > function in all my open terminals. ??? something like? update_config() { [ `mtime $cfg` -gt `mtime $history` ] && . $cfg ; } export PS1='`update_config`> ' Patrick

Re: [dev] [surf] download patch updated

2011-09-28 Thread Patrick Haller
On 2011-09-28 14:51, Nick wrote: > Quoth Troels Henriksen: > > Nick writes: > > Huh? I have not had trouble using wget for this. > Can anyone else confirm / deny this? Not for those sites, however I did see enough fails to add the same to https://github.com/patrickhaller/surf-ph Patrick

Re: [dev] New utility

2011-09-24 Thread Patrick Haller
On 2011-09-25 03:19, Christoph Lohmann wrote: > ocaml;wu (ocaml; won't use) use the bringer_obsolete.bash [1] from the package? why ocaml;wu? because it's outside the C/sh stack, or ? Patrick [1] send "https://github.com/cfuehrmann/bringer/raw/master/bringer_obsolete.bash \r" expect "bash;wu"

Re: [dev] A dmenu that includes all additional features

2011-09-12 Thread David J Patrick
On Mon, Sep 12, 2011 at 10:05:16PM +0100, Rob wrote: > I don't think this would be worth it, suckless tools are supposed to be > lightweight, even someone who hasn't seen the code before can make > changes, they don't have to be an expert at C, so merging a few lines > here and there is no big deal

Re: [dev] Simple application launcher?

2011-06-30 Thread Patrick Haller
On Thu, Jun 30, 2011 at 04:40:23PM +0200, f...@snakeoilproductions.net wrote: > perhaps _20h_'s thingmenu fits your need? > http://git.r-36.net/thingmenu/ or clock from http://www.jessies.org/~enh/software/x11/

Re: [dev] ideas on suckless file manager

2011-06-13 Thread David J Patrick
On Mon, Jun 13, 2011 at 08:49:45PM +0200, Jakub Lach wrote: > To add another one, I'm not entirely sure LCD vs CRT > eyes health debate is settled. > I'm fairly sure the "Cathode ray cannon pointed at your head; is it safe ?" debate is well over.. djp

Re: [dev] ideas on suckless file manager

2011-06-08 Thread Patrick Haller
On Wed, Jun 08, 2011 at 08:01:10AM +0200, Petr Sabata wrote: > On Wed, Jun 08, 2011 at 12:57:40PM +0800, Patrick Haller wrote: > > > > define $EDITOR then ^x^e > > I guess this is just something bash-specific? yeah, edit the current command using $EDITOR file manager

Re: [dev] ideas on suckless file manager

2011-06-07 Thread Patrick Haller
On Tue, Jun 07, 2011 at 09:03:06PM -0700, Noah Birnel wrote: > ls >listing && vim listing && mv `cat listing` dest define $EDITOR then ^x^e Patrick

Re: [dev] dwm taskbar config

2011-03-23 Thread Patrick Haller
hile true; do exec sleep 30 & done #2 while true; do exec sleep 30 done #3 while true; do sleep 30 done Patrick

Re: [dev] Not Using a Window Manager?

2011-03-02 Thread Patrick Haller
es in would help, so whether someone wants to try a different layout engine or something, they can hack it up in perl or pure or whatnot. Patrick * yes, i'm declaring ICCCM/EWMH a wasteland for users. There's only apps and window managers in there. With surf, it's easy to check for

Re: [dev] Not Using a Window Manager?

2011-03-01 Thread Patrick Haller
th them can be fixed with a DISPLAY=:0.0 x-alt-tab and from then on, add x-alt-tab to the end of what spawned that beast. Patrick

Re: [dev] Unix philosophy window manager

2011-02-28 Thread Patrick Haller
1 and no window manager, the top-most window under the pointer receives Key* events. By tying XCirculateSubwindows to XSetInputFocus'ing back to the root window, we can get around clients that focus themselves. However, that provides a certainly limited Focus / Stack setup ;) Patrick

Re: [dev] Not Using a Window Manager?

2011-02-26 Thread Patrick Haller
On Sat, Feb 26, 2011 at 11:17:50AM -0500, Kurt H Maier wrote: > Precisely what value do you get out of hacking up shell scripts to do > this with a dozen tools? It's at least a good way to understand exactly what one gets from X11. ;) Patrick

Re: [dev] Not Using a Window Manager?

2011-02-26 Thread Patrick Haller
> just be creating a (very minimalist) window manager out of those > tools? yup. WMs usually bind several orthogonals: window manipulation / decoration, keyboard shortcuts. focus management. Separate them. ;) Patrick

Re: [dev] Not Using a Window Manager?

2011-02-26 Thread Patrick Haller
indowmap mapped not viewable => xdotool search stupid_window windowmove 0 0 I keep a stack of unmapped windows (especially for surf, which i open unmapped), managed via the script below. Patrick #!/bin/bash dir="${HOME}/.wm-banished" [[ ! -d $dir ]] && mkdir -

[dev] Not Using a Window Manager?

2011-02-26 Thread Patrick Haller
Anyone here try using X11 without a window manager? Just using Xresources + specific tools: xbindkeys, xdotool, etc... I'm documenting the setup and adding small tools as needed (x-alt-tab, x-move-resize, x-session). https://github.com/patrickhaller/no-wm Patrick

Re: [dev] which minimal os

2011-02-11 Thread Patrick Haller
On Fri, Feb 11, 2011 at 07:34:48PM +0100, Benoit Chesneau wrote: > > What would you choose for a really minimal OS? arch linux, rolling binary releases reduce maintenance time. what do you want a minimal os for? Patrick

Re: [dev] Config files

2011-02-09 Thread Patrick Haller
only works for very simple use cases which don't need dozens > of variables well, don't beat up only one of the twins: extern char **environ; extern char **argv; char *foo = NULL; foo = getenv("foo"); environ = argv; if (getenv("foo") != NULL) foo = getenv("foo"); Patrick

Re: [dev] A Suckless Filesystem

2011-02-06 Thread Patrick Haller
On Sat, Feb 05, 2011 at 05:06:20PM -0500, Brandon LaRocque wrote: > Which one do you use? Why do you use it? What does it have that the > others don't? XFS because http://www.jukie.net/bart/blog/usb2-enclosure-benchmark Lots of tradeoffs with FSs, how about tackle userland first? Patrick

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Patrick Haller
On Sat, Jan 22, 2011 at 11:28:20AM -0500, Eitan Goldshtrom wrote: > Hi. I'm trying to print out a progress bar sort of thing that > represents my remaining battery life. Why use python? dc and printf suffice. Patrick percent=$1 buckets=10 # annoying math decimal=$( dc -e &q

[dev] Re: [dwm] screen locker -> sinac

2010-12-10 Thread Patrick Haller
mount of CPU resources in the range of 30-50%. Perhaps there > was an incompatibility with the latest Xorg server, I'm not sure. I > didn't stay with it long enough to find out. That's cause sinac.c as posted used usleep while working with secon

[dev] [slock] getopt + disable XBell option

2010-09-17 Thread Patrick Haller
. Patrick diff -urN slock-1.0/slock.c slock-1.0-getopt//slock.c --- slock-1.0/slock.c 2009-11-26 20:53:26.0 +0800 +++ slock-1.0-getopt//slock.c 2010-09-18 12:34:56.761712744 +0800 @@ -74,9 +74,9 @@ static void #ifdef HAVE_BSD_AUTH -read_password(Display *dpy) +read_password(Display *dpy

Re: [dev] A language similar to Markdown that sucks less

2010-08-22 Thread David J Patrick
On 10-08-22 12:47 PM, David J Patrick wrote: pandoc extends markdown and has some table support, I think.. or maybe it doesn't.. anyhow, it's a noble effort, best of luck, keep us posted, djp

Re: [dev] A language similar to Markdown that sucks less

2010-08-22 Thread David J Patrick
On 10-08-22 12:37 PM, Alexander Teinum wrote: What doesn’t work well for me, is that I cannot easily extend Markdown. The design that I propose is simpler and more strict. All tags work the same way. The input is close to a data structure, and it doesn’t need complex parsing. The drawback is that

Re: [dev] A language similar to Markdown that sucks less

2010-08-22 Thread David J Patrick
On 10-08-22 11:52 AM, Alexander Teinum wrote: I didn’t want to start a completely off-topic discussion in the typesetting thread, so I created a new thread. I’m playing with the idea of creating a language that is simple to read like Markdown, but that has a stricter syntax. It looks like Common

Re: [dev] Usable typesetting system?

2010-08-22 Thread David J Patrick
On 10-08-22 07:15 AM, Martin Kopta wrote: Hi everyone, I wrote my bachelor thesis using LaTeX and now I am going to write my master thesis. I would rather avoid TeX and everything TeX based this time. consider writing in markdown and transforming via pandoc. http://johnmacfarlane.net/pandoc

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread David J Patrick
On 10-08-17 02:57 AM, Alexander Teinum wrote: I don’t have time to try it out right now, but I see how an interactive interface might be practical. Don't have time right now, hence that task management application ? ;-) taskwarrior is also purely cli at the moment, but working towards adding

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-16 Thread David J Patrick
On 10-08-14 08:18 AM, Alexander Teinum wrote: I have been working on a program that makes it easy to keep myself, and perhaps others, in check. It’s inspired by suckless. I now consider it stable enough to share it with you. Sounds intriguing, and I'm going to check it out, but I have to admit

  1   2   >