[Haifux] cat-like command
Is there a command something like cat that will copy a file into the copy/paste buffer, so I can paste the contents somewhere after running the command? Also I'd like to find someone willing to give me an account on a big-endian machine. I'm willing to give that person investments in Ebenezer Enterprises in exchange. TIA. -- Brian Wood Ebenezer Enterprises http://www.webEbenezer.net ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] cat-like command
Brian Wood wrote: Is there a command something like cat that will copy a file into the copy/paste buffer, so I can paste the contents somewhere after running the command? That would need to be an X command, as the command line has no "paste buffer", on the X server. I'm not aware of such a command, but it shouldn't be too difficult to write. Also I'd like to find someone willing to give me an account on a big-endian machine. I may be able to arrange something. I have Sparc and PowerPC machines. I'll try to figure out how I can expose them to you. How long do you need the access for? What type of access do you need? Shachar -- Shachar Shemesh Lingnu Open Source Consulting Ltd. http://www.lingnu.com ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] cat-like command
On Sun, Dec 20, 2009 at 6:00 AM, Brian Wood wrote: > > Is there a command something like cat that will copy a > file into the copy/paste buffer, so I can paste the contents > somewhere after running the command? > > use xclip (http://sourceforge.net/projects/xclip/) >> cat file | xclip > Also I'd like to find someone willing to give me an account > on a big-endian machine. I'm willing to give that person > investments in Ebenezer Enterprises in exchange. > > TIA. > > -- > Brian Wood > Ebenezer Enterprises > http://www.webEbenezer.net > > > ___ > Telux mailing list > te...@hamakor.org.il > http://hamakor.org.il/cgi-bin/mailman/listinfo/telux > ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] cat-like command
xclip - command line interface to X selections -- yotam On Sun, Dec 20, 2009 at 6:00 AM, Brian Wood wrote: > > Is there a command something like cat that will copy a > file into the copy/paste buffer, so I can paste the contents > somewhere after running the command? > > Also I'd like to find someone willing to give me an account > on a big-endian machine. I'm willing to give that person > investments in Ebenezer Enterprises in exchange. > > TIA. > > -- > Brian Wood > > ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] cat-like command
On Sunday 20 Dec 2009 09:07:47 Yotam Medini יותם מדיני wrote: > xclip - command line interface to X selections > -- yotam > Yes, I know of it. I should note that I was told that it doesn't work on KDE, and when I'm running KDE, I'm using the following script: <<< #!/bin/bash # Copy standard input or a string to the KDE clipboard. if [[ $# -eq 0 ]]; then input="$(cat)" else input="$*" fi if which klipper | grep -q kde3 ; then dcop klipper klipper setClipboardContents "$input" else dbus-send --type=method_call --dest=org.kde.klipper \ /klipper org.kde.klipper.klipper.setClipboardContents \ string:"$input" fi >>> I call it "klip". Regards, Shlomi Fish > On Sun, Dec 20, 2009 at 6:00 AM, Brian Wood wrote: > > Is there a command something like cat that will copy a > > file into the copy/paste buffer, so I can paste the contents > > somewhere after running the command? > > > > Also I'd like to find someone willing to give me an account > > on a big-endian machine. I'm willing to give that person > > investments in Ebenezer Enterprises in exchange. > > > > TIA. > > > > -- > > Brian Wood > -- - Shlomi Fish http://www.shlomifish.org/ First stop for Perl beginners - http://perl-begin.org/ Bzr is slower than Subversion in combination with Sourceforge. ( By: http://dazjorz.com/ ) ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] cat-like command
On Sunday 20 Dec 2009 06:00:11 Brian Wood wrote: > Is there a command something like cat that will copy a > file into the copy/paste buffer, so I can paste the contents > somewhere after running the command? > > Also I'd like to find someone willing to give me an account > on a big-endian machine. I'm willing to give that person > investments in Ebenezer Enterprises in exchange. > Some CPAN testers are running big-endian machines: http://www.cpantesters.org/ You can also emulate one on a PC (or a different little-endian machine) using QEMU: http://www.qemu.org/about.html And finally, you may opt to buy this cheap Mipsel machine: http://en.wikipedia.org/wiki/Lemote But also see Shachar's message. Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Original Riddles - http://www.shlomifish.org/puzzles/ Bzr is slower than Subversion in combination with Sourceforge. ( By: http://dazjorz.com/ ) ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] cat-like command
On Sun, Dec 20, 2009 at 11:43:51AM +0200, Shlomi Fish wrote: > And finally, you may opt to buy this cheap Mipsel machine: > > http://en.wikipedia.org/wiki/Lemote MIPS can be either big endian or little endian. "mipsel" is little endian MIPS. arch/mips/configs/lemote2f_defconfig has: # CONFIG_CPU_BIG_ENDIAN is not set CONFIG_CPU_LITTLE_ENDIAN=y (I just got one such laptop. Looks nice, though the included software could be improved. They seem to be making an effort and I see quite a few changesets from @lemote.com addresses in 2.6.33) OTOH, you can buy a used Mac/PowerPC -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux