Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/chinese/bitchx/files/patch-include__config.h
16462 views
1
--- include/config.h.bak 2015-01-29 06:24:13.523281651 -0800
2
+++ include/config.h 2015-01-29 06:33:51.148252017 -0800
3
@@ -63,6 +63,10 @@
4
"ircnet.eversible.com "\
5
"ircnet.blacklotus.net "\
6
"irc.ca.ircnet.net "\
7
+ "[ircnet tw]"\
8
+ "irc.seed.net.tw"\
9
+ "irc.tw.freebsd.org"\
10
+ "irc.csie.nctu.edu.tw"\
11
"[ircnet EU] "\
12
"irc.dotsrc.org "\
13
"irc.belwue.de "\
14
@@ -150,7 +154,7 @@
15
* we define the default network type for server groups. Do not just
16
* undefine this.
17
*/
18
- #define DEFAULT_NETWORK "efnet"
19
+ #define DEFAULT_NETWORK "ircnet"
20
21
/*
22
* Below are the IRCII variable defaults. For boolean variables, use 1 for
23
@@ -297,7 +301,7 @@
24
* when you've defined LATIN1. The problem is that ansi graphics will look
25
* ugly if you use the scroll up feature (PageUp/PageDown)
26
*/
27
-#undef ASCII_LOGO
28
+#define ASCII_LOGO
29
30
/* If you define REVERSE_WHITE_BLACK, then the format codes for black and
31
* white color are revepsed. (%W, %w is bold black and black, %K, %k is bold
32
@@ -330,7 +334,7 @@
33
34
#define DEFAULT_PING_TYPE 1
35
#define DEFAULT_MSGLOG ON
36
-#define DEFAULT_AUTO_NSLOOKUP OFF
37
+#define DEFAULT_AUTO_NSLOOKUP ON
38
#define DEFAULT_ALT_CHARSET ON
39
#define DEFAULT_FLOOD_KICK ON
40
#define DEFAULT_FLOOD_PROTECTION ON
41
@@ -339,9 +343,9 @@
42
#define DEFAULT_LLOOK_DELAY 120
43
#define DEFAULT_ALWAYS_SPLIT_BIGGEST ON
44
#define DEFAULT_AUTO_UNMARK_AWAY OFF
45
-#define DEFAULT_AUTO_WHOWAS OFF
46
+#define DEFAULT_AUTO_WHOWAS ON
47
#define DEFAULT_BANTIME 600
48
-#define DEFAULT_BEEP ON
49
+#define DEFAULT_BEEP OFF
50
#define DEFAULT_BEEP_MAX 3
51
#define DEFAULT_BEEP_WHEN_AWAY OFF
52
#define DEFAULT_BOLD_VIDEO ON
53
@@ -425,7 +429,7 @@
54
#define DEFAULT_NOTIFY ON
55
#define DEFAULT_QUEUE_SENDS 0
56
#define DEFAULT_MAX_SERVER_RECONNECT 2
57
-#define DEFAULT_SERVER_GROUPS OFF
58
+#define DEFAULT_SERVER_GROUPS ON
59
#define DEFAULT_WINDOW_DESTROY_PART OFF
60
#define DEFAULT_WINDOW_DESTROY_QUERY OFF
61
#define DEFAULT_SUPPRESS_SERVER_MOTD ON
62
@@ -558,7 +562,7 @@
63
#define DEFAULT_SHELL "/bin/sh"
64
#define DEFAULT_SHELL_FLAGS "-c"
65
#define DEFAULT_USERINFO ""
66
-#define DEFAULT_XTERM "rxvt"
67
+#define DEFAULT_XTERM "xterm-color"
68
#define DEFAULT_XTERM_OPTIONS "-bg black -fg white"
69
#define DEFAULT_DCC_DLDIR "~"
70
71
@@ -692,6 +696,24 @@
72
73
#define WANT_CORE
74
75
+#define WANT_BIG5
76
+
77
+
78
+/* XXX I hope this could be integrated into BX.
79
+ * XXX Well, this should be done via libc,
80
+ * but FreeBSD libc support is quite LAME.
81
+ * Macro below are copied from lynx.
82
+ *
83
+ * [email protected]
84
+ */
85
+#ifdef WANT_BIG5
86
+/* Encoding range below belongs to Big5+ */
87
+#define is_big5_los(lo) (((char)0x40<=lo)&&(lo<=(char)0x7E)) /* standard */
88
+#define is_big5_lox(lo) (((char)0x80<=lo)&&(lo<=(char)0xFE)) /* extended */
89
+#define is_big5_hi(hi) (((char)0x81<=hi)&&(hi<=(char)0xFE))
90
+#define is_big5(hi,lo) is_big5_hi(hi) && (is_big5_los(lo) || is_big5_lox(lo))
91
+#endif /*WANT_BIG5*/
92
+
93
#undef OFF
94
#undef ON
95
96
97