[manual index][section index]

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 clipboard (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 window 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)

snarf(3) Rev:  Tue Mar 31 02:42:38 GMT 2015