[dev] [st][PATCH] minor: remove unnecessary/redundant libraries

2014-07-24 Thread anonimopococin...@alice.it
libXext is not used and freetype2 is included by `pkg-config --* fontconfig` but per-se does not seem useful anyhow, unless I'm missing something. -Gaber 0001-minor-remove-unused-libxext-and-freetype2.patch Description: Binary data

Re: [dev] [st] Erasing UTF-8 characters in ed

2014-07-24 Thread Roberto E. Vargas Caballero
It may be that one's not supposed to use backspaces in ed, but this behaviour is weird nonetheless… I have the same issue in mg. This question also comes up occasionally on IRC. Reverting the commit you specified seems to work for mg (but may break other applications?) Can anyone shed a

Re: [dev] [st][PATCH] minor: remove unnecessary/redundant libraries

2014-07-24 Thread Roberto E. Vargas Caballero
libXext is not used and freetype2 is included by `pkg-config --* fontconfig` but per-se does not seem useful anyhow, unless I'm missing something. The patch, seems correct, but I am not sure why freetype was explicity added, if someone can add more information ... Regards, --

[dev] [patch][dmenu] fix crash with ctrl-enter as input

2014-07-24 Thread Hiltjo Posthuma
reproduce: ./dmenu; send EOF; press ctrl+enter. Attached is the patch. Kind regards, Hiltjo From 405a78316561759b2b5d16a0921846f31d817e0c Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma hil...@codemadness.org Date: Thu, 24 Jul 2014 19:10:23 + Subject: [PATCH] fix crash with ctrl-enter as

[dev] [st][PATCH] Add information about librt and OpenBSD to the FAQ

2014-07-24 Thread Roberto E. Vargas Caballero
--- FAQ | 7 +++ 1 file changed, 7 insertions(+) diff --git a/FAQ b/FAQ index 793680a..447577f 100644 --- a/FAQ +++ b/FAQ @@ -89,3 +89,10 @@ Putting these lines into your .zshrc will fix the problems. St supports meta in 8bit mode, but the default terminfo entry doesn't use this

Re: [dev] [st][PATCH] minor: remove unnecessary/redundant libraries

2014-07-24 Thread Markus Teich
Roberto E. Vargas Caballero wrote: The patch, seems correct, but I am not sure why freetype was explicity added, if someone can add more information ... Heyho, commit 4682cc9596a5c82325882bdf1313728de95467d2 suggests portability as reason. Also you can see that previously freetype2 was only an

Re: [dev] [st][PATCH] Add information about librt and OpenBSD to the FAQ

2014-07-24 Thread Markus Teich
Roberto E. Vargas Caballero wrote: +If you want compile st for OpenBSD you have to remove -lrt from config.mk. Heyho Roberto, this is the same patch you posted originally. ;) --Markus

Re: [dev] [st][PATCH] Add information about librt and OpenBSD to the FAQ

2014-07-24 Thread Roberto E. Vargas Caballero
+If you want compile st for OpenBSD you have to remove -lrt from config.mk. Heyho Roberto, this is the same patch you posted originally. ;) Ok, I am stupid!!!. I already pushed the wrong commit. This was the thing I though I was pushing (I forget the commit --amend ^^!!!) Regards,

Re: [dev] [st][PATCH] Add information about librt and OpenBSD to the FAQ

2014-07-24 Thread Markus Teich
Roberto E. Vargas Caballero wrote: +st will compile without any loss of funcionality because all the functions are Heyho, small typo: s/funcionality/functionality/ --Markus

Re: [dev] [st][PATCH] Add information about librt and OpenBSD to the FAQ

2014-07-24 Thread Roberto E. Vargas Caballero
+st will compile without any loss of funcionality because all the functions are Heyho, small typo: s/funcionality/functionality/ Hey, thanks for putting your eyes! Regards, -- Roberto E. Vargas Caballero

[dev] [st][PATCH] Add info about Backspace and Delete to the FAQ

2014-07-24 Thread Roberto E. Vargas Caballero
--- FAQ | 58 ++ 1 file changed, 58 insertions(+) diff --git a/FAQ b/FAQ index f8a2ec2..a0f947c 100644 --- a/FAQ +++ b/FAQ @@ -98,3 +98,61 @@ If you want compile st for OpenBSD you have to remove -lrt from config.mk, and st will compile

Re: [dev] [st][PATCH] minor: remove unnecessary/redundant libraries

2014-07-24 Thread anonimopococin...@alice.it
Heyho, commit 4682cc9596a5c82325882bdf1313728de95467d2 suggests portability as reason. Also you can see that previously freetype2 was only an include and fontconfig was only linked against. Uh I didn't check that one : P. Anyway at the time freetype2/ft2build.h was needed so that's why

Re: [dev] [st][PATCH] Add info about Backspace and Delete to the FAQ

2014-07-24 Thread Dimitris Papastamos
Really helpful thanks, would be nice to merge it.

Re: [dev] [st][PATCH] Add information about librt and OpenBSD to the FAQ

