terminal displays garbage when using sudo su -
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
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelMo
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)
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...