From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Dickon Reed (dreed)" Newsgroups: gmane.emacs.bugs Subject: bug#4064: 23.1; Hang up from tty mode when X server goes away Date: Thu, 6 Aug 2009 12:18:19 +0100 Message-ID: <200908061118.n76BIJ6k018846@runbench-dev.uk.level5networks.com> Reply-To: "Dickon Reed \(dreed\)" , 4064@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1249591526 23931 80.91.229.12 (6 Aug 2009 20:45:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2009 20:45:26 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 06 22:45:20 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MZ9pu-000821-AK for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Aug 2009 22:45:19 +0200 Original-Received: from localhost ([127.0.0.1]:39462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ9pt-0000Oc-Q5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Aug 2009 16:45:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZ17a-0000vj-80 for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 07:26:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZ17U-0000sc-74 for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 07:26:57 -0400 Original-Received: from [199.232.76.173] (port=38853 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ17T-0000sN-0F for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 07:26:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39184) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZ17R-0004oT-Ov for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 07:26:50 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n76BQlit008322; Thu, 6 Aug 2009 04:26:47 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n76BP5Gu007904; Thu, 6 Aug 2009 04:25:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Dickon Reed (dreed)" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 06 Aug 2009 11:25:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4064 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12495575147325 (code B ref -1); Thu, 06 Aug 2009 11:25:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 6 Aug 2009 11:18:34 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n76BIXxH007322 for ; Thu, 6 Aug 2009 04:18:34 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZ0zP-0004yx-HL for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 07:18:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZ0zJ-0004w0-TR for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 07:18:30 -0400 Original-Received: from [199.232.76.173] (port=60762 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ0zJ-0004vo-OH for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 07:18:25 -0400 Original-Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]:57861) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZ0zJ-0003LW-5v for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 07:18:25 -0400 Original-Received: from [82.69.137.158] (helo=opal.uk.level5networks.com) by smarthost02.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1MZ0zG-00054U-ML for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 11:18:24 +0000 Original-Received: from runbench-dev.uk.level5networks.com (runbench-dev.uk.level5networks.com [10.17.128.102]) by opal.uk.level5networks.com (8.12.8/8.12.8) with ESMTP id n76BIKIK000309 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 6 Aug 2009 12:18:20 +0100 Original-Received: from runbench-dev.uk.level5networks.com (localhost.localdomain [127.0.0.1]) by runbench-dev.uk.level5networks.com (8.13.1/8.13.1) with ESMTP id n76BIJDj018847 for ; Thu, 6 Aug 2009 12:18:19 +0100 Original-Received: (from dr@localhost) by runbench-dev.uk.level5networks.com (8.13.1/8.13.1/Submit) id n76BIJ6k018846; Thu, 6 Aug 2009 12:18:19 +0100 X-Originating-Smarthost02-IP: [82.69.137.158] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 06 Aug 2009 07:26:56 -0400 X-Mailman-Approved-At: Thu, 06 Aug 2009 16:44:42 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29943 Archived-At: I am running my own build of emacs 23.1.1 on CentOS 4.4. I start emacs under screen and run server-start from my init file. I then login via ssh (PuTTy) from an Windows XP box, connect to the screen session, and use make-frame-on-display to open a frame on a Cygwin/X version 1.5.3 (20090222) X server running on my desktop Windows XP box. So far, everything works fine. After a few hours work, I hibernate my Windows box, and then log in via ssh from a different site. I find the emacs running screen unresponsive, whereas I'd have liked the emacs session under screen to be working. Later, I woke up the Windows box, logged back into the screen session and found it had recently reported that it had lost the connection to the X server (see log below). At that point, I can only a frame again and everything is back to normal. In GNU Emacs 23.1.1 (i686-pc-linux-gnu, X toolkit) of 2009-07-30 on runbench-dev.uk.level5networks.com configured using `configure '--with-gif=no'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t tooltip-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 Recent input: e SPC t h e SPC r e s u l t s SPC s t o r e SPC w a s SPC b r o k e n " c c a l l b a c k s SPC a n d o r SPC f i l e s SPC a r e SPC n o t SPC w o r k i n g " h g SPC q p o p h g SPC q p u l l SPC - u h g SPC q p u s h SPC - a h g SPC q a p q h g SPC q f i n SPC - a h g SPC q a d d h g SPC q p a a p SPC - s h g SPC q p o p SPC - a h g SPC q p u s h SPC - a h g SPC h g SPC t i p h g SPC p u s h C-x n ESC [ 1 5 ~ ESC O A ESC O B ESC O B C-x C-f ~ / . e m a c s RET C-x o C-x 0 C-s f 7 C-s ESC O A ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O A C-s d r C-x o ESC x r e p o r t - e m TAB RET Recent messages: Wrote /local/dr/runbench/nagbench.py Mark saved where search started [3 times] Saving file /local/dr/runbench/nagbench.py... Wrote /local/dr/runbench/nagbench.py (No files need saving) Compilation finished Quit call-interactively: Text is read-only [4 times] Connection lost to X server `dr-desktop:0.0' Mark saved where search started [2 times]