! Copyright (C) 1996 Greg J. Badros <gjb@cs.duke.edu>
! Copyright (C) 1998 Guylhem Aznar <guylhem@oeil.qc.ca>
!
! This program is free software; you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation; either version 2 of the License, or
! (at your option) any later version.
!
! This program is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with this program; if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

! DEFAULT RESOURCES:

!*background: Grey15
!*foreground: white
! *font: -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
!*Command.background: gray50
!*MenuButton.background: gray50
!*SmeBSB.background: gray50
!*Toggle.background: gray50

! MOTIF RESOURCSE:

! *fontList: -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
!*shadowThickness: 1
!*XmToggleButton.shadowThickness: 0
!*XmText.background: gray40
!*XmTextField.background: gray40

! 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)