2014-07-24 Thread Nick
Quoth Roberto E. Vargas Caballero: +OpenBSD lacks of librt, but it is mandatory in POSIX s/but it is/despite it being/ Makes what you're saying a bit clearer. +If you want compile st for OpenBSD you have to remove -lrt from config.mk, and s/you want compile/you want to compile/ +st will

Re: [dev] [st][PATCH] minor: remove unnecessary/redundant libraries

2014-07-24 Thread Markus Teich
anonimopococin...@alice.it wrote: Uh I didn't check that one Heyho, $ git blame helps when you ask yourself, why something is done in a certain way. ;) --Markus

Re: [dev] [st][PATCH] minor: remove unnecessary/redundant libraries

2014-07-24 Thread Roberto E. Vargas Caballero
Uh I didn't check that one : P. Anyway at the time freetype2/ft2build.h was needed so that's why freetype was included. Maybe it was forgot there when ft2build was removed? Well, it is something that Christoph can answer, because my knoledge about this part of st is very limited. I think is

Re: [dev] [st][PATCH] Add information about librt and OpenBSD to the FAQ

2014-07-24 Thread Roberto E. Vargas Caballero
s/but it is/despite it being/ Makes what you're saying a bit clearer. +If you want compile st for OpenBSD you have to remove -lrt from config.mk, and s/you want compile/you want to compile/ +st will compile without any loss of funcionality because all the functions are

[dev] Re: [patch][dmenu] fix crash with ctrl-enter as input

2014-07-24 Thread Hiltjo Posthuma
On Thu, Jul 24, 2014 at 7:22 PM, Hiltjo Posthuma hil...@codemadness.org wrote: reproduce: ./dmenu; send EOF; press ctrl+enter. Attached is the patch. For clarification the commit that introduced this bug is 0d12a47415edba5db73f56dba76f123394581387:

Re: [dev] [st] Erasing UTF-8 characters in ed

2014-07-24 Thread Alexandre Niveau
Hi, I have the same issue in mg. This question also comes up occasionally on IRC. Reverting the commit you specified seems to work for mg (but may break other applications?) Can anyone shed a light on it, for science? This patch only changes the keystroke generated by Backspace (in fact

[dev] [acmebrowse] Mouse driven interface for edbrowse

2014-07-24 Thread Paul Onyschuk
I've been playing around with idea of using edbrowse (CLI web browser with ed-like interface) together with acme. Launching it using win(1) in acme is fine, but far from usable. I decided to improve on that. This script is result of that - it needs to be launched in acme. Tmux is used for

Re: [dev] [st] Erasing UTF-8 characters in ed

2014-07-24 Thread Roberto E. Vargas Caballero
If you use Delete, the prblem is fixed?, With the tip version of st, Delete works as a backspace outside ed, but writes ^? when used in ed. In fact, in all the other systems backspace works as Delete. Delete is 7FH, or ^?, and backspace is 08H, or ^H. The point here is that, by default,

[dev] [DWM] Why not fontconfig?

2014-07-24 Thread Henrique Lengler
Is there a good motive to DWM use the X Logical Font Description by default, and not Fontconfig? -- Henrique Lengler

[dev] [st] Colors

2014-07-24 Thread Henrique Lengler
Hi, I'm not familiar with st code, so i wanna know if have how i change st colors? Not just selecting one in the config.h file but change how this color looks. E.g Point black color to some RGB hexcode like people do with urxvt, to make it look more beautiful. -- Henrique Lengler

Re: [dev] [st] Colors

2014-07-24 Thread Carlos Torres
Yup, On Thu, Jul 24, 2014 at 7:30 PM, Henrique Lengler henriquel...@openmailbox.org wrote: Hi, I'm not familiar with st code, so i wanna know if have how i change st colors? Not just selecting one in the config.h file but change how this color looks. E.g Point black color to some RGB hexcode

Re: [dev] [st] Colors

2014-07-24 Thread Lee Fallat
On Thu, Jul 24, 2014 at 7:30 PM, Henrique Lengler henriquel...@openmailbox.org wrote: Hi, I'm not familiar with st code, so i wanna know if have how i change st colors? Not just selecting one in the config.h file but change how this color looks. E.g Point black color to some RGB hexcode like

Re: [dev] [st][PATCH] Add info about Backspace and Delete to the FAQ

2014-07-24 Thread Carlos Torres
Yes, there are some grammatical errors but they can be fixed with patches later :) --Carlos

Re: [dev] [st] Colors

2014-07-24 Thread Henrique Lengler
On Thu, Jul 24, 2014 at 08:12:04PM -0400, Lee Fallat wrote: Do you mean a color swatch/wheel? Like this? http://gcolor2.sourceforge.net/ No i mean point a color to another. Like the black in my terminal is pointed to a hexcode of a red color, so when st display black requested by an

Re: [dev] [st] Colors

2014-07-24 Thread Henrique Lengler
Thank you Nick and Carlos, i understood! -- Henrique Lengler

Re: [dev] [st] Colors

2014-07-24 Thread Carlos Torres
Hey Henrique, On Thu, Jul 24, 2014 at 8:57 PM, Henrique Lengler henriquel...@openmailbox.org wrote: No i mean point a color to another. Like the black in my terminal is pointed to a hexcode of a red color, so when st display black requested by an application it will show red. People do this