File: fxterm

package info (click to toggle)
hxtools 20231224-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,640 kB
  • sloc: ansic: 4,825; perl: 3,463; sh: 1,629; cpp: 353; makefile: 149
file content (50 lines) | stat: -rwxr-xr-x 1,463 bytes parent folder | download | duplicates (3)
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
#!/bin/bash
# SPDX-License-Identifier: MIT
#
#	fxterm - VGA-ish xterm launcher
#
if [[ ! -e /usr/share/X11/app-defaults/XTerm.jng ]]; then
	# existence of file means the system xterm is already patched
	par=(
	-xrm '*VT100*alwaysBoldMode: false'
	-xrm '*VT100*background: #000000'
	-xrm '*VT100*boldMode: false'
	-xrm '*VT100*color0: #000000'
	-xrm '*VT100*color10: #00FF00'
	-xrm '*VT100*color11: #FFFF00'
	-xrm '*VT100*color12: #0000FF'
	-xrm '*VT100*color13: #FF00FF'
	-xrm '*VT100*color14: #00FFFF'
	-xrm '*VT100*color15: #FFFFFF'
	-xrm '*VT100*color1: #AA0000'
	-xrm '*VT100*color2: #00AA00'
	-xrm '*VT100*color3: #AA6600'
	-xrm '*VT100*color4: #000090'
	-xrm '*VT100*color5: #AA00AA'
	-xrm '*VT100*color6: #00AAAA'
	-xrm '*VT100*color7: #AAAAAA'
	-xrm '*VT100*color8: #555555'
	-xrm '*VT100*color9: #FF0000'
	-xrm '*VT100*colorBD: #FFFFFF'
	-xrm '*VT100*colorBDMode: on'
	-xrm '*VT100*colorUL: #60AAAA'
	-xrm '*VT100*colorULMode: on'
	-xrm '*VT100*cursorBlink: false'
	-xrm '*VT100*cursorColor: #FF0080'
	-xrm '*VT100*cursorOffTime: 1000'
	-xrm '*VT100*cursorOnTime: 1000'
	-xrm '*VT100*cursorUnderLine: false'
	-xrm '*VT100*foreground: #AAAAAA'
	-xrm '*VT100*geometry: 80x25'
	-xrm '*VT100*internalBorder: 0'
	-xrm '*VT100*loginShell: true'
	-xrm '*VT100*pointerColor: #A0FF00'
	-xrm '*VT100*scrollBar: false'
	-xrm '*VT100*veryBoldColors: 0'
	-xrm '*VT100*visualBell: false'
	);
fi;
if [ -z "$XTERM" ]; then
	XTERM=xterm
fi
exec "$XTERM" "${par[@]}" "$@"