diff options
author | Tommy Boatman | 2007-01-29 22:59:09 -0600 |
---|---|---|
committer | Jeremy Blosser | 2007-02-16 21:15:56 -0600 |
commit | 45dd8359835ccc7a565399e0639c2410ccb0b2bd (patch) | |
tree | 3f50c8dc16e60b0e7f03d1f31d158d03b93bee14 | |
parent | fe5472f3e511c30e642bc2890d83fd0e23ee5f13 (diff) |
x3270: fix 11220, updated FINAL
(cherry picked from commit 75005755458ce4d524a2c68dd5830018e4d02d8b)
-rwxr-xr-x | shell-term-fm/x3270/FINAL | 11 | ||||
-rw-r--r-- | shell-term-fm/x3270/HISTORY | 5 |
2 files changed, 15 insertions, 1 deletions
diff --git a/shell-term-fm/x3270/FINAL b/shell-term-fm/x3270/FINAL index 03ac0192e7..7d624e78bb 100755 --- a/shell-term-fm/x3270/FINAL +++ b/shell-term-fm/x3270/FINAL @@ -1 +1,10 @@ -/usr/X11R6/bin/xset fp rehash +if [ $DISPLAY ] +then + echo "Rehashing font database..." + 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." +fi diff --git a/shell-term-fm/x3270/HISTORY b/shell-term-fm/x3270/HISTORY index 14133c7ee8..8c0d7417bd 100644 --- a/shell-term-fm/x3270/HISTORY +++ b/shell-term-fm/x3270/HISTORY @@ -1,3 +1,8 @@ +2007-01-29 Tommy Boatman <tboatman2@houston.rr.com> + * FINAL: Rewrote to include check for $DISPLAY + variable and hash font db if set, otherwise + print a warning message + 2006-06-28 Eric Sandall <eric@sandall.us> * DETAILS: Removed BUILD_API=2, set grimoire-wide |