Re: [dev] [st][PATCH] Prevent resizing stdin

2013-12-17 Thread Roberto E. Vargas Caballero
> > The problem was that ioctl was resizing cmdfd before it gets > > initialized in ttynew. Since cmdfd is a global variable, its initial > > value is 0, and consequently stdin was being resized. Good catch, I'll apply the patch. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] query pixel size from matched font

2013-12-17 Thread Roberto E. Vargas Caballero
Hi, The patch sounds logical to me, so I will apply it. Regards, -- Roberto E. Vargas Caballero

Re: [dev] [st] [PATCH] Fix F28 key definition.

2013-12-17 Thread Roberto E. Vargas Caballero
On Sun, Dec 15, 2013 at 05:22:54PM +0100, Mark Edgar wrote: > A patch to fix the F28 key definition. Also, a resend of my other > patches to clean up config.h. > I'm going to apply these patches, except the last one, the patch about designators use. It is a big table, and having all the values h

Re: [dev] [st] [PATCH] query pixel size from matched font

2013-12-17 Thread Eon S. Jeon
Sorry for another duplicated mail. I found the patch is malformed significantly. I've been away from my laptop for a while, so I'm quite unfamiliar with the settings on this system... diff --git a/st.c b/st.c index f883ac1..67f9469 100644 --- a/st.c +++ b/st.c @@ -398,7 +398,7 @@ static void xin

[dev] [st] [PATCH] query pixel size from matched font

2013-12-17 Thread Eon S. Jeon
On Tue, 17 Dec 2013 10:06:22 +0100 Nils Reuße wrote: (Originally: [dev] [st] parse relative font size instead of pixelsize) Hello, > I prefer size over pixelsize because size scales to the current > display resolution, while pixelsize has to be increased (either in > config.h or on starting st)

Re: [dev] [st][PATCH] Prevent resizing stdin

2013-12-17 Thread Eon S. Jeon
On Tue, 17 Dec 2013 12:41:01 -0500 "Eon S. Jeon" wrote: > > Hello, > > This fixes a bug that the parent tty gets resized whenever you launch > st through command line. > > The problem was that ioctl was resizing cmdfd before it gets > initialized in ttynew. Since cmdfd is a global variable, it

[dev] [st][PATCH] Prevent resizing stdin

2013-12-17 Thread Eon S. Jeon
Hello, This fixes a bug that the parent tty gets resized whenever you launch st through command line. The problem was that ioctl was resizing cmdfd before it gets initialized in ttynew. Since cmdfd is a global variable, its initial value is 0, and consequently stdin was being resized.

Re: [dev] [st] parse relative font size instead of pixelsize

2013-12-17 Thread Nils Reuße
On 12/17/2013 10:06 AM, Nils Reuße wrote: Hi suckless@, i tried to set a font and fontsize in config.h with the xft notation FONT-SIZE: static char font[] = "Source Code Pro Medium-18:style=Regular"; The font was recognized, but not the font size, defaulting to 12. The same was true when

[dev] [st] parse relative font size instead of pixelsize

2013-12-17 Thread Nils Reuße
Hi suckless@, i tried to set a font and fontsize in config.h with the xft notation FONT-SIZE: static char font[] = "Source Code Pro Medium-18:style=Regular"; The font was recognized, but not the font size, defaulting to 12. The same was true when i used the size attribute: static