hints for linux X11; typo fix (trunk only)

Add hints file for single-user linux X11.
Fix typo in macos-x11.
nethack.sh: don't run xset unless $DISPLAY is set
This commit is contained in:
keni
2007-12-16 15:38:21 +00:00
parent bd0d01b73d
commit f0abeacb41
3 changed files with 34 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ esac
export XUSERFILESEARCHPATH
# Get font dir added, but only once (and only if there's an xset to be found).
test -e $HACKDIR/fonts.dir && xset p >/dev/null 2>&1 && (
test -n "$DISPLAY" -a -e $HACKDIR/fonts.dir && xset p >/dev/null 2>&1 && (
xset fp- $HACKDIR >/dev/null 2>&1;
xset fp+ $HACKDIR
)