empty monitor, serial, parallel with -curses with TERM=xterm-256color

Bug #1508466 reported by Scott Moser
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

my (believed default) ubuntu installation has 'TERM=xterm-256color' when in a gnome-terminal.

when i run 'qemu-system-x86_64 -curses' from that environment, the monitor and serial and parallel "consoles" do not have anything on them. Example:
  $ TERM=xterm-256color qemu-system-x86_64 -curses
  # hit 'alt-2' you'll nothing.k this should be the monitor
  # you can type 'quit' there blindly and it will do what you asked.
  # hit 'alt-3' and that shoudl be serial console.

to see it working, just try:
  $ TERM=xterm qemu-system-x86_64 -curses
  # hit 'alt-2', 'alt-3', 'alt-4' and see it all working.

Alternatively, running under 'screen' or 'tmux' or 'byobu' will set term to some other value ('screen') and that will work also.

Easy workaround if you know it, but not if you dont.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: qemu-system-x86 1:2.3+dfsg-5ubuntu9
ProcVersionSignature: Ubuntu 4.2.0-15.18-generic 4.2.3
Uname: Linux 4.2.0-15-generic x86_64
ApportVersion: 2.19.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Oct 21 09:10:22 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-07-23 (90 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-15-generic.efi.signed root=UUID=f897b32a-eacf-4191-9717-844918947069 ro quiet splash vt.handoff=7
SourcePackage: qemu
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Scott Moser (smoser) wrote :
Changed in qemu (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Ryan Harper (raharper) wrote :

Looks like a patch was just submitted to address this:

http://lists.nongnu.org/archive/html/qemu-devel/2015-10/msg04319.html

Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 1508466] [NEW] empty monitor, serial, parallel with -curses with TERM=xterm-256color

 status; confirmed
 importance: medium

Revision history for this message
Ryan Harper (raharper) wrote :

Applied the upstream patch (not yet committed) to the wily qemu package.
Builds OK, needs testing. Will post link to PPA with packages once it is complete.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "lp1508466_apply_upstream_curses_fix.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qemu - 1:2.3+dfsg-5ubuntu10

---------------
qemu (1:2.3+dfsg-5ubuntu10) xenial; urgency=medium

  * debian/patches/fix-curses-with-xterm-256.patch (LP: #1508466)

 -- Ryan Harper <email address hidden> Wed, 21 Oct 2015 08:59:29 -0500

Changed in qemu (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.