Re: [dev] Culling all the way down

2020-09-07 Thread Alexander Krotov
> What you could do is to patch a terminal to allow programs to because > paused via SIGSTOP when invisible and continued via SIGCONT when > visible. Then your program would only need to write some string to > the terminal when it starts and when it terminates. Multiplexers > could however become a

[dev] Re: [dwm][fullscreen] borders are drawn again after tabbing out and back

2020-05-22 Thread Alexander Courtis
On Thu, 2 Jan 2020 at 11:40, wrote: > > On Wed, Jan 01, 2020 at 11:03:21PM +, sylvain.bertr...@gmail.com wrote: > > anyone? > > I did investigate the issue with xprop: > something is clearing dota2 _NET_WM_STATE(ATOM) to an empty value after > tabbing > out and back. > mplayer is fine with _N

Re: [dev] [st][bug] Crashes on opening mutt

2019-05-03 Thread Alexander Krotov
On 5/3/19 3:15 PM, Uko Kokņevičs wrote: > When I open mutt it crashes, and if it doesn't crash then, it crashes > when scrolling between pages. > > This is the error output: > > ``` > X Error of failed request: BadLength (poly request too large or internal > Xlib length error) > Major opcode

Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-04-23 Thread Alexander Krotov
On 23/04/2019 13:54, Enan Ajmain wrote: > Hi, > > I want to add a keybinding to ST to spawn a new ST window in the > current working directory. How do I do that? > > Thanks, > Enan > See https://st.suckless.org/patches/right_click_to_plumb/plumb_without_shell_OSC.diff for an example of how to g

Re: [dev] [st] bug?

2019-04-21 Thread Alexander Krotov
On 4/21/19 10:02 AM, Dennis Yurichev wrote: > And so how to fix this? > This bug was recently fixed in dwm with a workaround that prevents loading of color fonts: https://git.suckless.org/dwm/commit/cb3f58ad06993f7ef3a7d8f61468012e2b786cab.html To fix this, you need to port this patch to st.

Re: [dev] JFS filesystem

2019-04-21 Thread Alexander Huemer
I have used JFS on Linux for several years, the experience was not positive. Under conditions like 'disk full' or 'power failure' it tends to corrupt data. I have also worked with JFS on AIX, over there the same issues do not seem to exist. Be cautious to use it for anything serious on Linux.

Re: [dev] Holding st after a command has completed

2019-04-13 Thread Alexander Krotov
On 4/14/19 3:24 AM, Ivan "Rambius" Ivanov wrote: > Hello, > > The st terminal has -e option that executes a specific command instead > of the shell. However, st closes immediately after the command has > completed. Is it possible to hold the st's window after the command > has finished? That is si

Re: [dev] Web development in C

2019-01-31 Thread Alexander Krotov
> Can you web development in C? https://learnbchs.org/

Re: [dev] [st] crashing terminal

