From owner-freebsd-questions@FreeBSD.ORG Fri Jan 1 15:48:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60861106568B for ; Fri, 1 Jan 2010 15:48:25 +0000 (UTC) (envelope-from chowse@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id EAC9D8FC1A for ; Fri, 1 Jan 2010 15:48:24 +0000 (UTC) Received: from imp10 ([10.20.200.15]) by mta11.charter.net (InterMail vM.7.09.02.04 201-2219-117-106-20090629) with ESMTP id <20100101154824.YIEJ8038.mta11.charter.net@imp10>; Fri, 1 Jan 2010 10:48:24 -0500 Received: from Moe ([24.176.96.8]) by imp10 with smtp.charter.net id QFoL1d00D0Aqir405FoNz8; Fri, 01 Jan 2010 10:48:23 -0500 X-Authority-Analysis: v=1.0 c=1 a=pGLkceISAAAA:8 a=6I5d2MoRAAAA:8 a=GZ87VIWiSpMq0s5DHaAA:9 a=2aV5k7zhLqCNhXHjrAUA:7 a=jc-p6CXjOuWYxn9x9FX-I7SZx0QA:4 a=MSl-tDqOz04A:10 From: "Charles Howse" To: "'Thomas Adam'" References: <000401ca8af5$3d7a3440$b86e9cc0$@net> <20100101152549.GA2220@debian> In-Reply-To: <20100101152549.GA2220@debian> Date: Fri, 1 Jan 2010 09:48:28 -0600 Message-ID: <000101ca8af9$de64d3c0$9b2e7b40$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcqK9rQAMszTPSdQRJSiOy5bVjUmIgAAaibA Content-Language: en-us Cc: 'FreeBSD-Questions' Subject: RE: xclip X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 15:48:25 -0000 > -----Original Message----- > From: Thomas Adam [mailto:thomas.adam22@gmail.com] > Sent: Friday, January 01, 2010 9:26 AM > To: Charles Howse > Cc: 'FreeBSD-Questions' > Subject: Re: xclip > > On Fri, Jan 01, 2010 at 09:15:21AM -0600, Charles Howse wrote: > > Hi, > > I have need for a command-line tool to copy to the clipboard in > FreeBSD 6.4. > > As in: command | xclip > > Looked at xclip and xclipboard - > > http://www.freebsd.org/cgi/ports.cgi?query=xclip&stype=all > > > > I can't tell by the dependencies if this requires the X gui. I'm > running > > command-line-only and DON'T want to install X. > > Can anyone help? Thanks! > > Yes it does require X, because it puts it in the PRIMARY_SELECTION. > > What are you trying to do? Hi Thomas, thanks for the reply. This is kinda gnarly. I'm using VMware Player on Windows 7, FreeBSD is the guest OS. I have a script that outputs some text that I would like in the clipboard that I can paste into an email in Windows Outlook. #!/bin/sh file=sig.txt f=hmmmm.txt n=`jot -r 1 1 791` echo > $file echo >> $file echo "--" >> $file echo "Thanks," >> $file echo "Charles" >> $file echo >> $file echo "Things that make you say, Hmmmmmm..." >> $file sed -n $n\p $f >> $file #"Copy $file to clipboard" #rm $file