Re: Re: [dev] Interesting Web Browser Decoupling Concept

2017-06-14 Thread Martin Kühne
>/dev/null

Re: [dev] [dmenu] crashes with "warning: locale not supported" on fresh install of Xubuntu 16.04

2017-04-24 Thread Martin Kühne
Not enough data for meaningful answer. You haven't described what exactly the problem or your expectation is and in what environment you're trying to run dmenu, like the desktop environment/window manager. Did you configure dmenu to some extent, like passing command line flags or even compile your

Re: [dev][all] Hello

2017-04-01 Thread Martin Kühne
How is your project to grow a beard so you look older than 12 coming along? cheers! mar77i

Re: [dev] [announce] mle: a small terminal-based text editor

2017-03-29 Thread Martin Kühne
tl;dr > mle weighs in at ~10k sloc WTF. Did you write a program to generate this much? I've seen operating systems that ran really well at that line count. cheers! mar77i

Re: [dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing terminal

2017-03-29 Thread Martin Kühne
That is the most sensible summary on the subject I have yet come across, chapeau. For anything that was hard or ambiguous to explain, this is what irks everyone about TUI, if that is even a thing, and the argument is very much why it shouldn't be. Whatever way we go now, I'm in favor of instead tr

Re: [dev] unsubscribe

2017-03-06 Thread Martin Kühne
On Mon, Mar 6, 2017 at 10:42 AM, Rares Aioanei wrote: > unsubscribe > Your request will be processed shortly. Please wait while our very competent monkeys are attempting to determine an outcome. cheers! mar77i

Re: [dev] [sltar] Listed project idea to extend sltar with compression

2017-02-11 Thread Martin Kühne
If sltar is doing the lifiting for the tar functionality, how about we provide a "tar" compatibility script with the package, which runs the pipelines as discussed? As for file/libmagic, that is probably one of the worst pieces of software in hisory in how it works and by what kind of bugs it surf

Re: [dev] Trouble applying scrollback patch to st

2017-02-05 Thread Martin Kühne
...it would be kind of essential for your user experience of the added scrollback buffer that you could actually look through it and all. With config.h not really in control of the projects (the user adjusts that), it's kind of not sensible to try adding a keyboard mapping in an automated manner.

Re: [dev] Re: st: Use after free

2017-01-23 Thread Martin Kühne
On Mon, Jan 23, 2017 at 5:48 PM, Greg Reagle wrote: > Personally I think it is despicable and anti-progress to discourage bug > reports. I specifically asked to make sure it's a bug in st, which I didn't write. And I no longer have all day to solve any problem that crosses my path for anyone. Vag

Re: [dev] Re: st: Use after free

2017-01-23 Thread Martin Kühne
On Mon, Jan 23, 2017 at 4:18 PM, Alexander Keller wrote: > Now now. No need to hold contempt on the mailing lists. Suckless isn't > some Linux list where we go off on people who want to help but didn't > read the entire codebase, wiki, and archive before posting. Cool. I'll have to remember this

Re: [dev] Re: st: Use after free

2017-01-22 Thread Martin Kühne
On Mon, Jan 23, 2017 at 5:11 AM, wrote: > What I believe[...] Whose responsibility would it be to test what you believe? It looks a lot like you expect us to figure out whether you are on to something relevant. I had a dream last night and in that dream I saw the glorious future of a moosotc fig

Re: [dev] st: Use after free

2017-01-22 Thread Martin Kühne
On Sun, Jan 22, 2017 at 5:17 PM, wrote: > > `valgrind st -f mono-2 cat full-bmp.txt' [1] > > Yields quite a few invalid reads from freed blocks, the issue is related > to cache management. In the real world those dangling pointer issues > lead to segfaults or X11 errors (eventually) > I think y

Re: [dev] cal -5 and -7

2017-01-17 Thread Martin Kühne
That's whatever you switch() on. current_arg[1] or something like that? sorry if that wasn't clear. cheers! mar77i

Re: [dev] cal -5 and -7

2017-01-16 Thread Martin Kühne
// actually, merge me with '3', right away, too case '5': case '7': nmons = switch_var - '0'; // subtracting '0' is generally safe if(--month < 1) { month += 12; year--; } break; cheers! mar77i

Re: [dev] Request for video player recommendation with a good playlist

2017-01-15 Thread Martin Kühne
On Sun, Jan 15, 2017 at 4:54 PM, Mattias Andrée wrote: > The problem with this approach is that I cannot > edit the list whilst it is playing, except for > removing files. My personal solution to this problem is to simply use mpv from CLI per file. There is simply no playlist, but I really don't

Re: [dev] Request for video player recommendation with a good playlist

2017-01-15 Thread Martin Kühne
While vlc is admittedly a bunch of crap, I have no real suggestion for a playlist editing player. you could wrap mpv with some playlist-managing DIY thing, though, as it does IPC but could as well be quit with SIGQUIT... What's the reasoning behind this question though, why do you need to edit the

Re: [dev] Re: [st] Crash on middle finger character

2016-12-18 Thread Martin Kühne
On Sun, Dec 18, 2016 at 7:52 PM, S. Gilles wrote: > It also displays just fine for me, using either 0.7 or latest git > (c63a87cd936c1eeef14c4c21572e5b782d3df4bc), with > > static char font[] = "Terminus:pixelsize=12:antialias=false:autohint=false"; I honestly doubt Terminus ships that one partic

Re: [dev] [surf] Webkit2 with proxy server

2016-12-17 Thread Martin Kühne
Talking about banks who make things inherently complicated, I heard some people use gnucash and similar things to do their bank stuff, though I don't know how much functionality is there effectively available on this stuff. I just know my own bank which is otherwise really preferable for being Swis

Re: [dev] Fwd: [slock] 1.4 not working from i3

2016-12-05 Thread Martin Kühne
This reminds me, we're talking about i3 here. Take a look at some of the bugs that end up in their bugtracker, for example [0]. Could [1] be related to what you're seeing? cheers! mar77i [0] https://github.com/i3/i3/issues/2539 [1] https://github.com/aktau/hhpc/issues/2

Re: [dev] Fwd: [slock] 1.4 not working from i3

2016-12-05 Thread Martin Kühne
Look in ~/.xsession-errors, or wherever you redirect the window manager's stderr (readlink /proc//fd/2). Slock should leave a message why it cannot run. Generally speaking, if something works in the terminal, but doesn't work through key binding, it's usually a matter of environment variables. che

Re: [dev] Re: Digest of dev@suckless.org issue 503 (25694-25716)

2016-11-16 Thread Martin Kühne
On Wed, Nov 16, 2016 at 9:33 AM, hiro <23h...@gmail.com> wrote: > shut up [9] > > [9] seriously > You remind me of my hike in the mountains last weekend that involved abseiling. A total let-down. cheers! mar77i

Re: [dev] Re: Digest of dev@suckless.org issue 503 (25694-25716)

2016-11-16 Thread Martin Kühne
You think you're so great, don't you [0]. cheers! mar77i [0] http://uncyclopedia.wikia.com/wiki/You#You_think_you.27re_so_great.2C_don.27t_you

Re: [dev] mailto: and customi URIs in surf?

2016-11-09 Thread Martin Kühne
I can really recommend ##c on freenode. It is reputed to be a harsh place where name-calling and stuff appears to be common, but they come with a lot of knowledge which they have accumulated in their wiki [0]. It was actually suckless which made me take a closer look at c, as well, but ##c made me

Re: [dev] [ st ] - 'visudo' has strange effect

2016-10-31 Thread Martin Kühne
On Mon, Oct 31, 2016 at 6:34 PM, Mohammed Zohaib Ali Khan wrote: > Hi Quentin, > > Thank you for the response. I also discovered that the problem is with > running 'vi' in st, as I have noticed 'vim' runs properly in st. > > Thinking that the problem is due to terminfo not installed correctly, > i

Re: [dev] [dwm] crash on xsetroot emoji character

2016-10-25 Thread Martin Kühne
IIRC there are fonts who claim ridiculously large glyph sizes in some circumstances, and yes that wasn't a dwm issue in and on itself. Geatan, what font configuration are you using? cheers! mar77i

Re: [dev] Collecting sins of Apple

2016-10-23 Thread Martin Kühne
Btw, Laslo's post reminded me that I in fact posted this article about the topic on my feed. cheers! mar77i [0] https://medium.com/chris-messina/silicon-valley-is-all-wrong-about-the-airpods-8204ede08f0f#.9ro6pge1w

Re: [dev] Collecting sins of Apple

2016-10-23 Thread Martin Kühne
On Sun, Oct 23, 2016 at 12:19 PM, Markus Teich wrote: > Martin Kühne wrote: >> TL;DR, while I'm sure most of this stuff holds further scrutiny, I just doubt >> it's generally a good idea to list so many problems while providing no >> technical context whatsoever.

Re: [dev] Collecting sins of Apple

2016-10-22 Thread Martin Kühne
This thread is, as I somewhat expected, a total train wreck. Replying with regard to technical criticism regarding osx, because literally *none* of the claims could be substancially supported by even anyone else's analysis or facts. So most of what I read about apple technically, I'm referring to

Re: [dev] [ii] Reconnect

2016-10-13 Thread Martin Kühne
Good day to bring this up [0]. cheers! mar77i [0] https://twitter.com/freenodestaff/status/786495995949481984

Re: [dev] Good Morning, and a question about st (italic mode switches color).

2016-10-05 Thread Martin Kühne
On Wed, Oct 5, 2016 at 2:19 PM, Lucas Gabriel Vuotto wrote: > $ echo '140,146p' | ed config.def.h > 20475 > /* > * Colors used, when the specific fg == defaultfg. So in reverse mode this > * will reverse too. Another logic would only make the simple feature too > * complex. > */ > static unsig

Re: [dev] Good Morning, and a question about st (italic mode switches color).

2016-10-05 Thread Martin Kühne
Hi Try to keep things short. > I'm not sure yet if OpenRC is really much better than systemd, though, so if > I would need to choose today I might switch to a plain debian, that I often > use on servers. We don't need to discuss these things here [0]. > Gentoo has a little trick... As a matt

Re: [dev] name for ii-like chatting

2016-09-27 Thread Martin Kühne
On Tue, Sep 27, 2016 at 2:40 PM, FRIGN wrote: > however, "bioc" or "binoc" might be nice memorable names for the Why not carry the IRC back into the name and make it binoirc or even birco? cheers! mar77i

Re: [dev] seif opinions?

2016-09-26 Thread Martin Kühne
So, what about the impact of #3 and #4 on the code size of modern browsers. That means it should be easier to understand (and implement) than DOM. Or is there an even harder problem? cheers! mar77i

Re: [dev] [st] Scrollback patch crashes X

2016-09-24 Thread Martin Kühne
You could just use a symbolic link in your $HOME or something instead of rebuilding dwm every time. Just because this setup tends to make you do it, doesn't mean you have to solve every problem you have into it. cheers! mar77i

Re: [dev] [dwm] Firefox always opens in TAG 9

2016-09-24 Thread Martin Kühne
What does that script look like and what does your config.h look like? Sounds like you had firefox set to launch on said tag in the latter. cheers! mar77i

Re: [dev] containers opinion

2016-09-23 Thread Martin Kühne
Only slightly relevant, but I found this on Alan Cox' feed today: https://ptpb.pw/R5ZJ.jpg cheers! mar77i

Re: [dev] Just discovered dwm

2016-09-21 Thread Martin Kühne
Speaking of showing off, I set up a repository where I publish my dotfiles and desktop patches [0]. I just patched dmenu_run to cleanly exec whatever it's supposed to run. cheers! mar77i [0] https://github.com/mar77i/dotfiles

Re: FuzixOS: Because Small Is Beautiful WAS: [dev] several questions

2016-09-21 Thread Martin Kühne
I went ahead and relayed projects you mentioned. :-) cheers! mar77i

Re: [dev] I wrote a pager

2016-09-16 Thread Martin Kühne
a few gripes: atoi: personally I prefer strtol and range-checks on the result and/or errno. getenv(LINES) is a start, but you might also want to offer ioctl(TIOCGWINSZ) where available. always NULL-check the return value of getenv. what does your pager do on binary input and unexpected things? doe

Re: [dev] st output is not correctly updated

2016-09-15 Thread Martin Kühne
On Wed, Aug 17, 2016 at 10:18 AM, Ivan Delalande wrote: > On Mon, Aug 15, 2016 at 10:39:41PM -0800, Britton Kerin wrote: >> btw, st sometime seems to eat input, and fail to output lines. You >> might want to >> try it without dvtm sometime in case that program is somehow masking a bug. > > Do you

Re: [dev]

2016-09-08 Thread Martin Kühne
Please disregard. My email skills failed me. cheers! mar77i

[dev]

2016-09-08 Thread Martin Kühne
Bash really is a special little snowflake. The space trimming feature, as I recently discovered is made available for all but the implicit REPLY. $ read -r <<<" TEST "; printf '<%s>\n' "$REPLY" < TEST > $ read -r REPLY <<<" TEST "; printf '<%s>\n' "$REPLY" As a heavy user of bash and

Re: [dev] Shell style guide

2016-09-08 Thread Martin Kühne
On Thu, Sep 8, 2016 at 4:11 PM, Greg Reagle wrote: > On Thu, Sep 8, 2016, at 10:05 AM, Kamil Cholewiński wrote: >> Wow, shell quoting is just fucked up crazy. I was mostly using unquoted >> $@ my whole life. And here I thought I knew enough not to screw up a >> simple script, > > It is common know

Re: [dev] Shell style guide

2016-09-07 Thread Martin Kühne
As with read's -r flag, use <<'EOF' unless silly/potentially devastating side effects are desired. cheers! mar77i

Re: [dev] suckless debugger?

2016-08-31 Thread Martin Kühne
Also, when in doubt, look things up in the C standard which you pass to -std=. Any case that you find practically not covered by printf, especially wrt to -O* would mean you are compiling code with unspecified/undefined behavior. It's not necessary to land in C's pitfalls if you learn to C properly

Re: [dev] Re: [dwm] Crash when setting window title to a single emoji

2016-08-29 Thread Martin Kühne
On Mon, Aug 29, 2016 at 9:12 PM, Markus Unterwaditzer wrote: > Since nobody can reproduce it, apparently you have to install the bdf-unifont > from `extras`. > > My journey continues... No, I'm too lazy to crash my stuff tonight. Btw, the website lists version 9.0.02 as the current version, arch

Re: [dev] [dwm] Crash when setting window title to a single emoji

2016-08-29 Thread Martin Kühne
On Mon, Aug 29, 2016 at 7:56 PM, Markus Unterwaditzer wrote: > Originally I've experienced this issue when opening the following URL in > Firefox or Chromium: https://github.com/RustFestEU/conf-2016/issues/2 That > page > has a tag with that emoji, which then lands in the window title as > well.

Re: [dev] Sane office alternative?

2016-08-25 Thread Martin Kühne
Abiword "supported" ligatures back when I used it. It didn't consider them in font width calculations, though, which made the light-gray whitespace dots further to the right. I switched to libreBROffice since, because even after numerous "releases" that particular issue didn't get addressed. Thinki

Re: [dev] Sane office alternative?

2016-08-25 Thread Martin Kühne
This way you know what friends, coworkers, employers and family members you want. cheers! mar77i

Re: [dev] st lack of scrollback

2016-08-15 Thread Martin Kühne
On Tue, Aug 16, 2016 at 8:39 AM, Britton Kerin wrote: > > The point is it's *much* easier for you to do it. You know how terminal > programming works already, I don't. I *could* do it, but it would be > extremely > inefficient. > I don't know how the current patch implements scrollback and I'm

Re: [dev] What do you guys think about competitive programming?

2016-08-12 Thread Martin Kühne
On Fri, Aug 12, 2016 at 9:58 PM, Mattias Andrée wrote: > Programming contests can be fun, but it depends on the > competition, some barely have a focus on programming > but mathematics instead. I don't see them as promoting > bad practices, you are under extraordinary pressure so > this should not

Re: [dev] [st] most suckless way to scroll & multiplex

2016-08-11 Thread Martin Kühne
On Fri, Aug 12, 2016 at 12:25 AM, Wolfgang Corcoran-Mathe wrote: > Hi Joseph, > I’ve been using the scrollback patch for local sessions recently > (terminal muxers inside window muxers seems overkill, and dvtm is > a _lot_ of code for just scrollback). If you need session management > and termina

Re: [dev] st lack of scrollback

2016-08-11 Thread Martin Kühne
On Thu, Aug 11, 2016 at 8:36 PM, Britton Kerin wrote: >> Fix the patches. > > I have no idea how and I haven't found suckless people fun to work with > Interesting how you switch a virtue (writing code) with laziness (telling others where things go). Tell me more about your management virtues. >

Re: [dev] JWM on website

2016-08-03 Thread Martin Kühne
Save the thread, kill yourself with ratpoison. Not the wm. cheers! mar77i

Re: [dev] JWM on website

2016-08-02 Thread Martin Kühne
JWM is hosted on github already and that is definitely where it belongs. From there: To build JWM you will need a C compiler (gcc works), X11, and the "development headers" for X11 and Xlib. If available and not disabled at compile time, JWM will also use the following libraries: cairo and librsv

Re: [dev] [dmenu] [PATCH] Added option to prompt for passwords

2016-07-25 Thread Martin Kühne
Use more key files. That counts especially for gpg, ssh as well as luks. This thread sounds like an attempt at slowly replacing whatever you did with your terminal emulator before with dmenu. Does one line of text suck less than several? cheers! mar77i

Re: [dev] New Suckless computer language?

2016-07-22 Thread Martin Kühne
So I found your sourceforge project page [0]. I don't know whether you failed at setting up your git to upload your project, or whether this is the accomplished project already. In the latter case, I want to congratulate you for your impressive verbosity about your equally impressive codebase, whic

Re: [dev] New Suckless computer language?

2016-07-22 Thread Martin Kühne
On Fri, Jul 22, 2016 at 8:46 PM, Daniel V wrote: > Is there any need for a new language, or is C good enough? > Give us the code already. In case you're asking for a repo on git.suckless.org the answer is probably no, but in general we are always keen to see quality content - and/or amuse oursel

Re: [dev] [noice] with musl

2016-07-18 Thread Martin Kühne
On Mon, Jul 18, 2016 at 12:49 PM, Cág wrote: > Hi, > > Has anyone tried building noice[0] against musl? I use Alpine and building > it > gives me this: > > cc -o noice noice.o strlcat.o strlcpy.o -lcurses > /usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: >

Re: [dev] which versions are dwm patches intended to apply to cleanly?

2016-06-16 Thread Martin Kühne
On Thu, Jun 16, 2016 at 4:15 PM, FRIGN wrote: >> I would suggest to use: --> hash>-.patch > > st-externalpipe-ea87104-160423.patch > > Admittedly, I don't immediately see the date in there. Use 4 digit years. Also, there's ISO-8601 [0]. cheers! mar77i [0] https://imgs.xkcd.com/comics/i

Re: [dev] pledge(2) patches

2016-06-06 Thread Martin Kühne
On Mon, Jun 6, 2016 at 1:19 PM, Martin Kühne wrote: > Can it somehow be made to keep its effect across the exec family of syscalls? > Having done my own research, no it can't. Also, the way it is designed is a rather silly approach to security which is much more revealing about toda

Re: [dev] pledge(2) patches

2016-06-06 Thread Martin Kühne
Can it somehow be made to keep its effect across the exec family of syscalls? cheers! mar77i

Re: [dev] pledge(2) patches

2016-06-06 Thread Martin Kühne
I don't understand the purpose of pledge, since it's under the control of the programmer, but so is what the program does just as well. In what way is the programmer supposed to prevent himself from doing what they were going to do anyway? cheers! mar77i

Re: [dev] [dwm] [patch] config.o

2016-05-15 Thread Martin Kühne
I liked my own idea better [0] - this patch moves the keyboard handling into a shell script as a whole. It probably doesn't apply cleanly right now and I would assist you in updating it. I'm generally in favor atomizing the kinds of functionality involved. cheers! mar77i [0] https://github.com/ma

[dev] surf replacement candidate

2016-05-14 Thread Martin Kühne
hello devs surf appears kind of huge next to [0], and although the programming language it's written in may not be everybloke's first choice, I just have to leave this here. cheers! mar77i [0] https://ptpb.pw/OVba

Re: [dev] [ANNOUNCE] slock-1.3

2016-02-13 Thread Martin Kühne
stdout could print an api secret "[locked]" and the calling script could act upon that. slock | {   read   if [[ "$REPLY" = "[locked]" ]]; then     suspend   else     yell at user or power off for added security   fi } cheers! mar77i