Re: [dev] Is Wayland really a solution to X11 cruft?

2015-10-30 Thread Amadeus Folego
Marc, see: http://blog.mecheye.net/2012/06/the-linux-graphics-stack/#rendering-stack You'll notice how the architecture can't be improved without rewriting the whole application. On Fri, Oct 30, 2015 at 11:57:41AM -0200, Marc Collin wrote: > They don't see to know what they are trying to "fix"

Re: [dev] simple terminal : about fonts

2015-05-16 Thread Amadeus Folego
As already mentioned I strongly recommend Inconsolata[0]. Another great font is Anonymous Pro[1]. 0: http://www.levien.com/type/myfonts/inconsolata.html 1: http://www.marksimonson.com/fonts/view/anonymous-pro

Re: [dev] RSS

2015-05-07 Thread Amadeus Folego
On Thu, May 07, 2015 at 05:26:26PM +0300, stargr...@stargrave.org wrote: Hello, Maybe there is some other nice feed reader out there that I don't know about. tt-rss, miniflux and all the others are monsters unfortunately. I like http://www.newsbeuter.org/. It is not very suckless, but

Re: [dev] [st] Flow control support

2015-04-19 Thread Amadeus Folego
Alex, you just posted the diffstat, not the patch itself.

Re: [dev] [st] Problems when typing

2015-03-16 Thread Amadeus Folego
On Mon, Mar 16, 2015 at 02:12:16PM +0800, Ivan Tham wrote: Sorry for that, but I didn't say that I am unwilling to read a C book. Yes, you did, you are inventing reasons to justify your actions: I want to learn C, so now I am waiting for c.learncodethehardway.org to release as other book may

Re: [dev] st: selecting text affects both primary and clipbaord

2015-03-12 Thread Amadeus Folego
On Thu, Mar 12, 2015 at 05:05:10PM +0100, Wander Nauta wrote: Do most numpad-less laptop keyboards even have Insert or a middle mouse button? Macbooks have neither, I believe, and they're fairly popular. I thought there was a gesture to perform middle button, was I wrong?

Re: [dev] st: selecting text affects both primary and clipbaord

2015-03-12 Thread Amadeus Folego
On Thu, Mar 12, 2015 at 04:35:58PM +0800, Kai Hendry wrote: My 2 cents: Suggestions to use 3 keys to copy paste SUCK Can we please have feature parity with MacOSX? cmd-c, cmd-v This can be a problem for (I think) many users of st that use this key as the modifier for tiling window

Re: [dev] st: selecting text affects both primary and clipbaord

2015-03-11 Thread Amadeus Folego
On Wed, Mar 11, 2015 at 08:05:37AM +0100, Roberto E. Vargas Caballero wrote: I really don't like the idea of C-S-C or M3-C as these are really basic keybinds and may be used for applications. Also the proximity with C-C makes it easier to terminate a running application when you just

Re: [dev] st: selecting text affects both primary and clipbaord

2015-03-10 Thread Amadeus Folego
On Tue, Mar 10, 2015 at 05:18:49PM -0400, Greg Reagle wrote: It could go the other way and do a variant of Ctrl+C for copy and Ctrl+V for paste. I wouldn't use them directly because the programs running in st probably need those keys. So Alt+Ctrl+C/V or Shitf+Ctrl+C/V or Alt+C/V. Also, it

Re: [dev] [ANNOUNCE] abduco-0.3

2015-02-19 Thread Amadeus Folego
On Thu, Feb 19, 2015 at 06:20:47PM +0100, Marc André Tanner wrote: Hi, I'm pleased to announce version 0.3 of abduco, a tool for session {at,de}tach support which allows to run a process independently from its controlling terminal. In combination with dvtm it is a lightweight alternative to

Re: [dev] st: selecting text affects both primary and clipbaord

2015-02-19 Thread Amadeus Folego
On Fri, Feb 20, 2015 at 12:46:20AM +0100, Wander Nauta wrote: Hello list, I know this isn't a democracy, but I agree with Greg, it makes more sense to only set PRIMARY, not CLIPBOARD, in selcopy. Removing the clipboard-related lines from xsetsel seems to do the trick. I've attached a patch

Re: [dev] Project ideas: goblin

2014-11-25 Thread Amadeus Folego
On Tue, Nov 25, 2014 at 02:11:14PM -0500, Calvin Morrison wrote: I don't think anyone here supports Go. I could be wrong but I think Uriel was the only real supporter in the community. I would be more interested in a Rust implementation of coreutils however. It might have already been done

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

