aboutsummaryrefslogtreecommitdiff
path: root/local/.Xdefaults
blob: 6a99b9ccbb2e6732429d339f5b8dfecf89a1b34b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
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)