Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Newbie to DSL!< Next Oldest | Next Newest >
bigoli Offline





Group: Members
Posts: 6
Joined: April 2005
Posted: April 28 2005,15:40 QUOTE

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
Back to top
Profile PM 
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: April 28 2005,17:14 QUOTE

lets say you want to view the output of ls in scite

ls > foobar.txt && scite foobar.txt

enjoy.


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
WoofyDugfock Offline





Group: Members
Posts: 146
Joined: Sep. 2004
Posted: April 28 2005,19:15 QUOTE

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


--------------
"We don't need no stinkin' Windows"

http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 28 2005,19:19 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
WoofyDugfock Offline





Group: Members
Posts: 146
Joined: Sep. 2004
Posted: April 28 2005,19:33 QUOTE

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


--------------
"We don't need no stinkin' Windows"

http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm
Back to top
Profile PM 
4 replies since April 28 2005,15:40 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Newbie to DSL!

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code