[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)

/man/3/snarf(3) Rev:  Thu Feb 15 14:43:36 GMT 2007