Terminal that doesn't embed CR in copied text - is there one?

Marius Gedminas marius at pov.lt
Sat Feb 7 01:17:33 UTC 2009


On Wed, Feb 04, 2009 at 04:10:20PM +0000, Chris G wrote:
> I often cut/copy long chunks of text from terminal windows that
> continue over multiple lines of the window.  Is there any way to
> prevent CRs being added to the pasted text?

You could process the clipboard contents, e.g.

  $ xsel | tr '\n' ' ' | xsel

> I'm sure this *used* to work "in the old days" but now I can't find
> anywhere that it seems to work.

I'm not familiar with any terminal emulator that did this, but maybe I'm
just not old enough.  ;)

> I'm currently using xfce4-terminal but I'm quite happy to change to
> another if it offers a workaround for this issue.

Marius Gedminas
-- 
"In general, it is safe and legal to kill your children and their children"
POSIX Prg Gt, by Donald Lewine, O'Reilly & Associates, 1991, p.110 (On process
termination)
        -- http://lambda.weblogs.com/discuss/msgReader$7635?mode=day
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090207/513570f2/attachment.sig>


More information about the ubuntu-users mailing list