From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonathan Groll Newsgroups: gmane.emacs.help Subject: Re: Copy Paste in no-x11 mode (emacs -nw) Date: Fri, 26 Sep 2008 17:00:13 +0200 Message-ID: <20080926150013.GD4829@groll.co.za> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: ger.gmane.org 1222441280 30273 80.91.229.12 (26 Sep 2008 15:01:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2008 15:01:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Simeon Nifos Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 26 17:02:18 2008 connect(): Connection refused 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.50) id 1KjEpF-0008K6-0N for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Sep 2008 17:01:45 +0200 Original-Received: from localhost ([127.0.0.1]:40376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjEoC-0006zu-Jq for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Sep 2008 11:00:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjEnp-0006zC-08 for help-gnu-emacs@gnu.org; Fri, 26 Sep 2008 11:00:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjEnn-0006ye-HG for help-gnu-emacs@gnu.org; Fri, 26 Sep 2008 11:00:16 -0400 Original-Received: from [199.232.76.173] (port=59602 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjEnn-0006yZ-Bo for help-gnu-emacs@gnu.org; Fri, 26 Sep 2008 11:00:15 -0400 Original-Received: from mail.groll.co.za ([67.18.176.185]:41335) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KjEnm-0000m8-N5 for help-gnu-emacs@gnu.org; Fri, 26 Sep 2008 11:00:14 -0400 Original-Received: by mail.groll.co.za (Postfix, from userid 1004) id 9D8CB258E2; Fri, 26 Sep 2008 17:00:13 +0200 (SAST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (Linux mail 2.6.18.8-linode10 i686) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:58114 Archived-At: On Fri, Sep 26, 2008 at 03:26:19PM +0300, Simeon Nifos wrote: (snip) >I highlight text with the mouse and then press the middle mouse button >in vim where I want to paste it and it does it without destroying the >format. I had to do some searching for corresponding configuration >of the VIM .vimrc, and also use VIM compiled with clipboard enabled. Not sure what you mean by destroying format, but I can paste into emacs -nw with no problems by using a middle-click (kubuntu 8.04, still KDE 3.5, also in emacs -nw under an OS X terminal.app shell). (snip) >Moreover, could you please tell us how to move the border up or down, >left or right separating the 2 windows the original window is splitted >to when one presses C-x 2, or C-x 3? In regular emacs, assuming you have done C-x 2, and the scrollbar is on the left hand side; hover the mouse over the scrollbar area at the junction between the two windows and you will see the icon change to the resize icon. (snip) >Thank you for the long reply, but neither of those C-p or C-a works for me. It needs to be configured for C-p, otherwise C-a will be the default gnu-screen escape sequence. For instance, if you are in a screen session, pressing C-a c will create a new screen window. I recommend you set it to another escape sequence as emacs users tend to need C-a. (snip) >I would like to do the Shift-Insert thing with the mouse. The usual way, >highlight text and press middle mouse button for the paste. Any ideas? Not sure what the problem is for you here - middle click should work, even in emacs -nw running in your xterms/eterms. Can you try it in an alternative window manager perhaps? Another thing that I do find useful is a clipboard manager if you do end up doing a lot of middle-click pastes; parcellite should run under enlightenment. But heck, that may be a little too newfangled for most of us emacs folk. Cheers, Jonathan