Man page - urxvt-selection-pastebin(1)
Packages contas this manual
- urxvt-confirm-paste(1)
- urxvt-xim-onthespot(1)
- urxvt-clickthrough(1)
- rxvt(1)
- urxvt-keysym-list(1)
- urxvt-extensions(1)
- urxvt-example-refresh-hooks(1)
- urxvt-block-graphics-to-ascii(1)
- urxvt-readline(1)
- urxvt-eval(1)
- urxvt-selection-pastebin(1)
- urxvt-tabbed(1)
- urxvt-matcher(1)
- urxvt-selection-popup(1)
- urxvtcd(1)
- urxvtperl(3)
- urxvt-option-popup(1)
- urxvt(1)
- urxvt-searchable-scrollback(1)
- urxvt-selection-to-clipboard(1)
- urxvtc(1)
- urclock(1)
- urxvtd(1)
- urxvt-overlay-osc(1)
- urxvt-font-size(1)
- urxvt-clipboard-osc(1)
- urxvt-background(1)
- urxvt-digital-clock(1)
- urxvt(7)
- urxvt-remote-clipboard(1)
- urxvt-selection(1)
- urxvt-selection-autotransform(1)
- urxvt-kuake(1)
- urxvt-bell-command(1)
- rxvt-unicode(1)
apt-get install rxvt-unicode
Manual
| urxvt-selection-pastebin(1) | RXVT-UNICODE | urxvt-selection-pastebin(1) |
NAME
selection-pastebin - automatic pastebin upload
EXAMPLES
URxvt.keysym.C-M-e: selection-pastebin:remote-pastebin
DESCRIPTION
This is a little rarely useful extension that uploads the selection as textfile to a remote site (or does other things). (The implementation is not currently secure for use in a multiuser environment as it writes to /tmp directly.).
It listens to the "selection-pastebin:remote-pastebin" action, which, when activated, runs a command with "%" replaced by the name of the textfile. This command can be set via a resource:
URxvt.selection-pastebin.cmd: rsync -apP % ruth:/var/www/www.ta-sa.org/files/txt/.
And the default is likely not useful to anybody but the few people around here :)
The name of the textfile is the hex encoded md5 sum of the selection, so the same content should lead to the same filename.
After a successful upload the selection will be replaced by the text given in the "selection-pastebin-url" resource (again, the % is the placeholder for the filename):
URxvt.selection-pastebin.url: http://www.ta-sa.org/files/txt/%
Note to xrdb users: xrdb uses the C preprocessor, which might interpret the double "/" characters as comment start. Use "\057\057" instead, which works regardless of whether xrdb is used to parse the resource file or not.
| 2024-10-15 | 9.31 |