Re: terminal program with copy/paste

From: Adam McKee <amckee_at_no.spam.please>
Date: Wed Sep 08 1999 - 19:12:22 CST

I'm not sure if this will help, but that never stopped me before.

A terminal generally won't do anything special to support copying/pasting.
In the case of an xterm, you can select some text with the mouse so that
it becomes the "X selection". You can then paste that text into a window
that accepts text input. For example, if you paste it into another xterm
the X server will just send those characters to the xterm as though you
had typed them. It's a similar idea with the console and gpm.

A terminal such as an xterm doesn't "know" anything about the program
running inside it -- it's merely providing a simple(?) character
interface. How the application behaves when you input a bunch of
characters is entirely up to it -- the xterm is merely showing you what
the program wants you to see, and allowing you to talk to the program.

Any decent text editor should allow you easily cut/paste text. In XEmacs,
for example, I would select text using the emacs key-bindings (usually not
with the "X selection"), then paste it wherever I want.

Let me know if I misunderstood your meaning.

Adam McKee phone: (306) 343-0881 (home)
Programmer At Large email:
"Very damaged. Zathrus can never have anything nice." - Zathrus on Babylon 5

On Wed, 8 Sep 1999, Gordon J. Holtslander wrote:

> Hi:
> I need a telnet/terminal program that supports copying and pasting.
> Mine doesn't. I usually use telnet from within a kvt window (k's xterm)
> or I use Ktelnet - which I think is just a graphical front end to
> telnet and xterm. Either I am doing something wrong or I need a
> different program.
> I manage a mailing list and frequently need to copy some text, change
> the contents of the window and paste it in.
> Is their some system utilities that allow different/better copy and
> pasting. I'm still using a two button ms mouse.
> I have gpm on my machine, I use suse6.1 and kde.
> Thanks
> Gord
> --
> Gordon J. Holtslander Dept. of Biology
> University of Saskatchewan
> 112 Science Place
> tel 306 966-4433 Saskatoon Sk.
> fax 306 966-4461 Canada
> S7N 5E2
> -
> Saskatoon Linux Group Mailing List.
> -
> To unsubscribe, send mail to
> '' with
> 'unsubscribe' in the body.

Saskatoon Linux Group Mailing List.
To unsubscribe, send mail to
'' with
'unsubscribe' in the body.
Received on Wed Sep 8 19:12:22 1999

This archive was generated by hypermail 2.1.8 : Sun Jan 09 2005 - 13:53:59 CST