[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Wednesday, May 26, 1999 at 11:05:04 -0500, Jens B. Jorgensen wrote:
 > Message-ID: <[🔎] 374C1BB0.30C3144A@bdsinc.com>
 > 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 standard input and put whatever it gets there onto the clipboard. Now
 > that you mention this I'm surprised someone hasn't done it.

Wouldn't that require he be *in* X11 with his command line app at
the time?

I can think of many reasons why he couldn't be, such as with another
account in a different tty.  (Screen is notorious for not allowing you to
attach to an already-running session in an xterm if started by a different
account.)  Many of us use different accounts to "compartmentalize" tasks,
such as for various clients/customers.

The ability to paste an error message from one session into another in
order to get help is useful, but so far, gpm will only allow it with
other console sessions, AFAICT.

Is there a means to go about this when "switch to the graphical program"
(below) means "switch from the tty running the command line app into
X11 and the graphical program already running there"?

How about vice-versa?

This, btw, is yet-another-reason some ppl avoid X apps whenever possible;
they're too incompatible with standard command line apps at times.
If that changed, there might be less resistance to GUIs in general.
(Well, maybe! :) )

 > 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
 > > 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
 > > graphical program and use the mouse to paste it from /dev/clipboard to
 > > where I need it.
 > >
 > > Is there a mechanism already in place to handle this?

-- 

PGP Public Key available on request:
Type Bits/KeyID    Date       User ID
pub  1024/CFED2D11 1998/03/05 Lazarus Long <lazarus@frontiernet.net>
            Key fingerprint = 98 2A 56 34 16 76 D5 21  39 93 99 EA 89 D4 B5 A2


Reply to: