Newbie to DSL!


Forum: Other Help Topics
Topic: Newbie to DSL!
started by: bigoli

Posted by bigoli on April 28 2005,15:40
How do I copy output in the XTerminal into something like Scite, Writer, or Sylpheed?

I'll be asking a lot of questions during the next few weeks!

Thanks.

bigoli

Posted by SaidinUnleashed on April 28 2005,17:14
lets say you want to view the output of ls in scite

ls > foobar.txt && scite foobar.txt

enjoy.

Posted by WoofyDugfock on April 28 2005,19:15
Also: for applications that write some or all of their messages to stderror in addition to/instead of stdout, I find it useful to do the above except put an ampersand & in front of the redirect ie

application &>foobar.txt

to send all the output to file instead of the screen.

If you want to see the stuff on screen as well, use a pipe to tee:

application | tee foobar.txt

Posted by mikshaw on April 28 2005,19:19
Another solution:
Select the text in the term window, move the mouse cursor to the place you want to paste, and press middle mouse.

This doesn't work for all x applications.

Posted by WoofyDugfock on April 28 2005,19:33
Also, if what you want is to capture all the stuff in a terminal/shell session to a file, there's the `script` command -
see < here >

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.