2019-01-25 Thread Alexander Krotov
On 25/01/2019 12:13, loku...@web.de wrote: > Hello, this is my first time posting on a mailing list, so i hope > everything will work out well. > > Here is my problem: Whenever i use terminal based application like > 'neomutt' or 'mpsyt' the terminal will crash with an output similar > to (only the

Re: [dev] suckless html to markdown (text)

2019-01-06 Thread Alexander Krotov
> Ideally, with sed/awk, or better in C. "Parsing" HTML with sed is simply wrong. You need to use a decent HTML parsing library, as parsing HTML is complex. There is https://github.com/yujiahaol68/downmark that uses Go html library, but I have not tried it. Seriously though, if you are not g

Re: [dev] GPL free Linux

2018-11-11 Thread Alexander Huemer
On Sun, Nov 11, 2018 at 09:43:12PM -0700, Anthony J. Bentley wrote: > Markus Wichmann writes: > > Why would you do something so pointless? First of all, licences only > > matter if you plan on redistribution, so most here won't care. Second, > > all the GPL demands is that you distribute the source

Re: [dev] [st] solarized light patch colors incorrect

2018-09-07 Thread Alexander Krotov
On 07/09/18 18:21, Peter Nagy wrote: > Is it a crime to be a consumer? Do you really suggest him to go buy an Apple > product just because he won't contribute code? I don't think I read about > elitism in the suckless philosophy pages. >From https://dwm.suckless.org/: "Because dwm is customized t

Re: [dev] Xft(?) bug with emoji

2018-08-09 Thread Alexander Krotov
Xft bug is submitted upstream: https://bugs.freedesktop.org/show_bug.cgi?id=107534

Re: [dev] Xft(?) bug with emoji

2018-08-09 Thread Alexander Krotov
Here is the program to reproduce Xft bug with X11 error. OK1 is printed, OK2 is not. Just FYI that the bug is localized and it is not a dmenu problem at all. /* gcc xftbug.c -lX11 -lXft -I /usr/include/freetype2 -lfontconfig */ #include #include #include int main(void) { Display *dpy = XOpen

Re: [dev] Xft(?) bug with emoji

2018-08-09 Thread Alexander Krotov
Attached is the result of running printf '\xf0\x9f\x93\x93' | XFT_DEBUG=1 dmenu XFT_DEBUG=1 XftFontOpenName "monospace:size=10": Pattern has 2 elts (size 16) family: "monospace"(s) size: 10(f)(s) Match Pattern has 43 elts (size 48) family: "DejaVu Sans Mono"(s) fami

Re: [dev] Xft(?) bug with emoji

2018-08-09 Thread Alexander Krotov
On 09/08/18 12:12, Hiltjo Posthuma wrote: > > Thanks for providing a test-program. > > I still cannot reproduce this bug on OpenBSD. > > Do I need some specific font for it to crash? I've seen reports of issues with > the Google Noto Emoji font. > > fc-match 'monospace:size=10' is 'DejaVu Sans Mono

[dev] Xft(?) bug with emoji

2018-08-08 Thread Alexander Krotov
I have reduced dmenu segfault down to a simple program: https://bugs.freedesktop.org/show_bug.cgi?id=107531 Please read the program and see if you can tell what is wrong or confirm a bug. Apparently the bug is in fontconfig. Running dwm with "pango" patch doesn't help either, so I think the probl

[dev] [libsl] [PATCH] Don't call FcConfigSubstitute and FcDefaultSubstitute

2018-08-08 Thread Alexander Krotov
Don't call FcConfigSubstitute and FcDefaultSubstitute, because XftFontMatch calls these functions by itself. It does not fix any bugs, just reduces the amount of code. From eae63c757866a58e9436057cd5a8a2011deceb3e Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Thu, 9 Aug 2018 02:

Re: [dev] [dwm] [PATCH] Do not draw bar if it is hidden

2018-08-08 Thread Alexander Krotov
On 07/08/18 12:45, Laslo Hunhold wrote: > On Mon, 6 Aug 2018 16:42:19 +0300 > Alexander Krotov wrote: > > Dear Alexander, > >> With this patch the bar can at least be hidden before opening web >> pages that cause Xft errors. > I agree with the patch, but not because

[dev] [dwm] [PATCH] Do not draw bar if it is hidden

2018-08-06 Thread Alexander Krotov
With this patch the bar can at least be hidden before opening web pages that cause Xft errors. >From b13c56c10b4c1da3e357efae3d4827da573650a4 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Mon, 6 Aug 2018 16:37:14 +0300 Subject: [PATCH] Do not draw bar if it is hidden --- dwm.c

[dev] Fix for dwm crash due to emoji in window titles

2018-07-18 Thread Alexander Krotov
oot -name). I do not understand xlib and Xft enough to make a more clean fix, but hopefully maintainers can improve it and apply to the mainline. Meanwhile, dwm users can use this workaround. From 99e82a4d44650c98edb17836fcef743cc87a614a Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Thu, 19

Re: [dev] [st] [PATCH 1/2] Fix commented out code

