Subject: bug#2772: 23.0.91; emacsclient loses keybindings
after terminal suspend/resume under screen

When I start "emacsclient -t" under GNU screen,
then suspend it (with C-z) and resume again, it stops
understanding the arrow keys.

Instead it starts echoing error messages like
M-[ b is undefined

The value of $TERM is:
$ echo $TERM

In GNU Emacs (i386-unknown-freebsd7.1)
of 2009-03-22 on
configured using `configure '--with-x-toolkit=no' '--without-x'
'--prefix=/home/jakob/emacs' '--enable-asserts' '--without-dbus' 'CFLAGS=-O
-pipe -march=pentium4 -g' 'LDFLAGS=-L/usr/pkg/lib'

Important settings:
value of $LC_ALL: de_DE.UTF-8
value of $LC_COLLATE: nil
value of $LC_CTYPE: de_DE.ISO8859-15
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: de_DE.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
show-paren-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t