Next: Registers, Previous: Copy, Up: Copy and Paste
(C-a ], C-a C-])
Write the (concatenated) contents of the specified registers to the stdin stream of the current window. The register ‘.’ is treated as the paste buffer. If no parameter is specified the user is prompted to enter a single register. The paste buffer can be filled with thecopy
,history
andreadbuf
commands. Other registers can be filled with theregister
,readreg
andpaste
commands. Ifpaste
is called with a second argument, the contents of the specified registers is pasted into the named destination register rather than the window. If ‘.’ is used as the second argument, the display's paste buffer is the destination. Note, thatpaste
uses a wide variety of resources: Usually both, a current window and a current display are required. But whenever a second argument is specified no current window is needed. When the source specification only contains registers (not the paste buffer) then there need not be a current display (terminal attached), as the registers are a global resource. The paste buffer exists once for every user.
(none)
Stuff the string string in the input buffer of the current window. This is like thepaste
command, but with much less overhead. You cannot paste large buffers with thestuff
command. It is most useful for key bindings. See Bindkey.
Tell screen to include font information in the paste buffer. The default is not to do so. This command is especially useful for multi character fonts like kanji.
(none)
Define the speed text is inserted in the current window by thepaste
command. If the slowpaste value is nonzero text is written character by character.screen
will pause for msec milliseconds after each write to allow the application to process the input. only useslowpaste
if your underlying system exposes flow control problems while pasting large amounts of text.defslowpaste
specifies the default for new windows.
(none)
Does one of two things, dependent on number of arguments: with zero or one arguments it it duplicates the paste buffer contents into the register specified or entered at the prompt. With two arguments it reads the contents of the named file into the register, just asreadbuf
reads the screen-exchange file into the paste buffer. You can tell screen the encoding of the file via the-e
option. The following example will paste the system's password file into the screen window (using register p, where a copy remains):C-a : readreg p /etc/passwd C-a : paste p