Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-28 Thread Brian Boonstra
John Hasler wrote: Brian Boonstra writes: For what it's worth, my OpenStep machine at work has command line directives copy and paste, so you can do things like paste | wc or cat myfile.txt | copy A fairly simple script, if I understand you correctly. I'm not really sure.

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-28 Thread John Hasler
Brian Boonstra writes: You can copy something from (say) a word processor using the mouse selection and Alt-C. And then you can paste it as shown above. So unless a script language knows how to access the Display Postscript clipboard, I assume there would have to be some nontrivial C in

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-27 Thread Brian Boonstra
For what it's worth, my OpenStep machine at work has command line directives copy and paste, so you can do things like paste | wc or cat myfile.txt | copy - Brian

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-27 Thread John Hasler
Brian Boonstra writes: For what it's worth, my OpenStep machine at work has command line directives copy and paste, so you can do things like paste | wc or cat myfile.txt | copy A fairly simple script, if I understand you correctly. -- John HaslerThis

OFFTOPIC: How about a /dev/clipboard ?

1999-05-26 Thread Jim Foltz
Hello, There are times when I need to cut and paste the output from a command line program into a graphical program. The problem occurs when the output is more than one screen long. I just thought it would be quite nice to be able to redirect the output into /dev/clipboard, then switch to the

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-26 Thread Havoc Pennington
On Tue, 25 May 1999, Jim Foltz wrote: There are times when I need to cut and paste the output from a command line program into a graphical program. The problem occurs when the output is more than one screen long. I just thought it would be quite nice to be able to redirect the output into

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-26 Thread Jens B. Jorgensen
That's a good idea. However, rather than /dev/X all you need is an X program which would read from standard input and put whatever it gets there onto the clipboard. Now that you mention this I'm surprised someone hasn't done it. Jim Foltz wrote: Hello, There are times when I need to cut and

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-26 Thread Lazarus Long
On Wednesday, May 26, 1999 at 11:05:04 -0500, Jens B. Jorgensen wrote: Message-ID: [EMAIL PROTECTED] X-Mailer: Mozilla 4.51 [en] (WinNT; U) X-UIDL: 3a16f0cf84bd797896563dee72790984 That's a good idea. However, rather than /dev/X all you need is an X program which would read from

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-26 Thread Carl Mummert
/dev/clipboard would require kernel modifications, and is probably not what you are lookign for. What WOULD be useful would be an X11 app that has the following feature: When you run this app from the command line, and send text to its standard input, the app places that text in the X

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-26 Thread David Wright
Apologies for reordering this posting, but I deleted the original. Quoting Lazarus Long ([EMAIL PROTECTED]): Jim Foltz wrote: Hello, There are times when I need to cut and paste the output from a command line program into a graphical program. The problem occurs when the output

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-26 Thread Carl Mummert
Assuming that you can get the output of your program into a file (via script or some other method), then you could use a native X editor to open the file, copy all the text, and paste it somewhere. I am surprised I didn't think of this earlier, but I don't use X much. Carl

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-26 Thread scratch
On Wed, 26 May 1999, Carl Mummert wrote: /dev/clipboard would require kernel modifications, and is probably not what you are lookign for. I don't see why it would? What WOULD be useful would be an X11 app that has the following feature: When you run this app from the command line, and

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-26 Thread Carl Mummert
/dev/clipboard would require kernel modifications, and is probably not what you are lookign for. I don't see why it would? Everything in /dev is run by the kernel; when you write or read a file in /dev, the kernel calls the appropriate driver functions to deal with it. Thus /dev/ttyS*

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-26 Thread shaleh
/dev/clipboard would require kernel modifications, and is probably not what you are lookign for. I don't see why it would? Everything in /dev is run by the kernel; when you write or read a file in /dev, the kernel calls the appropriate driver functions to deal with it. Thus

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-26 Thread Joey Hess
Lazarus Long wrote: Wouldn't that require he be *in* X11 with his command line app at the time? Um, why would he need to be? So long as DISPLAY is set properly, the app won't care where he is. -- see shy jo

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-26 Thread Joey Hess
Jens B. Jorgensen wrote: That's a good idea. However, rather than /dev/X all you need is an X program which would read from standard input and put whatever it gets there onto the clipboard. Now that you mention this I'm surprised someone hasn't done it. I'm now filing a bug report against

Re: OFFTOPIC: How about a /dev/clipboard ?

1999-05-26 Thread John C. Ellingboe
I notice that dselect has offix-clipboard and there used to be a xclipboard, but dselect doesent find it in stablr now. I haven't used either one so I can't comment on how well they work. John C. Ellingboe www.guntersville.netbegin: vcard fn: John C. Ellingboe - KE4BPW