Re: [dev] tcvt: very useful for seeing more at once

2021-10-14 Thread Martin Tournoij
On Fri, Oct 15, 2021, at 03:55, Greg Reagle wrote: > On Thu, Oct 14, 2021, at 2:24 PM, Markus Wichmann wrote: >> You know, if you were trying to shill the program, you might have done >> better if you had provided the homepage. I searched for "tcvt", and all > > Shill--I wish. I get no money from

Re: [dev] tcvt: very useful for seeing more at once

2021-10-14 Thread Martin Tournoij
On Fri, Oct 15, 2021, at 04:24, Страхиња Радић wrote: > On 21/10/14 12:28, Greg Reagle wrote: >> Useful, but a lot of wasted screen space on my monitor: >> man dwm > > If MANWIDTH is unset (default), man page will take all of the available width > of > the terminal, unless: Note that mandoc h

Re: [dev] Article in line with suckless.org

2021-08-08 Thread Martin Tournoij
On Sat, Aug 7, 2021, at 14:02, Sagar Acharya wrote: > I have written this article at the link below. > > https://designman.org/sagaracharya/blog/pretend_computer_security > > It enhances the value of suckless by pointing the problems in gigantic > softwares. Let me know what you think. I'm remi

Re: [dev] sshd?

2021-07-24 Thread Martin Tournoij
On Wed, Jul 7, 2021, at 10:20, 201009-suckl...@planhack.com wrote: > Looking at https://github.com/mkj/dropbear -- it seems like every sshd > just grows to include things like X11/port forwarding > > Would rather have a small sshd with docs that say run netcat if you > want port-forwarding. It'

Re: [dev] [dwm] Why should (or shouldn't) dwm have a spawn function?

2021-06-28 Thread Martin Tournoij
On Tue, Jun 29, 2021, at 07:16, qsm...@tutanota.com wrote: > The existence of the spawn function in dwm surprises me. Wouldn't it be > more consistent with Suckless' values (simplicity, minimalism, > modularity) if the job of spawning commands were relegated to a hotkey > daemon, such as xbindke

[dev] Update outdated suckless website

2021-06-10 Thread Martin Tournoij
resulting in the string "123"!), and wow, the response from the women when I say I use React!! It's the easiest Tinder opening line ever. My cat loves React too. I hope you find all these tips useful! Thank You, Martin This email has been written with TDD. Martin

Re: [dev] Pandoc replacement that sucks less

2019-04-28 Thread Martin Tournoij
On Sun, 28 Apr 2019 21:44:48 +0200 (CEST) Thomas Meulendijks wrote: > Hi all, >   > I am currently using pandoc to convert my markdown files into pdf. > I do this because of a few things, > > - I want to be able to manage my documents in git. > - I want to edit my documents in my text editor of

Re: [dev] JFS filesystem

2019-04-22 Thread Martin Tournoij
On Sun, 21 Apr 2019 19:41:02 +0200 Daniel Cegiełka wrote: > > What exactly disqualifies bcachefs as a general purpose filesystem? > > Kent Overstreet said he didn't test bcachefs on small setups. This is > a filesystem designed for storage. It is therefore a competition for > btrfs and zfs. Tha

Re: [dev] JFS filesystem

2019-04-21 Thread Martin Tournoij
On Sun, 21 Apr 2019 14:21:27 +0100 Joseph Graham wrote: > > In fact, in many filesystems there are very weak – or no! – guarantees that > > the data you're reading is actually correct. Systems like ext4 simply assume > > that the data written to the disk will never change. AFAIK, it has > > essent

Re: [dev] JFS filesystem

2019-04-21 Thread Martin Tournoij
On Fri, 19 Apr 2019 09:20:41 +0200 Daniel Cegiełka wrote: > * ZFS > Resource-consuming. Designed for large servers. > > * btrfs > Rather a good choice for server rooms (Facebook). > > * bcachefs > A good competition for btrfs/ZFS. One thing that ZFS offers that most other filesystems don't is

Re: [dev] Intrest in mailing list

2019-04-18 Thread Martin Tournoij
On Thu, 18 Apr 2019 08:30:47 +0200 (CEST) Thomas Meulendijks wrote: > That being said, I have taken interest in the way this community > discusses things via mailing lists and would like to use this type of > communication within my school projects. If it's a small number of known people, just s

Re: [dev] Learn C

2019-04-01 Thread Martin Tournoij
On Mon, 1 Apr 2019 16:56:21 + sylvain.bertr...@gmail.com wrote: > Dear David, > > You are of the type of human being I, genuinely, sort of dislike. Namely a > syntax > kludge and excessive abstraction lover. > > Your first sentence is already an insult to "suckless" people: "won't you > wri

