## Standard output to clipboard With **KiTTY**, it is possible to send standard output directly to Windows Clipboard. First, it is necessary to configure a *fake* printer into **Terminal** panel of the configuration box: ![stdouttoclipboard](../img/StdoutToClipboard.png "Send standard output to clipboard") Then start the session and create this build-in shell function: ```bash # Function to send standard output to Windows clipboard function wcl { echo -ne '\e''[5i' cat $* echo -ne '\e''[4i' echo "Copied to Windows clipboard" 1>&2 } ``` And use is with pipe: ```bash $ ls -lart | wcl Copied to Windows clipboard ```