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