RE: xclip

2010-01-02 Thread Charles Howse
> -Original Message-
> From: Richard Mahlerwein [mailto:mahle...@yahoo.com]
> Sent: Friday, January 01, 2010 10:01 AM
> To: Charles Howse
> Cc: freebsd-questions@freebsd.org
> Subject: Re: xclip
> 
> >- Original Message 
> 
> >From: Thomas Adam 
> >To: Charles Howse 
> >Cc: Thomas Adam ; FreeBSD-Questions  questi...@freebsd.org>
> >Sent: Fri, January 1, 2010 10:51:25 AM
> >Subject: Re: xclip
> >
> >On Fri, Jan 01, 2010 at 09:48:28AM -0600, Charles Howse wrote:
> >
> >> 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.
> >
> >Ah right.  You'll find that won't work at all.
> >
> >-- Thomas Adam
> 
> With VMware Workstation, I do something similar by launching the VM but
> ignoring the console of it.  Use PuTTY to connect to the virtual
> machine via its IP address.  From PuTTY, anything on screen is
> trivially copied to the host's windows clipboard by selecting it with
> your mouse.
> 
> How may that work for you?

I actually got it done by using PuTTY to connect to my FreeBSD server, run
the scripts in Bash there, and copy the output to the clipboard.  13 lines
per script, vs. **HUNDREDS OF LINES** in vbs or vba!!  :-))
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: xclip

2010-01-02 Thread Charles Howse
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Chad Perrin
> Sent: Friday, January 01, 2010 12:04 PM
> To: 'FreeBSD-Questions'
> Subject: Re: xclip
> 
> On Fri, Jan 01, 2010 at 09:48:28AM -0600, Charles Howse wrote:
> >
> > 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.
> 
> As far as I'm aware, there is no tool that uses the clipboard in any OS
> that will allow that clipboard to be used outside of that OS.  This
> appears to be what you want to do.  If you want to be able to copy
> something from a guest OS to the host OS clipboard, I think you will
> need
> to investigate features/tools for the VM software or the host OS
> instead,
> or employ a clever work-around such as using an SSH client on the host
> OS
> to "talk to" the guest OS, and copy from the SSH client to wherever
> else
> you need the data in your host OS.

I guess I will abandon this and try to do it in Windows.
It's just that scripting in Unix is **SO** much easier than vbs in Windows!
:-((

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: xclip

2010-01-01 Thread Chad Perrin
On Fri, Jan 01, 2010 at 09:48:28AM -0600, Charles Howse wrote:
> 
> 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.

As far as I'm aware, there is no tool that uses the clipboard in any OS
that will allow that clipboard to be used outside of that OS.  This
appears to be what you want to do.  If you want to be able to copy
something from a guest OS to the host OS clipboard, I think you will need
to investigate features/tools for the VM software or the host OS instead,
or employ a clever work-around such as using an SSH client on the host OS
to "talk to" the guest OS, and copy from the SSH client to wherever else
you need the data in your host OS.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpsw8o2cJ10T.pgp
Description: PGP signature


Re: xclip

2010-01-01 Thread Richard Mahlerwein
>- Original Message 

>From: Thomas Adam 
>To: Charles Howse 
>Cc: Thomas Adam ; FreeBSD-Questions 
>
>Sent: Fri, January 1, 2010 10:51:25 AM
>Subject: Re: xclip
>
>On Fri, Jan 01, 2010 at 09:48:28AM -0600, Charles Howse wrote:
>
>> 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.
>
>Ah right.  You'll find that won't work at all.
>
>-- Thomas Adam

With VMware Workstation, I do something similar by launching the VM but 
ignoring the console of it.  Use PuTTY to connect to the virtual machine via 
its IP address.  From PuTTY, anything on screen is trivially copied to the 
host's windows clipboard by selecting it with your mouse.

How may that work for you?



  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: xclip

2010-01-01 Thread Peter Ulrich Kruppa

On Fri, 1 Jan 2010, 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!
If the stuff you want to copy usually isn't longer then your 
text-terminal you could simply enable "moused" in 
/stand/sysinstall: You can mark the text holding your left mouse 
button and paste it clicking on the middle - even in a second 
text-terminal (with [ALT] + [Fn]). Would that do the trick?


Greetings

Uli.




--
Later,
Charles


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"




| Peter Ulrich Kruppa
| Wuppertal
| Germany
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: xclip

2010-01-01 Thread 'Thomas Adam'
On Fri, Jan 01, 2010 at 09:48:28AM -0600, Charles Howse wrote:

> 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.

Ah right.  You'll find that won't work at all.

-- Thomas Adam

-- 
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: xclip

2010-01-01 Thread Sabine Baer
On Fri, Jan 01, 2010 at 09:15:21AM -0600, Charles Howse wrote:
> Hi,

Hi and a Happy New Year,

> 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!

I don't know xclip and I'm not shure to understand what you want, but
I'm normally sitting at an Text-Terminal, so there's CLI only too.

I use screen, where I can copy with '[Ctrl-a] [' and paste with
'[Ctrl-a] ]', from 'window' to 'window' or in the same 'window' as
well.

I's a fine tool, but perhaps not what you want?

Sabine
-- 
Man wird hier zunehmend bizarrer.(Christian Schulz in dang)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: xclip

2010-01-01 Thread Charles Howse


> -Original Message-
> From: Thomas Adam [mailto:thomas.ada...@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=h.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, Hmm..." >> $file
sed -n $n\p $f >> $file
#"Copy $file to clipboard"
#rm $file



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: xclip

2010-01-01 Thread Charles Howse
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Charles Howse
> Sent: Friday, January 01, 2010 9:15 AM
> To: 'FreeBSD-Questions'
> Subject: xclip
> 
> 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!
> 
> --
> Later,
> Charles

Sorry to reply to my own post, but I remembered to look in
ports/X11/xclip/pkg-descr and found that xclip and possible xclipboard
require X11.  
Sorry for not doing that before I posted.
So, is there a non-X11 port that will let me do what I need to do?  Does
Midnight Commander have a clipboard?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: xclip

2010-01-01 Thread Thomas Adam
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?

-- Thomas Adam

-- 
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"