2017-03-29 Thread Alexander Krotov
On Wed, Mar 29, 2017 at 10:09:15AM +0200, Ivan Delalande wrote: > On Sat, Mar 25, 2017 at 11:02:42PM +0300, Alexander Krotov wrote: > > --- a/st.c > > +++ b/st.c > > @@ -2537,7 +2537,7 @@ tresize(int col, int row) > > } > > > > /* allocate any

Re: Re: [dev] oasis: small linux system inspired by stali

2017-03-28 Thread Alexander Krotov
On Wed, Mar 29, 2017 at 01:48:35AM +0800, Pickfire wrote: > Kamil Cholewiński wrote: > > > > I think it might have been possible to use some other build tool to > > > achieve something similar, but I don't think it would have worked out > > > as well. > > > > http://gittup.org/tup/ ? > > I did

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

2017-03-27 Thread Alexander Krotov
On Mon, Mar 27, 2017 at 11:11:05PM +0200, Quentin Rameau wrote: > > nevertheless I do think that all this still doesn't justify a > > scrollback buffer built into st itself. Instead of mandating the use > > of tmux et al, I would rather put a helper tool into the st repo, that > > works as a basic

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

2017-03-27 Thread Alexander Krotov
On Mon, Mar 27, 2017 at 10:00:43PM +0200, Anselm R Garbe wrote: > Hi there, > > On 27 March 2017 at 12:11, Laslo Hunhold wrote: > > On Sun, 26 Mar 2017 20:06:57 + > > Cág wrote: > >> I am genuinely interested why. > > in my opinion, it's an unnecessary component given I use terminals > > wit

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

2017-03-27 Thread Alexander Krotov
On Mon, Mar 27, 2017 at 09:30:20PM +0100, Amadeusz Żołnowski wrote: > > I would rather put a helper tool into the st repo, that works as a > > basic shell wrapper process (no detaching). It would implement the > > scrollback buffer only and allow to define its size in a more flexible > > way (possi

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

2017-03-26 Thread Alexander Krotov
On Sun, Mar 26, 2017 at 06:10:37PM +0200, Laslo Hunhold wrote: > On Sun, 26 Mar 2017 06:41:46 +0300 > Alexander Krotov wrote: > > > Updated patch to clear up to maxcol in some cases and avoid glitches > > when using ncurses programs. > > I support this proposition.

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

2017-03-25 Thread Alexander Krotov
Updated patch to clear up to maxcol in some cases and avoid glitches when using ncurses programs. -- >8 -- Subject: [st] [PATCH 2/2] Keep end of lines in memory when resizing terminal --- st.c | 50 ++ st.h | 1 + 2 files changed, 27 insertions(+),

Re: [dev] [announce] ff2sixel: view farbfeld images in terminal

2017-03-25 Thread Alexander Krotov
On Sat, Mar 25, 2017 at 09:55:14PM +0200, Amer wrote: > > It is a bug in st and xterm. tmux and screen handle it by > > reflowing lines, wrapping them if necessary. > > ... And this tmux wrapping is thoroughly broken. > E.g. https://github.com/tmux/tmux/issues/516 > > > dvtm makes end of lines

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

2017-03-25 Thread Alexander Krotov
--- st.c | 32 +--- st.h | 1 + 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/st.c b/st.c index ae93ade..2eab32a 100644 --- a/st.c +++ b/st.c @@ -1238,8 +1238,8 @@ tclearregion(int x1, int y1, int x2, int y2) if (y1 > y2) temp

[dev] [st] [PATCH 1/2] Fix commented out code

2017-03-25 Thread Alexander Krotov
--- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st.c b/st.c index d7bd32a..ae93ade 100644 --- a/st.c +++ b/st.c @@ -2537,7 +2537,7 @@ tresize(int col, int row) } /* allocate any new rows */ - for (/* i == minrow */; i < row; i++) { + for (

Re: [dev] [announce] ff2sixel: view farbfeld images in terminal

2017-03-25 Thread Alexander Krotov
On Wed, Mar 22, 2017 at 11:55:33AM +0100, hiro wrote: > example: make the terminal smaller, make it bigger again: lines have > been cut off... It is a bug in st and xterm. tmux and screen handle it by reflowing lines, wrapping them if necessary. dvtm makes end of lines invisible [1] but keeps th

Re: [dev] [ask] search binary file offset in file

2017-03-24 Thread Alexander Krotov
On Fri, Mar 24, 2017 at 08:03:38PM +0200, Amer wrote: > Does anybody knows any cli tools which allows to search offset > of one binary file inside another ? > > Find if ./chunk.bin contained and its offset inside ./dump.bin > * simple case: 200kB inside 100MB > * hard case: 2GB inside 100G

Re: [dev] git of patches, etc.?

2017-03-20 Thread Alexander Krotov
On Mon, Mar 20, 2017 at 09:41:19PM -0700, Greg Minshall wrote: > hi. sorry if this is a FAQ. (though i've been following the list a > while, so, if so, it isn't *that* F of AQ.) > > i would find it convenient if all the patches for, e.g., dwm, and/or > files, for surf, say, were in a git reposit

Re: [dev] [announce] ff2sixel: view farbfeld images in terminal

2017-03-20 Thread Alexander Krotov
On Tue, Mar 21, 2017 at 02:01:16AM +0100, hiro wrote: > I'm not at all saying that sixel is a hack, I'm just saying it's > useless. it doesn't solve any important problem in a generic enough > way. > drawterm is not just a "graphical terminal", it's more more comparable > to remote X11, remote fram

Re: [dev] [announce] ff2sixel: view farbfeld images in terminal

2017-03-20 Thread Alexander Krotov
On Mon, Mar 20, 2017 at 10:10:07AM +0100, hiro wrote: > why would one want to view images in st, can't your shell start other > graphical programs for that? is st becoming a new kind of web browser > now? and why don't you open remote images using a remote file system > instead of fucking around wi

Re: [dev] [announce] ff2sixel: view farbfeld images in terminal

2017-03-20 Thread Alexander Keller
On Mon, Mar 20, 2017, at 10:00, robin wrote: > If only the same honesty could be applied throughout life without bad outcome. No matter how outrageous the contribution of another party, just don't be a dick about it. We're all human. We all think something completely idiotic is a good idea at leas

[dev] [announce] fb2sixel: view farbfeld images in terminal

2017-03-19 Thread Alexander Krotov
I have crafted a program to convert farbfeld images to sixels: https://github.com/ilabdsf/ff2sixel I am going to use it myself to quickly display images over SSH. Hope someone else finds it useful. Too bad st does not have a patch to display sixels, so I am going to use mlterm when I need to brow

Re: [dev] Can't push to sta.li wiki

2017-02-26 Thread Alexander Krotov
On Sun, Feb 26, 2017 at 08:52:40PM +0100, Anselm R Garbe wrote: > Hi Alex, > > please try again. Works now, thanks.

[dev] Can't push to sta.li wiki

2017-02-26 Thread Alexander Krotov
failed: unpack-objects abnormal exit To http://git.sta.li/sites ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'http://git.sta.li/sites' Patch that I tried to push is attached. >From 5c5d15508c04b4271995379129c5021095f25b42 Mon Sep 17 00:00

Re: [dev] Re: looking for a simple music player

2017-02-08 Thread Alexander Keller
> STDIN to add files to queue: `find ~/music | sad` > Usage: > sad [-sr] [-f socket] I should also probably just let you add files to the queue by passing them as arguments, duh. So: Usage: sad [-sr] [-f socket] [FILE]... I mostly wanted the former so you can use tools like grep, sort, vipe, etc.

Re: [dev] Re: looking for a simple music player

2017-02-08 Thread Alexander Keller
Thanks for the suggestion of sad! I've been using mpd with bindings I added to dwm along with a libnotify/dunst background shell script on `mpc idle player`. mpd has been total overkill for what I need. I just add my media library (Vorbis) and shuffle them. I've been playing a bit with sad and I

Re: [dev] Trouble applying scrollback patch to st

2017-02-05 Thread Alexander Krotov
On Sun, Feb 05, 2017 at 07:21:33PM +0100, Martin Kühne wrote: > ...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 n

Re: [dev] Internet privacy/decentralisation projects

2017-01-23 Thread Alexander Krotov
On Mon, Jan 23, 2017 at 02:12:23PM +0100, Sylvain BERTRAND wrote: > non-massively decentralized protocols You probably want to use the word "federated". Also I don't understand what does "lambda users" mean.

Re: [dev] Internet privacy/decentralisation projects

2017-01-23 Thread Alexander Krotov
On Mon, Jan 23, 2017 at 04:18:40AM +, Caleb Malchik wrote: > I was wondering what the suckless community thinks about various > projects aimed at Internet decentralisation and privacy Decentralization results in metadata leakage and therefore reduces privacy. By splitting the system into compo

[dev] Re: st: Use after free

2017-01-23 Thread Alexander Keller
On Mon, Jan 23, 2017, at 02:48, Martin Kühne wrote: > I had a dream last night... 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. However, mooso

Re: [dev][announce] lr: tiny log rotater

2017-01-22 Thread Alexander Krotov
On Sun, Jan 22, 2017 at 03:48:00PM -0500, Wolfgang Corcoran-Mathe wrote: > Hi all, > > I’ve written a simple log rotation program. It rotates a given file > through n backups, appending a numeric suffix. Logs may also be piped > through a command, and an optional suffix may be appended. > > lr is

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

2017-01-15 Thread Alexander Keller
The simplest way I can imagine is to link them into a directory temporarily and/or permanently with: mkdir playlist ln *some_glob_pattern* playlist Then use the vidir(1) program to edit the files to number them sequentially the way you want. Then you can either create a playlist and delet

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

2016-11-09 Thread Alexander Keller
This has become a C discussion, so I'll toss in here. If you have a background in Python (most people who have coded before seem to), I recently stumbled upon http://www.toves.org/books/cpy/. It's light but covers enough to give you directions to study the language further. I personally would _no

Re: [dev] [surf] badssl.com

2016-10-14 Thread Alexander Keller
Thanks Quentin! Sounds like its all under control. Just wanted to bring it up in case nobody knew.

Re: [dev] [surf] badssl.com

2016-10-13 Thread Alexander Keller
> surf is not _silently_ ignoring them. If the validation fails, `sslfailed` > will be true and in the window title you can see a `…:U` for untrusted > instead of `…:T` for trusted. You're right. It does provide that feedback. My apologies. :) I've just been doing a bunch of digging in the TLS

Re: [dev] [surf] badssl.com

2016-10-13 Thread Alexander Keller
> That's in the config, the user should be responsible for it. True, it is in the config. It's also the default. If the alternative is too much, perhaps changing strictssl = FALSE \* Refuse untrusted SSL connections *\ to strictssl = FALSE \* Validate SSL certificates from server *\

[dev] [surf] badssl.com

2016-10-12 Thread Alexander Keller
I just took surf to badssl.com to test how the TLS implementation in surf reacts. To test I took the default Arch Linux package for a ride. It failed the test. This is because by default: static Bool strictssl = FALSE; Without this set to TRUE, the browser effectively does not look at the certific

Re: [dev] sbase installed first impressions

2016-10-04 Thread Alexander Keller
The stali filesystem is explained by: http://sta.li/filesystem If you want to know why Suckless chose to fix it: http://lists.busybox.net/pipermail/busybox/2010-December/074114.html

Re: [dev] Just discovered dwm

2016-10-03 Thread Alexander Keller
> what do you guys do for wget like functionality? opt for curl? I just use curl. If you really need something small, you could use netcat: nc example.com 80 GET / HTTP/1.1 Host: example.com User-Agent: netcat

Re: [dev] [dwm] Question regarding `unmanage()` in while loop

2016-08-04 Thread Alexander Monakov
t;stack) > unmanage(m->stack, 0); this bit seems to be misquoting dwm source: afaics dwm has 'while' rather than 'if', and the rest of your email is worded as if you (correctly) had a 'while' there. Alexander

Re: [dev] [dwm] Avoid requesting MotionNotify events

2016-07-16 Thread Alexander Monakov
ll rates due to slowdown from ptrace'ing, but here that is not the case) Alexander

Re: [dev] [dwm] Avoid requesting MotionNotify events

2016-07-16 Thread Alexander Monakov
On Sat, 16 Jul 2016, Staven wrote: > On Sat, Jul 16, 2016 at 02:33:18PM +0300, Alexander Monakov wrote: > > This causes lots of useless communication between the X server and dwm every > > time the mouse pointer is moved, even when nothing could possibly change as > > a result

[dev] [dwm] Avoid requesting MotionNotify events

2016-07-16 Thread Alexander Monakov
g EnterNotify events on those to trigger monitor focus changes. I'm not really familiar with Xlib, so I haven't worked out the details here, but if there's interest in this solution I can look into it. Thanks. Alexander diff --git a/dwm.c b/dwm.c index b2bc9bd..304d53b 100644

Re: [dev] Suckless font rendering library

2016-05-15 Thread Alexander Krotov
On Sat, May 14, 2016 at 09:03:44PM +0200, robin wrote: > So i took up the challenge of making a suckless font rendering library. > The problem: my lvl is barely above noob. > Maybe it will spark some motivation in someone more talented. > > https://github.com/byllgrim/tinyfont > I have submitted

Re: [dev] Suckless font rendering library

2016-05-14 Thread Alexander Krotov
On Sat, May 14, 2016 at 09:03:44PM +0200, robin wrote: > So i took up the challenge of making a suckless font rendering library. > The problem: my lvl is barely above noob. > Maybe it will spark some motivation in someone more talented. > > https://github.com/byllgrim/tinyfont > Does not compile

[dev] [cidr] announcement

2016-05-10 Thread Alexander Krotov
I have released a tool that suckless community might like. It is a simple network/prefix <-> ip-range converter: https://github.com/avkrotov/cidr

[dev] RSS

2015-05-07 Thread Alexander Huemer
Hi, some time ago sfeed[1] was mentioned here on the list. I tried it out. It's lean and has some very nice features, I like it. There is one feature missing though that I personally consider important. That's a 'read/unread' status per entry that's unread initually and is toggled to read when t

Re: [dev] [PATCH quark] Fix chroot argument

2015-03-19 Thread Alexander Huemer
On Thu, Mar 19, 2015 at 10:52:36PM +, Connor Lane Smith wrote: > On 19 March 2015 at 22:25, Alexander Huemer wrote: > > - if (chroot(".") == -1) { > > + if (chroot(chrootdir) == -1) { > > This looks wrong; see line 709: > > > if (chdir

[dev] [PATCH quark] Fix chroot argument

2015-03-19 Thread Alexander Huemer
--- quark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quark.c b/quark.c index 9c8928d..ff13592 100644 --- a/quark.c +++ b/quark.c @@ -710,7 +710,7 @@ main(int argc, char *argv[]) logerrmsg("error\tchdir %s: %s\n", chrootdir, strerror(errno));

Re: [dev] Scope of sbase and ubase

2015-03-17 Thread Alexander Huemer
Hi. On Mon, Mar 09, 2015 at 02:05:39PM +0100, FRIGN wrote: > On Mon, 9 Mar 2015 01:51:59 +0100 > Alexander Huemer wrote: > > Hey Alexander, Thanks for you answer FRIGN. > > while reading the README file of sbase I noticed `sponge`, remembered > > that that's fro

Re: [dev] [st] Problems when typing

2015-03-15 Thread Alexander S.
2015-03-16 8:36 GMT+03:00 Christoph Lohmann <2...@r-36.net>: > Sincerely, > > Christoph Lohmann Wow, didn't ever seen ye that full of yerself, 20h. Making up challenges for random people at the same time you tell them to never come back, eh? Must make a ton of sense to you.

Re: [dev] Potential bug in st fallback font code

2015-03-13 Thread Alexander S.
2015-03-11 2:00 GMT+03:00 Eric Pruitt : > First, you say thanks for reporting the issue: Don't try to argue with Christoph, please. His words are rarely the reason for why he's pissed off, but most often are the rationalization he invented on the fly to make his opinions appear objective and justif

[dev] [st] [PATCH] FAQ: fix wording

2015-03-09 Thread Alexander Huemer
--- FAQ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FAQ b/FAQ index ee1c154..7adb2af 100644 --- a/FAQ +++ b/FAQ @@ -92,7 +92,7 @@ in TERM. ## I cannot compile st in OpenBSD -OpenBSD lacks of librt, despite it begin mandatory in POSIX +OpenBSD lacks of librt, despite it

[dev] Scope of sbase and ubase

2015-03-08 Thread Alexander Huemer
Hi, while reading the README file of sbase I noticed `sponge`, remembered that that's from moreutils and realized that sbase does not provide a strict subset of coreutils, what I assumed for some reason. The description of sbase is: sbase is a collection of unix tools that are inherent

Re: [dev] [surf] web videos idea

2014-11-24 Thread Alexander Hof
Henrique Lengler wrote: > Thank you guys, but I'm looking for something automatic. Looks like it > doesn't exist but would be cool to have something like this. > Also I don't care about youtube videos or any other type of video system > that doesn't provide their videos as video files, I think th

Re: [dev] Operating system choice

2014-11-21 Thread Alexander Huemer
Hi. On Thu, Nov 20, 2014 at 06:25:13PM -0800, Charles Thorley wrote: > I find Minix3 to be extremely interesting, and attractive (at least in > principle). The advantages of Minix are purely theoretical. All the different servers can be restarted when they crash, but that does not make the caus

Re: [dev] slock segfault on rhel7

2014-11-10 Thread Alexander Huemer
Hi. On Mon, Nov 10, 2014 at 03:31:26PM +0200, Johan Guldmyr wrote: > $ gdb -q slock > Reading symbols from /usr/local/bin/slock...(no debugging symbols > found)...done. There are no symbols in your binary. Adding '-g' to CFLAGS isn't sufficient. You have to remove '-s' from LDFLAGS. >From LD(1)

Re: [dev] c++-style comments [was fsbm]

2014-11-07 Thread Alexander Huemer
On Fri, Nov 07, 2014 at 03:35:52PM +0100, Sylvain BERTRAND wrote: > On Fri, Nov 07, 2014 at 10:30:20AM +0100, Silvan Jegen wrote: > > There is the http://llvm.linuxfoundation.org/index.php/Main_Page > > llvm/clang is worse than gcc as it's from the start a massive c++ kludge. At > least with gcc u

Re: [dev] c++-style comments [was fsbm]

2014-11-06 Thread Alexander Huemer
On Thu, Nov 06, 2014 at 05:56:55PM +0100, Sylvain BERTRAND wrote: > I wonder how much of the linux kernel tinycc is able to compile. I don't know about tcc, but there are leftovers[1] of a very unorganized project that tried to compile the Linux kernel with intel icc and IBM XE. There was a slid

Re: [dev] Macbook retina and dwm

2014-10-26 Thread Alexander Hof
FRIGN wrote: > Refer to this: > https://wiki.archlinux.org/index.php/xorg#Display_size_and_DPI Not mentioned there, but working with any screen that communicates it's physical size correctly: xrandr --fbmm $(xrandr | /bin/sed -n '/ connected / {s/.* \([0-9]\+\)mm x \([0-9]\+\)mm/\1x\2/p;q}')

Re: [dev] SGI Irix look (4Dwm)

2014-10-22 Thread Alexander Huemer
On Wed, Oct 22, 2014 at 01:23:46PM -0400, Andrew Gwozdziewycz wrote: > Who are we talking about? *I* use free software. Despite that, I can't > fully trust what my computer is doing, because I can't verify the > hardware the software runs on isn't doing something malicious. I also > can't verify th

Re: [dev] SGI Irix look (4Dwm)

2014-10-22 Thread Alexander Huemer
On Wed, Oct 22, 2014 at 10:49:46AM -0400, Andrew Gwozdziewycz wrote: > On Wed, Oct 22, 2014 at 10:41 AM, Alexander Huemer > wrote: > > >> Direct observation. Go to any conference (I've only been to > >> conferences in the US, so YMMV), or Meetup, and witness t

Re: [dev] SGI Irix look (4Dwm)

2014-10-22 Thread Alexander Huemer
On Tue, Oct 21, 2014 at 08:11:28PM -0400, Andrew Gwozdziewycz wrote: > On Mon, Oct 20, 2014 at 3:57 AM, Alexander Huemer > wrote: > > Hi. > > > > On Mon, Oct 20, 2014 at 12:14:32AM +, orangepri...@hushmail.com wrote: > >> If anything, Apple's dominance

Re: [dev] SGI Irix look (4Dwm)

2014-10-20 Thread Alexander Huemer
Hi. On Mon, Oct 20, 2014 at 12:14:32AM +, orangepri...@hushmail.com wrote: > If anything, Apple's dominance has made people familiar with the Unix > command-line, which is certainly better than had they been using > Windows. Oh. Where does this come from? People are steered away from the co

Re: [dev] SGI Irix look (4Dwm)

2014-10-19 Thread Alexander Huemer
Hi. On Sun, Oct 19, 2014 at 01:20:37PM +, orangepri...@hushmail.com wrote: > Is there any way to get that old classic SGI Irix look (4Dwm) in dwm? I don't know why you would want that. In any case, the underlying concepts of dwm do not match the concepts of 4DWM. What you can do is use FVWM

Re: [dev] [RFC] Design of a vim like text editor

2014-09-17 Thread Alexander S.
Oh, another C vs C++ holy crusade, it seems. I'd like to note here that while object-oriented progamming can be done in C, doing polymorphism, for example, is a pain in the ass; furthermore, syntactic sugar and an ability to write e. g. win.repaint(rect) instead of window_repaint_rectangle(win, &re

[dev] [st] [PATCH] Improve readability of enum members

2014-08-20 Thread Alexander Huemer
The 'left shift from one' notation of power of two integers is more expressive than the result. Signed-off-by: Alexander Huemer --- st.c | 64 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/st.c b/

Re: [dev] [PATCH] Simplify README

2014-08-18 Thread Alexander Huemer
On Mon, Aug 18, 2014 at 12:58:02PM +0200, Claudio wrote: > AFAIK a terminal is an hardware device. Yes. > Since st is only a software implementation it's ok to call it a > virtual terminal emulator, isn't? Is st emulating a virtual terminal? No. It is emulating a terminal. Kind regards, -Alex

[dev] [PATCH] Simplify README

2014-08-17 Thread Alexander Huemer
The term 'virtual terminal emulator' was broken. There is nothing virtual about it, it's a terminal emulator. Signed-off-by: Alexander Huemer --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 25606a2..b38c88b 100644 --- a/READ

Re: [dev] [st] will global-less changes be wanted upstream?

2014-08-17 Thread Alexander Huemer
On Sun, Aug 17, 2014 at 06:22:55PM -0500, Steven Degutis wrote: > > Don't make yourself at home on OSX! > > Obviously we're all entitled to our own opinions. But this discussion > has gotten very far off-track. My original question was answered > satisfactorily already, so this thread is largely "

Re: [dev] [st] will global-less changes be wanted upstream?

2014-08-17 Thread Alexander Huemer
On Sun, Aug 17, 2014 at 10:12:13PM +0200, Roberto E. Vargas Caballero wrote: > On Sun, Aug 17, 2014 at 09:22:31PM +0200, q...@c9x.me wrote: > > This is OS X specific and weird in my opinion, if you want multiple windows > > lauch multiple processes. It is safer, you can limit the impact of a crash

Re: [dev] [st] will global-less changes be wanted upstream?

2014-08-17 Thread Alexander Huemer
On Sun, Aug 17, 2014 at 06:00:54PM -0400, Andrew Hills wrote: > On 8/17/14, 3:47 PM, FRIGN wrote: > > The world you're living in is the walled garden of OS X. > > It's your choice to either attempt to improve it, which is futile, or > > enter a world in which improvement is possible in the first pl

Re: [dev] [st] will global-less changes be wanted upstream?

2014-08-17 Thread Alexander Huemer
On Sun, Aug 17, 2014 at 09:47:48PM +0200, FRIGN wrote: > The world you're living in is the walled garden of OS X. > It's your choice to either attempt to improve it, which is futile, or > enter a world in which improvement is possible in the first place. I agree very much with this (generalized) i

Re: [dev] [st] will global-less changes be wanted upstream?

2014-08-17 Thread Alexander Huemer
Hi. On Sat, Aug 16, 2014 at 04:51:27PM -0500, Steven Degutis wrote: > I'm making progress on my port of st to OS X, and one of the changes > I'm making is to get rid of globals, turning most of them into fields > on Term, and making all the functions that use them take Term* as an > argument. It's

Re: [dev] [dwm][patch] limit updates per second for win move/resize

2014-08-02 Thread Alexander S.
2014-08-02 18:16 GMT+04:00 Hiltjo Posthuma : > Hi, > > Attached is a patch which fixes an issue I have with laggy screen > updates when resizing or moving floating windows. > > What the patch does is: > Limit the amount of updates when resizing or moving a floating window > to 60 times per second.

Re: [dev] Introducing the imagefile-format

2014-07-28 Thread Alexander Hof
FRIGN dixit: > Hello, > > after literally dozens of mails discussing a new suckless image-format, > I sat down last week to reflect on what could be the best of all > proposed format-specifications. > Awesome. Thanks to everyone who contributed.

Re: [dev] LDAP

2014-07-23 Thread Alexander Tanyukevich
On Wed, Jul 23, 2014 at 10:11 PM, Calvin Morrison wrote: > On 23 July 2014 16:06, Alexander Tanyukevich wrote: >> On Wed, Jul 23, 2014 at 9:21 PM, Calvin Morrison >> wrote: >>> >>> LDAP sucks, is there any good alternative for managing user logins >>&

Re: [dev] LDAP

2014-07-23 Thread Alexander Tanyukevich
And use maria/postgres/another server's shadow file/facebook/pop3/xmpp server as a backend to store users/passwords/uids/homedirs etc -- Alexander Tanyukevich atanyukev...@gmail.com

Re: [dev] [PATCH] Add tab-completion file-name expansion.

2014-07-06 Thread Alexander Huemer
On Sun, Jul 06, 2014 at 08:19:15PM +0200, Michal Nazarewicz wrote: > +© 2014 Google Inc. // author: Michal Nazarewicz You should already have elaborated on this. Do it now. Kind regards, -Alex

Re: [dev] Misbehaving floating window in dwm

2014-07-05 Thread Alexander S.
2014-07-05 0:03 GMT+04:00 Michal Haško : > 2014-07-04 13:15 GMT+02:00 Alexander S. : >> 2014-07-04 0:08 GMT+04:00 Michal Haško : >>> Nope, doesn't help. >> Did you try xdotool/wmctrl, also? > > As I understand it, that would mean manual intervention every time I

Re: [dev] [PATCH] Move default rows, cols to config.def.h

2014-07-04 Thread Alexander S.
2014-06-25 21:00 GMT+04:00 Roberto E. Vargas Caballero : >> > is this really necessary? Default constants don't really mean >> > anything, they persist literally until the window is mapped and the >> > text buffer is resized at >> (apologies for accidentally sending) >> L3726, so if anything, I'd v

Re: [dev] Misbehaving floating window in dwm

2014-07-04 Thread Alexander S.
2014-07-04 0:08 GMT+04:00 Michal Haško : > Nope, doesn't help. Did you try xdotool/wmctrl, also?

Re: [dev] Misbehaving floating window in dwm

2014-07-03 Thread Alexander S.
resizing windows, but you'll be able to test if it moves then. [0] http://git.suckless.org/dwm/tree/dwm.c#n1260 -- Best regards, Alexander Sedov.

Re: [dev] Plain text editor that sucks less - an alternative to VIM?

2014-07-03 Thread Alexander S.
2014-07-02 18:22 GMT+04:00 Charlie Kester : > On Wed 02 Jul 2014 at 06:52:41 PDT Alexander S. wrote: >> >> >> Good sntax highlighting allows you to *ignore* syntax >> better, rather than focusing your attention on it. > > > You say that like it's a good thi

  1   2   3   4   >