CLIP(4) bmapDB Reference Manual CLIP(4) NAME clip - system clipboard special device SYNOPSIS < /dev/clip command [ arguments ... ] > /dev/clip DESCRIPTION The special device file /dev/clip provides standard input and output access to the host system clipboard. Because the bmapDB terminal emulates a classic CRT using a custom keyboard driver rather than a native browser text-input control, standard operating-system paste shortcuts (such as Ctrl-V, Cmd-V, or long-press context menus) cannot inject text directly into the command line. Instead, clipboard transfers are performed through standard Unix I/O redirection. Reading from the Clipboard (< /dev/clip) Entering `< /dev/clip' at the shell prompt places the terminal into a waiting state and displays a [Paste] button near the cursor. Clicking [Paste] reads the current text contents of the system clipboard, reports the byte count read, and immediately executes the text as a terminal command. If the [Paste] button is not clicked before the input timer expires, the operation times out with an error and returns to the shell prompt. Writing to the Clipboard (> /dev/clip) Redirecting output from find(1), list(1), or report(1) to `> /dev/clip' copies the formatted text output directly to the system clipboard instead of printing it to the terminal. Round-Trip Execution A command copied to the system clipboard may itself contain an output redirection to `> /dev/clip'. Executing it via `< /dev/clip' reads the query from the clipboard, runs the search, and writes the resulting records back onto the clipboard ready for pasting into an external document. EXAMPLES < /dev/clip Wait for [Paste] click and execute clipboard contents as a shell command find type=airport state=tx bbox=us > /dev/clip Execute query and copy formatted results to the clipboard list name:28 county:14 state:2 > /dev/clip Copy active terminal buffer table to the clipboard FILES /dev/clip /search/man/clip.4.txt SEE ALSO intro(1), find(1), list(1), report(1), tty(4) BUGS Browser security restrictions require an explicit user click on the [Paste] button before clipboard contents can be read; unattended input redirection is not possible. Multi-line clipboard text or shell pipelines (`|') pasted via < /dev/clip are not supported; only a single command line is executed.