Log in or Sign up
Coin Talk
Home
Forums
>
Coin Forums
>
Ancient Coins
>
4th Century Roman coin
>
Reply to Thread
Message:
<p>[QUOTE="mrbrklyn, post: 1423949, member: 4381"]or from the command line</p><p><br /></p><p>XCLIP(1x) XCLIP(1x)</p><p><br /></p><p><br /></p><p><br /></p><p>NAME</p><p> xclip - command line interface to X selections (clipboard)</p><p><br /></p><p>SYNOPSIS</p><p> xclip [OPTION] [FILE]...</p><p><br /></p><p>DESCRIPTION</p><p> Reads from standard in, or from one or more files, and makes the data</p><p> available as an X selection for pasting into X applications. Prints</p><p> current X selection to standard out.</p><p><br /></p><p> -i, -in</p><p> read text into X selection from standard input or files</p><p> (default)</p><p><br /></p><p> -o, -out</p><p> prints the selection to standard out (generally for piping to a</p><p> file or program)</p><p><br /></p><p> -f, -filter</p><p> when xclip is invoked in the in mode with output level set to</p><p> silent (the defaults), the filter option will cause xclip to</p><p> print the text piped to standard in back to standard out unmodi-</p><p> fied</p><p><br /></p><p> -l, -loops</p><p> number of X selection requests (pastes into X applications) to</p><p> wait for before exiting, with a value of 0 (default) causing</p><p> xclip to wait for an unlimited number of requests until another</p><p> application (possibly another invocation of xclip) takes owner-</p><p> ship of the selection</p><p><br /></p><p> -d, -display</p><p> X display to use (e.g. "localhost:0"), xclip defaults to the</p><p> value in $DISPLAY if this option is omitted</p><p><br /></p><p> -h, -help</p><p> show quick summary of options</p><p><br /></p><p> -selection</p><p> specify which X selection to use, options are "primary" to use</p><p> XA_PRIMARY (default), "secondary" for XA_SECONDARY or "clip-</p><p> board" for XA_CLIPBOARD</p><p><br /></p><p> -version</p><p> show version information</p><p><br /></p><p> -silent</p><p> forks into the background to wait for requests, no informational</p><p> output, errors only (default)</p><p><br /></p><p> -quiet show informational messages on the terminal and run in the fore-</p><p> ground</p><p><br /></p><p> -verbose</p><p> provide a running commentary of what xclip is doing</p><p><br /></p><p><br /></p><p> xclip reads text from standard in or files and makes it available to</p><p> other X applications for pasting as an X selection (traditionally with</p><p> the middle mouse button). It reads from all files specified, or from</p><p> standard in if no files are specified. xclip can also print the con-</p><p> tents of a selection to standard out with the -o option.</p><p><br /></p><p> xclip was designed to allow tighter integration of X applications and</p><p> command line programs. The default action is to silently wait in the</p><p> background for X selection requests (pastes) until another X applica-</p><p> tion places data in the clipboard, at which point xclip exits silently.</p><p> You can use the -verbose option to see if and when xclip actually</p><p> receives selection requests from other X applications.</p><p><br /></p><p> Options can be abbreviated as long as they remain unambiguous. For</p><p> example, it is possible to use -d or -disp instead of -display. How-</p><p> ever, -v couldn't be used because it is ambiguous (it could be short</p><p> for -verbose or -version), so it would be interpreted as a filename.</p><p><br /></p><p> Note that only the first character of the selection specified with the</p><p> -selection option is important. This means that "p", "sec" and "clip"</p><p> would have the same effect as using "primary", "secondary" or "clip-</p><p> board" respectively.</p><p><br /></p><p><br /></p><p>EXAMPLES</p><p> I hate man pages without examples!</p><p><br /></p><p> uptime | xclip</p><p><br /></p><p> Put your uptime in the X selection. Then middle click in an X applica-</p><p> tion to paste.</p><p><br /></p><p> xclip -loops 10 -verbose /etc/motd</p><p><br /></p><p> Exit after /etc/motd (message of the day) has been pasted 10 times.</p><p> Show how many selection requests (pastes) have been processed.</p><p><br /></p><p> xclip -o > helloworld.c</p><p><br /></p><p> Put the contents of the selection into a file.</p><p><br /></p><p><br /></p><p>ENVIRONMENT</p><p> DISPLAY</p><p> X display to use if none is specified with the -display option.</p><p><br /></p><p><br /></p><p>REPORTING BUGS</p><p> Please report any bugs, problems, queries, experiences, etc. directly</p><p> to the author.</p><p><br /></p><p><br /></p><p>AUTHORS</p><p> Kim Saunders <kims@debian.org> Peter Åstrand <astrand@lysator.liu.se></p><p><br /></p><p><br /></p><p><br /></p><p> XCLIP(1x)[/QUOTE]</p><p><br /></p>
[QUOTE="mrbrklyn, post: 1423949, member: 4381"]or from the command line XCLIP(1x) XCLIP(1x) NAME xclip - command line interface to X selections (clipboard) SYNOPSIS xclip [OPTION] [FILE]... DESCRIPTION Reads from standard in, or from one or more files, and makes the data available as an X selection for pasting into X applications. Prints current X selection to standard out. -i, -in read text into X selection from standard input or files (default) -o, -out prints the selection to standard out (generally for piping to a file or program) -f, -filter when xclip is invoked in the in mode with output level set to silent (the defaults), the filter option will cause xclip to print the text piped to standard in back to standard out unmodi- fied -l, -loops number of X selection requests (pastes into X applications) to wait for before exiting, with a value of 0 (default) causing xclip to wait for an unlimited number of requests until another application (possibly another invocation of xclip) takes owner- ship of the selection -d, -display X display to use (e.g. "localhost:0"), xclip defaults to the value in $DISPLAY if this option is omitted -h, -help show quick summary of options -selection specify which X selection to use, options are "primary" to use XA_PRIMARY (default), "secondary" for XA_SECONDARY or "clip- board" for XA_CLIPBOARD -version show version information -silent forks into the background to wait for requests, no informational output, errors only (default) -quiet show informational messages on the terminal and run in the fore- ground -verbose provide a running commentary of what xclip is doing xclip reads text from standard in or files and makes it available to other X applications for pasting as an X selection (traditionally with the middle mouse button). It reads from all files specified, or from standard in if no files are specified. xclip can also print the con- tents of a selection to standard out with the -o option. xclip was designed to allow tighter integration of X applications and command line programs. The default action is to silently wait in the background for X selection requests (pastes) until another X applica- tion places data in the clipboard, at which point xclip exits silently. You can use the -verbose option to see if and when xclip actually receives selection requests from other X applications. Options can be abbreviated as long as they remain unambiguous. For example, it is possible to use -d or -disp instead of -display. How- ever, -v couldn't be used because it is ambiguous (it could be short for -verbose or -version), so it would be interpreted as a filename. Note that only the first character of the selection specified with the -selection option is important. This means that "p", "sec" and "clip" would have the same effect as using "primary", "secondary" or "clip- board" respectively. EXAMPLES I hate man pages without examples! uptime | xclip Put your uptime in the X selection. Then middle click in an X applica- tion to paste. xclip -loops 10 -verbose /etc/motd Exit after /etc/motd (message of the day) has been pasted 10 times. Show how many selection requests (pastes) have been processed. xclip -o > helloworld.c Put the contents of the selection into a file. ENVIRONMENT DISPLAY X display to use if none is specified with the -display option. REPORTING BUGS Please report any bugs, problems, queries, experiences, etc. directly to the author. AUTHORS Kim Saunders <kims@debian.org> Peter Åstrand <astrand@lysator.liu.se> XCLIP(1x)[/QUOTE]
Your name or email address:
Do you already have an account?
No, create an account now.
Yes, my password is:
Forgot your password?
Stay logged in
Coin Talk
Home
Forums
>
Coin Forums
>
Ancient Coins
>
4th Century Roman coin
>
Home
Home
Quick Links
Search Forums
Recent Activity
Recent Posts
Forums
Forums
Quick Links
Search Forums
Recent Posts
Competitions
Competitions
Quick Links
Competition Index
Rules, Terms & Conditions
Gallery
Gallery
Quick Links
Search Media
New Media
Showcase
Showcase
Quick Links
Search Items
Most Active Members
New Items
Directory
Directory
Quick Links
Directory Home
New Listings
Members
Members
Quick Links
Notable Members
Current Visitors
Recent Activity
New Profile Posts
Sponsors
Menu
Search
Search titles only
Posted by Member:
Separate names with a comma.
Newer Than:
Search this thread only
Search this forum only
Display results as threads
Useful Searches
Recent Posts
More...