What's System Clipboard
? Wiki
The clipboard is a software facility used for short-term data storage and/or data transfer between documents or applications, via copy and paste operations.
It is most commonly a part of a GUI environment and is usually implemented as an anonymous, temporary data buffer, sometimes called the paste buffer, that can be accessed from most or all programs within the environment via defined programming interfaces. A typical application accesses clipboard functionality by mapping user input (keybindings, menu selections, etc.) to these interfaces.
Useful for:
- Copy & Paste across programs (Browser and email✉️)
- Buffer stack of Global information for sharing across GUIs
Problems:
- Format or style issue when sharing rich text across programs
- security issue when misused (clipboard hijack)
Don't Copy-Paste from Website to Terminal
- Keybindings: Use cmd+alt+shift+v instead of cmd+v (to strip format/style)
- Use Intermediary: Text Editor for rescue (program A -> System Editor -> Program B)
- Shell Script:
pbpaste | pbcopy