IBM Support

PI50749: WHEN RUNNING THE MOBILEFIRST MFP CLI, THE TERMINAL FONT COLOR AND BACKGROUND ARE NOT PRESERVED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When running the MobileFirst mfp CLI, the CLI outputs text to
    the terminal using custom colors.  When the CLI exists, it
    resets the font color to a global system default, which may not
    be the font color currently used by the terminal.
    

Local fix

  • After running the mfp CLI, manually reset the terminal's font
    and/or background color to their original settings.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * MobileFirst developers who use the mfp CLI in a terminal     *
    * window that is configured with a custom font color.          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The mfp CLI can reset the terminal font color to the system  *
    * default, ignoring any existing custom font color             *
    * configuration.                                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • After applying this fix, the mfp CLI will support a new command
    argument, the --no-color option.  When this --no-color option is
    added to any mfp CLI command, all command display output will
    use the existing terminal font color, and when the command
    exits, the existing terminal font color configuration will
    remain unchanged.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI50749

  • Reported component name

    MFPF/WORKLIGHT

  • Reported component ID

    5725I4301

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-10-16

  • Closed date

    2015-11-06

  • Last modified date

    2015-11-06

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    MFPF/WORKLIGHT

  • Fixed component ID

    5725I4301

Applicable component levels

  • R710 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021