summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommy Boatman2007-01-30 17:43:06 -0600
committerJeremy Blosser2007-02-16 21:16:18 -0600
commitbaca8df44af29f149a44bc6c9952d28593c1b2ca (patch)
tree9a122b01668981b80810513669d042cda938a26c
parent45dd8359835ccc7a565399e0639c2410ccb0b2bd (diff)
x3270: changed to message function+colors in FINAL
(cherry picked from commit 2745717734d28b07dde338dbbf7d02e9f53dde1b)
-rwxr-xr-xshell-term-fm/x3270/FINAL11
-rw-r--r--shell-term-fm/x3270/HISTORY4
2 files changed, 10 insertions, 5 deletions
diff --git a/shell-term-fm/x3270/FINAL b/shell-term-fm/x3270/FINAL
index 7d624e78bb..3fa73c67ad 100755
--- a/shell-term-fm/x3270/FINAL
+++ b/shell-term-fm/x3270/FINAL
@@ -1,10 +1,11 @@
if [ $DISPLAY ]
then
- echo "Rehashing font database..."
+ message "${MESSAGE_COLOR}Rehashing font database...${DEFAULT_COLOR}"
xset fp rehash
else
- echo "No DISPLAY variable set. To ensure full functionality,"
- echo "be sure to issue 'xset fp rehash' or restart your X "
- echo "Server. You will not be able to change fonts in x3270"
- echo "until this is done."
+ message "${PROBLEM_COLOR}No DISPLAY variable set.${DEFAULT_COLOR}"
+ message "${MESSAGE_COLOR}To ensure full functionality, " \
+ "be sure to issue 'xset fp rehash' or restart your X " \
+ "Server. You will not be able to change fonts in x3270 " \
+ "until this is done.${DEFAULT_COLOR}"
fi
diff --git a/shell-term-fm/x3270/HISTORY b/shell-term-fm/x3270/HISTORY
index 8c0d7417bd..f5fbe69291 100644
--- a/shell-term-fm/x3270/HISTORY
+++ b/shell-term-fm/x3270/HISTORY
@@ -1,3 +1,7 @@
+2007-01-30 Tommy Boatman <tboatman2@houston.rr.com>
+ * FINAL: Changed echos to message function and
+ added message and problem colors.
+
2007-01-29 Tommy Boatman <tboatman2@houston.rr.com>
* FINAL: Rewrote to include check for $DISPLAY
variable and hash font db if set, otherwise