all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* under termianl emacs, how to start a process and make it believe it's running inside a termial?
@ 2016-04-03 13:46 Shiyao Ma
  0 siblings, 0 replies; 10+ messages in thread
From: Shiyao Ma @ 2016-04-03 13:46 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I am running emacs in a terminal.

I want to invoke the ranger program, which is a tui file manager,  inside
emacs.

basically, I am translating the following file into elisp.
https://github.com/hut/ranger/blob/master/examples/vim_file_chooser.vim#L10


The problem I am facing is, when I do a:
(call-process "/usr/bin/ranger")

ranger thinks it's not running inside terminal, and exited directly.


So, my question is, how to make ranger believe it's actually inside a
terminal?


Regards.


-- 

吾輩は猫である。ホームーページはhttps://introo.me <http://introo.me>。


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-04-06  5:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.8886.1459691173.843.help-gnu-emacs@gnu.org>
2016-04-03 14:08 ` under termianl emacs, how to start a process and make it believe it's running inside a termial? Pascal J. Bourguignon
2016-04-04  5:40   ` Shiyao Ma
2016-04-04  5:46     ` Shiyao Ma
     [not found]     ` <mailman.8972.1459748791.843.help-gnu-emacs@gnu.org>
2016-04-04 15:00       ` Barry Margolin
2016-04-05  2:11         ` Shiyao Ma
     [not found]         ` <mailman.9050.1459822277.843.help-gnu-emacs@gnu.org>
2016-04-05  2:43           ` Barry Margolin
2016-04-06  2:43             ` Shiyao Ma
2016-04-06  5:27               ` Bob Proulx
2016-04-04 16:09     ` Yuri Khan
2016-04-03 13:46 Shiyao Ma

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.