From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Shiyao Ma Newsgroups: gmane.emacs.help Subject: Re: under termianl emacs, how to start a process and make it believe it's running inside a termial? Date: Wed, 6 Apr 2016 10:43:47 +0800 Message-ID: References: <878u0urdis.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1459910658 19821 80.91.229.3 (6 Apr 2016 02:44:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2016 02:44:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 06 04:44:10 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1andRx-0000Ki-4k for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Apr 2016 04:44:09 +0200 Original-Received: from localhost ([::1]:40343 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1andRt-00078d-3Y for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Apr 2016 22:44:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1andRh-00077G-Pj for help-gnu-emacs@gnu.org; Tue, 05 Apr 2016 22:43:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1andRc-0006pU-Vv for help-gnu-emacs@gnu.org; Tue, 05 Apr 2016 22:43:53 -0400 Original-Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:36394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1andRc-0006p6-LQ for help-gnu-emacs@gnu.org; Tue, 05 Apr 2016 22:43:48 -0400 Original-Received: by mail-wm0-x229.google.com with SMTP id v188so7646908wme.1 for ; Tue, 05 Apr 2016 19:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc; bh=RS5ts/A9J1pUJOm1Z39LioMxDgHdPgek58rUyFiRcKo=; b=iRE0AO6fZBVhzb9ZGGH0Lw4nJ31AlKlGmRLc45UMQm/2+nJMMsiVZx8sfBCEacNqon cLYlWHn2L1vwDErjOHv/VmmSYZsFE1OeSqKLK0ZV/rIZUW2Cr2W1Vz2VCNlCWz+bEWc4 1d8uZg61X3ACDyVfejIYK9rY2fcX/iXI20bD1krm8aMkoWiCo/BzQewF1mWF+AvQPJdo G/7xYDxY0XrsRwwu89m6GLnaqaX+ljExd8utrOy6xikT9uxcbZChuwbHutGsMKZnzWWf RoW2+3jvt8a0hBonTiV13ciD1ZSGcPf6Eg+Dj6SbIoEEeE5DIe4GqIQbJV00Xq4ODROs f7Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=RS5ts/A9J1pUJOm1Z39LioMxDgHdPgek58rUyFiRcKo=; b=GqIssyi0/0Ue1GKOAKS0Dg3vCLEA54maBOdNZ8fFkjBQhm254mSo23bkQD43NZqJnZ sFVwaKhqVan4Kd5lsKKVofaK0MCTR63CszBDSm0mB2UU1apvPvSfUDvGQVikL/n60yVJ ENFW69yFlxqeHa5YdnKdgm3rxQccYdKve+nqgbG1PkUZgqGUpDK8VvO3UZeiTkcRSS0W q6zCMT512LchT1lUCVKntWf0X9G5LtqjGpMG3beq7/mPcCtMF+pB8zPi4/stYqdK/iQi /bYhQp5NpgVmCAdWzbFECAZ2bxOFnd0mX/XdCT6UMiWEQTiHp7tL32G6K8fwr/7lxVi9 uVbg== X-Gm-Message-State: AD7BkJKG+ogn/dkmxH0HKV+m1pNYYBP+4Vkpf6P/uz2EObJQJMXAtZoSkQKIFaJ/DmxXEv2FTm8iD7+sZGsL5Q== X-Received: by 10.194.192.106 with SMTP id hf10mr13024871wjc.134.1459910627373; Tue, 05 Apr 2016 19:43:47 -0700 (PDT) Original-Received: by 10.28.24.196 with HTTP; Tue, 5 Apr 2016 19:43:47 -0700 (PDT) X-Originating-IP: [59.149.183.3] In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::229 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:109724 Archived-At: On 5 April 2016 at 10:43, Barry Margolin wrote: > > The tty should just be inherited from the terminal that you're running > Emacs in. You're using "emacs -nw" to run it in the terminal window, > aren't you? > I am using emacs -nw under iTerm2. --=20 =E5=90=BE=E8=BC=A9=E3=81=AF=E7=8C=AB=E3=81=A7=E3=81=82=E3=82=8B=E3=80=82=E3= =83=9B=E3=83=BC=E3=83=A0=E3=83=BC=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=AFhttps:= //introo.me =E3=80=82