From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: better shells flow and integration Date: Sun, 01 Feb 2015 22:30:29 +0000 Message-ID: <87zj8xqn7e.fsf@robertthorpeconsulting.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422829857 10229 80.91.229.3 (1 Feb 2015 22:30:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2015 22:30:57 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: andrea crotti Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 01 23:30:53 2015 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 1YI32V-0000Ka-CY for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Feb 2015 23:30:47 +0100 Original-Received: from localhost ([::1]:52134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YI32U-0000hj-Lc for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Feb 2015 17:30:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YI32I-0000ha-Ld for help-gnu-emacs@gnu.org; Sun, 01 Feb 2015 17:30:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YI32F-0005IR-Fd for help-gnu-emacs@gnu.org; Sun, 01 Feb 2015 17:30:34 -0500 Original-Received: from outbound-smtp06.blacknight.com ([81.17.249.39]:39887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YI32F-0005IN-AZ for help-gnu-emacs@gnu.org; Sun, 01 Feb 2015 17:30:31 -0500 Original-Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp06.blacknight.com (Postfix) with ESMTPS id 412A69997A for ; Sun, 1 Feb 2015 22:30:30 +0000 (UTC) Original-Received: (qmail 23775 invoked from network); 1 Feb 2015 22:30:30 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.78.234.58]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 1 Feb 2015 22:30:30 -0000 In-Reply-To: (message from andrea crotti on Sun, 1 Feb 2015 19:35:03 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.39 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:102442 Archived-At: andrea crotti writes: ... > So for some things I tend to use tmux and terminator, which are cool but > are not inside Emacs sadly. > > Trying to find some ways to improve the flow: > 1. is there a way to avoid these unresponsive moments and/or limit the > number of lines in the shell (or other similar) buffer? > > 2. alternatively maybe can I integrate Emacs and tmux? > Actually as soon as I thought about this I found a few things: > http://bradylove.com/blog/2013/05/24/commanding-tmux-with-emacs/ > And a couple of packages in ELPA, so I'll try that out. You can run GNU Screen inside an Emacs term or ansi-term. I expect you can do the same with Tmux. There's a bit about doing it with Screen here http://www.emacswiki.org/emacs/GnuScreen , there are couple of gotchas and things you have to setup in Screen's rc file. This way, if you have to reboot X and/or Emacs then you can reconnect to the Screen session. I think disconnecting from the virtual terminal that's churning out all the output should fix the responsiveness of Emacs. But, when your actually viewing a lot of data I think Emacs will be slower using M-x term and Screen than using M-x shell. BR, Robert Thorpe