Chapter Contents

Previous

Next
SAS Companion for UNIX Environments

Copying or Cutting and Pasting Selected Text

After you have marked text, you can copy or cut the text and paste it in another location. To copy text, select the Copy toolbox icon, issue the STORE or WCOPY command, or select

Edit
[arrow]
Copy
To cut text, select the Cut toolbox icon, issue the CUT or WCUT command, or select

Edit
[arrow]
Cut

To paste the cut or copied text, select the Paste toolbox icon, issue the PASTE or WPASTE command, or select

Edit
[arrow]
Paste
For more information on the CUT, PASTE, and STORE commands, refer to SAS Language Reference: Dictionary.

When you end a drag mark by releasing the mouse button without holding down the Alt key, the SAS System performs an end-of-mark action that might automatically generate a STORE command to save the contents of the mark into a SAS paste buffer. If the STORE command is generated automatically, you do not have to explicitly copy the text before you paste it. If you do not want SAS to automatically store the text, set the SAS.markPasteBuffer resource to disable automatic paste buffer storage. You can also disable the automatic paste buffer storage by deselecting Automatically store selection on the Editing tab in the Preferences dialog box:

Tools
[arrow]
Options
[arrow]
Preferences...

For more information, see Customizing Cut-and-Paste.


Copying and Pasting Text between SAS and Other X Clients

You can cut or copy and paste text between X clients if you associate the default SAS paste buffer with a paste buffer specific to X. For example, if you associate the default SAS paste buffer with the XTERM paste buffer, you can copy and paste text between xterm windows and SAS windows. To associate the SAS buffer with an X buffer, specify the SAS.defaultPasteBuffer resource. For example:

SAS.defaultPasteBuffer:  XTERM

For more information about using paste buffers, see Customizing Cut-and-Paste.


Using the Graphics Clipboard

In the Image Editor, GRAPH window, and Graphics Editor window, you can copy items to the Clipboard by selecting

Edit
[arrow]
Copy
SAS creates an SPM-format file with the name /tmp/SASgstore_pid.spm. pid is the process ID number.

You can paste items from the Clipboard by selecting

Edit
[arrow]
Paste
SAS attempts to read an SPM-format file with the name /tmp/SASgstore_pid.spm.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.