SNARF(3)                    (hosted)                     SNARF(3)

     NAME
          snarf - host window system clipboard

     SYNOPSIS
          bind -a #^ /dev
          bind -b #^ /chan

          /dev/snarf
          /chan/snarf

     DESCRIPTION
          Snarf serves a single file, snarf.  Reading the file returns
          the current contents of the host window system's own clip-
          board (equivalent to the Inferno window system's `snarf
          buffer').  If the file is opened for writing, subsequent
          writes append to an internal buffer; when the file is
          closed, that buffer's contents are written to the host win-
          dow system's clipboard.

          Emu(1) automatically binds the device to both /dev and /chan
          when it starts up, if a window system is configured.

     SEE ALSO
          wm(1)

     Page 1                       Plan 9            (printed 12/23/24)