Apply your Screen configuration

The following procedure describes how to apply your Screen configuration by using a command-line interface.

Screen processes the configuration file, graphics.conf, only when Screen services (screen) starts.

If your target system allows it, you can modify the configuration file and use the following procedure to apply your new configuration. Otherwise, you need to make your modifications to graphics.conf on your host, and then build it into your OS image . When your target boots with the new IFS, and screen starts, your new configuration takes effect.

Prior to starting this procedure, ensure the following:
  • Your target hardware is running the QNX Neutrino RTOS.

  • You can run a shell and commands, such as pidin.

  • You've modified graphics.conf with your desired configuration.
To apply your Screen configuration:
  1. Stop screen by using the following command:

    slay screen

  2. Verify that your screen process has stopped. Run:
    pidin -p screen

    and verify that the screen process isn't running.

  3. Optional: If you haven't already, set the LD_LIBRARY_PATH environment variable to include the directories of the shared libraries that Screen needs.
    export LD_LIBRARY_PATH=:/lib:/usr/lib:/lib/dll:/proc/boot
                        
  4. Restart screen by running screen.
  5. Verify that there were no warnings generated from your new configuration by running slog2info.

    See the "Debugging" section for more information.