From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: Bind right shift and TAB won't work Date: Mon, 13 May 2013 12:09:17 -0600 Message-ID: <20130513180917.GA573@hysteria.proulx.com> References: <87k3n5dw7z.fsf@VLAN-3434.student.uu.se> <87ehdcwntm.fsf@VLAN-3434.student.uu.se> <87y5bjykhh.fsf@VLAN-3434.student.uu.se> <87ip2mj1s8.fsf@VLAN-3434.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1368468575 15172 80.91.229.3 (13 May 2013 18:09:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 May 2013 18:09:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 13 20:09:34 2013 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 1UbxBl-0000Sj-Ba for geh-help-gnu-emacs@m.gmane.org; Mon, 13 May 2013 20:09:33 +0200 Original-Received: from localhost ([::1]:57711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbxBk-0005OV-TA for geh-help-gnu-emacs@m.gmane.org; Mon, 13 May 2013 14:09:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbxBa-0005OK-EP for help-gnu-emacs@gnu.org; Mon, 13 May 2013 14:09:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbxBY-0000wF-Tp for help-gnu-emacs@gnu.org; Mon, 13 May 2013 14:09:22 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:41392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbxBY-0000vU-Ic for help-gnu-emacs@gnu.org; Mon, 13 May 2013 14:09:20 -0400 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 377AE211E6 for ; Mon, 13 May 2013 12:09:18 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id D30D72DC82; Mon, 13 May 2013 12:09:17 -0600 (MDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87ip2mj1s8.fsf@VLAN-3434.student.uu.se> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 216.17.153.58 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:90709 Archived-At: Emanuel Berg wrote: > ... *but*, I actually do have an X server running. And, this is > sometimes useful even for CLI-only purposes. For example, I use the > X clipboard to copy and paste from one tty into another. As it shows > on `where xo' (and `xi') > in zsh: > > xo: aliased to xclip -d ":0" -selection clipboard -o > xi: aliased to xclip -d ":0" -selection clipboard > > Perhaps there is a better way to do this (with screen?), but just to > illustrate how X can be useful even when you are not "using" it. I > thought it was kind of cute, anyway. That is a clever hack. :-) However by the time you are doing that you could also simply store the cut and paste text in a file too. Since you aren't using X otherwise. It would be no different then. Right? Just save the text to a file and then copy from it. alias xo='cat ~/.clipboard' alias xi='cat > ~/.clipboard' Although I would probably write them as shell scripts so that I could call them from anywhere. (BTW... I am still impressed by the clever hack to use the X server when otherwise not using it. [smile]) Bob