From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: emacs and screen Date: Thu, 07 Apr 2011 12:39:38 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1302176458 7766 80.91.229.12 (7 Apr 2011 11:40:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Apr 2011 11:40:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 07 13:40:54 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q7na2-0002XM-6J for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Apr 2011 13:40:54 +0200 Original-Received: from localhost ([127.0.0.1]:56113 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7nZy-00012I-LL for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Apr 2011 07:40:50 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed101.telia.com!starscream.dk.telia.net!news.netcologne.de!ramfeed1.netcologne.de!216.196.118.149.MISMATCH!border2.nntp.ams2.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!uio.no!quimby.gnus.org!richardriley.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 85.183.18.158 Original-X-Trace: quimby.gnus.org 1302174451 15556 85.183.18.158 (7 Apr 2011 11:07:31 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 7 Apr 2011 11:07:31 +0000 (UTC) User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:BgwDaAJxrBhmHs/c8HzNQr4fZMw= X-Original-Bytes: 2216 Original-Xref: usenet.stanford.edu gnu.emacs.help:186545 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80657 Archived-At: Peter Keller writes: > Hello, > > Using emacs 22.3.1 with screen version 4.00.03jw4 (FAU) 2-May-06 on a > debian squeeze box, I have run into a problem. > > When running emacs -nw, not in a screen session, C-x C- > rotates me between buffers. When running in screen, only C-x > will rotate me between buffers. Having to lift up on the > control key to use the arrows is *very* annoying when rapidly moving > between buffers. > > How can I fix this problem so under screen the C-x C- > key combination works again? I have looked into both manuals, but > emacs should see the right key use, and screen doesn't make mention > that it messes about with C-x (well, without the escape sequence > being infront if it at any rate.) > > Thank you. When going through a "minimalist" phase a year ago, I too used emacs -nw in screen and/or tmux. It's all down to termcaps and TERM setting and how emacs uses them. I can only say : impossibly complicated and oodles of hackish workarounds exists that require a lifetime of study to even begin to understand. I went back to emacs on X and haven't looked back ;) On a more serious note, I sometimes uses emacs -nw still over ssh in a screen but frequently key combos fail - most noticeably any Fn keys and arrow keys,