From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Mac terminal.app: starting emacs, possibly as sudo Date: Mon, 17 Oct 2011 01:43:26 +0200 Message-ID: <18107B2C-4BE2-40D9-90C5-02BCD0CF0DEF@Web.DE> References: <300A41B7-78F8-422C-BF95-6FFEF947E79A@math.ethz.ch> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1318808750 20498 80.91.229.12 (16 Oct 2011 23:45:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 Oct 2011 23:45:50 +0000 (UTC) Cc: Emacs help To: Marius Hofert Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 01:45:45 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RFaOm-0003Cx-7A for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2011 01:45:44 +0200 Original-Received: from localhost ([::1]:50175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFaOl-0004Yy-JF for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Oct 2011 19:45:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFaOh-0004Yr-1C for help-gnu-emacs@gnu.org; Sun, 16 Oct 2011 19:45:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFaOf-0006wd-O4 for help-gnu-emacs@gnu.org; Sun, 16 Oct 2011 19:45:39 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:48504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFaOf-0006wZ-Gk for help-gnu-emacs@gnu.org; Sun, 16 Oct 2011 19:45:37 -0400 Original-Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate03.web.de (Postfix) with ESMTP id 3B4431A364F9F for ; Mon, 17 Oct 2011 01:43:27 +0200 (CEST) Original-Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0Lhedd-1QkdOp3ULx-00nMi2; Mon, 17 Oct 2011 01:43:27 +0200 In-Reply-To: <300A41B7-78F8-422C-BF95-6FFEF947E79A@math.ethz.ch> X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:ceiCkKbAgZo7gGF28SKTKnoNk1HD6apkoB8Vy13O8fc 95FY4CNTRI6IPzoxveOrhlg1CkppyjX/MF4345v2qzvC4e5Eif xvlJvwHDTnTEgARgLocZMIDjNXRxkCz/vCpnDetp/DfJ4edjJa SDUjJoAxkHdtTbL6XVDzDrr2BKlDp1/ghnDkvVTpSvVSZXCwPh LOo/Nu60Gx63viU4wW05g== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82582 Archived-At: Am 17.10.2011 um 00:26 schrieb Marius Hofert: > 1) How can I have the new emacs version opened when typing "emacs" in = the terminal?=20 Either reorder PATH or use the whole path to the executable! Or use a = shell alias... > 2) Is it possible to start emacs in "sudo mode", so starting emacs = via "sudo emacs" in the terminal (and then being root when opening a = shell from within emacs)? It won't work with the NS and "AppKit" variants (do you know of any = "native" mac OS X GUI application that you can launch with sudo and then = runs with elevated privileges?), it works with the X client and also = without windowing system (in terminal). -- Mit friedvollen Gr=FC=DFen Pete If all else fails read the instructions. - Donald Knuth