Re: [dev] [st] Cannot redraw the screen properly

2019-03-04 Thread Martin Tournoij
On Mon, Mar 4, 2019, at 23:23, Enan Ajmain wrote: > I've had no experience with mailing lists before and the last time I > had to report a bug I had a problem because I was mailing in html. I > learnt after many days, what I was doing wrong. That's why I thought > maybe I need to change the subject

Re: [dev] [st] Cannot redraw the screen properly

2019-03-03 Thread Martin Tournoij
On Mon, Mar 4, 2019, at 19:13, Enan Ajmain wrote: > Hi, > > When using ST with tmux, I might split the termial which pushes the > original split left or up. Then there is a part of the bash prompt > right after where my cursor is. This behaviour is not reproducible. > Sometimes it happens on the o

Re: [dev] quark and uds

2019-02-05 Thread Martin Tournoij
On Tue, Feb 5, 2019, at 21:40, k...@shike2.com wrote: > >> "My 2c": I would prefer shell "printf" than "echo -n -e" > > > > yeah, good point. Any of which works. > > Yes, but echo -n is not POSIX. -n is mentioned, but its meaning is not defined ("defined by implementation"). -e isn't mentioned a

Re: [dev] [dwm] Crash with emojis on title bar

2019-01-09 Thread Martin Tournoij
> Maybe I am an edge case but I was shocked to see dwm crashing given > that it was otherwise rock solid for a decade+. > I understand that the problem may lie with Xft and maybe that is what > needs to be fixed, but it still kind of makes dwm look bad. > > I mean failure to render a glyph should

Re: [dev] [dmenu] running shell scripts in dmenu

2019-01-03 Thread Martin Tournoij
On Fri, Jan 4, 2019, at 14:14, Caio Barros wrote: > #!bin/sh > surf https://duckduckgo.com Note there is a typo in that hashbang, > That works, but for some reason dmenu (+ dwm) doesn't accept this > command. It only works if I type the full directory (i. e. > ~/scripts/duck or /home/caio/scripts

Re: [dev] Yet another "sane alternatives" thread

2018-12-26 Thread Martin Tournoij
On Tue, Dec 25, 2018, at 10:11, Cág wrote: > 3. Are there any drop-in replacements for Open/LibreSSL and GNU make? I've thought about this for a while, and I wonder if make is even needed? Or rather, what's wrong with: cc [flags] *.c If you have a reasonably fast compiler then using object f

Re: [dev] Coding style: why /* */ and not //?

2018-12-26 Thread Martin Tournoij
On Thu, Dec 27, 2018, at 08:46, Hiltjo Posthuma wrote: > // is not ANSI. Is there a good reason for sticking with ANSI C? It's my understanding that even most small/minimal compilers support C99 (or most of it)? The coding style document even endorses it: "Use C99 without extensions (ISO/IEC 9899

[dev] Coding style: why /* */ and not //?

2018-12-26 Thread Martin Tournoij
The coding style says: > Use /* */ for comments, not // Don't want to start a discussion about it, but I'm curious why // is disallowed? AFAIK all compilers accept // these days, and have for a long time? I've always preferred // since they can nest (you can comment out a function with //-style

Re: [dev] Yet another "sane alternatives" thread

2018-12-26 Thread Martin Tournoij
On Wed, Dec 26, 2018, at 13:23, Sylvain Bertrand wrote: > Since llvm is pure c++ madness and gcc is still far from being one: > gnu gcc sucks less than clang/llvm. yes, GNU gcc sucks less than BSD > clang/llvm, wow. The chosen language is just one "suckless metric". I hold little love for C++, but

Re: [dev] Yet another "sane alternatives" thread

2018-12-26 Thread Martin Tournoij
On Tue, Dec 25, 2018, at 10:11, Cág wrote: > 1. Is there any network utility suite like net-tools or iproute2 but > sane and active? Or maybe net-tools was forked by somebody? Usually the stuff you want to do with these tools are limited to just a few tasks ("connect to wired network", "connect t

Re: [dev] Open Source DIY ethics

2018-12-26 Thread Martin Tournoij
Thanks all. Hope you all had a nice Christmas :-) Let me reply to all the great feedback in a single email: On Sat, Dec 22, 2018, at 23:26, Jan Bessai wrote: > You might add that keeping things small is crucial for the described way > of operating. Otherwise things are impossible to understand for

[dev] Open Source DIY ethics

