Description of problem: When using 'virsh console domain' to connect to a serial console the display staircases and it appears every CRLF is producing two LFs. Version-Release number of selected component (if applicable): host: ubuntu hardy + libvirt 0.4.4-3ubuntu3 + kvm 1:62+dfsg-0ubuntu8 guest: ubuntu intrepid Steps to Reproduce: 1. Configure /etc/event.d/ttyS0 to start getty on ttyS0 2. Configure a serial console in libvirt with: <console type='pty'> <target port='0'/> </console> 3. Start the guest and connect to it's console with 'virsh console domain' Actual results: Display staircases where it should carriage return Expected results: Display is left-justified like normal. Workaround after startup: stty -F `virsh ttyconsole DOMAIN` -icrnl
Created attachment 323143 [details] stty output before running minicom
Created attachment 323144 [details] stty output after running minicom
Created attachment 323152 [details] stty output with intrepid
Tested on an intrepid host, and the console worked fine. Upgraded hardy host with the issue to Ubuntu intrepid, and the issue was resolved. Terminfo bug? Whatever it is, not directly a libvirt/virsh bug. I'm not going to look deeper at it. Ubuntu Hardy->Jaunty all run ncurses=5.6+20071124-1ubuntu2