Quoting Dwight Engen (dwight.en...@oracle.com): > Add a higher level console API that opens a tty/console and runs the > mainloop as well. Rename existing API to console_getfd(). Use these in > the python binding. > > Allow attaching a console peer after container bootup, including if the > container was launched with -d. This is made possible by allocation of a > "proxy" pty as the peer when the console is attached to. > > Improve handling of SIGWINCH, the pty size will be correctly set at the > beginning of a session and future changes when using the lxc_console() API > will be propagated to it as well.
Hi, we're hitting on black magic here as far as I'm concerned - but I can verify that with this patch, 'sudo lxc-console -n container -t 0' gives me the right size (per stty -a) on console which never happened before. However, if I then resize my xterm, I have to disconnect and reconnect the console to get the new size. Is that expected? -serge ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel