From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#1540: emacsclient -t fails under su Date: Thu, 11 Dec 2008 17:02:45 -0800 (PST) Message-ID: <200812120102.mBC12jZT002044@mothra.ics.uci.edu> References: <200812112119.mBBLJwj7001473@mothra.ics.uci.edu> Reply-To: Dan Nicolaescu , 1540@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229045078 10544 80.91.229.12 (12 Dec 2008 01:24:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2008 01:24:38 +0000 (UTC) Cc: 1540@emacsbugs.donarmstrong.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 12 02:25:42 2008 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 1LAwmi-0001Ph-Fv for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Dec 2008 02:25:40 +0100 Original-Received: from localhost ([127.0.0.1]:40932 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAwlX-0006XG-00 for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2008 20:24:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAwlT-0006X1-2q for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 20:24:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAwlQ-0006WN-OP for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 20:24:21 -0500 Original-Received: from [199.232.76.173] (port=39044 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAwlQ-0006WD-G6 for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 20:24:20 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60949) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LAwlQ-0007Zx-2W for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 20:24:20 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBC1OIi5032757; Thu, 11 Dec 2008 17:24:18 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBC1A4Dq028888; Thu, 11 Dec 2008 17:10:04 -0800 X-Loop: don@donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 12 Dec 2008 01:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1540 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1540-submit@emacsbugs.donarmstrong.com id=B1540.122904378826618 (code B ref 1540); Fri, 12 Dec 2008 01:10:04 +0000 X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 96; neutral, 55; spammy, 1. spammytokens:0.987-1--Anything hammytokens:0.000-+--emacs, 0.000-+--H*i:message, 0.000-+--H*i:2008, 0.000-+--HX-Debbugs-No-Ack:yes, 0.000-+--H*MI:message Original-Received: (at 1540) by emacsbugs.donarmstrong.com; 12 Dec 2008 01:03:08 +0000 Original-Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBC135ZS026588 for <1540@emacsbugs.donarmstrong.com>; Thu, 11 Dec 2008 17:03:06 -0800 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id mBC12k8u022598; Thu, 11 Dec 2008 17:02:50 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mBC12jZT002044; Thu, 11 Dec 2008 17:02:45 -0800 (PST) In-Reply-To: (Glenn Morris's message of "Thu, 11 Dec 2008 18:51:52 -0500") Original-Lines: 19 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mBC12k8u022598 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 11 Dec 2008 20:24:21 -0500 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:23216 Archived-At: Glenn Morris writes: > Dan Nicolaescu wrote: > > > Not sure what to do. The quick way out would be for emacsclient to > > check if the tty is writable, and refuse to try to connect in case it is > > not. But is that TRTD? > > Anything that stops the crash has to be an improvement. The crash should be gone now. > I know nothing about how this all works, but my naive expectation was > that since emacs -nw works, emacsclient -t should too. But if that's > not possible, fine. If it's possible but difficult, just stopping the > crash and leaving the rest open as a wishlist is fine too. Not sure about the underlying problem. It would be interesting to know if this happens on all OSes.