![]() as soon as you select data in another application), or if your X session finishes. The background process terminates once it is no longer the selection owner (i.e. Therefore, xcopy in write mode forks off a background process which does this. The X selection model requires the selection-owning client to remain connected to the server and hand out its data on request. So you can pipe data into xcopy, move to another application, and press Paste. In write mode (just xcopy, if -r is not specified), it will read data from standard input, then connect to your X server and place that data in the selection as plain text. You would then typically redirect its output into a file, or pipe it into some other program. In read mode ( xcopy -r), it connects to your X server, retrieves the contents of the selection as plain text, and writes it on standard output. ![]() Xcopy is a command-line utility for manipulating the X selection. Xcopy – read and write text to/from an X selection from the command line ![]() Man page for xcopy Man page for xcopy NAME ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |