screen (program) starting in a detached mode makes stty insane
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
screen (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This appears to affect only Xubuntu 12.04 LTS, because other two Ubuntu 12.04 LTS systems I have (all packages latest) do not show this symptom.
When screen is started in a detached mode (screen -d -m) and later attached (screen -r), the stty settings get mangled, making any terminal window inside the screen session unusable. For instance, pressing a backspace erases the entire command-line.
Steps to reproduce:
$ sudo apt-get update
$ sudo apt-get upgrade
$ stty
speed 38400 baud; line = 0;
-brkint -imaxbel iutf8
$ screen -d -m
$ screen -r
(being attached to the screen session)
$ stty
speed 9600 baud; line = 0;
kill = ^H;
-imaxbel
tab3
$
If we start screen normally, everything is fine.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: screen 4.0.3-14ubuntu8
ProcVersionSign
Uname: Linux 3.2.0-31-generic i686
ApportVersion: 2.0.1-0ubuntu13
Architecture: i386
Date: Wed Sep 26 10:51:07 2012
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: screen
UpgradeStatus: Upgraded to precise on 2012-06-04 (114 days ago)
tags: | added: detached reattach screen |
tags: | removed: apport-bug i386 precise |
summary: |
- screen (program) starting detached makes stty insane + screen (program) starting in a detached mode makes stty insane |
description: | updated |