emacs的运行从终端独立进程 [英] Run emacs as separate process from terminal

查看:109
本文介绍了emacs的运行从终端独立进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行的Emacs 文本编辑器的过程中没有返回,所以我不能用这显然是默认行为的终端。

When I run the emacs text editor the process does not return so I cannot use the terminal which is obviously the default behavior.

我找不到在男人的开关或命令但我知道这是一些很简单的。

I cannot find the switch or command in the man but I know it is something very simple.

我如何运行的Emacs 作为一个独立的进程,所以我可以继续使用终端,而无需打开第二个?

How can I run emacs as a separate process so I can continue to use the terminal without opening a second one?

推荐答案

您可以通过追加与号命令在后台启动任何程序,的Emacs和放大器;

You can start any program in the background by appending an ampersand to the command, emacs &.

有与后台运行的进程工作的整体框架,例如参见人的工作不认 FG BG ,并尝试按Ctrl-Z 在运行的过程中,这将暂停它,并给你的终端,让你恢复的过程中无论是在你的快乐前景或背景。通常,当你的shell关闭,所有这些计划将结束,不认允许你告诉一个程序,你结束会话后继续运行。

There's a whole framework for working with backgrounded processes, see for example man jobs, disown, fg, bg, and try Ctrl-Z on a running process, which will suspend it and give you the terminal, allowing you to resume that process either in the foreground or background at your pleasure. Normally when your shell closes, all those programs will end, disown allows you to tell a program to keep running after you end your session.

这篇关于emacs的运行从终端独立进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