ConsoleUI screen options for UNIX

EGL users on the supported UNIX® platforms have the ability to run their ConsoleUI application using either a graphical display mode or a UNIX curses mode.

Graphical display mode

To run a ConsoleUI application in graphical display mode, you must make sure that the EGL curses library is not located in the Library Path environment variable of your running shell. This is the default mode.

UNIX curses mode

To run a ConsoleUI application in UNIX curses mode, you must have the appropriate platform-specific EGL curses library in the Library Path environment variable of your running shell. The EGL curses libraries must be downloaded from the EGL Support website.

To download the EGL curses library:
  1. Locate the appropriate EGL Support website.
    • The URL for Rational® Application Developer is:
      http://www3.software.ibm.com/ibmdl/pub/software/rationalsdp/rad/60/redist
    • The URL for Rational Web Developer is:
      http://www3.software.ibm.com/ibmdl/pub/software/rationalsdp/rwd/60/redist 
    .
  2. Download the EGLRuntimesV60IFix001.zip file to your preferred directory.
  3. Unzip EGLRuntimesV60IFix001.zip to identify the following files:
    • AIX®: EGLRuntimes/Aix/bin/libCursesCanvas6.so
    • Linux®: EGLRuntimes/Linux/bin/libCursesCanvas6.so
  4. Insert the appropriate EGL curses library in the Library Path environment variable.
    AIX: Set the 'LIBPATH' Library Path environment variable using the following bourne-shell:
    "LIBPATH=$INSTDIR/aix; export LIBPATH"
    Linux: Set the 'LD_LIBRARY_PATH' Library Path environment variable using the following bourne-shell:
    "LD_LIBRARY_PATH=$INSTDIR/aix; export LD_LIBRARY_PATH"

Related concepts
Console user interface

Related reference
EGL library ConsoleLib
ConsoleUI parts and related variables
openUI

Related tasks
Creating an interface with ConsoleUI

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.