[ale] HOW2 copy text from an Xwindow that is longer than a screenfull ?

James P. Kinney III jkinney at localnetsolutions.com
Fri Apr 29 09:30:54 EDT 2005


On Fri, 2005-04-29 at 09:19 -0500, Courtney Thomas wrote:
> I need to be able to copy a program's xterm screen output to another
> program. That output is a lot longer than one screen full.
> 
> I am using a vt100 terminal emulation xterm which permits selecting and
> copying such output but said output is many screenfulls.
> 
> For reasons I am neglecting, I need to not simply redirect this output
> to a file and send the file.
> 
> I need to be able to redirect the output to a file, cat the file, and
> THEN select&copy the cat-ed file's output...to another program screen.
> 
> Anyone know how to accomplish this ?

use an editor like vi or emacs on the first file to strip out the
unwanted lines then cat the resulting file into the second program.

program1 > file1; vi file1; cat file1| program2
> 
> Thank you,
> 
> Courtney
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list