2018-12-21 Thread Martin Tournoij
Hey there, I wrote a brief article about "Open source DIY ethics", which I think describes the mentality of open source development for many (in the suckless community it's more explicit, but I think it's hardly contained to suckless): https://arp242.net/weblog/diy.html I'd be interested to know

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

2018-05-18 Thread Martin Tournoij
On Fri, May 18, 2018, at 18:38, Hiltjo Posthuma wrote: > > As for my general thoughts on minification: use common sense. If you're > > creating one of those pages with 3M of JavaScript then it probably makes > > sense. If you're creating something more sane then it's probably just > > wasted effort

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

2018-05-18 Thread Martin Tournoij
On Fri, May 18, 2018, at 16:46, Thuban wrote: > Does anyone has advice for a suckless tool to minify JS, CSS and HTML > files? I use sed for now, but it might not be the best solution. > > Furthermore, I was wondering what is the opinion of the list about > minifying CSS, JS > and html files? > -

Re: [dev] ASCII Delimited Text

2018-05-16 Thread Martin Tournoij
On Wed, May 16, 2018, at 16:19, Patrick Bucher wrote: > On Wed, May 16, 2018 at 03:46:52PM +0100, Martin Tournoij wrote: > > On Wed, May 16, 2018, at 15:05, Adrian Grigore wrote: In a perfect > > world it would deal well with it, but Notepad still can't handle Unix > > ne

Re: [dev] [st] How to make it distinguish Control-p from Control-P?

2018-05-16 Thread Martin Tournoij
On Wed, May 16, 2018, at 15:49, Daniel Vartanov wrote: > Currently st does not tell ^p from ^P (any letter goes here, "P" is > here only as an example). > Is there way to make Contol-sequences case sensitive? That's not really how terminals work. Terminals are text driven and communication happens

Re: [dev] ASCII Delimited Text

2018-05-16 Thread Martin Tournoij
On Wed, May 16, 2018, at 15:05, Adrian Grigore wrote: > What do you guys think of this: > > https://ronaldduncan.wordpress.com/2009/10/31/text-file-formats-ascii-delimited-text-not-csv-or-tab-delimited-text/ I think it's a reasonable alternative to CSV or TSV. I actually used it for the file for

Re: [dev] suckless dns over http client

2018-04-03 Thread Martin Tournoij
On Tue, Apr 3, 2018, at 21:12, harry666t wrote: > My take - if you don't mind Go... > https://github.com/rollcat/gdoh > No forking, no dependencies outside of stdlib, async > queries/responses, allows using multiple providers, 78 loc. There is a small bug on line 34: if the statuscode isn't 200 th

Re: PATCH: make clean Re: [dev] [st] release 0.8

2018-03-15 Thread Martin Tournoij
On Thu, Mar 15, 2018, at 12:10, Sanel Zukan wrote: > Here is small patch for 'make clean', to remove generated config.h. > > I had generated config.h long time ago and pulling the latest code + > compiling it will generate funky compilation errors. What if I modified my config.h, then those chang

Re: [dev] [dmenu] doesnt open apps

2017-12-20 Thread Martin Tournoij
On Wed, Dec 20, 2017, at 16:19, Jorge Ga wrote: > OS: Debian 9 WM: i3 > When i open dmenu (mod+d on i3) i can search any app, but when i try > to open, it just don't open. > I try to debug the commands using i3 debug mode but i'm kinda lost, > also i find on some arch linux post that maybe the font

Re: [dev] [st] Insert key sends nothing

2017-12-12 Thread Martin Tournoij
On Tue, Dec 12, 2017, at 17:26, Martin Tournoij wrote: > On Tue, Dec 12, 2017, at 17:15, Hiltjo Posthuma wrote: > > Works fine here (OpenBSD). > > > > You're also missing many debug information. > > Sorry, forgot to mention that I'm using Arch Linux. I tried

Re: [dev] [st] Insert key sends nothing

2017-12-12 Thread Martin Tournoij
On Tue, Dec 12, 2017, at 17:15, Hiltjo Posthuma wrote: > Works fine here (OpenBSD). > > You're also missing many debug information. Sorry, forgot to mention that I'm using Arch Linux. I tried setting my TERM to st, st-256color, and st-meta; the same results on all of them. Not sure what other in

[dev] [st] Insert key sends nothing

2017-12-12 Thread Martin Tournoij
Hi there, I'm using the latest version of st from master (0ac685fc), and it seems that the Insert key (with or without any modifier key) isn't working. For example using ^v in any shell or Vim gives no output at all, which leads me to conclude that st isn't sending anything to the application. I