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] 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.