10.02.2013 Views

SlickEdit User Guide

SlickEdit User Guide

SlickEdit User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

OPTIONS<br />

• Backup directory option - Specifies the type of backup history to make. Select from the following:<br />

o Create backup history on save - This option just creates a backup history entry of the file<br />

when it is saved (recommended).<br />

o Global directory - This option places backup files in a single directory. The default backup<br />

directory is \vslick\backup\ (UNIX: $HOME/.vslick/backup). The backup file gets the<br />

same name as the destination file. For example, given the destination file c:\project\test.c<br />

(UNIX: /project/test.c), the backup file will be c:\vslick\backup\test.c (UNIX: $HOME/<br />

.vslick/backup/test.c). If you are using the save command to save files, use the switch<br />

+D to specify this option (see Command Line Switches). Note that for a network, you might<br />

need to create the backup directory with appropriate access rights manually before saving a<br />

file. See Backing Up Network Files.<br />

o Global nested directories - This option places backup files into a directory derived from<br />

concatenating a backup directory with the path and name of the destination file. The default<br />

backup directory is \vslick\backup\ (UNIX: $HOME/.vslick/backup). For example, given<br />

the destination file c:\project\test.c, the backup file will be<br />

c:\vslick\backup\project\test.c (UNIX: $HOME/.vslick/backup/project/test.c). If<br />

you are using the save command to save files, use the switch -D to specify this option (see<br />

Command Line Switches). Note that for a network, you might need to create the backup<br />

directory with appropriate access rights manually before saving a file. See Backing Up<br />

Network Files.<br />

o Same directory as *.BAK - This option places backup files in the same directory as the<br />

destination file but the extension is changed to .bak. This option is useful on networks. If you<br />

are using the save command to save files, use the switch +DB to specify this option (see<br />

Command Line Switches).<br />

o Use child directory - This option places backup files in a directory off the same directory as<br />

the destination file. For example, given the destination file c:\project\test.c (UNIX:<br />

/project/test.c), the backup file will be c:\project\backup\test.c (UNIX: /project/<br />

backup/test.c). This option is most convenient on networks because of file permission<br />

issues. If you are using the save command to save files, use the switch +DK to specify this<br />

option (see Command Line Switches).<br />

• Backup directory path - Specifies the path to the directory (including the drive, if you wish) in<br />

which to place backup files when Make backup files is enabled and one of the “Global” Backup<br />

directory options is selected. Sets the VSLICKBACKUP environment variable. Press Delete to<br />

clear this field, specifying the default.<br />

• Number of backups to keep for each file - Specifies the number of backups to store for each file.<br />

• Limit size of backup - When set to True, <strong>SlickEdit</strong>® limits backups to the size specified in the<br />

option Maximum size to backup.<br />

• Maximum size to backup - Specifies the maximum size, in kilobytes, for files in order to be<br />

backed up when Limit size of backup is enabled.<br />

AutoSave File Options<br />

AutoSave file options are shown below (Tools > Options > File Options > AutoSave). For more<br />

information, see Saving Files.<br />

<strong>SlickEdit</strong>® <strong>User</strong> <strong>Guide</strong> 699

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!