From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#1540: emacsclient -t fails under su Date: Fri, 12 Dec 2008 16:11:27 +0100 Message-ID: References: <200812112119.mBBLJwj7001473@mothra.ics.uci.edu> <200812120102.mBC12jZT002044@mothra.ics.uci.edu> Reply-To: Andreas Schwab , 1540@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1229097929 21014 80.91.229.12 (12 Dec 2008 16:05:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2008 16:05:29 +0000 (UTC) Cc: 1540@emacsbugs.donarmstrong.com To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 12 17:06:32 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 1LBAWM-0000rK-9F for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Dec 2008 17:05:53 +0100 Original-Received: from localhost ([127.0.0.1]:60057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBAVA-00078I-55 for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Dec 2008 11:04:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LB9sN-0001EF-Kz for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 10:24:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LB9sL-0001CP-Fe for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 10:24:23 -0500 Original-Received: from [199.232.76.173] (port=39007 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LB9sL-0001C5-85 for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 10:24:21 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50252) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LB9sK-0003Q1-Mf for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 10:24:21 -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 mBCFOIGd005854; Fri, 12 Dec 2008 07:24:18 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBCFK3Z6004608; Fri, 12 Dec 2008 07:20:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Andreas Schwab Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 12 Dec 2008 15:20:03 +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.12290946922975 (code B ref 1540); Fri, 12 Dec 2008 15:20:03 +0000 X-Spam-Bayes: score:0.0000 Tokens: new, 20; hammy, 151; neutral, 63; spammy, 0. spammytokens: hammytokens:0.000-+--emacs, 0.000-+--H*M:fsf, 0.000-+--H*UA:Emacs, 0.000-+--H*u:Emacs, 0.000-+--H*MI:fsf Original-Received: (at 1540) by emacsbugs.donarmstrong.com; 12 Dec 2008 15:11:32 +0000 Original-Received: from mx1.suse.de (mail.suse.de [195.135.220.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBCFBS8p002969 for <1540@emacsbugs.donarmstrong.com>; Fri, 12 Dec 2008 07:11:30 -0800 Original-Received: from Relay1.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id C0FBD453D9; Fri, 12 Dec 2008 16:11:27 +0100 (CET) X-Yow: NOW, I'm supposed to SCRAMBLE two, and HOLD th' MAYO!! In-Reply-To: <200812120102.mBC12jZT002044@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Thu, 11 Dec 2008 17:02:45 -0800 (PST)") User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux) X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id mBCFOIGd005854 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 12 Dec 2008 10:24:22 -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:23240 Archived-At: Dan Nicolaescu writes: > Glenn Morris writes: > > > I know nothing about how this all works, but my naive expectation w= as > > that since emacs -nw works, emacsclient -t should too. But if that'= s > > not possible, fine. If it's possible but difficult, just stopping t= he > > crash and leaving the rest open as a wishlist is fine too. > > Not sure about the underlying problem.=20 Doing it right would require passing a file descriptor instead of the terminal name from emacsclient to emacs. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different."