8.1.2. Procedure – Use the additional features of Text editor plugin

  1. To simplify working with configuration files, you can insert precreated configuration file segments with the help of the Insert file button on the button bar.

    Note

    The file to be inserted must be present on the ZMC machine. If you insert more than one files, they appear concatenated in the main workspace.

  2. You can create new files with the New button on the button bar.

    If you create more than one file, they appear on different tabs in the main workspace of the Text editor plugin. This way a single plugin can host several different files.

    Note

    If you create a file with the Text Editor component, ZMC sets the permissions of the file and the directory to root:root 700, regardless of the original permissions or the umask settings of the system.

  3. You can remove configuration files with the Remove button.

    By default, the Remove button only removes the configuration file from the ZMS database. If you want to remove the file from the host as well, check the appropriate checkbox in the Remove dialog box.

    The Remove file dialog box

    Figure 8.3. The Remove file dialog box

  4. You can also place links to linkable objects of the configuration in a file, if you right-click in the main workspace of the Text editor plugin and select Link... from the local menu.

    The local menu of the Text editor plugin

    Figure 8.4. The local menu of the Text editor plugin