Consultor Eletrônico



Kbase P147176: How to disable the splash screen when starting a Character application using mpro or pro script?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/1/2009
Status: Unverified

GOAL:

How to disable the splash screen when starting a Character application using mpro or pro script?

GOAL:

How to eliminate the splash screen when starting a Character application using mpro or pro script?

GOAL:

How to remove the banner when mpro or pro script starts?

FACT(s) (Environment):

UNIX
Progress 9.x
OpenEdge 10.x

FIX:

The mpro script on UNIX has following line to decide whether banner will be displayed
PS1='$$ ';export PS1
case "x$display_banner" in
x | xyes)
cat $DLC/hello
cat $DLC/version
echo
so if display_banner (note it is all lower case) environment variable is set to "no", the banner will not be displayed.
Another approach is to comment out "cat $DLC/hello" and "cat $DLC/version" lines in the script.