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

Jakob Krainz <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
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
screen


In GNU Emacs 23.0.91.1 (i386-unknown-freebsd7.1)
 of 2009-03-22 on ente.hawo.stw.uni-erlangen.de
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' 'CPPFLAGS=-I/usr/pkg/include''

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.