From owner-freebsd-questions Sun Jul 14 10:39:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E1F837B400 for ; Sun, 14 Jul 2002 10:39:09 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6CEA43E67 for ; Sun, 14 Jul 2002 10:39:08 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g6EHd73n024324; Sun, 14 Jul 2002 12:39:07 -0500 (CDT) (envelope-from dan) Date: Sun, 14 Jul 2002 12:39:07 -0500 From: Dan Nelson To: Adam Weinberger Cc: Jud , freebsd-questions@FreeBSD.ORG, Warren Block Subject: Re: Mouse copy from console to X? Message-ID: <20020714173907.GA63064@dan.emsphone.com> References: <73GY07GB5482PLZXECD94ZNHKJYT4Y.3d308d8d@sparky> <20020714005513.GC83258@vectors.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020714005513.GC83258@vectors.cx> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jul 13), Adam Weinberger said: > ctrl-C is a windows copy command. in the unix world, it's often an > abort stroke. Which is why I always use CRTL-INS to copy, and SHIFT-INS to paste. Those are the keys MS started using in edit.com, and they still work in all Windows apps. I don't know why Windows later decided to steal the "break" and "literal" control keys. > the console clipboard and the X clipboard are indeed 2 different > things. when i start X, i redirect stderr to stdout, and tee it to a > logfile. your best bet is to dump the console contents you want into > a file, and then read that file in X. I do it by starting a screen session in the console and starting up a text editor. I then open an xterm and attach to the same screen session (screen -x sessionnumber), and use that to transfer text back and forth. It might be a good Juniour Hacker Project to add clipboard reading/writing ioctls to syscons, and write a small daemon to monitor it and the X clipboard and shuffle data from one to the other. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message