From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin 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: Mon, 04 Apr 2016 22:43:25 -0400 Organization: A noiseless patient Spider Message-ID: References: <878u0urdis.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1459824319 4494 80.91.229.3 (5 Apr 2016 02:45:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2016 02:45:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 05 04:45:19 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 1anGzW-00022J-1v for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Apr 2016 04:45:18 +0200 Original-Received: from localhost ([::1]:34018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anGzV-0001mt-AI for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Apr 2016 22:45:17 -0400 Original-Path: usenet.stanford.edu!goblin3!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Injection-Info: barmar.motzarella.org; posting-host="2be9e9f5dd9af768b8861af71b85fc28"; logging-data="10642"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VxgKGlmfCy0G0LuFTYD+f" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:X4Tcjn7NmI1pZeZdAS7A4k2Rwaw= Original-Xref: usenet.stanford.edu gnu.emacs.help:217428 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:109722 Archived-At: In article , Shiyao Ma wrote: > On 4 April 2016 at 23:00, Barry Margolin wrote: > > > In article , > > Shiyao Ma wrote: > > > > > > Maybe: > > > > M-! /usr/bin/ranger &/dev/tty > > > > > > > > Looks like the right direction. > > But after running it, I got: > zsh:1: device not configured: /dev/tty > > I am not familiar with the devfs, but surely emacs must setup the tty for > ranger. 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? -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***