#!/bin/sh --
# xmyman - script to run myman in full color in a color xterm

# Make sure you compile and install the terminfo file from
#  /usr/X11R6/lib/X11/etc/xterm.terminfo
# (or wherever that is on your system...) so that curses understands
# that your xterm supports color.  Alternatively, you may be able to
# change termName to 'xterm-color', 'color_xterm', or something
# similar.

# Note that, on some systems, the color xterm is available as
# 'nxterm'. If this is the case on your system, change xterm
# accordingly.

# If you use a different-sized maze or tileset, you
# should probaby change the geometry and font.

xterm=xterm
geometry=58x34
font=fixed
termName=xterm

"$xterm" \
-geometry "$geometry" \
+sb \
-fn "$font" \
-bg "#000000" \
-fg "#FAB393" \
-cr "#0000DB" \
-xrm "*vt100.boldFont: $font" \
-xrm "*termName: $termName" \
-xrm "*iconName: xmyman" \
-xrm "*title: X MyMan" \
-xrm "*waitForMap: true" \
-xrm "*vt100.underLine: false" \
-xrm "*vt100.color0:  #000000" \
-xrm "*vt100.color1:  #D89345" \
-xrm "*vt100.color2:  #00B300" \
-xrm "*vt100.color3:  #FAB345" \
-xrm "*vt100.color4:  #0000D8" \
-xrm "*vt100.color5:  #FA2093" \
-xrm "*vt100.color6:  #00D8D8" \
-xrm "*vt100.color7:  #FAB393" \
-xrm "*vt100.color8:  #646464" \
-xrm "*vt100.color9:  #FA0000" \
-xrm "*vt100.color10: #93FA00" \
-xrm "*vt100.color11: #FAFA00" \
-xrm "*vt100.color12: #2020D8" \
-xrm "*vt100.color13: #FAB3D8" \
-xrm "*vt100.color14: #00FAD8" \
-xrm "*vt100.color15: #D8D8D8" \
-xrm "*vt100.colorBD: #FAFA00" \
-xrm "*vt100.colorUL: #2020D8" \
-xrm "*vt100.colorMode: true" \
-xrm "*vt100.colorBDMode: true" \
-xrm "*vt100.colorULMode: true" \
-xrm "*vt100.pointerColor: #FAB393" \
-xrm "*vt100.pointerColorBackground: #000000" \
-xrm "*vt100.reverseVideo: false" \
-xrm "*vt100.tekStartup: false" \
-xrm "*vt100.activeIcon: true" \
-xrm "*vt100.dynamicColors: true" \
-xrm "*vt100.internalBorder: 0" \
-xrm "*vt100.internalBorder: 0" \
-e myman -o "$@"
