Cut Ctrl-X X looks like Scissors Removes the current selection from the
document or file being edited and
places it on the clipboard.
Paste Ctrl-V V looks like an arrow
(indicating paste location)
Places the current clipboard data into
the document or file being edited. If
there is a current selection, the selection
is overwritten with the clipboard
data.
5.5
5.5 Using the Clipboard 89
So where is the actual clipboard? There isn??™t one!
Data is kept by the client that performed the cut or copy operation, and the clipboard
contents and available formats are advertised to other clients through the X
server. For example, the Firefox web browser may advertise that clipboard data is
available in both text/plain and text/html formats.
When a program is ready to receive clipboard data, usually in response to a paste
operation invoked by the user, it requests it from the other client through the X
server. The data is formatted into the requested data type and then sent to the
requesting client.
If you??™re pasting from Firefox into OpenOffice, for example, text attributes such as
bold, italic, and color can be determined from the HTML markup and preserved; but
if you??™re pasting into the programmer??™s editor Nedit, the text/plain format is used
instead, and the HTML tags are not included in the pasted text.
Pages:
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163