From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17412 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.gnus.user Subject: Re: Why do we need a number of different terminal modes in Emacs? Date: Tue, 03 Feb 2015 20:05:43 +0100 Organization: Aioe.org NNTP Server Message-ID: <87iofilss8.fsf@debian.uxu> References: <8xxiofln3wd.fsf@village.keycorner.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1422990309 11619 80.91.229.3 (3 Feb 2015 19:05:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2015 19:05:09 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Feb 03 20:05:08 2015 Return-path: Envelope-to: gegu-info-gnus-english@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 1YIimZ-0008Qa-BJ for gegu-info-gnus-english@m.gmane.org; Tue, 03 Feb 2015 20:05:07 +0100 Original-Received: from localhost ([::1]:60957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIimY-0005ej-F8 for gegu-info-gnus-english@m.gmane.org; Tue, 03 Feb 2015 14:05:06 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 51 Original-NNTP-Posting-Host: feB02bRejf23rfBm51Mt7Q.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:3Wn2GY5E7Csc/1/jD/ILD4RY8bI= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.gnus:88541 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17412 Archived-At: Hikaru Ichijyo writes: > From what I've gathered, the primary advantage of > working with the UNIX shell from inside Emacs (in > programs like 'shell') is that unlike in a normal > terminal, you can cursor anywhere, up to output that > has already been emitted, and do regular Emacs > editor operations on command output after the fact. Yes, at least in today's world, that's the advantage: complete integration of the material inputted/outputted, the same editing keys, and the same configuration/documentation interface. In my experience, this need isn't as big with the shell as it is with for example mail. But sometimes there is an advantage to have it. Then, if you don't do it in Emacs, mostly it is about being able to cut and paste from/to Emacs/the shell. If you have that, as that isn't done that often to begin with, you can do it when you need it and that's enough. But of course the in-Emacs terminal emulators serve a purpose, and if the OP isn't happy with them, he is encouraged to improve them starting today. > They're all just there for conveniences though. If > you find yourself needing a fast, efficient terminal > that just does the job the way you expect, run rxvt > (standalone). Heresy as it might be, you don't have > to do everything in Emacs! (Uh-oh, I said it now...) In X, apart from xterm and rxvt, there is also urxvt ("u" is for Unicode, "r" for reduced, there rest should be clear). If you don't use the terminal emulators in Emacs, then you need a fast transition from Emacs to the shell. I run Emacs in the Linux VT, in /dev/tty1; in 2-6 I have tmux/zsh; and then I can switch very quick from Emacs to the shell with M-l, and back with M-j (right and left: that works in the shell ttys and even in X with xbindkeys). Here is some material on that: http://user.it.uu.se/~embe8573/conf/remap.inc http://user.it.uu.se/~embe8573/conf/.tmux.conf -- underground experts united