Home > Archive > alt.os.linux > June 2002 > Universal Cut n Paste





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Universal Cut n Paste
Richard James

2002-06-25, 6:25 pm

Fellow Linux Users I have a vision

Forgive me if this product already exists.

A Universal Cut and Paste Library herein know as UCNP

Lets say you are working in KDE and you cut a piece of text, KDE calls the
UCNP library and gives it the cut selection. You switch to a text console
and open up mutt and a new email. You select paste and the text you cut out
of KDE appears in mutt.

This is not GPM or Klipper or whatever gnome uses it is universal across
your Linux system. Any app can access it.

There are a few implementation issues of course

Seperating eachs users cut n paste
Security of what is cut or copied
Unicode text
Pasting objects like pictures

Anyone have any thoughts about this?

Richard

--
I lost my train of thought, I think it's in a tunnel.
blah

2002-06-25, 7:25 pm

Isn't Linux's copy and pasting already universal?

Just highlight in pretty much any app. or terminal window (some you have
to highlight and press CTRL C) then use the middle button (or both left
and right with middle button emulation) to paste into any app or a
terminal window. I've tested this method between gnome apps, kde apps, and
terminal windows and it works pretty well.

In article <jovafa.gj9.ln@server.techdrive.foo>, "Richard James"
<thisemailwontwork@all.will.it> wrote:

> Fellow Linux Users I have a vision
>
> Forgive me if this product already exists.
>
> A Universal Cut and Paste Library herein know as UCNP
>
> Lets say you are working in KDE and you cut a piece of text, KDE calls
> the UCNP library and gives it the cut selection. You switch to a text
> console and open up mutt and a new email. You select paste and the text
> you cut out of KDE appears in mutt.
>
> This is not GPM or Klipper or whatever gnome uses it is universal across
> your Linux system. Any app can access it.
>
> There are a few implementation issues of course
>
> Seperating eachs users cut n paste
> Security of what is cut or copied
> Unicode text
> Pasting objects like pictures
>
> Anyone have any thoughts about this?
>
> Richard
>

Richard James

2002-06-25, 10:25 pm

blah wrote:

> Isn't Linux's copy and pasting already universal?
>
> Just highlight in pretty much any app. or terminal window (some you have
> to highlight and press CTRL C) then use the middle button (or both left
> and right with middle button emulation) to paste into any app or a
> terminal window. I've tested this method between gnome apps, kde apps, and
> terminal windows and it works pretty well.


It doesn't work on my box ???

Also why can't you cut and paste to the console?

You are probably running GPM

Richard

--
I lost my train of thought, I think it's in a tunnel.
William McBrine

2002-06-26, 11:25 am

blah <nobody@nowhere.com> wrote:
> Isn't Linux's copy and pasting already universal?


In X, yeah. He was talking about cutting from X, and pasting to a text
console (not an xterm), or vice versa.

I see no reason this couldn't be done; but then again, I see no real
reason to do it. ;-)

There is one way you can do something similar now: Use the terminal
multiplexer program known as "screen". This gives you cut and paste, of
text only, on any terminal. You can also detach a screen from one
terminal and reattach it on another. Put these together, and you can
even:

1. Copy something to the screen clipboard
2. Detach the screen
3. Move to another terminal (e.g. from an xterm to a text console) and
reattach the screen
4. Paste from the screen clipboard

Of course, in this scenario, you're still using the same _virtual_
terminal. However, in screen, you can have multiple virtual terminals in
one session, and detach and reattach them collectively at once. Then,
too, IIRC, it's even possible to have a single screen session spanning
multiple real terminals, with a different virtual terminal open on each
one; I haven't messed with that much, but it would seem to fufill the
original poster's requirements exactly.

--
William McBrine <wmcbrine@telocity.com>
William McBrine

2002-06-26, 11:25 am

Richard James <thisemailwontwork@all.will.it> wrote:
> blah wrote:


>> Isn't Linux's copy and pasting already universal?
>>
>> Just highlight in pretty much any app. or terminal window (some you have
>> to highlight and press CTRL C) then use the middle button (or both left
>> and right with middle button emulation) to paste into any app or a
>> terminal window. I've tested this method between gnome apps, kde apps, and
>> terminal windows and it works pretty well.


> It doesn't work on my box ???


Yes it does. In some apps in xterm (or equivalent), though, you have to
hold down the shift key while you do it.

--
William McBrine <wmcbrine@telocity.com>
William McBrine

2002-06-26, 11:25 am

P.S. By "some apps", I mean mouse-aware apps. By default, they take over
mouse input themselves, which disables copy-and-paste; holding down
shift overrides that.

--
William McBrine <wmcbrine@telocity.com>
Nils =?ISO-8859-1?Q?O=2E_Sel=E5sdal?=

2002-06-26, 1:25 pm

Richard James wrote:

> Fellow Linux Users I have a vision
>
> Forgive me if this product already exists.
>
> A Universal Cut and Paste Library herein know as UCNP
>
> Lets say you are working in KDE and you cut a piece of text, KDE calls the
> UCNP library and gives it the cut selection. You switch to a text console
> and open up mutt and a new email. You select paste and the text you cut
> out of KDE appears in mutt.
>
> This is not GPM or Klipper or whatever gnome uses it is universal across
> your Linux system. Any app can access it.
>
> There are a few implementation issues of course
>
> Seperating eachs users cut n paste
> Security of what is cut or copied
> Unicode text
> Pasting objects like pictures
>
> Anyone have any thoughts about this?
>
> Richard
>

As long as it implements the standards at www.freedesktop.org
--
Nils Olav Selåsdal <NOS@Utel.no>
System Developer, UtelSystems a/s
w w w . u t e l s y s t e m s . c o m

Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net