Using SoftBench Editors

Configuring an Editor

Configuring an Editor

Select your editor by choosing "Options:

Tool Preferences…." Once your editor preference is set, actions which invoke an editor use the configured SoftBench editor. Refer to SoftBench Online Help for detailed information on each editor.

SoftBench XEmacs is the default editor. If you are a new SoftBench XEmacs user, SoftBench automatically sets up a default XEmacs configuration for you. If you are already using GNU XEmacs and you want to maintain your user options, SoftBench automatically loads the preferences specified in your $HOME/.xemacs file. You may discover some preference differences you want to change by editing the $HOME/.softxemacs-optionsfile.

Configuring SoftBench vi Editor

To change your default editor to SoftBench vi:

1.From the SoftBench main window, choose "Options: Tool Preferences…."

2.From the "Tool Preferences" dialog, choose "Editor". The available editors are displayed.

3.Select "Softvi" from the scrollbar list, then select OK.

Configuring SoftBench Program Editor

SoftBench Program Editor is only available for backward compatibility and will not be available in future releases. It has not been enhanced to work with the SoftBench project model. Files that you save are not automatically added to your project. SoftBench Program Editor is not preconfigured and requires special steps to activate it:

1.With root permissions, edit the file

/opt/softbench/config/toolbar/prefsConfig.

2.Search the file for the line containing:

${SOFTBENCH:-/opt/softbench}/contrib/bin/softeditsrv -scope net

3. Remove the "#" symbol from the front of the line.

Chapter 4

119