aboutsummaryrefslogtreecommitdiff
path: root/local/.Xdefaults
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /local/.Xdefaults
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'local/.Xdefaults')
-rw-r--r--local/.Xdefaults164
1 files changed, 164 insertions, 0 deletions
diff --git a/local/.Xdefaults b/local/.Xdefaults
new file mode 100644
index 00000000..6a99b9cc
--- /dev/null
+++ b/local/.Xdefaults
@@ -0,0 +1,164 @@
+! Parts (C) 1996 By Greg J. Badros <gjb@cs.duke.edu>
+! You may use this file as specified under the GNU General Public License
+
+! DEFINE OPTIONS:
+! SMALL_SCREEN = force small screen options (automatic for <800 width)
+! NO_SMALL_SCREEN = force large screen options (automatic for >=800 width)
+! XAW3DCOLOR = default color for Xaw3d widget scrollbar (gray75 if not set)
+! BLACK_BG_XTERMS = Use color settings to make colored text visible on
+! xterms with a black background
+
+#define XAW3DCOLOR gray75
+
+/* #define BLACK_BG_XTERMS */
+/* #define RECOLOR_XPAINT */
+#define RECOLOR_GHOSTVIEW
+#define RECOLOR_XDVI
+
+#ifdef COLOR
+*customization: -color
+#endif
+
+#if WIDTH<800
+#ifndef NO_SMALL_SCREEN
+#define SMALL_SCREEN
+#endif
+#endif
+
+#ifndef XAW3DCOLOR
+#define XAW3DCOLOR gray75
+#endif
+
+#define WINBACK_COLOR gray75
+
+emacs*Background: DarkSlateGray
+emacs*Foreground: Wheat
+emacs*pointerColor: Orchid
+emacs*cursorColor: Orchid
+emacs*bitmapIcon: on
+emacs*font: fixed
+emacs.geometry: 80x25
+
+Seyon.modems: /dev/modem
+
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+! xterm (and friends)
+
+XTerm*saveLines: 1500
+nxterm*saveLines: 1500
+rxvt*saveLines: 1500
+
+XTerm*cursorColor: blue
+XTerm*scrollBar: true
+nxterm*cursorColor: blue
+nxterm*scrollBar: true
+
+xterm*fullCursor: true
+xterm*reverseWrap: true
+xterm*titleBar: false
+nxterm*fullCursor: true
+nxterm*reverseWrap: true
+nxterm*titleBar: false
+
+*visualBell: true
+*scrollTtyOutput: False
+*scrollKey: True
+Scrollbar.JumpCursor: True
+*numeric: C
+*displayLang: C
+*basicLocale: C
+*timeFormat: C
+*inputLang: C
+
+#ifndef BLACK_BG_XTERMS
+XTerm*background: white
+XTerm*foreground: black
+nxterm*background: white
+nxterm*foreground: black
+
+! This was white, which is invisible on a white background
+*VT100*colorBD: black
+! Underlining shouldn't be yellow for white bg xterms
+*VT100*colorUL: blue
+
+#else
+
+! These defaults pulled from my /usr/lib/X11/app-defaults/NXTerm
+! I don't want to rely on the defaults when a define is specifically
+! set for BLACK_BG_XTERMS
+*VT100*colorBD: white
+*VT100*colorUL: yellow
+XTerm*background: black
+XTerm*foreground: white
+nxterm*background: black
+nxterm*foreground: white
+*VT100*colorBD: white
+*VT100*colorUL: yellow
+
+#endif
+
+nxterm*SimpleMenu.background: gray75
+nxterm*SimpleMenu.foreground: black
+XTerm*SimpleMenu.background: gray50
+XTerm*SimpleMenu.foreground: black
+
+! Please email <gjb@cs.duke.edu> if you have a better
+! way of introducing a newline into a macro expansion
+! I get the NL by including an extra argument to the macro for which
+! I always use a literal newline as the argument
+#define FontAndLabel(cFont,sz,NL,lbl) \
+XTerm*VT100*font/**/cFont/**/: sz/**/NL \
+XTerm*fontMenu*font/**/cFont/**/*Label: lbl (/**/sz/**/)NL \
+nxterm*VT100*font/**/cFont/**/: sz/**/NL \
+nxterm*fontMenu*font/**/cFont/**/*Label: lbl (/**/sz/**/)NL
+
+#ifndef SMALL_SCREEN
+
+*SimpleMenu*font: *helvetica*r*normal*12*
+XDvi*font: *helvetica*r*normal*12*
+FontAndLabel(1,5x7,
+,Micro)
+FontAndLabel(2,5x8,
+,Tiny)
+FontAndLabel(3,6x10,
+,Small)
+FontAndLabel(4,fixed,
+,Medium)
+FontAndLabel(5,9x15,
+,Large)
+FontAndLabel(6,10x20,
+,Very Large)
+FontAndLabel(7,12x24,
+,Huge)
+
+#else
+
+*SimpleMenu*font: *helvetica*r*normal*10*
+XDvi*font: *helvetica*r*normal*10*
+FontAndLabel(1,5x7,
+,Micro)
+FontAndLabel(2,5x8,
+,Tiny)
+FontAndLabel(3,6x9,
+,Small)
+FontAndLabel(4,7x13,
+,Medium)
+FontAndLabel(5,9x15,
+,Large)
+FontAndLabel(6,10x20,
+,Huge)
+FontAndLabel(7,8x16,
+,Alternate Large)
+
+#endif
+
+*eightBitInput: true
+remotexterm*eightBitInput: false
+nxterm*Cursor: xterm
+
+xterm*VT100.Translations: #override\n\
+ <KeyPress>Prior : scroll-back(1,page)\n\
+ <KeyPress>Next : scroll-forw(1,page)
+nxterm*VT100.Translations: #override\n\
+ <KeyPress>Prior : scroll-back(1,page)\n\
+ <KeyPress>Next : scroll-forw(1,page)