Bug#89655: Suspending "apt-get dselect-upgrade" messes up terminal
Package: apt
Version: 0.5.3
Severity: normal
While "apt-get dselect-upgrade" is running, if I suspend via ctrl-Z,
and then resume via "fg", the terminal is messed up in the following way:
- \n (\012) is converted into a linefeed instead of a linefeed/carriage
return. That is, I get messages like this:
Setting up gnome-dev-doc (1.2.12-2) ...
Setting up libarts (2.1.0.1-2) ..
.
Setting up libmorph (20010220) ...
Setting up ipchains (1.3.10-2) ...
etc. Only cosmetic.
- All direct input is disabled. So, for example, when I get a message
"Press enter to continue."
hitting enter has no effect. Or when getting a message like
"Do you wish to start/restart gpm at this time? (Y/n)"
I can't respond.
- Ctrl-C does work to bail out, fortunately.
- whiptail still works, so I can still answer some questions like ssh's.
Presumably an appropriate signal needs to be caught and an appropriate
terminal setting needs to be changed? I'm not sure exactly what would cause
the behavior above.
-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux MoonBow 2.2.18 #1 Thu Dec 21 21:13:10 EST 2000 i686
Versions of packages apt depends on:
ii libc6 2.2.2-1 GNU C Library: Shared libraries an
ii libstdc++2.10-glibc2.2 1:2.95.3-6 The GNU stdc++ library
Reply to: