terminal displays garbage when using sudo su -

Bug #1011820 reported by Mystic-Mirage
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
screen (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am using screen via ssh to work with remote server running ubuntu 12.04.

When I enter in root shell via sudo su - some programs like mc or aptitude that using pseudographics are almost unusable (see screenshots).
Steps to reproduce:
1. ssh to remote server
2. start screen session (just type screen)
3. run root shell (sudo su -)
4. start midnight commander (mc)

This works fine (no screen running):
1. ssh to remote server
2. run root shell (sudo su -)
3. start midnight commander (mc)

It is the 12.04 regression. Without screen all programs works fine. Also when I work with server running ubuntu 10.04 all works as expected.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: screen 4.0.3-14ubuntu8
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Mon Jun 11 21:46:13 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
SourcePackage: screen
UpgradeStatus: Upgraded to precise on 2012-04-28 (43 days ago)

Revision history for this message
Mystic-Mirage (mystic-mirage) wrote :
Revision history for this message
Mystic-Mirage (mystic-mirage) wrote :

I have found workaround for this bug.
When I start mc by:
env LANG=en_US mc
all works fine.

But:
env LANG=en_US.UTF-8 mc
shows me garbage.

So, the problem seems to be somwhere in UTF-8...

Revision history for this message
Axel Beckert (xtaran) wrote :

On a first glance it sounds like a similar issue to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640765 in Debian.

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.