2014-11-03 Thread Amadeus Folego
On Mon, Nov 03, 2014 at 02:32:25PM -0500, Greg Reagle wrote: ... variables. Do you know of any programs that do this? I assume there ... Greg, bs[0] is a nice little script[1] that makes setting up a config file with environment variables a breeze! There's also envdir[2] from daemontools.

Re: [dev] [vis][PATCH] Window line up/down

2014-09-16 Thread Amadeus Folego
On Tue, Sep 16, 2014 at 07:55:40PM +0200, Marc André Tanner wrote: I have cleaned up the cursor handling code in window.[ch] and implemented the CTRL-{U,D,E,Y} functionality in normal mode. However I'm not sure it behaves the way you expect it. Please test, and report back. CTRL-{U,D} is

Re: [dev] [vis][PATCH] Window line up/down

2014-09-15 Thread Amadeus Folego
On Mon, Sep 15, 2014 at 06:52:07PM +0200, Marc André Tanner wrote: Hi Caudio, Thanks, will incorporate your requested functionality. On Sun, Sep 14, 2014 at 06:25:30PM +0200, Claudio wrote: @@ -93,8 +93,10 @@ static KeyBinding basic_movement[] = { { { KEY(SRIGHT) },

Re: [dev] Re: [dvtm] Focus by id instead of order

2014-09-08 Thread Amadeus Folego
On Sun, Sep 07, 2014 at 05:31:07PM +0200, koneu wrote: Why did you call the thread Re:? Oh, sorry! That was totally by mistake. Is there anything I can do to fix this?

Re: [dev] Re: [dvtm] Focus by id instead of order

2014-09-08 Thread Amadeus Folego
On Mon, Sep 08, 2014 at 02:24:38PM +0200, FRIGN wrote: The question is: Does your patch fix the behaviour in your eyes? Yes, mostly. I must ask it because it may be this way by design, I don't know why, though.

Re: [dev] Re: [dvtm] Focus by id instead of order

2014-09-08 Thread Amadeus Folego
On Mon, Sep 08, 2014 at 06:43:55PM +0200, Marc André Tanner wrote: It was designed that way because Mod+n should always focus the n-th window, i.e. the one with #n in the title, in the current layout. Now it makes perfect sense, thanks for replying! I mostly use dvtm for the scrollback and

[dev] Re: [dvtm] Focus by id instead of order

2014-09-06 Thread Amadeus Folego
So, I started sending a lot of commands to dvtm via the command fifo and I noticed an odd thing. Every window exposes a variable called $DVTM_WINDOW_ID, so one can imagine that if you want to focus on a window you should just pass the command 'focusn 1' where 1 would be the id of that window.

Re: [dev] [st] possibly redundant check in techo

2014-08-15 Thread Amadeus Folego
Steven, when you first disclose your project publicly, please adjust the proper License requirements. From what I see, it looks like you stripped everything of the codebase and previous structure.

Re: [dev] Introducing the imagefile-format

2014-07-28 Thread Amadeus Folego
On Mon, Jul 28, 2014 at 06:55:59PM +0200, FRIGN wrote: As a result I came up with the first implementation, the if-tools[0], capable of easily converting between png and imagefiles. Looks great! This would make a lot of image handling, automation and editing operations much easier and simple.

Re: [dev] [sandy] [PATCH] VIM key bindings.

2014-07-13 Thread Amadeus Folego
On Sun, Jul 13, 2014 at 03:29:15AM +0300, Dimitris Zervas wrote: I think that the patch is ready. Hi Dimitris, I am not being able to build it (on ad325a): sandy.c: In function ‘i_termwininit’: sandy.c:1397:5: error: ‘USE_TERM_STATUS’ undeclared (first use in this function)

Re: [dev] [slock] Configure OOM killer as non-root

2014-07-08 Thread Amadeus Folego
Hi FRIGN, Danilo, I also can't use it as non-root, how did you solve it? Thanks, Amadeus. On Tue, Jul 08, 2014 at 03:16:33PM +0200, FRIGN wrote: On Tue, 08 Jul 2014 12:04:29 +0200 Danilo m...@dbrgn.ch wrote: Oh, never mind that stupid question. Sorry about bothering you, when setting

Re: [dev] [slock] Configure OOM killer as non-root

2014-07-08 Thread Amadeus Folego
Oh, Thanks! I did not know about the make install thing, I was just building it. On Tue, Jul 08, 2014 at 04:19:41PM +0200, Danilo wrote: Hi Amadeus Am Di, 8. Jul 2014, um 16:08, schrieb Amadeus Folego: I also can't use it as non-root, how did you solve it? You need to change the owner

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Amadeus Folego
On Tue, Jul 01, 2014 at 03:51:00PM +0200, FRIGN wrote: On Tue, 01 Jul 2014 08:42:03 +0530 Weldon Goree wel...@langurwallah.org wrote: Lemma: does anybody know of a good environment-managing program[0]? This is not a lemma. I know a good program. It's called .. Check it out! Please see

[dev] [grep-notify] A simple notifier when stdout prints a pattern

2014-06-28 Thread Amadeus Folego
Hi Guys, for some days I've been looking for a suckless irc client. I've taken a look and used ii[1] but I did not find it very usable for me. So I've been using sic[2] which has been great for me, I had to make some wrappers to improve the experience, like ignoring PARTs, JOINs, etc. sic

Re: [dev] [grep-notify] A simple notifier when stdout prints a pattern

2014-06-28 Thread Amadeus Folego
On Sat, Jun 28, 2014 at 11:24:51PM +0200, Markus Teich wrote: Rob wrote: Perhaps see how using the bell character works for you. You could even do it with a shell script: ... | grep 'your-regex' | while read line; do printf '\x7'; done This is probably not helpful since it does only

Re: [dev] [grep-notify] A simple notifier when stdout prints a pattern

2014-06-28 Thread Amadeus Folego
Hi Markus, thank you very much for the tip! I like it, is very simple. However, it's suffering from the same problem I am having with grep-notify. The output of sic is being blocked from showing up, if I send :quit all the output is printed back and the program exits. sic -h

Re: [dev] [grep-notify] A simple notifier when stdout prints a pattern

2014-06-28 Thread Amadeus Folego
On Sat, Jun 28, 2014 at 11:51:12PM +0200, Markus Teich wrote: Amadeus Folego wrote: Using only sic piped with sed works, but the bell has no effect as I am on xmonad and it simply has no effect. That should be no problem[0]. You also have to make sure your terminal emulator sets

Re: [dev] reboot, arrow in the knee because of the GNU GPL???

2014-06-26 Thread Amadeus Folego
Hadrian, please do not tell that you represent everyone, you don't. Also what you just said is like your opinion, man.

Re: [dev] shell scripts vs makefiles for small SDKs

2014-06-25 Thread Amadeus Folego
On Wed, Jun 25, 2014 at 08:36:33PM +0200, Sylvain BERTRAND wrote: As rightfully requested. A dedicated thread. Sylvain, please don't do this. I understand why you are so angry and frustrated, it's difficult to argue about subjective things when people have such strong opinions as in the

Re: [dev] [dmenu] regexp with dmenu?

2014-05-14 Thread Amadeus Folego
On Wed, May 14, 2014 at 01:46:07PM +0200, Thuban wrote: Hi all, I was wondering if there is any existing solution to have dmenu understanding regular expression? There is a patch that adds fuzzy matching support to dmenu, it's not exactly the same thing, but may work for you. [1]:

Re: [dev] [ANNOUNCE] dlauncher - dmenu based launcher

2014-05-12 Thread Amadeus Folego
Hi Xinhao Yuan! I've been using dmenu with yeganesh[1] for quite some time and I am trying dlauncher now. One thing that I found strange was the listing and use of available plugins. But let's see how I get used to it. Thanks for the release! [1]: http://dmwit.com/yeganesh/ On Sat, May 10,

Re: [dev] [GENERAL] License manifest

2014-05-12 Thread Amadeus Folego
Hi there, I just noticed most of suckless projects use the MIT License, and I just wondered if there was any place on the suckless wiki that stated why this was preferred, but found none. So I thought that maybe this was something largely discussed already and searched on the mailing list

Re: [dev] [sbase] [PATCH] Make grep more memory-efficient

2014-05-12 Thread Amadeus Folego
Maybe we should include a benchmark script so that we can test if a patch has a regression on performance?

Re: [dev] [GENERAL] License manifest

2014-05-12 Thread Amadeus Folego
Hi Lohmann, On Mon, May 12, 2014 at 06:18:37PM +0200, Christoph Lohmann wrote: History made me thinking about that stance in suckless. Yes, it’s com‐ plete freedom, but the GPL made it possible to open up platforms not open before. For example the US navy is using Open Source software

Re: [dev] [sbase] -h/--human-readable on sbase

2014-05-09 Thread Amadeus Folego
The -h or --human-readable option is not available on ls, and probably a lot of other places on sbase. This is something that would help me migrating to an userspace made with sbase binaries. Would implementing this be desirable, straightforward and compliant with suckless design concepts? I

Re: [dev][project] soap - a simple xdg-open replacement

2014-05-05 Thread Amadeus Folego
Yeah, mailcap format would be amazing, I would use that! On Tue, May 06, 2014 at 02:36:58AM +0200, Dmitrij D. Czarkoff wrote: FRIGN said: A configuration can look like this: { \.mp3,st -e mplayer %s }, { \.(jpg|png|tiff)$,feh %s}, { \.gif,

Re: [dev][project] soap - a simple xdg-open replacement

2014-05-05 Thread Amadeus Folego
On Tue, May 06, 2014 at 02:36:58AM +0200, Dmitrij D. Czarkoff wrote: FRIGN said: Am I missing something, or mailcap files already do that? Agreed, that would be amazing! I would certainly use that!

Re: [dev] [st PATCH] X geometry changes

2014-04-25 Thread Amadeus Folego
I don't usually have problems with the geometry specified by rows and columns, it would be nice if we could retain this behaviour from the patch. Even though X11 may have introduced a lot of bad stuff, this one makes sense and simplifies a lot of code and logic. If you are specifying geometry,

Re: [dev] [st PATCH] X geometry changes

2014-04-25 Thread Amadeus Folego
So if bloat is our problem, let's remove all geometry handling code.

Re: [dev] [st PATCH] X geometry changes

2014-04-25 Thread Amadeus Folego
So if bloat is our problem, let's remove all geometry handling code. But the geom setting would still be useful for handling the floating and non tiled wms cases.

Re: [dev] [st] Understading st behaviour

2014-04-16 Thread Amadeus Folego
Amadeus Folego amadeusfol...@gmail.com wrote: Hi Guys, thank you for your feedback and taking your time to help me! I identified the issue. It looks like I am spawning st with tmux (e.g. st -e tmux), and the issue is that tmux is reparenting the process id to tmux's daemon. Example

Re: [dev] [st] Understading st behaviour

2014-04-16 Thread Amadeus Folego
Thanks for the detailed explanation random! I guess I did not use the correct terms appropriatelly. Would a suckless library for handling detaching, scrolling and multiplexing be something that could have some demand and even be used? Maybe that would make adding functionality to st trivial with

Re: [dev] [st] Understading st behaviour

2014-04-15 Thread Amadeus Folego
at 5:36 PM, Amadeus Folego amadeusfol...@gmail.com wrote: It looks like I am spawning st with tmux (e.g. st -e tmux), and the issue is that tmux is reparenting the process id to tmux's daemon. Example: tmux | \_newsbeuter | \_vim st.c It is not an issue

[dev] [st] Understading st behaviour

2014-04-10 Thread Amadeus Folego
Hi Guys, I wanted some help to understand some things that happen with me using st 0.5 that are kinda new, (coming from urxvt and other terms), these are: 1. If you open a program like mutt, ssh, or newsbeuter and kill the window with the wm (like xmonad) the process will not be killed. 2. When

Re: [dev] [st] Understading st behaviour

2014-04-10 Thread Amadeus Folego
On Thu, Apr 10, 2014 at 08:08:51PM +0200, Roberto E. Vargas Caballero wrote: 1. If you open a program like mutt, ssh, or newsbeuter and kill the window with the wm (like xmonad) the process will not be killed. I think it is a bug, because in this case a SIGHUP should be sent to the

Re: [dev] [st] Understading st behaviour

2014-04-10 Thread Amadeus Folego
I probably discovered why this happens. The WM_DELETE_WINDOW command is being received with success, I tested it. The issue is that the command xmonad uses to spawn st double-forks the process, making the SIGHUP signal not being sent to the correct pid. See [1]. So the question remains if we

Re: [dev] lock (1) - a dead simple lock script

2014-04-09 Thread Amadeus Folego
That's great Calvin! On Wed, Apr 09, 2014 at 10:40:43AM -0400, Calvin Morrison wrote: I added a lock gif. Check it out. https://github.com/mutantturkey/lock/blob/master/README.markdown that should clarify

Re: [dev] lock (1) - a dead simple lock script

2014-04-08 Thread Amadeus Folego
Hi Calvin, Thanks for sharing it, it's really neat! I have the same problem with some cron jobs, but I use lockrun[1]. It's source code is quite simple[2] too. The reason why I would still stick with lockrun is that in the context of cron jobs, it is better that the task does not runs than

Re: [dev] lock (1) - a dead simple lock script

2014-04-08 Thread Amadeus Folego
Was not aware of flock, thanks! I agree with you, using more small shell scripts is preferable. On Tue, Apr 08, 2014 at 12:25:55PM -0400, Calvin Morrison wrote: On 8 April 2014 12:19, Amadeus Folego amadeusfol...@gmail.com wrote: Hi Calvin, Thanks for sharing it, it's really neat! I