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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
|
= WeeChat ãŠãŒã¶ãŒãºã¬ã€ã =
Sébastien Helleu <flashcode@flashtux.org>
ãã®ããã¥ã¢ã«ã¯ WeeChat ãã£ããã¯ã©ã€ã¢ã³ãã«ã€ããŠã®ææžã§ããã㯠WeeChat ã®äžéšã§ãã
ãã®ææžã®ææ°çã¯ä»¥äžã®ããŒãžã«ãããŸã:
http://www.weechat.org/doc
[[introduction]]
== ã€ã³ãããã¯ã·ã§ã³ ==
WeeChat (Wee Enhanced Environment for Chat) ã¯ããªãŒã®ãã£ããã¯ã©ã€ã¢ã³ãã§ãã
é«éã§è»œéãå€ãã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã§åãããã«èšèšãããŠããŸãã
[[features]]
=== ç¹åŸŽ ===
äž»ãªç¹åŸŽ:
* ãã«ããããã³ã« (IRCãJabber)
* è€æ°ã®ãµãŒããžã®æ¥ç¶ (SSLãIPv6ããããã·ããµããŒã)
* ã³ã³ãã¯ããé«éã軜é
* ãã©ã°ã€ã³ãšã¹ã¯ãªããã§ã«ã¹ã¿ãã€ãºãæ¡åŒµãå¯èœ
* IRC ã® RFC ã«æºæ http://tools.ietf.org/html/rfc1459[1459]ã
http://tools.ietf.org/html/rfc2810[2810]ã
http://tools.ietf.org/html/rfc2811[2811]ã
http://tools.ietf.org/html/rfc2812[2812]ã
http://tools.ietf.org/html/rfc2813[2813]ã
* ãã«ããã©ãããã©ãŒã (GNU/Linuxã*BSDãMacOS XãWindows ç)
* å®å
šãª GPLãããªãŒãœãããŠã§ã¢
WeeChat ã®ããŒã ããŒãž: http://www.weechat.org/
[[pre-requisites]]
=== äºåã«å¿
èŠãªãã® ===
WeeChat ãã€ã³ã¹ããŒã«ããã«ã¯ã以äžã®ãã®ãå¿
èŠã§ã:
* GNU/Linux ã皌åããŠããã·ã¹ãã (ãœãŒã¹ããã±ãŒãžã䜿ãå Žåã¯ã
ã³ã³ãã€ã©ããŒã«ãå¿
èŠ)ãåã¯äºæ OS
* 'root' ç¹æš© (WeeChat ãã·ã¹ãã ãã£ã¬ã¯ããªã«ã€ã³ã¹ããŒã«ããå Žå)
* ncurses ã©ã€ãã©ãª
[[install]]
== ã€ã³ã¹ããŒã«æ¹æ³ ==
[[binary_packages]]
=== ãã€ããªããã±ãŒãž ===
å€ãã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ã§ã¯ãã€ããªããã±ãŒãžãå©çšã§ããŸããäŸãã°:
* Debian (ãŸã㯠Debian äºæãã£ã¹ããªãã¥ãŒã·ã§ã³):
`apt-get install weechat-curses`
* Mandriva/RedHat (ãŸã㯠RPM äºæãã£ã¹ããªãã¥ãŒã·ã§ã³):
`rpm -i /path/to/weechat-x.y.z-1.i386.rpm`
* Gentoo: `emerge weechat`
* Arch Linux: `pacman -S weechat`
* Fedora Core: `yum install weechat`
* Sourcemage: `cast weechat`
äŸãã° weechat-plugins çã®è¿œå ããã±ãŒãžã䜿ããšãã䟿å©ã«ãªããããããŸããã
ãã®ä»ã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ã§ã¯ã
ã€ã³ã¹ããŒã«èª¬æããã¥ã¢ã«ãåç
§ããŠãã ããã
[[source_package]]
=== ãœãŒã¹ããã±ãŒãž ===
WeeChat 㯠cmake ãŸã㯠autotools ã䜿ã£ãŠã³ã³ãã€ã«ã§ããŸã (cmake ã䜿ãããšãæšå¥šãããŠããŸã)ã
[[dependencies]]
==== äŸåé¢ä¿ ====
以äžã®è¡šã¯ WeeChat
ã®ã³ã³ãã€ã«ã«å¿
é ãŸãã¯ä»»æã§å¿
èŠãªããã±ãŒãžã®ãªã¹ãã§ãã
[width="100%",cols="5,^3,^3,13",options="header"]
|========================================
| ããã±ãŒãž ^(1)^ | ããŒãžã§ã³ | å¿
é | æ©èœ
| cmake | | *yes* | ãã«ã (autotools ã§ãå¯èœã§ãããcmake ãæšå¥šããŸã)
| libncursesw5-dev ^(2)^ | | *yes* | ncurses ã€ã³ã¿ãŒãã§ã€ã¹
| libcurl4-gnutls-dev | | *yes* | URL 転é
| zlib1g-dev | | *yes* | relay ãã©ã°ã€ã³ã§ãã±ãããå§çž® (weechat ãããã³ã«)ãã¹ã¯ãªãããã©ã°ã€ã³
| libgcrypt11-dev | | *yes* | DH-BLOWFISH ã¡ã«ããºã ãçšãã IRC ãµãŒãçšã® SASL èªèšŒãã¹ã¯ãªãããã©ã°ã€ã³
| libgnutls-dev | ⥠2.2.0 | | IRC ãµãŒããžã® SSL æ¥ç¶
| gettext | | | åœéå (ã¡ãã»ãŒãžã®ç¿»èš³; ããŒã¹èšèªã¯è±èªã§ã)
| ca-certificates | | | SSL æ¥ç¶ã«å¿
èŠãªèšŒææžãrelay ãã©ã°ã€ã³ã§ SSL ãµããŒã
| libaspell-dev | | | aspell ãã©ã°ã€ã³
| python-dev | ⥠2.5 ^(3)^ | | python ãã©ã°ã€ã³
| libperl-dev | | | perl ãã©ã°ã€ã³
| ruby1.9.1-dev | ⥠1.8 | | ruby ãã©ã°ã€ã³
| liblua5.1-0-dev | | | lua ãã©ã°ã€ã³
| tcl-dev | ⥠8.5 | | tcl ãã©ã°ã€ã³
| guile-2.0-dev | ⥠2.0 | | guile (scheme) ãã©ã°ã€ã³
| asciidoc | ⥠8.5.0 | | ææžã®çæ (HTML ãã¡ã€ã«)
| source-highlight | | | HTML ææžã«å«ãŸãããœãŒã¹ã³ãŒãã®ã·ã³ã¿ãã¯ã¹ãã€ã©ã€ã
|========================================
[NOTE]
^(1)^ Debian GNU/Linux ãã£ã¹ããªãã¥ãŒã·ã§ã³ã«ãããããã±ãŒãžåã§ãã
ä»ã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ã§ã¯ããŒãžã§ã³ãšããã±ãŒãžåãç°ãªããããããŸããã +
^(2)^ WeeChat 㯠libncurses5-dev ã§ãã³ã³ãã€ã«å¯èœã§ãããããã¯æšå¥š*ãããŸãã*
(ã¯ã€ããã£ã©ã¯ã¿ã®è¡šç€ºã«ãã°ãçããã§ããã)ã +
^(3)^ Python ã¯ããŒãžã§ã³ 2.7 ããå§ãããŸã (å
šãŠã®ã¹ã¯ãªããã¯ããŒãžã§ã³ 2.7
ã§æ£ããåããŸãããããŒãžã§ã³ 2.6 以äžãŸã㯠3.0 以äžã§ã¯æ£ããåããŸãã)ã
[[compile_with_cmake]]
==== cmake ã«ããã³ã³ãã€ã« ====
* ã·ã¹ãã ãã£ã¬ã¯ããªã«ã€ã³ã¹ããŒã«ããå Žå ('root' ç¹æš©ãå¿
èŠã§ã):
----------------------------------------
$ mkdir build
$ cd build
$ cmake ..
$ make
% make install (as root)
----------------------------------------
* ä»»æã®ãã£ã¬ã¯ããªã«ã€ã³ã¹ããŒã«ããå Žå:
----------------------------------------
$ mkdir build
$ cd build
$ cmake .. -DPREFIX=/path/to/directory
$ make
$ make install
----------------------------------------
[[compile_with_autotools]]
==== autotools ã«ããã³ã³ãã€ã« ====
[WARNING]
cmake 以å€ãçšãã WeeChat ã®ãã«ãã¯å
¬åŒã«ãµããŒããããŸãããcmake
ãå©çšã§ããªãå Žåã®ã¿ autotools ã䜿ã£ãŠãã ããã +
autotools ãçšããŠãã«ãããå Žåãcmake ãããå€ãã®äŸåããã±ãŒãžãšããé·ãæéãå¿
èŠã§ãã
* ã·ã¹ãã ãã£ã¬ã¯ããªã«ã€ã³ã¹ããŒã«ããå Žå ('root' ç¹æš©ãå¿
èŠã§ã):
----------------------------------------
$ ./autogen.sh
$ ./configure
$ make
% make install (as root)
----------------------------------------
* ä»»æã®ãã£ã¬ã¯ããªã«ã€ã³ã¹ããŒã«ããå Žå:
----------------------------------------
$ ./autogen.sh
$ ./configure --prefix=/path/to/directory
$ make
$ make install
----------------------------------------
[[git_sources]]
==== Git ãœãŒã¹ ====
èŠå: git ãœãŒã¹ãçšããæ¹æ³ã¯äžçŽè
åãã§ããã³ã³ãã€ã«ã«å€±æãããã
äžå®å®ãªå¯èœæ§ããããŸããèŠåããŸããã!
git ãœãŒã¹ãå
¥æããã«ã¯ã以äžã®ã³ãã³ãã䜿ã£ãŠãã ãã:
----------------------------------------
$ git clone git://git.sv.gnu.org/weechat.git
----------------------------------------
ãã®åŸã¯ããœãŒã¹ããã±ãŒãžã®èª¬æã«åŸã£ãŠãã ãã
(<<source_package,ãœãŒã¹ããã±ãŒãž>>ãåç
§)ã
[[report_crashes]]
==== ã¯ã©ãã·ã¥ã¬ããŒã ====
WeeChat ãã¯ã©ãã·ã¥ããå ŽåããŸã㯠WeeChat
ãã¯ã©ãã·ã¥ãããæäœãå ±åããå Žåã以äžã®æé ã«åŸã£ãŠãã ãã:
* ãããã°ãæå¹åããŠã³ã³ãã€ã« (ãŸãã¯ãããã¯æ
å ±ãå«ãã ãã€ããªããã±ãŒãžãã€ã³ã¹ããŒã«)
* ã·ã¹ãã ã® 'core' ãã¡ã€ã«ãæå¹å
* gdb ã®ã€ã³ã¹ããŒã«
[[debug_info]]
==== ãããã°æ
å ± ====
cmake ã§ã³ã³ãã€ã«ããå Žå:
----------------------------------------
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
----------------------------------------
autotools ã§ã³ã³ãã€ã«ããå Žåã¯ããããã¯ã¯ããã©ã«ãã§æå¹åãããŠããŸã(`--with-debug=1`)ã
ãã€ããªããã±ãŒãžãã€ã³ã¹ããŒã«ããå Žåã¯ã'weechat-dbg' ããã±ãŒãžãã€ã³ã¹ããŒã«ããŠãã ããã
[[core_files]]
==== Core ãã¡ã€ã« ====
'core' ãã¡ã€ã«ãæå¹åããã«ã¯ã<<option_weechat.startup.sys_rlimit,weechat.startup.sys_rlimit>>
ãªãã·ã§ã³ã䜿ã£ãŠãã ãã:
----------------------------------------
/set weechat.startup.sys_rlimit "core:-1"
----------------------------------------
WeeChat ããŒãžã§ã³ 0.3.8 以äžãŸã㯠WeeChat ã®å®è¡åã« core
ãã¡ã€ã«ãæå¹åãããå Žåã«ã¯ã`ulimit` ã³ãã³ãã䜿ã£ãŠãã ããã
Linux 㧠'bash' ã·ã§ã«ã䜿ã£ãŠããå Žåã以äžã®å
容ã `~/.bashrc` ã«è¿œå ããŠãã ãã:
----------------------------------------
ulimit -c unlimited
----------------------------------------
ãµã€ãºãæå®ããå Žåã¯:
----------------------------------------
ulimit -c 200000
----------------------------------------
[[gdb_backtrace]]
==== gdb ã§ããã¯ãã¬ãŒã¹ãåŸã ====
WeeChat ãã¯ã©ãã·ã¥ãããšã'core' ãŸã㯠'core.12345' ãã¡ã€ã«ãäœãããŸã
('12345' ã¯ããã»ã¹çªå·ã§ã)ã
ãã®ãã¡ã€ã«ã¯ WeeChat ãèµ·åãããã£ã¬ã¯ããªã«äœãããŸã (ããã¯
WeeChat ãã€ã³ã¹ããŒã«ãããŠãããã£ã¬ã¯ããªã§ã¯*ãããŸãã*!)ã
äŸãã°ã'weechat-curses' ã '/usr/bin/' ã«ã€ã³ã¹ããŒã«ããã'core' ãã¡ã€ã«ã
'/home/xxx/' ã«ããå Žåã以äžã®ã³ãã³ã㧠gdb ãèµ·åããŠãã ãã:
----------------------------------------
gdb /usr/bin/weechat-curses /home/xxx/core
----------------------------------------
[NOTE]
ãã€ããªããã±ãŒãž 'weechat-dbg' ãã€ã³ã¹ããŒã«ããå Žå (äŸãã° Debian ã§)ãWeeChat
ãã€ããªãžã®ãã¹ã¯ '/usr/lib/debug/usr/bin/weechat-curses' ã®ããã«ãªããŸãã
gdb ã®äžã§ `bt full` ã³ãã³ããå®è¡ãããšããã¯ãã¬ãŒã¹ã衚瀺ãããŸãã
以äžã®ãããªåºåãåŸãããã¯ãã§ã:
----------------------------------------
(gdb) set logging file /tmp/crash.txt
(gdb) set logging on
Copying output to /tmp/crash.txt.
(gdb) bt full
#0 0x00007f9dfb04a465 in raise () from /lib/libc.so.6
#1 0x00007f9dfb04b8e6 in abort () from /lib/libc.so.6
#2 0x0000000000437f66 in weechat_shutdown (return_code=1, crash=1) at /some_path/src/core/weechat.c:351
#3 <signal handler called>
#4 0x000000000044cb24 in hook_process_timer_cb (arg_hook_process=0x254eb90, remaining_calls=<value optimized out>)
at /some_path/src/core/wee-hook.c:1364
hook_process = 0x254eb90
status = <value optimized out>
#5 0x000000000044cc7d in hook_timer_exec () at /some_path/src/core/wee-hook.c:1025
tv_time = {tv_sec = 1272693881, tv_usec = 212665}
ptr_hook = 0x2811f40
next_hook = 0x0
#6 0x000000000041b5b0 in gui_main_loop () at /some_path/src/gui/curses/gui-curses-main.c:319
hook_fd_keyboard = 0x173b600
tv_timeout = {tv_sec = 0, tv_usec = 0}
read_fds = {fds_bits = {0 <repeats 16 times>}}
write_fds = {fds_bits = {0 <repeats 16 times>}}
except_fds = {fds_bits = {0 <repeats 16 times>}}
max_fd = <value optimized out>
----------------------------------------
ãã®ããã¯ãã¬ãŒã¹ãéçºè
ã«å ±åãã
ã¯ã©ãã·ã¥ãåŒãèµ·ãããåäœãäŒããŠãã ããã
ãæäŒãã«æè¬ããŸã!
[[debug_running_weechat]]
==== èµ·åãã WeeChat ã®ãããã° ====
èµ·åããŠãã WeeChat ããããã°ããã«ã¯ (äŸãã° WeeChat ãããªãŒãºããŠãããããªå Žå)ãgdb
ã®åŒæ°ã«ããã»ã¹çªå·ãäžããŠèµ·åããŸã ('12345' 㯠weechat-curses ããã»ã¹ã® PID ã«å€æŽããŠãã ãã):
----------------------------------------
gdb /usr/bin/weechat-curses 12345
----------------------------------------
ã¯ã©ãã·ã¥ãèµ·ããå Žåãšåæ§ã«ã`bt full` ã³ãã³ãã䜿ã£ãŠãã ãã:
----------------------------------------
(gdb) bt full
----------------------------------------
[[usage]]
== 䜿ãæ¹ ==
[[running_weechat]]
=== WeeChat ã®èµ·å ===
ã³ãã³ãã©ã€ã³åŒæ°:
-a, --no-connect::
WeeChat ã®èµ·åæã«ãµãŒããžã®èªåæ¥ç¶ãè¡ããªã
-c, --colors::
ã¿ãŒããã«ã«ããã©ã«ãã«ã©ãŒã衚瀺
-d, --dir 'path'::
WeeChat ã®ããŒã ãã£ã¬ã¯ããªã path ã«èšå® (èšå®ãã¡ã€ã«ããã°ã
ãŠãŒã¶ãã©ã°ã€ã³ãã¹ã¯ãªããã«å©çšããã)ãåæå€ã¯ '~/.weechat' ã
(泚æ: ãã¹ãååšããªãå Žå㯠WeeChat ããã£ã¬ã¯ããªãäœæããŸã)
-h, --help::
ãã«ãã衚瀺
-k, --keys::
WeeChat ã® ããã©ã«ãããŒã衚瀺
-l, --license::
WeeChat ã©ã€ã»ã³ã¹ã衚瀺
-p, --no-plugin::
ãã©ã°ã€ã³ã®èªåããŒããæ¢ãã
-r, --run-command::
èµ·ååŸã«ã³ãã³ããå®è¡ (è€æ°ã®ã³ãã³ããæå®ããã«ã¯ã»ãã³ãã³ã§åã³ãã³ããåºåã)
-s, --no-script::
ã¹ã¯ãªããã®èªåããŒããæ¢ãã
-v, --version::
WeeChat ã®ããŒãžã§ã³ã衚瀺
plugin:option::
ãã©ã°ã€ã³ã«æž¡ããªãã·ã§ã³ (åãã©ã°ã€ã³ã®ããã¥ã¡ã³ããåç
§)
WeeChat ãèµ·åãããã«ã¯ã以äžã³ãã³ããå®è¡:
----------------------------------------
$ weechat-curses
----------------------------------------
åã㊠WeeChat ãèµ·åããå Žåãããã©ã«ãã®ãªãã·ã§ã³ã§èšå®ãã¡ã€ã«ãäœæãããŸãã
ãã®ããã©ã«ãèšå®ãã¡ã€ã«ã¯
'~/.weechat/weechat.conf' ã§ãã
WeeChat ãèšå®ããã«ã¯ãã®ãã¡ã€ã«ãç·šéãããã
WeeChat å
㧠`/set` ã³ãã³ãã«ãã©ã¡ãŒã¿ãä»ããŠèšå®ããŸã
(<<weechat_commands,WeeChat ã³ãã³ã>>ãåç
§)ã
[[screen_layout]]
=== ã¹ã¯ãªãŒã³ã¬ã€ã¢ãŠã ===
WeeChat ãèµ·åããã¿ãŒããã«ã®äŸ:
........................................
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
âWelcome to #test, this is a test channel â â ã¿ã€ãã« ("title") ããŒ
â12:52:27 --> | Flashy (flashcode@weechat.org) has joined #test â@Flashyâ
â12:52:27 -- | Nicks #test: [@Flashy @joe +weebot] â@joe â
â12:52:27 -- | Channel #test: 4 nicks (2 ops, 0 halfop, 1 voice, 1 normal) â+weebotâ
â12:52:27 -- | Channel created on Tue Jan 27 06:30:17 2009 âpeter â
â12:54:15 peter | hey! â â
â12:55:01 @joe | hello â â
â â â
â â â
â â â
â â â â ãã£ãã + ããã¯ããŒã ãªã¹ã ("nicklist") ããŒ
â â â
â â â
â â â
â â â
â â â
â â â
â â â
â â â
â â â
â â â
â[12:55] [6] [irc/freenode] 3:#test(+n){4}* [Act: 4:#abc(2,5), 6] â â ç¶æ
("status") ããŒ
â[@Flashy] hi peter!â â â å
¥å ("input") ããŒ
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
........................................
ã¹ã¯ãªãŒã³ã¯ä»¥äžã®ãšãªã¢ããæããŸã:
* ãã£ãããã°ã衚瀺ããããã£ãããšãªã¢ (ã¹ã¯ãªãŒã³ã®çãäž)ãããããã®è¡ã¯:
** æå»
** ãã¬ãã£ãã¯ã¹ ("|" ã®å)
** ã¡ãã»ãŒãž ("|" ã®åŸ)
* ãã£ãããšãªã¢ã®åšãã«ããããŒãããã©ã«ãããŒã¯:
** ã¿ã€ãã« ('title') ããŒããã£ãããšãªã¢ã®äž
** ç¶æ
('status') ããŒããã£ãããšãªã¢ã®äž
** å
¥å ('input') ããŒãç¶æ
ããŒã®äž
** ããã¯ããŒã ãªã¹ã ('nicklist') ããŒãå³ç«¯
ç¶æ
('status') ããŒã¯ä»¥äžã®åæå€ãæã£ãŠããŸã:
[width="100%",cols="^3,^3l,10",options="header"]
|========================================
| ã¢ã€ãã | äŸ | 説æ
| time | [12:55] | æå»
| buffer_count | [6] | éããŠãããããã¡ã®æ°
| buffer_plugin | [irc/freenode] | çŸåšã®ãããã¡ã®ãã©ã°ã€ã³ (irc ãã©ã°ã€ã³ã§ã¯ãããã¡ã§å©çšãããŠãã IRC ãµãŒãåãè¿œå ã§ããŸã)
| buffer_number | 3 | çŸåšã®ãããã¡ã®çªå·
| buffer_name | #test | çŸåšã®ãããã¡ã®åå
| buffer_modes | +n | IRC ãã£ã³ãã«ã¢ãŒã
| buffer_nicklist_count | {4} | ããã¯ããŒã ãªã¹ãäžã®ããã¯ããŒã ã®æ°
| buffer_filter | * | ãã£ã«ã¿è¡šç€º: `*` ã®å Žåããã€ãã®è¡ããã£ã«ã¿ãã (é ãã) ãŸãã空ã®å Žåãã¹ãŠã®è¡ã衚瀺ãããŸãã
| lag | [Lag: 2.5] | é
延ç§è¡šç€º (é
延ãçãå Žåã¯é衚瀺)
| hotlist | [Act: 4:#abc(2,5), 6] | å€åã®ãã£ããããã¡ã®ãªã¹ã (æªèªã¡ãã»ãŒãž) (äŸã§ã¯ã'#abc' ã« 2 åã®ãã€ã©ã€ããš 5 åã®æªèªã¡ãã»ãŒãžã6 çªç®ã®ãããã¡ã« 1 åã®æªèªã¡ãã»ãŒãžãããããšãæå³ããŸãã)
| completion | abc(2) def(5) | è£å®åè£ã®åèªãªã¹ããååèªã«å¯ŸããŠé©å¿ãããè£å®åè£ã®æ°ãå«ãã
| scroll | -MORE(50)- | ã¹ã¯ããŒã«è¡šç€ºãæåŸã®è¡ã衚瀺ãããŠããè¿œå ãããè¡æ°ãå«ãã
|========================================
å
¥å ('input') ããŒã¯ä»¥äžã®åæå€ãæã£ãŠããŸã:
[width="100%",cols="^3,^6l,8",options="header"]
|========================================
| ã¢ã€ãã | äŸ | 説æ
| input_paste | [Paste 7 lines ? [ctrl-Y] Yes [ctrl-N] No] | è¡ãããŒã¹ãããå Žåã«ãŠãŒã¶ãžè¡ããã質å
| input_prompt | [@Flashy] | å
¥åããã³ãã (irc ãã©ã°ã€ã³ã®å Žåã¯ããã¯ããŒã )
| away | (away) | é¢åžç¶æ
衚瀺
| input_search | [Text search] | ããã¹ãæ€çŽ¢è¡šç€º
| input_text | hi peter! | å
¥åããã¹ã
|========================================
[[buffers_and_windows]]
=== ãããã¡ãšãŠã£ã³ã㊠===
'ãããã¡' ã¯çªå·ãååã衚瀺ãããè¡
(ãšãã®ä»ã®æ
å ±) ã§æ§æãããŠããŸãã
ãããã¡ã®äŸ:
* ã³ã¢ãããã¡ (åæã«y WeeChat ãäœæãéããããšã¯ã§ããªã)
* irc ãµãŒã (ãµãŒãããã®ã¡ãã»ãŒãžã衚瀺)
* irc ãã£ã³ãã«
* irc ãã©ã€ããŒã
'window' ã¯ãããã¡ã衚瀺ããã¹ã¯ãªãŒã³ãšãªã¢ã®ããšã§ãã
ã¹ã¯ãªãŒã³ãè€æ°ã®ãŠã£ã³ããŠã«åå²ããããšãã§ããŸãã
ããããã®ãŠã£ã³ããŠã¯ 1 ã€ã®ãããã¡ã衚瀺ããŸãããããã¡ã¯é ããã
(ãŠã£ã³ããŠã«è¡šç€ºããªã)ãè€æ°ã®ãŠã£ã³ããŠã«è¡šç€ºããããšã§ããŸãã
æ°Žå¹³æ¹ååå²ã®äŸ (`/window splith`):
........................................
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
âWelcome to #abc, channel about nothing! â
â12:55:12 Max | hi â@Flashyâ
â12:55:20 @Flashy | hi Max! âMax â
â12:55:32 Max | how are you? â â
â â â
â â â â ãŠã£ã³ã㊠#2
â â â (ãããã¡ #4)
â â â
â â â
â[12:55] [6] [irc/freenode] 4:#abc(+n){2} â
â[@Flashy] â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
âWelcome to #test, this is a test channel â
â12:54:15 peter | hey! â@Flashyâ
â12:55:01 @joe | hello â@joe â
â â+weebotâ
â âpeter â
â â â â ãŠã£ã³ã㊠#1
â â â (ãããã¡ #3)
â â â
â â â
â[12:55] [6] [irc/freenode] 3:#test(+n){4} â
â[@Flashy] hi peter!â â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
........................................
åçŽæ¹ååå²ã®äŸ (`/window splitv`):
........................................
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
âWelcome to #test, this is a test channel âWelcome to #abc, channel about nothing! â
â12:54:15 peter | hey! â@Flashyâ12:55:12 Max | hi â@Flashyâ
â12:55:01 @joe | hello â@joe â12:55:20 @Flashy | hi Max! âMax â
â â+weebotâ12:55:32 Max | how are you? â â
â âpeter â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â[12:55] [6] [irc/freenode] 3:#test(+n){4} â[12:55] [6] [irc/freenode] 4:#abc(+n){2} â
â[@Flashy] hi peter!â â[@Flashy] â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â² ãŠã£ã³ã㊠#1 â² ãŠã£ã³ã㊠#2
(ãããã¡ #3) (ãããã¡ #4)
........................................
åçŽæ¹å + æ°Žå¹³æ¹ååå²ã®äŸ:
........................................
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
âWelcome to #test, this is a test channel âWelcome to #def, another channel â
â12:54:15 peter | hey! â@Flashyâ12:55:42 @Flashy | hello world â@Flashyâ
â12:55:01 @joe | hello â@joe â12:55:56 alex | hi Flashy âalex â
â â+weebotâ â â
â âpeter â â â â ãŠã£ã³ã㊠#3
â â â â â (ãããã¡ #5)
â â â â â
â â â â â
â â â â â
â â â[12:55] [6] [irc/freenode] 5:#def(+n){2} â
â â â[@Flashy] â
â â ââââââââââââââââââââââââââââââââââââââââââââââ
â â âWelcome to #abc, channel about nothing! â
â â â12:55:12 Max | hi â@Flashyâ
â â â12:55:20 @Flashy | hi Max! âMax â
â â â12:55:32 Max | how are you? â â
â â â â â
â â â â â â ãŠã£ã³ã㊠#2
â â â â â (ãããã¡ #4)
â â â â â
â â â â â
â[12:55] [6] [irc/freenode] 3:#test(+n){4} â [12:55] [6] [irc/freenode] 4:#abc(+n){2} â
â[@Flashy] hi peter!â â [@Flashy] â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â² ãŠã£ã³ã㊠#1
(ãããã¡ #3)
........................................
[[bars]]
=== ã㌠===
'ããŒ' ãšã¯ä»»æã®ããã¹ããå«ããããšãã§ãããã£ãããšãªã¢ä»¥å€ã®å Žæã§ãã
ããŒãªãã·ã§ã³ã¯ `weechat.bar.name.option` ãªãã·ã§ã³ã§èšå®ããŸããããã§
`name` ã¯ããŒã®ååã`option` ã¯ãã®ããŒã®ãªãã·ã§ã³åã§ãã
ããŒãªãã·ã§ã³ã®ãªã¹ã:
[width="100%",cols="2m,2,10",options="header"]
|========================================
| ãªãã·ã§ã³å | å€ | 説æ
| type | `root`ã`window` |
`root` åã®ããŒã¯ç»é¢ã« (å
šãŠã®ãŠã£ã³ããŠã®å€ã«) 1 åã ã衚瀺ãããŸããããã©ã«ãã§ã¯
root ããŒã¯ãããŸãããã'buffers.pl' ã¹ã¯ãªãããäœæãã 'buffers' ããŒ
(ãããã¡ã®ãªã¹ããå«ããµã€ãããŒ) ãäŸã® 1 ã€ã§ãã +
`window` åã®ããŒã¯åãŠã£ã³ããŠã«å¯ŸããŠè¡šç€ºãããŸããäŸãã° (`/window splith`
ã `/window splitv` ã§) ç»é¢ã 1 ååå²ããå Žåãããããã®ãŠã£ã³ããŠã«ããŒã
1 ã€è¡šç€ºãããŸãã4 ã€ã®ããã©ã«ãã㌠('title'ã'status'ã'input'ã'nicklist')
㯠`window` åã®ããŒã§ãã
| position | `top`ã`bottom`ã`left`ã`right` |
ããŒã®äœçœ®: ãã£ãããšãªã¢ã®äžãäžãå·Šãå³ã
| priority | 0 以äžã®æŽæ° |
ããŒã®è¡šç€ºåªå
床:
åãšäœçœ®ãåãè€æ°ã®ããŒãç»é¢ã«è¡šç€ºããé çªã«å©çšãããã +
ããŒã¯ç»é¢ã®ç«¯ããäžå¿ã«åãã£ãŠè¡šç€ºããããé«ãåªå
床ãæã€ããŒãå
ã«
(ç»é¢ã®ç«¯ã«è¿ãåŽã«) 衚瀺ãããã +
äŸ: åªå
床 1000 ã® 'input' ããŒã¯åªå
床 500 㮠'status'
ããŒãããå
ã«è¡šç€ºãããã
| size | 0 以äžã®æŽæ° |
ããŒã®ãµã€ãº:
äœçœ®ãå³/å·Šã®å Žåã¯åæ°ãäœçœ®ãäž/äžã®å Žåã¯è¡æ°ãå€ã `0`
ã®å Žåã¯èªå (ããŒã®ãµã€ãºã¯ããŒã®å
容ãåºã«èšç®ããã)ã
| size_max | 0 以äžã®æŽæ° |
ããŒã®æ倧ãµã€ãºã`0` = å¶éç¡ã (ãã®ãªãã·ã§ã³ã¯
`size` = `0` ã®å Žåã®ã¿äœ¿ããã)ã
| color_bg | è² |
ããŒã®ããã©ã«ãã®èæ¯è²
| color_fg | è² |
ããŒã®ããã©ã«ãã®ããã¹ãè²
| color_delim | è² |
ããŒã®åºåãæåã®è²
| hidden | `on`ã`off` |
ãã®ãªãã·ã§ã³ã `on` ã®å ŽåãããŒã¯è¡šç€ºãããŸããã +
泚æ: ãã®ãªãã·ã§ã³ãå€æŽãã代ããã«ã`/bar` ã³ãã³ãã䜿ããšäŸ¿å©ã§ããäŸ:
`/bar toggle nicklist` (<<command_weechat_bar,/bar>> ã³ãã³ããåç
§)ã
| separator | `on`ã`off` |
ãã®ãªãã·ã§ã³ã `on` ã®å Žåãã»ãã¬ãŒã¿ (åºåãç·)
ãããŒå士ãŸãã¯ããŒãšãã£ãããšãªã¢ã®éã«è¡šç€ºãããŸãã
| items | æåå |
'items' ã®ãªã¹ã (詳现ã¯<<bar_items,ã¢ã€ãã >>ãåç
§)ã
| filling_left_right | `horizontal`ã`vertical`ã`columns_horizontal`ã`columns_vertical` |
äœçœ®ã `left` ãŸã㯠`right` ã®ããŒã«å¯Ÿãããã£ãªã³ã°ã¿ã€ã
(詳现ã¯<<bar_filling,ãã£ãªã³ã°>>ãåç
§)ã
| filling_top_bottom | `horizontal`ã`vertical`ã`columns_horizontal`ã`columns_vertical` |
äœçœ®ã `top` ãŸã㯠`bottom` ã®ããŒã«å¯Ÿãããã£ãªã³ã°ã¿ã€ã
(詳现ã¯<<bar_filling,ãã£ãªã³ã°>>ãåç
§)ã
| conditions | æåå |
ããŒã衚瀺ããç¶æ
(詳现ã¯<<bar_conditions,ç¶æ
>>ãåç
§)ã
|========================================
[[bar_items]]
==== ã¢ã€ãã ====
'items' ãªãã·ã§ã³ã¯ããŒã¢ã€ãã ãã³ã³ã (ç»é¢äžã®ã¢ã€ãã å士ã«ééã空ãã)
ãŸã㯠"+" (ééã空ããªã) ã§åºåã£ãæååã
ããŒã¢ã€ãã ã®ãªã¹ã㯠`/bar listitems` ã³ãã³ãã§è¡šç€ºãããŸãã
ã¢ã€ãã ãå«ãããŒã®äŸ "[time],buffer_number+:+buffer_plugin+.+buffer_name":
........................................
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â[12:55] 3:irc/freenode.#weechat â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
........................................
[[bar_filling]]
==== ãã£ãªã³ã° ====
ãã£ãªã³ã°ã¿ã€ãã«ã¯ 4 ã€ã®çš®é¡ããããŸã:
* `horizontal`:
å·Šããå³ã«åãã£ãŠã¢ã€ãã ãæ°Žå¹³ã«è¡šç€ºãã¢ã€ãã å
ã«æ¹è¡ãããå Žåã空çœãè¡åºåãã«å©çšããŸãã
* `vertical`:
äžããäžã«åãã£ãŠã¢ã€ãã ã衚瀺ãã¢ã€ãã å
ã«æ¹è¡ãããå Žåãæ¹è¡ãè¡åºåãã«å©çšããŸãã
* `columns_horizontal`:
ããã¹ããå·Šå¯ãããŠãå圢åŒã§ã¢ã€ãã ã衚瀺ãæåã®ã¢ã€ãã ã¯å·Šäžã2
çªç®ã¯åãè¡ã® 1 åå³åŽã
* `columns_vertical`: ããã¹ããå·Šå¯ãããŠãå圢åŒã§ã¢ã€ãã ã衚瀺ãæåã®ã¢ã€ãã ã¯å·Šäžã2
çªç®ã¯åãåã® 1 è¡äžåŽã
ããã©ã«ãããŒã§ãã 'title'ã'status'ã'input' ã¯
'horizontal' ãã£ãªã³ã°ã'nicklist' 㯠'vertical' ãã£ãªã³ã°ã
'nicklist' ããŒã«å¯Ÿãããã£ãªã³ã°ã®äŸ:
........................................
ââââââââââââââââââââââââââââââââââââââââââââââââââââ
âWelcome to #test, this is a test channel â
â12:54:15 peter | hey! â@carl â
â12:55:01 +Max | hello â@jessikaâ
â â@maddy â
â â%Diego â
â â%Melody â
â â+Max â
â â celia â
â â Eva â
â â freddy â
â â Harold^â
â â henry4 â
â â jimmy17â
â â jodie âŒâ
â[12:55] [6] [irc/freenode] 3:#test(+n){24} â
ââââââââââââââââââââââââââââââââââââââââââââââââââââ
filling_left_right = vertical â²
ââââââââââââââââââââââââââââââââââââââââââââââââââââ
âWelcome to #test, this is a test channel â
â12:54:15 peter | hey! â@carl lee â
â12:55:01 +Max | hello â@jessika louise â
â â@maddy mario â
â â%Diego mark â
â â%Melody peter â
â â+Max Rachel â
â â celia richardâ
â â Eva sheryl â
â â freddy Vince â
â â Harold^ warren â
â â henry4 zack â
â â jimmy17 â
â â jodie â
â[12:55] [6] [irc/freenode] 3:#test(+n){24} â
ââââââââââââââââââââââââââââââââââââââââââââââââââââ
filling_left_right = columns_vertical â²
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â@carl %Diego celia Harold^ jodie mario Rachel Vince â
â@jessika %Melody Eva henry4 lee mark richard warren â
â@maddy +Max freddy jimmy17 louise peter sheryl zack â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â â
filling_top_bottom = columns_vertical â²
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â@carl @jessika @maddy %Diego %Melody +Max celia Eva â
â freddy Harold^ henry4 jimmy17 jodie lee louise mario â
â mark peter Rachel richard sheryl Vince warren zack â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â â
filling_top_bottom = columns_horizontal â²
........................................
[[bar_conditions]]
==== ç¶æ
====
'conditions' ãªãã·ã§ã³ã¯ããŒããŠã£ã³ããŠå
ã«è¡šç€ºãããåŠããè©äŸ¡ããæååã§ã
(ãã®ãªãã·ã§ã³ã¯ 'window' åã®ããŒã ãã«æå¹ã§ã)ã
æååã¯ä»¥äžã®ãããã:
* 'active': éã¢ã¯ãã£ãç¶æ
ã®ãŠã£ã³ããŠ
* 'inactive': éã¢ã¯ãã£ãç¶æ
ã®ãŠã£ã³ããŠ
* 'nicklist': ããã¯ããŒã ãªã¹ããå«ãŸãããããã¡ã®ãŠã£ã³ããŠ
* åŒ: ããŒã«å€ãšããŠè©äŸ¡
(<<command_weechat_eval,/eval>> ã³ãã³ããåç
§)
åŒã«äœ¿ããå€æ°ã¯ä»¥äž:
* `${active}`: ãŠã£ã³ããŠãã¢ã¯ãã£ãç¶æ
ã®æã«ç
* `${inactive}`: ãŠã£ã³ããŠãéã¢ã¯ãã£ãç¶æ
ã®æã«ç
* `$[nicklist}`: ãŠã£ã³ããŠã«è¡šç€ºããããããã¡ãããã¯ããŒã ãªã¹ãã®å Žåã«çã
åŒã«äœ¿ãããã€ã³ã¿ã¯ä»¥äž:
* `${window}`: ç¶æ
ãè©äŸ¡ããããŠã£ã³ããŠ
* `${buffer}`: ç¶æ
ãè©äŸ¡ããããŠã£ã³ããŠã®ãããã¡
ããã¯ããŒã ãªã¹ããæã¡ããŠã£ã³ããŠå¹
ã 100
ãã倧ããå
šãŠã®ãããã¡ã«ããã¯ããŒã ãªã¹ãããŒã衚瀺ããäŸ:
----------------------------------------
/set weechat.bar.nicklist.conditions "${nicklist} && ${window.win_width} > 100"
----------------------------------------
äžãšåãã ãã'&bitlbee' ãããã¡ã§ã¯åžžã«ããã¯ããŒã ãªã¹ãã衚瀺
(ãŠã£ã³ããŠå¹
ãçããŠã):
----------------------------------------
/set weechat.bar.nicklist.conditions "${nicklist} && (${window.win_width} > 100 || ${buffer.full_name} == irc.bitlbee.&bitlbee)"
----------------------------------------
[[notify_levels]]
=== éç¥ã¬ãã« ===
ãããã¡ã«è¡šç€ºãããåã¡ãã»ãŒãžã«ã¯ 4 ã€ã®ã¬ãã«ãèšå®ãããŠããŸããã¬ãã«ã®äœããã®ããé ã«:
* 'low': éèŠæ§ã®äœãã¡ãã»ãŒãž (äŸãã° irc ã®åå /éåº/çµäºã¡ãã»ãŒãž)
* 'message': ãŠãŒã¶ããã®ã¡ãã»ãŒãž
* 'private': ãã©ã€ããŒããããã¡ã®ã¡ãã»ãŒãž
* 'highlight': ãã€ã©ã€ããããã¡ãã»ãŒãž
ããããã®ãããã¡ã«ã¯éç¥ã¬ãã«ãèšå®ãããŠããã
éç¥ã¬ãã«ã«å¯Ÿå¿ããã¡ãã»ãŒãžã®æ°ãããããªã¹ãã«è¡šç€ºãããŸãã
ããã©ã«ãã®éç¥ã¬ãã«ã¯
<<option_weechat.look.buffer_notify_default,weechat.look.buffer_notify_default>> ãªãã·ã§ã³ã§æå®ãã
ããã©ã«ã㯠'all' ã§ãã
[width="50%",cols="3m,10",options="header"]
|========================================
| éç¥ã¬ãã« | ããããªã¹ãã«è¿œå ãããã¡ãã»ãŒãžã®ã¬ãã«
| none | (ç¡å¹)
| highlight | 'highlight' + 'private'
| message | 'highlight' + 'private' + 'message'
| all | 'highlight' + 'private' + 'message' + 'low'
|========================================
éç¥ã¬ãã«ã¯ãããã¡ã°ã«ãŒãã«å¯ŸããŠèšå®ããããšãå¯èœã§ãäŸãã°
irc ãµãŒã "freenode" ã«å«ãŸããå
šãŠã®ãããã¡ã«å¯ŸããŠèšå®ããå Žå:
----------------------------------------
/set weechat.notify.irc.freenode message
----------------------------------------
"#weechat" ãã£ã³ãã«ã ãã«å¯ŸããŠãéç¥ã¬ãã«ã 'highlight' ã«èšå®ããå Žå:
----------------------------------------
/set weechat.notify.irc.freenode.#weechat highlight
----------------------------------------
`/buffer` ã³ãã³ãã§ããããããã¡ã«å¯Ÿããéç¥ã¬ãã«ãèšå®ã§ããŸã:
----------------------------------------
/buffer notify highlight
----------------------------------------
[[key_bindings]]
=== ããã©ã«ãã®ããŒå²ãåœãŠ ===
// 'C-' = ctrl, 'A-' = alt, 'S-' = shift
[[key_bindings_command_line]]
==== ã³ãã³ãã©ã€ã³çšã®ã㌠====
[width="100%",cols="^.^3,.^10,.^5l",options="header"]
|========================================
| ã㌠| 説æ | ã³ãã³ã
| @k(â) .2+| ã³ãã³ãã©ã€ã³ã§åã®æåã«ç§»å .2+| /input move_previous_char
| @k(C-)@k(b)
| @k(â) .2+| ã³ãã³ãã©ã€ã³ã§æ¬¡ã®æåã«ç§»å .2+| /input move_next_char
| @k(C-)@k(f)
| @k(C-)@k(â) .2+| ã³ãã³ãã©ã€ã³ã§åã®åèªã«ç§»å .2+| /input move_previous_word
| @k(A-)@k(b)
| @k(C-)@k(â) .2+| ã³ãã³ãã©ã€ã³ã§æ¬¡ã®åèªã«ç§»å .2+| /input move_next_word
| @k(A-)@k(f)
| @k(Home) .2+| ã³ãã³ãã©ã€ã³ã§è¡é ã«ç§»å .2+| /input move_beginning_of_line
| @k(C-)@k(a)
| @k(End) .2+| ã³ãã³ãã©ã€ã³ã§è¡æ«ã«ç§»å .2+| /input move_end_of_line
| @k(C-)@k(e)
| @k(C-)@k(c) , @k(b) | ããã¹ãã倪ååããã³ãŒãã®æ¿å
¥ | /input insert \x02
| @k(C-)@k(c) , @k(c) | ããã¹ãã«è²ãã€ããã³ãŒãã®æ¿å
¥ | /input insert \x03
| @k(C-)@k(c) , @k(i) | ããã¹ããã€ã¿ãªãã¯äœã«ããã³ãŒãã®æ¿å
¥ | /input insert \x1D
| @k(C-)@k(c) , @k(o) | ããã¹ãè²ã®ãªã»ãããè¡ãã³ãŒãã®æ¿å
¥ | /input insert \x0F
| @k(C-)@k(c) , @k(r) | ããã¹ãè²ã®å転ãè¡ãã³ãŒãã®æ¿å
¥ | /input insert \x12
| @k(C-)@k(c) , @k(u) | ããã¹ãã«äžç·ãåŒãã³ãŒãã®æ¿å
¥ | /input insert \x15
| @k(Del) .2+| ã³ãã³ãã©ã€ã³ã§æ¬¡ã®æåãåé€ .2+| /input delete_next_char
| @k(C-)@k(d)
| @k(Backsp.) .2+| ã³ãã³ãã©ã€ã³ã§åã®æåãåé€ .2+| /input delete_previous_char
| @k(C-)@k(h)
| @k(C-)@k(k) | ã³ãã³ãã©ã€ã³ã§ã«ãŒãœã«ããåŸã®æååãåé€ (åé€ãããæååã¯ã¯ãªããããŒãã«ä¿å) | /input delete_end_of_line
| @k(C-)@k(r) | ãããã¡äžã®å±¥æŽããããã¹ãæ€çŽ¢ (<<key_bindings_search_context,æ€çŽ¢ã¢ãŒãçšã®ããŒ>>ãåç
§) | /input search_text
| @k(C-)@k(t) | æåã®å
¥ãæ¿ã | /input transpose_chars
| @k(C-)@k(u) | ã³ãã³ãã©ã€ã³ã§ã«ãŒãœã«ããåã®æååãåé€ (åé€ãããæååã¯ã¯ãªããããŒãã«ä¿å) | /input delete_beginning_of_line
| @k(C-)@k(w) | ã³ãã³ãã©ã€ã³ã§åã®åèªãåé€ (åé€ãããæååã¯ã¯ãªããããŒãã«ä¿å) | /input delete_previous_word
| @k(C-)@k(y) | ã¯ãªããããŒãã®å
容ã貌ãä»ã | /input clipboard_paste
| @k(C-)@k(_) | ã³ãã³ãã©ã€ã³ã®æåŸã®åäœãããçŽã | /input undo
| @k(A-)@k(_) | ã³ãã³ãã©ã€ã³ã®æåŸã®åäœãåãæ¶ã | /input redo
| @k(Tab) | ã³ãã³ããããã¯ããŒã ãè£å® (å床 @k(Tab) ããããšã§æ¬¡ã®è£å®åè£ã衚瀺) | /input complete_next
| @k(S-)@k(Tab) | è£å®åè£ãç¡ãå Žå: éšåè£å®ãè¡ããè£å®åè£ãæãå Žå: åã®è£å®åè£ã衚瀺 | /input complete_previous
| @k(Enter) .3+| ã³ãã³ããå®è¡ããããã¡ãã»ãŒãžãéä¿¡ãã (æ€çŽ¢ã¢ãŒãã®å Žå: æ€çŽ¢ã®çµäº) .3+| /input return
| @k(C-)@k(j)
| @k(C-)@k(m)
| @k(â) | åã®ã³ãã³ã/ã¡ãã»ãŒãžãåŒã³åºã (æ€çŽ¢ã¢ãŒãã®å Žå: äžæ¹åã«æ€çŽ¢) | /input history_previous
| @k(â) | 次ã®ã³ãã³ã/ã¡ãã»ãŒãžãåŒã³åºã (æ€çŽ¢ã¢ãŒãã®å Žå: äžæ¹åã«æ€çŽ¢) | /input history_next
| @k(C-)@k(â) | ã°ããŒãã«å±¥æŽããåã®ã³ãã³ã/ã¡ãã»ãŒãžãåŒã³åºã (ãã¹ãŠã®ãããã¡ã«å¯ŸããŠå
±éã®å±¥æŽ) | /input history_global_previous
| @k(C-)@k(â) | ã°ããŒãã«å±¥æŽãã次ã®ã³ãã³ã/ã¡ãã»ãŒãžãåŒã³åºã (ãã¹ãŠã®ãããã¡ã«å¯ŸããŠå
±éã®å±¥æŽ) | /input history_global_next
| @k(A-)@k(d) | ã³ãã³ãã©ã€ã³ã§æ¬¡ã®åèªãåé€ (åé€ãããæååã¯ã¯ãªããããŒãã«ä¿å) | /input delete_next_word
| @k(A-)@k(k) | ããŒå
¥åã奪ã£ãŠãã³ãã³ãã©ã€ã³ã«ã³ãŒã (ããŒãå²ãåœãŠãããŠããã°ã³ãã³ã) ãå
¥å | /input grab_key_command
| @k(A-)@k(r) | ã³ãã³ãã©ã€ã³ãžã®å
¥åããã¹ãŠåé€ | /input delete_line
| @k(A-)@k(s) | aspell ã®æå¹ç¡å¹ãåãæ¿ã | /mute aspell toggle
|========================================
[[key_bindings_buffers_windows]]
==== ãããã¡ / ãŠã£ã³ããŠçšã®ã㌠====
[width="100%",cols="^.^3,.^10,.^5l",options="header"]
|========================================
| ã㌠| 説æ | ã³ãã³ã
| @k(C-)@k(l) | å
šãŠã£ã³ããŠãåæç» | /window refresh
| @k(C-)@k(s) , @k(C-)@k(u) | ãã¹ãŠã®ãããã¡ã«æªèªããŒã¯ãã»ãã | /input set_unread
| @k(C-)@k(x) | åãçªå·ãæã€ãããã¡ã«ã¢ã¿ãããããŠããå ŽåãçŸåšã®ãããã¡ã«ç§»å | /input switch_active_buffer
| @k(A-)@k(x) | ããŒãžããããããã¡ã«åãºãŒã (@k(A-)@k(x): å
šãŠã®ããŒãžããããããã¡ã衚瀺) | /input zoom_merged_buffer
| @k(PgUp) | ãããã¡å±¥æŽã 1 ããŒãžåäžæ¹åã«ã¹ã¯ããŒã« | /window page_up
| @k(PgDn) | ãããã¡å±¥æŽã 1 ããŒãžåäžæ¹åã«ã¹ã¯ããŒã« | /window page_down
| @k(A-)@k(PgUp) | ãããã¡å±¥æŽãæ°è¡åäžæ¹åã«ã¹ã¯ããŒã« | /window scroll_up
| @k(A-)@k(PgDn) | ãããã¡å±¥æŽãæ°è¡åäžæ¹åã«ã¹ã¯ããŒã« | /window scroll_down
| @k(A-)@k(Home) | ãããã¡å±¥æŽãæåãŸã§ã¹ã¯ããŒã« | /window scroll_top
| @k(A-)@k(End) | ãããã¡å±¥æŽãæåŸãŸã§ã¹ã¯ããŒã« | /window scroll_bottom
| @k(A-)@k(â) .4+| åã®ãããã¡ã«ç§»å .4+| /buffer -1
| @k(A-)@k(â)
| @k(C-)@k(p)
| @k(F5)
| @k(A-)@k(â) .4+| åŸã®ãããã¡ã«ç§»å .4+| /buffer +1
| @k(A-)@k(â)
| @k(C-)@k(n)
| @k(F6)
| @k(F7) | ãŠã£ã³ããŠãåã«ç§»å | /window -1
| @k(F8) | ãŠã£ã³ããŠãåŸã«ç§»å | /window +1
| @k(F9) | ãããã¡ã¿ã€ãã«ãå·Šæ¹åã«ã¹ã¯ããŒã« | /bar scroll title * -30%
| @k(F10) | ãããã¡ã¿ã€ãã«ãå³æ¹åã«ã¹ã¯ããŒã« | /bar scroll title * +30%
| @k(F11) | ããã¯ããŒã ãªã¹ããäžæ¹åã«ã¹ã¯ããŒã« | /bar scroll nicklist * -100%
| @k(F12) | ããã¯ããŒã ãªã¹ããäžæ¹åã«ã¹ã¯ããŒã« | /bar scroll nicklist * +100%
| @k(A-)@k(F11) | ããã¯ããŒã ãªã¹ããäžçªäžã«ã¹ã¯ããŒã« | /bar scroll nicklist * b
| @k(A-)@k(F12) | ããã¯ããŒã ãªã¹ããäžçªäžã«ã¹ã¯ããŒã« | /bar scroll nicklist * e
| @k(A-)@k(a) | å€æŽã®ãã£ã次ã®ãããã¡ã«ç§»å (åªå
é äœ: ãã€ã©ã€ããæ°èŠã¡ãã»ãŒãžããã®ä») | /input jump_smart
| @k(A-)@k(h) | ããããªã¹ã (ä»ã®ãããã¡ã«ãã£ãå€æŽéç¥ãªã¹ã) ãæ¶å» | /input hotlist_clear
| @k(A-)@k(j) , @k(A-)@k(l) | æåŸã®ãããã¡ã«ç§»å | /input jump_last_buffer
| @k(A-)@k(j) , @k(A-)@k(r) | IRC çãããã¡ã«ç§»å | /server raw
| @k(A-)@k(j) , @k(A-)@k(s) | IRC ãµãŒããããã¡ã«ç§»å | /server jump
| @k(A-)@k(0...9) | çªå·ã®ãããã¡ã«ç§»å (0 = 10) | /buffer *N
| @k(A-)@k(j) , @k(01...99) | çªå·ã®ãããã¡ã«ç§»å | /buffer NN
| @k(A-)@k(m) | ããŠã¹ã®æå¹ç¡å¹ãåãæ¿ã | /mouse toggle
| @k(A-)@k(n) | 次ã®ãã€ã©ã€ããŸã§ã¹ã¯ããŒã« | /window scroll_next_highlight
| @k(A-)@k(p) | åã®ãã€ã©ã€ããŸã§ã¹ã¯ããŒã« | /window scroll_previous_highlight
| @k(A-)@k(u) | ãããã¡ãæåã®æªèªè¡ãŸã§ã¹ã¯ããŒã« | /window scroll_unread
| @k(A-)@k(w) , @k(A-)@k(â) | äžã®ãŠã£ã³ããŠã«ç§»å | /window up
| @k(A-)@k(w) , @k(A-)@k(â) | äžã®ãŠã£ã³ããŠã«ç§»å | /window down
| @k(A-)@k(w) , @k(A-)@k(â) | å·Šã®ãŠã£ã³ããŠã«ç§»å | /window left
| @k(A-)@k(w) , @k(A-)@k(â) | å³ã®ãŠã£ã³ããŠã«ç§»å | /window right
| @k(A-)@k(w) , @k(A-)@k(b) | ãã¹ãŠã®ãŠã£ã³ããŠãµã€ãºãåçã« | /window balance
| @k(A-)@k(w) , @k(A-)@k(s) | 2 ã€ã®ãŠã£ã³ããŠãå
¥ãæ¿ã | /window swap
| @k(A-)@k(z) | çŸåšã®ãŠã£ã³ããŠãæ倧å (å床 @k(A-)@k(z) ããããšã§: æåã®ãŠã£ã³ããŠç¶æ
ã«æ»ããæ倧ååã®ç¶æ
) | /window zoom
| @k(A-)@k(<) | ãããã¡èšªåå±¥æŽã§åã®ãããã¡ã«ç§»å | /input jump_previously_visited_buffer
| @k(A-)@k(>) | ãããã¡èšªåå±¥æŽã§æ¬¡ã®ãããã¡ã«ç§»å | /input jump_next_visited_buffer
| @k(A-)@k(/) | æåŸã«è¡šç€ºãããããã¡ã«ç§»å (ãããã¡ç§»ååã«è¡šç€ºããŠãããŠã£ã³ããŠ) | /input jump_last_buffer_displayed
| @k(A-)@k(=) | ãã£ã«ã¿ã®æå¹ç¡å¹ãåãæ¿ã | /filter toggle
|========================================
[[key_bindings_search_context]]
==== "æ€çŽ¢" ã¢ãŒãçšã®ã㌠====
以äžã®ããŒã¯ "æ€çŽ¢" ã¢ãŒã (ãããã¡å
ã®ããã¹ãæ€çŽ¢çšã«
@k(C-)@k(r) ãæŒãããç¶æ
) ã§ã®ã¿æå¹ã§ãã
[width="100%",cols="^.^3,.^10,.^5l",options="header"]
|========================================
| ã㌠| 説æ | ã³ãã³ã
| @k(C-)@k(r) | 倧æåå°æåãåºå¥ããŠæ€çŽ¢ | /input search_switch_case
| @k(â) | åã®ããŒã¯ãŒãã§æ€çŽ¢ | /input search_previous
| @k(â) | 次ã®ããŒã¯ãŒãã§æ€çŽ¢ | /input search_next
| @k(Enter) .3+| æ€çŽ¢ãçµäº .3+| /input search_stop
| @k(C-)@k(j)
| @k(C-)@k(m)
|========================================
[[key_bindings_cursor_context]]
==== "ã«ãŒãœã«" ã¢ãŒãçšã®ã㌠====
以äžã®ããŒã¯ "ã«ãŒãœã«" ã¢ãŒã (ã¹ã¯ãªãŒã³äžã§ã«ãŒãœã«ãèªç±ã«åãããç¶æ
) ã§ã®ã¿æå¹ã§ãã
[width="100%",cols="^.^3,^.^3,.^10,.^8l",options="header"]
|========================================
| ã㌠| ãšãªã¢ | 説æ | ã³ãã³ã
| @k(â) | - | ã«ãŒãœã«ãäžã®è¡ã«ç§»å | /cursor move up
| @k(â) | - | ã«ãŒãœã«ãäžã®è¡ã«ç§»å | /cursor move down
| @k(â) | - | ã«ãŒãœã«ãå·Šã®åã«ç§»å | /cursor move left
| @k(â) | - | ã«ãŒãœã«ãå³ã®åã«ç§»å | /cursor move right
| @k(A-)@k(â) | - | ã«ãŒãœã«ãäžã®ãšãªã¢ã«ç§»å | /cursor move area_up
| @k(A-)@k(â) | - | ã«ãŒãœã«ãäžã®ãšãªã¢ã«ç§»å | /cursor move area_down
| @k(A-)@k(â) | - | ã«ãŒãœã«ãå·Šã®ãšãªã¢ã«ç§»å | /cursor move area_left
| @k(A-)@k(â) | - | ã«ãŒãœã«ãå³ã®ãšãªã¢ã«ç§»å | /cursor move area_right
| @k(m) | ãã£ãã | ã¡ãã»ãŒãžãåŒçš | hsignal:chat_quote_message;/cursor stop
| @k(q) | ãã£ãã | ãã¬ãã£ãã¯ã¹ãšã¡ãã»ãŒãžãåŒçš | hsignal:chat_quote_prefix_message;/cursor stop
| @k(Q) | ãã£ãã | æéããã¬ãã£ãã¯ã¹ãã¡ãã»ãŒãžãåŒçš | hsignal:chat_quote_time_prefix_message;/cursor stop
| @k(b) | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ããã³ãã | /window ${_window_number};/ban ${nick}
| @k(k) | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ãããã¯ãã | /window ${_window_number};/kick ${nick}
| @k(K) | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ããã³ãšããã¯ãã | /window ${_window_number};/kickban ${nick}
| @k(q) | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ã«å¯Ÿããã¯ãšãªãéã | /window ${_window_number};/query ${nick};/cursor stop
| @k(w) | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ã«å¯Ÿã㊠whois ãè¡ã | /window ${_window_number};/whois ${nick}
| @k(Enter) .3+| - .3+| ã«ãŒãœã«ã¢ãŒããçµäº .3+| /cursor stop
| @k(C-)@k(j)
| @k(C-)@k(m)
|========================================
[[key_bindings_mouse_context]]
==== "ããŠã¹" ã¢ãŒãçšã®ã㌠====
以äžã®ããŒã¯ "ããŠã¹" ã¢ãŒã (ããŠã¹ã€ãã³ããçºçãããšã) ã§ã®ã¿æå¹ã§ãã
[width="100%",cols="^.^3,^.^3,^.^3,.^10,.^8l",options="header"]
|========================================
| ãã¿ã³^(1)^ | ãžã§ã¹ãã£ãŒ| ãšãªã¢| 説æ | ã³ãã³ã
| âŸâœâœ | - | ãã£ãã | ãŠã£ã³ããŠã«ç§»å | /window ${_window_number}
| âŸâœâœ | å·Š | ãã£ãã | åã®ãããã¡ã«ç§»å | /window ${_window_number};/buffer +1
| âŸâœâœ | å³ | ãã£ãã | 次ã®ãããã¡ã«ç§»å | /window ${_window_number};/buffer +1
| âŸâœâœ | å·Š (é·ã) | ãã£ãã | æåã®ãããã¡ã«ç§»å | /window ${_window_number};/buffer 1
| âŸâœâœ | å³ (é·ã) | ãã£ãã | æåŸã®ãããã¡ã«ç§»å | /window ${_window_number};/input jump_last_buffer
| âŸâœâœ | - | ãã£ãã (ã¹ã¯ãªãããããã¡) | ã¹ã¯ãªãããããã¡ã§è¡éžæ | /script go ${_chat_line_y}
| âœâœâŸ | - | ãã£ãã (ã¹ã¯ãªãããããã¡) | ã¹ã¯ãªããã®ã€ã³ã¹ããŒã« / åé€ | /script go ${_chat_line_y};/script installremove ${script_name_with_extension}
| â | - | ãã£ãã | ãããã¡å±¥æŽãäžæ¹åã«ã¹ã¯ããŒã« | /window scroll_up -window ${_window_number}
| â | - | ãã£ãã | ãããã¡å±¥æŽãäžæ¹åã«ã¹ã¯ããŒã« | /window scroll_down -window ${_window_number}
| â | - | ãã£ãã (ã¹ã¯ãªãããããã¡) | ã¹ã¯ãªãããããã¡ã 5 è¡äžæ¹åã«ã¹ã¯ããŒã« | /script up 5
| â | - | ãã£ãã (ã¹ã¯ãªãããããã¡) | ã¹ã¯ãªãããããã¡ã§ 5 è¡äžæ¹åã«ã¹ã¯ããŒã« | /script down 5
| @k(C-)â | - | ãã£ãã | 氎平巊æ¹åã«ã¹ã¯ããŒã« | /window scroll_horiz -window ${_window_number} -10%
| @k(C-)â | - | ãã£ãã | æ°Žå¹³å³æ¹åã«ã¹ã¯ããŒã« | /window scroll_horiz -window ${_window_number} +10%
| âŸâœâœ | äž | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ãªã¹ãã 1 ããŒãžåäžæ¹åã«ã¹ã¯ããŒã« | /bar scroll nicklist ${_window_number} -100%
| âŸâœâœ | äž | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ãªã¹ãã 1 ããŒãžåäžæ¹åã«ã¹ã¯ããŒã« | /bar scroll nicklist ${_window_number} +100%
| âŸâœâœ | äž (é·ã) | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ãªã¹ãã®æåã«ç§»å | /bar scroll nicklist ${_window_number} b
| âŸâœâœ | äž (é·ã) | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ãªã¹ãã®æåŸã«ç§»å | /bar scroll nicklist ${_window_number} e
| âŸâœâœ | - | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ã«å¯Ÿããã¯ãšãªãéã | /window ${_window_number};/query ${nick}
| âœâœâŸ | - | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ã«å¯Ÿãã whois ãè¡ã | /window ${_window_number};/whois ${nick}
| âŸâœâœ | å·Š | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ãããã¯ãã | /window ${_window_number};/kick ${nick}
| âŸâœâœ | å·Š (é·ã) | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ãããã¯ãšãã³ãã | /window ${_window_number};/kickban ${nick}
| âœâœâŸ | å·Š | ããã¯ããŒã ãªã¹ã | ããã¯ããŒã ããã³ãã | /window ${_window_number};/ban ${nick}
| âœâœâŸ | - | å
¥å | ããŠã¹ã€ãã³ãã奪ã£ãŠã³ãã³ãã©ã€ã³ã«ã³ãŒããå
¥å | /input grab_mouse_area
| â | - | ä»»æã®ã㌠| ããŒã -20% ã¹ã¯ããŒã« | /bar scroll ${_bar_name} ${_window_number} -20%
| â | - | ä»»æã®ã㌠| ããŒã +20% ã¹ã¯ããŒã« | /bar scroll ${_bar_name} ${_window_number} +20%
| âœâŸâœ | - | ä»»æã®å Žæ | ãã®å Žæã§ã«ãŒãœã«ã¢ãŒããéå§ | /cursor go ${_x},${_y}
|========================================
[NOTE]
^(1)^ "â" ãš "â" ã¯ãã€ãŒã«ã®äžæ¹åå転ãšäžæ¹åå転ã«å¯Ÿå¿ããŸãã
[[mouse]]
=== ããŠã¹ãµããŒã ===
WeeChat ã¯ããŠã¹ã¯ãªãã¯ãšããŠã¹ãžã§ã¹ãã£ãŒããµããŒãããŠããŸãã
ããŒã«ã«ç«¯æ«ãš screen/tmux ã®æç¡ã«ããããã ssh æ¥ç¶çµç±ã§å©çšå¯èœã§ãã
[[mouse_enable]]
==== ããŠã¹ã®æå¹å ====
èµ·åæã«ããŠã¹ãæå¹åããã«ã¯:
----------------------------------------
/set weechat.look.mouse on
----------------------------------------
ããŠã¹ãæå¹åããã«ã¯ @k(A-)@k(m) ãæŒããã以äžã®ã³ãã³ãã䜿ããŸã:
----------------------------------------
/mouse enable
----------------------------------------
ããŒã«ããŠã¹ã®äžæçãªç¡å¹åãå²ãåœãŠãããšãã§ããŸãã äŸãã°ã
@k(A-)@k(x) ããŒã«ããŠã¹ã 10 ç§éç¡å¹åããæ©èœãå²ãåœãŠãã«ã¯:
----------------------------------------
/key bind meta-x /mouse toggle 10
----------------------------------------
WeeChat ã§ããŠã¹ãæå¹åãããŠããå Žåã@k(-S-)
修食ããŒã§éžæãã¯ãªãã¯ãã§ããŸããããã§ããŠã¹ãç¡å¹åãããŠããå Žåãšåãäœæ¥ãè¡ããŸã
(iTerm çã®ç«¯æ«ã§ã¯ @k(-S-) ã®ä»£ããã« @k(-A-) ã䜿ã£ãŠãã ãã)ã
[NOTE]
ããŠã¹ã«é¢ãããã©ãã«ãããã° 'WeeChat FAQ' ãåç
§ããŠãã ããã
[[mouse_bind_events]]
==== ã³ãã³ãã«å¯ŸããŠããŠã¹ã€ãã³ããå²ãåœãŠã ====
WeeChat ã¯ããã©ã«ãããŠã¹ã€ãã³ãã®å€ããå®çŸ©ããŠããŸã
(<<key_bindings_mouse_context,"ããŠã¹" ã¢ãŒãçšã®ããŒ>>ãåç
§)ã
`/key` ã³ãã³ã㧠"mouse" ã³ã³ããã¹ããæå®ããããšã§å²ãåœãŠãè¿œå ãå€æŽã§ããŸã
(詳ããæ¹æ³ã¯ <<command_weechat_key,/key ã³ãã³ã>>ãåç
§)ã
ã€ãã³ãåã«ã¯ä¿®é£Ÿã㌠(ä»»æ)ããã¿ã³/ãã€ãŒã«åããžã§ã¹ãã£ãŒ (ä»»æ)
ãå©çšã§ããŸããç°ãªãã€ãã³ã㯠"-" ã§åå²ããŠãã ããã
修食ããŒãªã¹ã:
[width="50%",cols="3m,4",options="header"]
|========================================
| 修食ã㌠| 説æ
| ctrl | @k(-C-) ããŒ
| alt | @k(-A-) ããŒ
| ctrl-alt | @k(-C-) ãš @k(-A-) ããŒ
|========================================
ãã¿ã³/ãã€ãŒã«ã®ãªã¹ã:
[width="50%",cols="3m,4",options="header"]
|========================================
| ãã¿ã³/ãã€ãŒã« | 説æ
| button1 | å·Šãã¿ã³ã¯ãªãã¯
| button2 | å³ãã¿ã³ã¯ãªãã¯
| button3 | äžãã¿ã³ã¯ãªã㯠(å€ãã®å Žåãã€ãŒã«ã¯ãªãã¯)
| button4 ... button9 | ãã®ä»ã®ãã¿ã³ã¯ãªãã¯
| wheelup | ãã€ãŒã« (äžæ¹å)
| wheeldown | ãã€ãŒã« (äžæ¹å)
|========================================
ãžã§ã¹ãã£ãŒã®ãªã¹ã (ãã¿ã³ã®ã¿å¯Ÿå¿ããã€ãŒã«æªå¯Ÿå¿):
[width="50%",cols="3m,4",options="header"]
|========================================
| ãžã§ã¹ãã£ãŒ | è·é¢
| gesture-up | 3 ... 19
| gesture-up-long | ⥠20
| gesture-down | 3 ... 19
| gesture-down-long | ⥠20
| gesture-left | 3 ... 39
| gesture-left-long | ⥠40
| gesture-right | 3 ... 39
| gesture-right-long | ⥠40
|========================================
æªå®äºã€ãã³ãã®ãªã¹ã (ãã¿ã³ã®ã¿ããã©ã°ã€ã³/ã¹ã¯ãªããã§äŸ¿å©):
[width="50%",cols="3m,4",options="header"]
|========================================
| ã€ãã³ã | 説æ
| event-down | ããŠã¹ãã¿ã³ãæŒãããé¢ãããŠããªãç¶æ
| event-drag | ããŠã¹ãã¿ã³ãæŒãããç¶æ
ã§ããŠã¹ãåãããã
|========================================
ã€ãã³ãã®è¡šèšäŸ:
* `button1`
* `ctrl-button1`
* `button1-gesture-right`
* `button1-event-down`
* `button1-event-drag`
* `alt-button2-gesture-down-long`
* `wheelup`
* `ctrl-alt-wheeldown`
* ...
[TIP]
"mouse" ã€ãã³ãã«ããŒãå²ãåœãŠãå Žåãã€ãã³ãåã®æåãŸãã¯æåŸã« `*`
ã䜿ãããšã§è€æ°ã®ã€ãã³ãã«ããããããããšãã§ããŸããäŸãã°
`button1-gesture-*` ã¯å·Šã¯ãªãã¯ãå©çšãããã¹ãŠã®ãžã§ã¹ãã£ãŒã«ãããããŸãã
[TIP]
`/input grab_mouse` ã³ãã³ãã®åŸã«ããŠã¹ãåããããšã§ã³ãã³ãã©ã€ã³ã«ããŠã¹ã€ãã³ããå
¥åãããŸãã
ããã«ãã察å¿ããã€ãã³ãã確èªã§ããŸãã
[[command_line]]
=== ã³ãã³ãã©ã€ã³ ===
WeeChat ã³ãã³ãã©ã€ã³ (ãŠã£ã³ããŠã®äžçªäžã«ãããŸã)
ã¯ã³ãã³ãã®å®è¡ããããã¡ã«ããã¹ããéä¿¡ããããã«å©çšããŸãã
[[command_line_syntax]]
==== ææ³ ====
ã³ãã³ã㯠"/" æåã§å§ãŸããã³ãã³ãã®ååãç¶ããŸãã
äŸãã°ããã¹ãŠã®ãªãã·ã§ã³ã衚瀺ããã«ã¯:
----------------------------------------
/set
----------------------------------------
"/" ãæåã«ç¡ãå Žåããã®ããã¹ãã¯ãããã¡ã«éä¿¡ãããŸããäŸãã°ã'hello'
ãšããããã¹ãããããã¡ã«éä¿¡ããã«ã¯:
----------------------------------------
hello
----------------------------------------
"/" æåããå§ãŸãããã¹ããéä¿¡ãããå Žåã㯠2 éã« "/" ãã€ããŸããäŸãã°ã'/set'
ãšããããã¹ããçŸåšã®ãããã¡ã«éä¿¡ããã«ã¯:
----------------------------------------
//set
----------------------------------------
[[command_line_colors]]
=== è²ã³ãŒã ===
IRC çã®ãã©ã°ã€ã³ã§ã¯ã以äžã®è²ã³ãŒããšå±æ§ãå©çšã§ããŸã
(@k(C-)@k(c) ã®åŸã«ããªãã·ã§ã³ãšãšãã«ä»¥äžã®ããŒãæŒããŠãã ãã):
@k(C-)@k(c) , @k(b)::
ããã¹ãã倪åã«
@k(C-)@k(c) , @k(c) , @k(xx)::
ããã¹ã衚瀺è²ã `xx` ã« (以äžã®è²ãªã¹ããåç
§)
@k(C-)@k(c) , @k(c) , @k(xx,yy)::
ããã¹ã衚瀺è²ã `xx` ã«ãèæ¯è²ã `yy` ã« (以äžã®è²ãªã¹ããåç
§)
@k(C-)@k(c) , @k(o)::
ããã¹ã衚瀺è²ãšå±æ§ããªã»ãã
@k(C-)@k(c) , @k(r)::
ããã¹ããå転 (ããã¹ã衚瀺è²ãšèæ¯è²ã®å
¥ãæ¿ã)
@k(C-)@k(c) , @k(u)::
ããã¹ãã«äžç·ãåŒã
[NOTE]
åãã³ãŒã㧠(è²ã³ãŒããå
¥åããã« @k(C-)@k(c) , @k(c)
ã䜿ãããšã§) å±æ§ããã£ã³ã»ã«ããããšãã§ããŸãã
@k(C-)@k(c) , @k(c) çšã®è²ã³ãŒã:
[width="50%",cols="^1m,3,3",options="header"]
|========================================
| ã³ãŒã | IRC | WeeChat (curses)
| 00 | çœ | white
| 01 | é» | black
| 02 | æãé | blue
| 03 | æãç· | green
| 04 | æããèµ€ | lightred
| 05 | æãèµ€ | red
| 06 | 赀玫 | magenta
| 07 | æ©è² | brown
| 08 | é»è² | yellow
| 09 | æããç·è² | lightgreen
| 10 | éç· | cyan
| 11 | æããéç·è² | lightcyan
| 12 | æããé | lightblue
| 13 | æããèµ€çŽ«è² | lightmagenta
| 14 | ç°è² | gray
| 15 | æããç°è² | white
|========================================
äŸ: "ããã«ã¡ã¯çãã!" ã® "ããã«ã¡ã¯" ã倪åã®æããéã"çãã"
ãäžç·ä»ãã®æããèµ€ã«è¡šç€ºãããå Žå:
----------------------------------------
^Cc12^Cbããã«ã¡ã¯^Cb^Cc04^Cuçãã^Cu^Cc!
----------------------------------------
[NOTE]
irc ãã©ã°ã€ã³ã§ã¯ã<<option_irc.color.mirc_remap,irc.color.mirc_remap>>
ã䜿ã£ãŠãããã®è²ãå¥ã®è²ã«å¯Ÿå¿ä»ããããšãã§ããŸãã
[[colors]]
=== è² ===
WeeChat ã§ã¯ããŒããã£ãããšãªã¢ã«ãããããã¹ã衚瀺㫠256 åã®è²ãã¢ãå©çšã§ããŸã
(ãã®æ©èœãå©çšããã«ã¯ WeeChat ãå®è¡ãããŠããã¿ãŒããã«ã 256 è²è¡šç€ºã«å¯Ÿå¿ããŠããå¿
èŠããããŸã)ã
'TERM' ç°å¢å€æ°ã®å€ã«ãã£ãŠãWeeChat
ã§å©çšã§ããè²ãšè²ãã¢ã«ä»¥äžã®å¶éããããŸã:
[width="50%",cols="8,>2,>2",options="header"]
|========================================
| $TERM | è² | ã㢠^(1)^
| "rxvt-unicode", "xterm",... | 88 | 256
| "rxvt-256color", "xterm-256color",... | 256 | 32767
| "screen" | 8 | 64
| "screen-256color" | 256 | 32767
|========================================
[NOTE]
^(1)^ 端æ«ã 256 ãã¢ä»¥äžã®è¡šç€ºããµããŒãããŠããŠããWeeChat
ã§ã¯ ncurses ã®å¶éã«ãã 256 ãã¢ä»¥äžã®è¡šç€ºã¯è¡ããŸããã
`weechat-curses --colors` ãå®è¡ãããã`/color` ã³ãã³ããin WeeChat
ã®äžã§å®è¡ããããšã§ãè²è¡šç€ºã®å¶éã確èªã§ããŸãã
256 è²ãå©çšãããå Žåã«æšå¥šããã 'TERM' ç°å¢å€æ°ã®å€ã¯:
* screen ã®äž: 'screen-256color'
* screen ã®å€: 'xterm-256color' ã'rxvt-256color' ã'putty-256color' ã...
[NOTE]
'TERM' ç°å¢å€æ°ã®å€ã«äžã®å€ãèšå®ããã«ã¯ã"ncurses-term"
ããã±ãŒãžãã€ã³ã¹ããŒã«ããå¿
èŠããããããããŸããã
screen ã䜿ã£ãŠããå Žåã'~/.screenrc' ã«ä»¥äžã®å
容ãè¿œå ããŠãã ãã:
----------------------------------------
term screen-256color
----------------------------------------
'TERM' ç°å¢å€æ°ã«ééã£ãå€ãèšå®ãããç¶æ
㧠WeeChat ãèµ·åããŠãããããŠãªãã§ãã ãã!
'shell.py' ã¹ã¯ãªããã䜿ãã° WeeChat ãåèµ·åããã«ç°å¢å€æ°ã®å€ãå€æŽã§ããŸãã
----------------------------------------
/shell setenv TERM=screen-256color
/upgrade
----------------------------------------
[[colors_basic]]
==== åºæ¬è² ====
WeeChat ã«ãããåºæ¬è²ãšã¯:
[width="50%",cols="^3m,8",options="header"]
|========================================
| åå | è²
| default | ããã©ã«ãã®ç«¯æ«è² (èæ¯è²ãééè²ãšãã)
| black | é»
| darkgray | æãç°è²
| red | æãèµ€
| lightred | æããèµ€
| green | æãç·è²
| lightgreen | æããç·è²
| brown | è¶è²
| yellow | é»è²
| blue | æãé
| lightblue | æããé
| magenta | æã赀玫è²
| lightmagenta | æãã赀玫è²
| cyan | æãéç·è²
| lightcyan | æããéç·è²
| gray | ç°è²
| white | çœ
|========================================
[[colors_extended]]
==== æ¡åŒµè² ====
WeeChat ã¯ã¹ã¯ãªãŒã³ã«è²ã衚瀺ãããæç¹ã§è²ãã¢ãåçã«å²ãåœãŠãŸã
(ãããã¡ãšããŒã衚瀺ããæç¹ã§)ã
åºæ¬è²ã«å ããŠã1 çª
ãã端æ«ã®å¯Ÿå¿ç¶æ³ã«äŸåããçªå·ãŸã§ã®è²çªå·ãå©çšã§ããŸãã
`/color` ã³ãã³ãã§çŸåšã®è²ãšè²å¶éã確èªã§ããŸãã@k(A-)@k(c)
ãã¿ã€ãããããšã§ãäžæçã«ç«¯æ«è²ãéžæãããè²ã«å€æŽã§ããŸãã
äŸãã°ããããã¡äžã®ã«è¡šç€ºãããæå»ããªã¬ã³ãžè²ã«ãããå Žåã以äžã®ããã«ããŠãã ãã:
----------------------------------------
/set weechat.color.chat_time 214
----------------------------------------
ã¹ããŒã¿ã¹ããŒã®è²ãéåžžã«æãç·è²ã«ãããå Žå:
----------------------------------------
/set weechat.bar.status.color_bg 22
----------------------------------------
[[colors_aliases]]
==== å¥å ====
`/color alias` ã³ãã³ãã䜿ãã°è²ã®å¥åãè¿œå ã§ããŸãã
è¿œå åŸã¯ä»»æã®è²é¢é£ãªãã·ã§ã³ã§å¥åã䜿ããŸãã
äŸ:
----------------------------------------
/color alias 214 orange
/set weechat.color.chat_delimiters orange
----------------------------------------
[[colors_attributes]]
==== å±æ§ ====
è²ã«å¯ŸããŠããã€ãã®å±æ§ãä»å ããããšãã§ããŸãã1
ã€ä»¥äžã®å±æ§ãè²ååã¯è²çªå·ã®åã«ä»å ã§ããŸã:
* `*` : ããã¹ãã倪åã«
* `!` : ããã¹ããå転
* `_` : ããã¹ãã«äžç·ãåŒã
* `|` : å±æ§ãä¿æ:
è²ãå€ããéã«å€ªå/å転/äžç·å±æ§ããªã»ããããªã
äŸãã°ãèªåèªèº«ã®ããã¯ããŒã ã®è¡šç€ºè²ãçœã«ããŠãäžç·ãåŒãããå Žå:
----------------------------------------
/set weechat.color.chat_nick_self _white
----------------------------------------
ã¹ããŒã¿ã¹ããŒã®æå»ã®è¡šç€ºè²ãæ©è²ã«ããŠãäžç·ãåŒããŠã倪åã«ãããå Žå:
----------------------------------------
/set weechat.color.status_time *_214
----------------------------------------
ããã©ã«ã端æ«è² (-1) ã«å¯ŸããŠå±æ§ãèšå®ãããå Žåã端æ«è²çªå·ã®æ倧å€ããã倧ããªå€ãå©çšããŠãã ããã
äŸãã°ãWeeChat ã«ãããè²çªå·ã®æ倧å€ã¯ 99999 ã§ãã
端æ«ã®è¡šç€ºè²ã«å€ªåã®å±æ§ãä»å ããäŸ:
----------------------------------------
/set weechat.color.status_time *99999
----------------------------------------
[[weechat_options]]
=== WeeChat ãªãã·ã§ã³ (weechat.conf) ===
include::autogen/user/weechat_options.txt[]
[[weechat_commands]]
=== WeeChat ã³ãã³ã ===
include::autogen/user/weechat_commands.txt[]
[[plugins]]
== ãã©ã°ã€ã³ ==
API ã䜿ã£ããã©ã°ã€ã³ãã¹ã¯ãªããã®éçºã«ã€ããŠãã詳ããåŠã¶ã«ã¯ã'WeeChat
ãã©ã°ã€ã³ API ãªãã¡ã¬ã³ã¹' å㯠'WeeChat ã¹ã¯ãªãã補äœã¬ã€ã' ãåç
§ããŠãã ããã
[[plugins_in_weechat]]
=== WeeChat ã«ããããã©ã°ã€ã³ ===
ãã©ã°ã€ã³ãšã¯åçã©ã€ãã©ãªã®ããšã§ãC èšèªã§æžãããŠã³ã³ãã€ã«ãããŠããŸãã
ãã©ã°ã€ã³ã¯ WeeChat ã«ãã£ãŠèªã¿èŸŒãŸããŸãã
GNU/Linux ã®å Žåããã©ã°ã€ã³ãã¡ã€ã«ã¯ ".so" ãšããæ¡åŒµåãæã¡ãWindows ã®å Žåã".dll" ã§ãã
èŠã€ãã£ããã©ã°ã€ã³ã¯ WeeChat ã®èµ·åæã«èªåçã«èªã¿èŸŒãŸããŸããWeeChat
ã®èµ·åæã«ãã©ã°ã€ã³ãèªã¿èŸŒããåŠãã¯éžæå¯èœã§ãã
'ãã©ã°ã€ã³' ãš 'ã¹ã¯ãªãã' ã®éããæããã«ããããšã¯éèŠã§ã:
'ãã©ã°ã€ã³' ãšã¯ `/plugin` ã³ãã³ãã§èªã¿èŸŒãŸããã³ã³ãã€ã«æžã¿ãã€ããªãã¡ã€ã«ã§ããããã«å¯ŸããŠã
'ã¹ã¯ãªãã' ãšã¯ `/python` çã®ã³ãã³ã㧠'python'
çã®ãã©ã°ã€ã³ãšãšãã«èªã¿èŸŒãŸããããã¹ããã¡ã€ã«ã§ãã
`/plugin` ã³ãã³ãã䜿ãããšã§ããã©ã°ã€ã³ã®ããŒã/ã¢ã³ããŒãã
ããŒãæžã¿ãã©ã°ã€ã³ã®è¡šç€ºãè¡ãããšãã§ããŸãã
ãããã©ã°ã€ã³ãã¢ã³ããŒãããå Žåã
ã¢ã³ããŒããããã©ã°ã€ã³ãäœæãããããã¡ã¯ãã¹ãŠèªåçã«éããããŸãã
ãã©ã°ã€ã³ãããŒããã¢ã³ããŒããããŒãæžã¿ãã©ã°ã€ã³ã衚瀺ããäŸ:
----------------------------------------
/plugin load irc
/plugin unload irc
/plugin list
----------------------------------------
ããã©ã«ããã©ã°ã€ã³ã®ãªã¹ã:
[width="50%",cols="^1,5",options="header"]
|========================================
| ãã©ã°ã€ã³ | 説æ
| alias | ã³ãã³ãã®å¥åãå®çŸ©
| aspell | ã³ãã³ãã©ã€ã³ã®ã¹ãã«ãã§ãã¯
| charset | ãããã¡ã®æåã³ãŒãã«åŸã£ãŠãã³ãŒã/ãšã³ã³ãŒã
| demo | ãã¢ãã©ã°ã€ã³ (ããã©ã«ãã§ã¯ã³ã³ãã€ã«ãããŸãã)
| fifo | å€éšãã WeeChat ã«ã³ãã³ããéä¿¡ããããã® FIFO ãã€ã
| irc | IRC ãã£ãããããã³ã«
| logger | ãããã¡ã®å
容ããã¡ã€ã«ã«ä¿å
| relay | ãããã¯ãŒã¯çµç±ã§ããŒã¿ãäžç¶ (IRC ãããã·)
| rmodifier | æ£èŠè¡šçŸãçšããæååã®çœ®æ
| python | Python ã¹ã¯ãªãã API
| perl | Perl ã¹ã¯ãªãã API
| ruby | Ruby ã¹ã¯ãªãã API
| lua | Lua ã¹ã¯ãªãã API
| tcl | Tcl ã¹ã¯ãªãã API
| guile | Guile (scheme) ã¹ã¯ãªãã API
| xfer | ãã¡ã€ã«è»¢éãšãã€ã¬ã¯ããã£ãã
|========================================
[[alias_plugin]]
=== Alias ãã©ã°ã€ã³ ===
Alias ãã©ã°ã€ã³ã䜿ãããšã§ãã³ãã³ãã®å¥åãå®çŸ©ã§ããŸã (WeeChat
ã ãã§ãªãä»ã®ãã©ã°ã€ã³ãæäŸããã³ãã³ãã®å¥åãå®çŸ©ããããšãã§ããŸã)ã
[[alias_commands]]
==== ã³ãã³ã ====
include::autogen/user/alias_commands.txt[]
[[aspell_plugin]]
=== Aspell ãã©ã°ã€ã³ ===
Aspell ãã©ã°ã€ã³ã䜿ãããšã§ãã³ãã³ãã©ã€ã³ã«å
¥åããæååã®ã¹ãã«ãã§ãã¯ãã§ããŸãã
ãããã¡ããšã«ç°ãªãèšèªã«å¯Ÿããã¹ãã«ãã§ãã¯ãå®è¡ã§ããŸãã
[[aspell_options]]
==== ãªãã·ã§ã³ (aspell.conf) ====
include::autogen/user/aspell_options.txt[]
[[aspell_commands]]
==== ã³ãã³ã ====
include::autogen/user/aspell_commands.txt[]
[[aspell_speller_options]]
==== Speller ãªãã·ã§ã³ ====
Speller ãªãã·ã§ã³ã¯ aspell èšå®ã® "option"
ã»ã¯ã·ã§ã³ã«ãããªãã·ã§ã³ãè¿œå ããŠå®çŸ©ããŸãã
ããã§å©çšãããªãã·ã§ã³å㯠aspell èšå®ãªãã·ã§ã³ãšåããã®ã§ãã
ãªãã·ã§ã³ã®ãªã¹ãã¯ã·ã§ã«ã§ä»¥äžã®ã³ãã³ããå®è¡ããããšã§ç¢ºèªã§ããŸã:
----------------------------------------
$ aspell config
----------------------------------------
äŸãã°ã"ignore-case" ãªãã·ã§ã³ãæå¹åããã«ã¯:
----------------------------------------
/set aspell.option.ignore-case "true"
----------------------------------------
[[aspell_suggestions]]
==== ä¿®æ£åè£ ====
"aspell_suggest" ããŒã¢ã€ãã å
ã«ä¿®æ£åè£ã衚瀺ãããŸããä¿®æ£åè£ã®æ°ã¯
'aspell.check.suggestions' ãªãã·ã§ã³ã§èšå®ããŸãã
ä¿®æ£åè£ãå©çšããã«ã¯ã'aspell.check.suggestions' ãªãã·ã§ã³ããŒã以äžã®æŽæ°ã«èšå®ãã'status'
ããŒãªã©ã« "aspell_suggest" ããŒã¢ã€ãã ãè¿œå ããŠãã ããã
è±èªèŸæž (`en`) ãçšããä¿®æ£åè£ã®äŸ:
........................................
â[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] â
â[@Flashy] prinr â â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
........................................
è±èªãšãã©ã³ã¹èªèŸæž (`en,fr`) ãçšããä¿®æ£åè£ã®äŸ:
........................................
â[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] â
â[@Flashy] prinr â â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
........................................
[[charset_plugin]]
=== Charset ãã©ã°ã€ã³ ===
Charset ãã©ã°ã€ã³ã䜿ãããšã§ãæåã³ãŒãã«åŸã£ãŠããŒã¿ã®ãã³ãŒããšãšã³ã³ãŒããã§ããŸãã
ãã³ãŒã/ãšã³ã³ãŒãçšã«ããã©ã«ãã®æåã³ãŒããèšå®ãããŠããŸããã
ããããã®ãããã¡ (ãããã¡ã°ã«ãŒã) ã«å¯ŸããŠåå¥ã«æåã³ãŒããèšå®ããããšãã§ããŸãã
ãã®ãã©ã°ã€ã³ã®å°å
¥ã¯ä»»æã§ãããå°å
¥ãæšå¥šããŸã:
ãã®ãã©ã°ã€ã³ãããŒããããŠããªãå ŽåãWeeChat ãèªã¿æžãã§ããããŒã¿ã¯ UTF-8 ããŒã¿ã®ã¿ã«ãªããŸãã
Charset ãã©ã°ã€ã³ã¯ WeeChat ã«ãã£ãŠèªåçã«ããŒããããã¹ãã§ãã
ãã©ã°ã€ã³ãããŒããããŠããããšã確èªããã«ã¯ã以äžã®ããã«ããŠãã ãã:
----------------------------------------
/charset
----------------------------------------
ã³ãã³ããèŠã€ãããªãå Žåã以äžã®ã³ãã³ãã§ãã©ã°ã€ã³ãããŒãããŠãã ãã:
----------------------------------------
/plugin load charset
----------------------------------------
ãã©ã°ã€ã³ãèŠã€ãããªãå Žåãæåã³ãŒããµããŒããæå¹åããç¶æ
ã§
WeeChat ãåã³ã³ãã€ã«ããŠãã ããã
Charset ãã©ã°ã€ã³ãããŒããããå Žåã端æ«æåã³ãŒããšå
éšæåã³ãŒãã衚瀺ãããŸãã
端æ«æåã³ãŒãã¯ãã±ãŒã«ã«äŸåããå
éšæåã³ãŒã㯠UTF-8 ã§ãã
äŸ:
........................................
charset: terminal: ISO-8859-15, internal: UTF-8
........................................
[[charset_options]]
==== ãªãã·ã§ã³ (charset.conf) ====
include::autogen/user/charset_options.txt[]
[[charset_commands]]
==== ã³ãã³ã ====
include::autogen/user/charset_commands.txt[]
[[charset_set]]
==== æåã³ãŒãã®èšå® ====
ã°ããŒãã«ãã³ãŒãæåã³ãŒããšãšã³ã³ãŒãæåã³ãŒããèšå®ããã«ã¯ã`/set` ã³ãã³ãã䜿ã£ãŠãã ããã
äŸ:
----------------------------------------
/set charset.default.decode ISO-8859-15
/set charset.default.encode ISO-8859-15
----------------------------------------
ã°ããŒãã«ãã³ãŒãæåã³ãŒããèšå®ãããŠããªãå Žå (äŸãã° Charset
ãã©ã°ã€ã³ãå§ããŠããŒãããå Žå)ãããã¯èªåçã«ç«¯æ«ã®æåã³ãŒãã
(UTF-8 ã§ãªããã°) ãããã©ã«ãã® 'ISO-8859-1' ã«èšå®ãããŸãã
ããã©ã«ãã®ãšã³ã³ãŒãæåã³ãŒãã¯ãããŸãããåŸã£ãŠãå
éšæåã³ãŒã
(UTF-8) ã䜿ãããŸãã
IRC ãµãŒãã®æåã³ãŒããèšå®ããã«ã¯ããµãŒããããã¡ã§ `/charset` ã³ãã³ãã䜿ã£ãŠãã ããã
æåã³ãŒãã®ã¿ãåŒæ°ãšããŠäžããå Žåããã®æåã³ãŒãããã³ãŒããšãšã³ã³ãŒãã«å©çšãããŸãã
äŸ:
----------------------------------------
/charset ISO-8859-15
----------------------------------------
ããã¯ä»¥äžãšç䟡ã§ã:
----------------------------------------
/charset decode ISO-8859-15
/charset encode ISO-8859-15
----------------------------------------
IRC ãã£ã³ãã« (ãŸãã¯ãã©ã€ããŒãã¡ãã»ãŒãž) ã®æåã³ãŒããèšå®ããã«ã¯ã
ãµãŒãã®æåã³ãŒãèšå®ãšåæ§ã®ã³ãã³ãããã£ã³ãã« (ãŸãã¯ãã©ã€ããŒãã¡ãã»ãŒãž) ãããã¡ã§äœ¿ã£ãŠãã ããã
ãã¹ãŠã®æåã³ãŒãèšå®ã確èªããã«ã¯ã以äžã®ã³ãã³ããå©çšããŠãã ãã:
----------------------------------------
/set charset.*
----------------------------------------
[[charset_troubleshooting]]
==== ãã©ãã«ã·ã¥ãŒãã£ã³ã° ====
æåã³ãŒãã«é¢ããåé¡ãããã°ã'WeeChat FAQ' ãåç
§ããŠãã ããã
[[fifo_plugin]]
=== Fifo ãã©ã°ã€ã³ ===
å€éšãã WeeChat ãæäœããã«ã¯ãFIFO ãã€ãã«ã³ãã³ããããã¹ããæžã蟌ãã§ãã ãã ("plugins.var.fifo.fifo"
ãªãã·ã§ã³ãæå¹åãããŠããå¿
èŠããããŸãããããã©ã«ãã§æå¹åãããŠããã¯ãã§ã)ã
FIFO ãã€ã㯠'~/.weechat/' ã®äžã«ããã'weechat_fifo_xxxx'
ã®ãããªååã«ãªã£ãŠããŸã ('xxxx' ã¯å®è¡äžã® WeeChat ã®ããã»ã¹ ID (PID) ã§ã)ã
FIFO ãã€ãã«æžã蟌ãã³ãã³ã/ããã¹ãã®ææ³ã¯ä»¥äžã®äŸã®äžã€ã§ã:
........................................
plugin.buffer *ããã¹ããŸãã¯ã³ãã³ã
*ããã¹ããŸãã¯ã³ãã³ã
........................................
äŸ:
* IRC ãµãŒã freenode ã®ããã¯ããŒã ã "newnick" ã«å€æŽãã:
----------------------------------------
$ echo 'irc.server.freenode */nick newnick' >~/.weechat/weechat_fifo_12345
----------------------------------------
* IRC ã® #weechat ãã£ã³ãã«ã«å¯ŸããŠããã¹ããéä¿¡:
----------------------------------------
$ echo 'irc.freenode.#weechat *hello!' >~/.weechat/weechat_fifo_12345
----------------------------------------
* çŸåšã®ãããã¡ã«å¯ŸããŠããã¹ããéä¿¡:
----------------------------------------
$ echo '*hello!' >~/.weechat/weechat_fifo_12345
----------------------------------------
* Python ã¹ã¯ãªããã®ã¢ã³ããŒããšããŒããè¡ã 2 ã€ã®ã³ãã³ããéä¿¡
(è€æ°ã®ã³ãã³ã㯠"\n" ã§åå²ããŠãã ãã):
----------------------------------------
$ echo -e '*/python unload\n*/python autoload' >~/.weechat/weechat_fifo_12345
----------------------------------------
å®è¡äžã® WeeChat
ãã¹ãŠã«å¯ŸããŠã³ãã³ããéä¿¡ããã¹ã¯ãªããã¯ä»¥äžã®ããã«æžããŸããäŸãã°:
[source,shell]
----------------------------------------
#!/bin/sh
if [ $# -eq 1 ]; then
for fifo in ~/.weechat/weechat_fifo_*
do
echo -e "$1" >$fifo
done
fi
----------------------------------------
ãã®ã¹ã¯ãªããã "auto_weechat_command" ãšãããã¡ã€ã«åã§ä¿åããå Žåã以äžã®ããã«å®è¡ã§ããŸã:
----------------------------------------
$ ./auto_weechat_command 'irc.freenode.#weechat *hello'
----------------------------------------
[[irc_plugin]]
=== IRC ãã©ã°ã€ã³ ===
IRC ãã©ã°ã€ã³ã¯ IRC ãããã³ã«ã«åŸã£ãŠä»ã®äººãšäŒè©±ãè¡ãããã«èšèšãããŠããŸãã
ãã«ããµãŒãã«å¯Ÿå¿ããDCC ãã£ãããšãã¡ã€ã«è»¢é (xfer ãã©ã°ã€ã³ã䜿ããŸãã
<<xfer_plugin,Xfer ãã©ã°ã€ã³>> ãåç
§) ãå«ãå
šãŠã® IRC ã³ãã³ãããµããŒãããŠããŸãã
[[irc_command_line_options]]
==== ã³ãã³ãã©ã€ã³ãªãã·ã§ã³ ====
以äžã®ããã« 1 ã€ä»¥äžã® IRC ãµãŒãã«å¯Ÿå¿ãã URL ãåŒæ°ãšããŠäžããããšãã§ããŸã:
----------------------------------------
irc[6][s]://[nick[:password]@]irc.example.org[:port][/channel][,channel[...]]
----------------------------------------
'nono' ãšããããã¯ããŒã ã䜿ã£ãŠ 'irc.freenode.net' ãã¹ãã®ããã©ã«ãããŒã (6667)
ã§çšŒåäžã® IRC ãµãŒãäžã® '#weechat' ãš '#toto' ãã£ã³ãã«ã«åå ããäŸ:
----------------------------------------
$ weechat-curses irc://nono@irc.freenode.net/#weechat,#toto
----------------------------------------
[[irc_options]]
==== ãªãã·ã§ã³ (irc.conf) ====
include::autogen/user/irc_options.txt[]
[[irc_commands]]
==== ã³ãã³ã ====
include::autogen/user/irc_commands.txt[]
[[irc_ssl_certificates]]
==== SSL 蚌ææž ====
SSL ã䜿ã£ãŠ IRC ãµãŒãã«æ¥ç¶ããå ŽåãWeeChat
ã¯ããã©ã«ãã§æ¥ç¶ãå®å
šã«ä¿¡é Œã§ãããã®ãã©ããã確èªããŸãã
以äžã®ãªãã·ã§ã³ã§ SSL æ¥ç¶ãèšå®ããŸã:
weechat.network.gnutls_ca_file::
èªèšŒå±ãã¡ã€ã«ãžã®ãã¹ (ããã©ã«ã: "%h/ssl/CAs.pem")
irc.server.xxx.ssl_cert::
èªåçã«ããã¯ããŒã ã確èªããããã«å©çšããã SSL 蚌ææžãã¡ã€ã« (äŸãã°
oftc ãµãŒãã«ããã CertFP ã®å Žåã以äžã確èªããŠãã ãã)
irc.server.xxx.ssl_dhkey_size::
Diffie-Hellman ããŒäº€æã®éã«å©çšãããéµãµã€ãº (ããã©ã«ã:
2048)
irc.server.xxx.ssl_verify::
SSL æ¥ç¶ãå®å
šã«ä¿¡é Œã§ããããšã®ç¢ºèªãè¡ã (ããã©ã«ãã§æå¹)
[NOTE]
"ssl_verify" ãªãã·ã§ã³ã¯ããã©ã«ãã§æå¹ã§ãããããã£ãŠå³å¯ãªç¢ºèªãè¡ããã0.3.1
ããåã®ããŒãžã§ã³ã§ã¯ä¿¡é Œæ§ã®ç¢ºèªã«æåããŠãããã®ã倱æããå ŽåããããŸãã
[[irc_connect_oftc_with_certificate]]
===== æåã®äŸ: oftc ã«æ¥ç¶ããŠã蚌ææžãç¢ºèª =====
* ã·ã§ã«ã䜿ã£ãŠèšŒææžãã€ã³ããŒã:
----------------------------------------
$ mkdir -p ~/.weechat/ssl
$ wget -O ~/.weechat/ssl/CAs.pem http://www.spi-inc.org/ca/spi-cacert.crt
----------------------------------------
泚æ: CAs.pem ãã¡ã€ã«äžã§è€æ°ã®èšŒææžãé£çµããããšãã§ããŸãã
* WeeChat 㧠"oftc" ãµãŒãããã§ã«èšå®æžã¿ã§ããã°:
----------------------------------------
/connect oftc
----------------------------------------
[[irc_connect_oftc_with_certfp]]
===== 2 çªç®ã®äŸ: CertFP ã䜿ã£ãŠ oftc ã«æ¥ç¶ =====
* ã·ã§ã«ã§èšŒææžãäœæ:
----------------------------------------
$ mkdir -p ~/.weechat/ssl
$ cd ~/.weechat/ssl
$ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem
----------------------------------------
* WeeChat 㧠"oftc" ãµãŒãããã§ã«èšå®æžã¿ã§ããã°:
----------------------------------------
/set irc.server.oftc.ssl_cert "%h/ssl/nick.pem"
/connect oftc
/msg nickserv cert add
----------------------------------------
ãã詳ããæ
å ±ã¯ http://www.oftc.net/oftc/NickServ/CertFP ã確èªããŠãã ããã
[[irc_sasl_authentication]]
==== SASL èªèšŒ ====
WeeChat 㯠SASL èªèšŒããµããŒãããŠããŸããèªèšŒã¢ã«ãŽãªãºã 㯠"plain"
(å¹³æãã¹ã¯ãŒã)ã"dh-blowfish" (æå·åãã¹ã¯ãŒã)ã"external"
(ã¯ã©ã€ã¢ã³ãåŽ SSL 蚌ææž) ã® 3 ã€ã§ãã
ãµãŒããªãã·ã§ã³:
* 'sasl_mechanism': å©çšããèªèšŒã¡ã«ããºã ("plain"ã"dh-blowfish"ã"external")
* 'sasl_timeout': èªèšŒæã®ã¿ã€ã ã¢ãŠã (ç§åäœ)
* 'sasl_username': ãŠãŒã¶å (ããã¯ããŒã )
* 'sasl_password': ãã¹ã¯ãŒã
"dh-blowfish" ã¡ã«ããºã ãããã©ã«ãã§å
šãŠã®ãµãŒãã«å¯ŸããŠå©çšããå Žå:
----------------------------------------
/set irc.server_default.sasl_mechanism dh-blowfish
----------------------------------------
[NOTE]
"dh-blowfish" ã¡ã«ããºã ãå©çšããå Žåã"gcrypt" ã©ã€ãã©ãªã
WeeChat ã®ã³ã³ãã€ã«æã«å¿
èŠã§ã (<<dependencies,äŸåé¢ä¿>> ãåç
§)ã
[[irc_tor_freenode]]
==== TOR/SASL ã䜿ã£ãŠ Freenode ã«æ¥ç¶ããå Žå ====
SSL ã«å ããŠãFreenode ãµãŒã㯠TOR (https://www.torproject.org/)
çµç±ã®æ¥ç¶ããµããŒãããŠããŸããTOR ãšã¯ããŒãã£ã«ãã³ãã«ã®ãããã¯ãŒã¯ã§ã
ããã䜿ãããšã§å人ãã°ã«ãŒããã€ã³ã¿ãŒãããå©çšã«äŒŽããã©ã€ãã·ãŒãšã»ãã¥ãªãã£ãåäžãããããšãã§ããŸãã
æåã«ãWeeChat ã <<dependencies,libgcrypt11-dev>> ãæå¹åããŠã³ã³ãã€ã«ãããŠããããšã確èªããŠãã ãã
(ãœãŒã¹ãããã«ãããŠããå Žå); ããã¯å¿
é ã§ã¯ãããŸããããSASL ã "plain" èªèšŒã¡ã«ããºã ã§å©çšããããã
"dh-blowfish" ã®ã»ãã匷åºãªã»ãã¥ãªãã£ã«ãªããŸãã
æåã«ãTOR ãã€ã³ã¹ããŒã«ããŠãã ãããDebian (ãšãã®æŽŸçãã£ã¹ããªãã¥ãŒã·ã§ã³) ã®å Žå:
----------------------------------------
$ sudo apt-get install tor
----------------------------------------
WeeChat 㧠TOR ãµãŒãã¹ã䜿ã£ã socks5 ãããã·ãäœæããŠãã ãã
(ãã¹ãå/IP ã¢ãã¬ã¹ãããŒãçªå·ã¯ TOR ã®èšå®ã«äŸåããŸã):
----------------------------------------
/proxy add tor socks5 127.0.0.1 9050
----------------------------------------
次ã«æ°ãããµãŒããäœæããŠãã ãããäŸãã°:
----------------------------------------
/server add freenode-tor p4fsi4ockecnea7l.onion
----------------------------------------
TOR ãããã·ãèšå®:
----------------------------------------
/set irc.server.freenode-tor.proxy "tor"
----------------------------------------
SASL èªèšŒãèšå®:
----------------------------------------
/set irc.server.freenode-tor.sasl_mechanism dh-blowfish
/set irc.server.freenode-tor.sasl_username "your_nickname"
/set irc.server.freenode-tor.sasl_password "your_password"
----------------------------------------
æåŸã«ããµãŒãã«æ¥ç¶ããŠãã ãã:
----------------------------------------
/connect freenode-tor
----------------------------------------
Freenode ãš TOR ã«é¢ãããã詳ããæ
å ±: http://freenode.net/irc_servers.shtml#tor
[[irc_smart_filter_join_part_quit]]
==== åå /éåº/çµäºã¡ãã»ãŒãžã«å¯Ÿããã¹ããŒããã£ã«ã¿ ====
ãã£ã³ãã«å
ã§ã®çºèšãéå» X
åéãªãã£ãå Žåã«åå /éåº/çµäºã¡ãã»ãŒãžããã£ã«ã¿ãªã³ã°ããã¹ããŒããã£ã«ã¿ãå©çšã§ããŸãã
ã¹ããŒããã£ã«ã¿ã¯ããã©ã«ãã§æå¹åãããŠããŸããã
ãããã¡å
ã®ã¡ãã»ãŒãžãé ãã«ã¯ãã£ã«ã¿ãè¿œå ããå¿
èŠããããŸããäŸãã°:
----------------------------------------
/filter add irc_smart * irc_smart_filter *
----------------------------------------
ç¹å®ã®ãã£ã³ãã«ã®ã¿ããŸãã¯ããååã§å§ãŸããã£ã³ãã«ã«å¯ŸããŠãã£ã«ã¿ãäœæããããšãã§ããŸãã
(`/help filter` ãåç
§):
----------------------------------------
/filter add irc_smart_weechat irc.freenode.#weechat irc_smart_filter *
/filter add irc_smart_weechats irc.freenode.#weechat* irc_smart_filter *
----------------------------------------
以äžã®ã³ãã³ãã§åå ã¡ãã»ãŒãžã ããåã¯éåº/çµäºã¡ãã»ãŒãžã ããé ãããšãã§ããŸã:
----------------------------------------
/set irc.look.smart_filter_join on
/set irc.look.smart_filter_quit on
----------------------------------------
é
延æé (ååäœ) ãèšå®ããããšãã§ããŸã:
----------------------------------------
/set irc.look.smart_filter_delay 5
----------------------------------------
éå» 5 åéããããã¯ããŒã ããã®çºèšãç¡ãã£ãå Žåã
ãã®ããã¯ããŒã ã«å¯Ÿããåå ãŸãã¯éåº/çµäºã¡ãã»ãŒãžããã£ã³ãã«ããé ãããŸãã
[[irc_ctcp_replies]]
==== CTCP å¿ç ====
CTCP å¿çãã«ã¹ã¿ãã€ãºããããããã€ãã® CTCP
èŠæ±ãããã㯠(ç¡å¿ç) ããããšãã§ããŸãã
äŸãã°ãCTCP "VERSION" èŠæ±ã«å¯Ÿããå¿çãã«ã¹ã¿ãã€ãºããã«ã¯ã以äžã®ã³ãã³ãã䜿ã£ãŠãã ãã:
----------------------------------------
/set irc.ctcp.version "I'm running WeeChat $version, it rocks!"
----------------------------------------
CTCP "VERSION" èŠæ±ããããã¯ãã (èŠæ±ã«å¯Ÿããå¿çãè¡ããªã)
ã«ã¯ã空æååãèšå®ããŠãã ãã:
----------------------------------------
/set irc.ctcp.version ""
----------------------------------------
æªå®çŸ©ã® CTCP èŠæ±ã«å¯Ÿããå¿çãã«ã¹ã¿ãã€ãºã§ããŸããäŸãã°
CTCP "BLABLA" èŠæ±ã«å¯Ÿããå¿çã以äžã®ããã«èšå®ã§ããŸã:
----------------------------------------
/set irc.ctcp.blabla "This is my answer to CTCP BLABLA"
----------------------------------------
ç¹å®ã®ãµãŒãã«å¯Ÿã㊠CTCP å¿çãã«ã¹ã¿ãã€ãºããã«ã¯ãCTCP
åã®åã«å
éšãµãŒãåãã€ããŠãã ãã:
----------------------------------------
/set irc.ctcp.freenode.version "WeeChat $version (for freenode)"
----------------------------------------
æšæºã® CTCP å¿çã埩å
ããã«ã¯ããªãã·ã§ã³ãåé€ããŠãã ãã:
----------------------------------------
/unset irc.ctcp.version
----------------------------------------
以äžã®ã³ãŒããèšå®å€ã«å«ããããšãå¯èœã§ãããããã®ã³ãŒãã¯
CTCP å¿çæã«èªåçã« WeeChat ã«ãã£ãŠå±éãããŸã:
[width="100%",cols="^2l,4,8l",options="header"]
|========================================
| ã³ãŒã | 説æ | å€/äŸ
| $clientinfo | ãµããŒãããŠãã CTCP ãªãã·ã§ã³ã®ãªã¹ã | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
| $version | WeeChat ããŒãžã§ã³ | 0.4.0-dev
| $versiongit | WeeChat ããŒãžã§ã³ + git ããŒãžã§ã³ | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| $git | git ããŒãžã§ã³ | v0.3.9-104-g7eb5cc4
| $compilation | WeeChat ã³ã³ãã€ã«æ¥æ | Dec 16 2012
| $osinfo | OS ã«é¢ããæ
å ± | Linux 2.6.32-5-amd64 / x86_64
| $site | WeeChat ãŠã§ããµã€ã | http://www.weechat.org/
| $download | WeeChat ãŠã§ããµã€ãã®ããŠã³ããŒãããŒãž | http://www.weechat.org/download
| $time | çŸåšã®æ¥æ | Sun, 16 Dec 2012 10:40:48 +0100
| $username | IRC ãµãŒãã®ãŠãŒã¶ããŒã | ãã°ã€ã³å
| $realname | IRC ãµãŒãã®ãªã¢ã«ããŒã | John Doe
|========================================
[NOTE]
git ããŒãžã§ã³ãšã¯ `git describe` ã³ãã³ãã®åºåã§ããgit ãªããžããªã§
WeeChat ãã³ã³ãã€ã«ããgit ãã€ã³ã¹ããŒã«ãããŠããå Žåã®ã¿å€ãèšå®ãããŸãã
CTCP ãªãã·ã§ã³ãèšå®ãããŠããªã (ããã©ã«ãã®) å ŽåãCTCP å¿çã¯ä»¥äžã®ããã«ãªããŸã:
[width="100%",cols="^2,4l,8l",options="header"]
|========================================
| CTCP | å¿çãã©ãŒããã | äŸ
| CLIENTINFO | $clientinfo | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
| FINGER | WeeChat $versiongit | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| SOURCE | $download | http://www.weechat.org/download
| TIME | $time | Sun, 16 Dec 2012 10:40:48 +0100
| USERINFO | $username ($realname) | ãã°ã€ã³å (John Doe)
| VERSION | WeeChat $versiongit ($compilation) | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)
|========================================
[[irc_target_buffer]]
==== IRC ã¡ãã»ãŒãžã®ã¿ãŒã²ãããããã¡ ====
`irc.msgbuffer.*` ãªãã·ã§ã³ã䜿ãã°ãIRC ã¡ãã»ãŒãžã«å¯Ÿããã¿ãŒã²ãããããã¡
(ã¡ãã»ãŒãžã衚瀺ãããããã¡) ãã«ã¹ã¿ãã€ãºããããšãã§ããŸãã
äžéšã® IRC ã¡ãã»ãŒãž (以äžã®ãªã¹ããåç
§) ã«å¯ŸããŠã以äžã®å€ãèšå®ã§ããŸã:
current::
çŸåšã®ãããã¡ (IRC ãããã¡ãŸãã¯ãµãŒããããã¡ã®å Žåã®ããã©ã«ã)
private::
ããã¯ããŒã ã«å¯Ÿãããã©ã€ããŒããããã¡ãèŠã€ãããªãå Žåã¯çŸåšã®ãããã¡ãŸãã¯ãµãŒããããã¡
('irc.look.msgbuffer_fallback' ãªãã·ã§ã³ã«äŸå)
server::
ãµãŒããããã¡
weechat::
WeeChat "core" ãããã¡
ãªãã·ã§ã³ãèšå®ãããŠããªã (ããã©ã«ãã®) å ŽåãWeeChat
ã¯é©åœãªãããã¡ãéžã³ãŸããéåžžã§ã¯ãµãŒããŸãã¯ãã£ã³ãã«ãããã¡ã§ãã
ã«ã¹ã¿ãã€ãºã§ããäžéšã® IRC ã¡ãã»ãŒãžãå¥åã®ãªã¹ãã¯ä»¥äžã§ã:
[width="60%",cols="^1m,^3m,8",options="header"]
|========================================
| ã¡ãã»ãŒãž | å¥å | 説æ
| error | | ãšã©ãŒ
| invite | | ãã£ã³ãã«ãžã®æåŸ
| join | | åå
| kick | | ããã¯
| kill | | ãã«
| mode | | ã¢ãŒã
| notice | | notice
| part | | éåº
| quit | | çµäº
| topic | | ãããã¯
| wallops | | IRC ãªãã¬ãŒã¿ã¡ãã»ãŒãž
| | ctcp | ctcp (ãã©ã€ããŒããŸã㯠notice ã¡ãã»ãŒãžå
ã®ãéä¿¡ãŸãã¯åä¿¡ã¡ãã»ãŒãž)
| 221 | | ãŠãŒã¶ã¢ãŒãæåå
| 275 | whois | whois (ã»ãã¥ã¢ãªæ¥ç¶)
| 301 | whois | whois (é¢åžç¶æ
)
| 303 | | ãµãŒããžã®æ¥ç¶ç¶æ
| 305 | unaway | çåžç¶æ
| 306 | away | é¢åžç¶æ
| 307 | whois | whois (ç»é²æžã¿ããã¯ããŒã )
| 310 | whois | whois (ãã«ãã¢ãŒã)
| 311 | whois | whois (ãŠãŒã¶)
| 312 | whois | whois (ãµãŒã)
| 313 | whois | whois (ãªãã¬ãŒã¿)
| 314 | whowas | whowas
| 315 | who | who (çµäº)
| 317 | whois | whois (ã¢ã€ãã«ç¶æ
)
| 318 | whois | whois (çµäº)
| 319 | whois | whois (ãã£ã³ãã«)
| 320 | whois | whois (身å
確èªæžã¿ãŠãŒã¶)
| 321 | list | list (éå§)
| 322 | list | list (ãã£ã³ãã«)
| 323 | list | list (çµäº)
| 326 | whois | whois (ãªãã¬ãŒã¿æš©éãæã£ãŠãããŠãŒã¶)
| 327 | whois | whois (ãã¹ã)
| 328 | | ãã£ã³ãã«ã® URL
| 329 | | ãã£ã³ãã«äœææ¥æ
| 330 | whois | whois (ãã°ã€ã³æã®åå)
| 331 | | ãããã¯ãæªèšå®ã®ãã£ã³ãã«
| 332 | | ãã£ã³ãã«ã®ãããã¯
| 333 | | ãããã¯ã«é¢ããæ
å ±
| 335 | whois | whois (ããããæå¹åãããŠããã)
| 338 | whois | whois (ãã¹ã)
| 341 | | æåŸ
äž
| 343 | whois | whois (ãªãã¬ãŒã¿)
| 344 | reop | ãã£ã³ãã«ãªãã¬ãŒã¿ã埩掻
| 345 | reop | ãã£ã³ãã«ãªãã¬ãŒã¿ã埩掻 (çµäº)
| 346 | invitelist | æåŸ
ãªã¹ã
| 347 | invitelist | æåŸ
ãªã¹ã (çµäº)
| 348 | exceptionlist | é€å€ãªã¹ã
| 349 | exceptionlist | é€å€ãªã¹ã (çµäº)
| 351 | | ãµãŒãããŒãžã§ã³
| 352 | who | who
| 353 | names | ãã£ã³ãã«å
ãŠãŒã¶ã®ãªã¹ã
| 366 | names | ãã£ã³ãã«å
ãŠãŒã¶ã®ãªã¹ãã®çµäº
| 367 | banlist | çŠæ¢ãªã¹ã
| 368 | banlist | çŠæ¢ãªã¹ãã®çµäº
| 369 | whowas | whowas (çµäº)
| 378 | whois | whois (æ¥ç¶å
)
| 379 | whois | whois (ã¢ãŒã)
| 432 | | erroneous ããã¯ããŒã
| 433 | | ããã¯ããŒã ã䜿çšãããŠããŸã
| 438 | | ããã¯ããŒã ãå€æŽããæš©éããããŸãã
| 671 | whois | whois (ã»ãã¥ã¢ãªæ¥ç¶)
| 728 | quietlist | çºèšçŠæ¢ãªã¹ã
| 729 | quietlist | çºèšçŠæ¢ãªã¹ãã®çµäº
| 901 | | ãã°ã€ã³ã«æå
|========================================
ãã®ä»ã®æ°å€ã³ãã³ããåæ§ã«ã«ã¹ã¿ãã€ãºã§ããŸãã
ãµãŒãåãåã«ã€ããããšã§ãç¹å®ã®ãµãŒãã«å¯ŸããŠèšå®ããããšãã§ããŸã
(äŸ: `freenode.whois`)ã
äŸ:
* `/whois` ã®çµæããã©ã€ããŒããããã¡ã«è¡šç€º:
----------------------------------------
/set irc.msgbuffer.whois private
----------------------------------------
* whois ã«å¯Ÿããèšå®ãããã©ã«ãã«æ»ã (ãµãŒããããã¡ã«è¡šç€º):
----------------------------------------
/unset irc.msgbuffer.whois
----------------------------------------
* "freenode" ãµãŒãã®å ŽåãæåŸ
ã¡ãã»ãŒãžãçŸåšã®ãããã¡ã«è¡šç€º:
----------------------------------------
/set irc.msgbuffer.freenode.invite current
----------------------------------------
* "303" (ison) ã¡ãã»ãŒãžã WeeChat "core" ãããã¡ã«è¡šç€º:
----------------------------------------
/set irc.msgbuffer.303 weechat
----------------------------------------
[[logger_plugin]]
=== Logger ãã©ã°ã€ã³ ===
Logger ãã©ã°ã€ã³ã䜿ãããšã§ããããã¡ã®å
容ããã¡ã€ã«ã«ä¿åã§ããŸãã
ä¿å圢åŒãšãã®æ¹æ³ããªãã·ã§ã³ã§èšå®ã§ããŸãã
[[logger_options]]
==== ãªãã·ã§ã³ (logger.conf) ====
include::autogen/user/logger_options.txt[]
[[logger_commands]]
==== ã³ãã³ã ====
include::autogen/user/logger_commands.txt[]
[[logger_log_levels]]
==== ãã°ã¬ãã« ====
ãã°ä¿åã¯ããããã®ãããã¡ã«å¯ŸããŠèšå®ããããã°ã¬ãã«ã«åŸã£ãŠè¡ãããŸããããã©ã«ãã®ã¬ãã«ã¯ 9
(ãããã¡ã«è¡šç€ºãããã¡ãã»ãŒãžããã¹ãŠä¿å) ã§ãã
ç¹å®ã®ãããã¡ããããã¡ã°ã«ãŒãã«å¯ŸããŠåå¥ã«ãã°ã¬ãã«ãèšå®ã§ããŸãã
èšå®å¯èœãªã¬ãã«ã¯ 0 ãã 9 ã§ãã0 㯠"ä¿åããªã"ã9
㯠"ãã¹ãŠã®ã¡ãã»ãŒãžãä¿å" ãæå³ããŸãã
ããããã®ãã©ã°ã€ã³ã§ã¬ãã«ã®æå³ãå€ãããŸãã
IRC ãã©ã°ã€ã³ã«å¯ŸããŠã¯ä»¥äžã®ã¬ãã«ãå©çšãããŸã:
* ã¬ãã« 1: ãŠãŒã¶ããã®ã¡ãã»ãŒãž (ãã£ã³ãã«ãŸãã¯ãã©ã€ããŒã)
* ã¬ãã« 2: ããã¯ããŒã ã®å€æŽ (èªèº«ãšä»ã®ãŠãŒã¶)
* ã¬ãã« 3: ä»»æã®ãµãŒãã¡ãã»ãŒãž (åå /éåº/çµäºã¡ãã»ãŒãžãé€ã)
* ã¬ãã« 4: åå /éåº/çµäºã¡ãã»ãŒãž
åŸã£ãŠãIRC ãã£ã³ãã«ã«å¯ŸããŠã¬ãã« 3 ãèšå®ããå ŽåãWeeChat
ã¯åå /éåº/çµäºã¡ãã»ãŒãžãé€ããŠå
šãŠã®ã¡ãã»ãŒãžãä¿åããŸãã
äŸ:
* IRC ãã£ã³ãã« #weechat ã«å¯ŸããŠã¬ãã« 3 ãèšå®:
----------------------------------------
/set logger.level.irc.freenode.#weechat 3
----------------------------------------
* freenode ãµãŒããããã¡ã«å¯ŸããŠã¬ãã« 3 ãèšå®:
----------------------------------------
/set logger.level.irc.server.freenode 3
----------------------------------------
* freenode ãµãŒãã®å
šãŠã®ãã£ã³ãã«ã«å¯ŸããŠã¬ãã« 3 ãèšå®:
----------------------------------------
/set logger.level.irc.freenode 3
----------------------------------------
* å
šãŠã® IRC ãããã¡ã«å¯ŸããŠã¬ãã« 2 ãèšå®:
----------------------------------------
/set logger.level.irc 2
----------------------------------------
[[logger_filenames_masks]]
==== ãã¡ã€ã«åãã¹ã¯ ====
ãããã¡ã«å¯Ÿãåå¥ã«ãã¡ã€ã«åãã¹ã¯ãèšå®ããããšãã§ããŸãã
ãã¡ã€ã«åã«ã¯ããŒã«ã«ãããã¡å€æ°ãå©çšãããŸããçŸåšã®ãããã¡ã«èšå®ãããããŒã«ã«å€æ°ã確èªããã«ã¯:
----------------------------------------
/buffer localvar
----------------------------------------
äŸãã° "irc.freenode.#weechat" ãããã¡ã®å ŽåãWeeChat
ã¯ä»¥äžã®é çªã§ãªãã·ã§ã³ã«èšå®ããããã¡ã€ã«åãã¹ã¯ãæ€çŽ¢ããŸã:
----------------------------------------
logger.mask.irc.freenode.#weechat
logger.mask.irc.freenode
logger.mask.irc
logger.file.mask
----------------------------------------
ç¹å®ã® IRC ãµãŒã ("logger.mask.irc.freenode") ãŸãã¯ãã©ã°ã€ã³
("logger.mask.irc") ã®ã°ã«ãŒãã«å¯ŸããŠå
±éã®ãã¹ã¯ãé©çšã§ããŸãã
[[logger_files_by_date]]
===== ãã°ãã¡ã€ã«ã«æ¥ä»ãå©çšãã =====
ãã°ãã¡ã€ã«ã«æ¥ä»ã䜿ãã«ã¯ããã¹ã¯ã«æ¥æ/æéæå®åãå©çšã§ããŸã
(ãã©ãŒãããã«é¢ããŠã¯ `man strftime` ãåç
§ããŠãã ãã)ãäŸãã°:
----------------------------------------
/set logger.file.mask "%Y/%m/$plugin.$name.weechatlog"
----------------------------------------
以äžã®ãã¡ã€ã«ãäœæãããŸã:
........................................
~/.weechat/
|--- logs/
|--- 2010/
|--- 11/
| irc.server.freenode.weechatlog
| irc.freenode.#weechat.weechatlog
|--- 2010/
|--- 12/
| irc.server.freenode.weechatlog
| irc.freenode.#weechat.weechatlog
........................................
[[logger_irc_files_by_server_channel]]
===== IRC ãã°ãã¡ã€ã«ã«ãµãŒããšãã£ã³ãã«åãå©çšãã =====
IRC ãµãŒãåã䜿ã£ããã£ã¬ã¯ããªã«ããã£ã³ãã«åã䜿ã£ããã¡ã€ã«ãäœæããå Žå:
----------------------------------------
/set logger.mask.irc "irc/$server/$channel.weechatlog"
----------------------------------------
以äžã®ãã¡ã€ã«ãäœæãããŸã:
........................................
~/.weechat/
|--- logs/
|--- irc/
|--- freenode/
| freenode.weechatlog
| #weechat.weechatlog
| #mychan.weechatlog
|--- oftc/
| oftc.weechatlog
| #chan1.weechatlog
| #chan2.weechatlog
........................................
[[relay_plugin]]
=== Relay ãã©ã°ã€ã³ ===
Relay ãã©ã°ã€ã³ã¯ãããã¯ãŒã¯ãä»ããŠç°ãªããããã³ã«ãçšããŠããŒã¿ãäžç¶ããããã«å©çšããŸã:
* 'irc': IRC ãããã·: IRC ãµãŒãã«å¯Ÿããæ¥ç¶ããåäžãŸãã¯è€æ°ã® IRC
ã¯ã©ã€ã¢ã³ãã§å
±æããããã«çšããŸãã
* 'weechat': WeeChat ã®è¡šç€ºã«ãªã¢ãŒãã€ã³ã¿ãŒãã§ã€ã¹
(äŸãã° QWeeChat) ã䜿ãå Žåã«å©çšããããããã³ã«
[[relay_options]]
==== ãªãã·ã§ã³ (relay.conf) ====
include::autogen/user/relay_options.txt[]
[[relay_commands]]
==== ã³ãã³ã ====
include::autogen/user/relay_commands.txt[]
// TRANSLATION MISSING
[[relay_password]]
Password
^^^^^^^^
It is highly recommended to set a password for relay, with command:
----------------------------------------
/set relay.network.password "mypass"
----------------------------------------
This password is used for 'irc' and 'weechat' protocols.
[[relay_ssl]]
==== SSL ====
蚌ææžãšç§å¯éµãäœãããããã³ã«åã®æåã« "ssl." ãä»ããããšã§
SSL çµç±ã§ãªã¬ãŒãå©çšããããšãã§ããŸãã
蚌ææž/ç§å¯éµãã¡ã€ã«ãžã®ããã©ã«ããã¹ã¯ '~/.weechat/ssl/relay.pem' ã§ã
(option <<option_relay.network.ssl_cert_key,relay.network.ssl_cert_key>>)ã
以äžã®ã³ãã³ãã䜿ã£ãŠèšŒææžãšç§å¯éµãã¡ã€ã«ãäœæããŸã:
----------------------------------------
$ mkdir -p ~/.weechat/ssl
$ cd ~/.weechat/ssl
$ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem
----------------------------------------
WeeChat ãæ¢ã«èµ·åããŠããå Žåã
以äžã®ã³ãã³ãã§èšŒææžãšç§å¯éµãåèªã¿èŸŒã¿ã§ããŸã:
----------------------------------------
/relay sslcertkey
----------------------------------------
// TRANSLATION MISSING
[[relay_irc_proxy]]
==== IRC ãããã· ====
The Relay plugin can act as an IRC proxy: it will simulate an IRC server, and
you can connect to WeeChat with any other IRC client (including WeeChat itself).
You can define one port by IRC server, or one generic port for all servers.
When using one port for all servers, the client must send the internal name of
server in the IRC "PASS" command, with this format:
----------------------------------------
PASS server:mypass
----------------------------------------
Example: IRC proxy with SSL for any server (client will choose):
----------------------------------------
/relay add ssl.irc 8000
----------------------------------------
Example: IRC proxy without SSL only for server "freenode":
----------------------------------------
/relay add irc.freenode 8000
----------------------------------------
Now you can connect on port 8000 with any IRC client using server password
"mypass" (or "freenode:mypass" if no server was specified in the relay).
[[relay_weechat_protocol]]
==== WeeChat ãããã³ã« ====
Relay ãã©ã°ã€ã³ã¯ WeeChat ãããã³ã«ã䜿ã£ãŠãªã¢ãŒãã€ã³ã¿ãŒãã§ã€ã¹ã«å¯ŸããŠããŒã¿ãéä¿¡ã§ããŸãã
äŸ:
----------------------------------------
/relay add weechat 9000
----------------------------------------
ãã®åŸããªã¢ãŒãã€ã³ã¿ãŒãã§ã€ã¹ã䜿ã£ãŠ 9000
çªããŒãã«å¯ŸããŠããã¹ã¯ãŒã "mypass" ã§æ¥ç¶ããããšãã§ããŸãã
// TRANSLATION MISSING
[[relay_websocket]]
WebSocket
^^^^^^^^^
WebSocket protocol (http://tools.ietf.org/html/rfc6455[RFC 6455]) is supported
in Relay plugin for all protocols.
The WebSocket handshake is automatically detected and socket becomes ready for
WebSocket if required headers are found in handshake and if origin is allowed
(see option
<<option_relay.network.websocket_allowed_origins,relay.network.websocket_allowed_origins>>).
A WebSocket can be opened in a HTML5 with a single line of JavaScript:
[source,js]
----------------------------------------
websocket = new WebSocket("ws://server.com:9000/weechat");
----------------------------------------
The port (9000 in example) is the port defined in Relay plugin.
The URI must always end with "/weechat" (for 'irc' and 'weechat' protocols).
[[rmodifier_plugin]]
=== Rmodifier ãã©ã°ã€ã³ ===
Rmodifier ãã©ã°ã€ã³ã¯æ£èŠè¡šçŸã䜿ã£ãŠæååã眮æããŸãã
ãã¹ã¯ãŒãã®å
¥åæãã«å
¥åæååãé ãããšã WeeChat
ããã¹ã¯ãŒããä¿åããªãããã«ããããšãå
žåçãªå©çšã±ãŒã¹ã§ãã
äŸãã°ããã¹ã¯ãŒãæååã `*` ã§çœ®ãæããããšãã§ããŸãã
[[rmodifier_options]]
==== ãªãã·ã§ã³ (rmodifier.conf) ====
include::autogen/user/rmodifier_options.txt[]
[[rmodifier_commands]]
==== ã³ãã³ã ====
include::autogen/user/rmodifier_commands.txt[]
[[rmodifier_creation]]
==== Rmodifier ã®äœæ ====
rmodifier 㯠3 ã€ã®èŠçŽ ãããªããŸã:
. 1 ã€ä»¥äžã® "修食å"
. æååã®ãããã³ã°ãš "ã°ã«ãŒã" åããè¡ãæ£èŠè¡šçŸ
. "ã°ã«ãŒã"
åãããæååã«å¯Ÿããã¢ã¯ã·ã§ã³ãæå®ããæåå
WeeChat ãŸãã¯ãã©ã°ã€ã³ãå©çšãã修食åã®å®å
šãªãªã¹ã㯠'WeeChat ãã©ã°ã€ã³
API ãªãã¡ã¬ã³ã¹' ã® 'weechat_hook_modifier' é¢æ°ãåç
§ããŠãã ããã
ã°ã«ãŒãåãããããããã®æååã«å¯ŸããŠã以äžã®ã¢ã¯ã·ã§ã³ãå¯èœã§ã:
* æååã«å€æŽãå ããªã (ã°ã«ãŒãçªå·ãæå®)
* æååãé ãããã«å
šãŠã®æåã眮æãã (ã°ã«ãŒãçªå· + `*` ã§æå®)
* æååãåé€ (ã°ã«ãŒãçªå·ãæå®ããªãå Žå)
`/oper` ã³ãã³ãã«å¯Ÿããããã©ã«ã rmodifier ã®äŸ:
* 修食å: `history_add,input_text_display`
** `history_add`: WeeChat ãã³ãã³ããå±¥æŽã«ä¿åããéã«åŒã³åºããã
** `input_text_display`: ã³ãã³ãã©ã€ã³ãå€æŽããéã«åŒã³åºããã
(å
¥åããã¹ãã衚瀺ããããšãã«ã®ã¿é©çšãã³ãã³ãã©ã€ã³ã®å
容ã«ã¯é©çšãããªã)
* æ£èŠè¡šçŸ: `^(/oper +\S+ +)(.*)`
* ã°ã«ãŒãã«å¯Ÿããã¢ã¯ã·ã§ã³: `1,2*`
修食å "history_add" ã "input_text_display" ãåŒã³åºããããã³ã«ã
æ£èŠè¡šçŸã確èªãããŸããæååã«ãããããå Žåã
æååã¯ã°ã«ãŒãã«å¯ŸããŠå®çŸ©ãããã¢ã¯ã·ã§ã³ã䜿ã£ãŠçœ®æãããŸãã
ãã®äŸã§ã¯ãã°ã«ãŒãçªå· 1 ã¯ãã®ãŸãŸãã°ã«ãŒãçªå· 2 ã«å«ãŸããå
šãŠã®æåãèšå®æžã¿ã®æå
(ãªãã·ã§ã³ 'rmodifier.look.hide_char') ã§çœ®æããŸãã
ã³ãã³ãã©ã€ã³ã« `/oper nick password` ã®ãããªæååãå«ãŸããå Žåã
`/oper nick ********` ã®ããã«è¡šç€ºãããŸãã
[[scripts_plugins]]
=== Scripts ãã©ã°ã€ã³ ===
WeeChat 㯠6 çš®é¡ã®ã¹ã¯ãªãããã©ã°ã€ã³ãåããŠããŸã: PythonãPerlãRubyãLuaãTclãGuile
(scheme)ã
ãããã®ãã©ã°ã€ã³ã§ããããã®èšèªã§æžãããã¹ã¯ãªããã®ããŒããå®è¡ãã¢ã³ããŒããã§ããŸãã
"ã¹ã¯ãªãã" ãšåŒã°ããã»ãã®ãã©ã°ã€ã³ã¯ã¹ã¯ãªãããããŒãžã£ã§ãä»»æã®èšèªã§æžãããã¹ã¯ãªãããããŒã
/ ã¢ã³ããŒãããããWeeChat ã¹ã¯ãªãããªããžã㪠(http://www.weechat.org/scripts ããåç
§å¯èœ)
ã®ã¹ã¯ãªãããã€ã³ã¹ããŒã« / åé€ããããã«å©çšããŸãã
ã¹ã¯ãªããã®æžãæ¹ãã¹ã¯ãªããçšã® WeeChat API ã«ã€ããŠã®è©³ããæ
å ±ã¯ã
'WeeChat ã¹ã¯ãªãã補äœã¬ã€ã' ãåç
§ããŠãã ããã
[[script_options]]
==== ã¹ã¯ãªãããªãã·ã§ã³ (script.conf) ====
include::autogen/user/script_options.txt[]
[[script_commands]]
==== Script ã³ãã³ã ====
include::autogen/user/script_commands.txt[]
[[python_commands]]
==== Python ã³ãã³ã ====
include::autogen/user/python_commands.txt[]
[[perl_commands]]
==== Perl ã³ãã³ã ====
include::autogen/user/perl_commands.txt[]
[[ruby_commands]]
==== Ruby ã³ãã³ã ====
include::autogen/user/ruby_commands.txt[]
[[lua_commands]]
==== Lua ã³ãã³ã ====
include::autogen/user/lua_commands.txt[]
[[tcl_commands]]
==== Tcl ã³ãã³ã ====
include::autogen/user/tcl_commands.txt[]
[[guile_commands]]
==== Guile ã³ãã³ã ====
include::autogen/user/guile_commands.txt[]
[[xfer_plugin]]
=== Xfer ãã©ã°ã€ã³ ===
Xfer ãã©ã°ã€ã³ã®æ©èœ:
* ãã€ã¬ã¯ããã£ãã (ãµãŒãäžèŠã® 2 ãã¹ãéçŽæ¥æ¥ç¶):
äŸãã° IRC ãã©ã°ã€ã³çµç±ã® "DCC ãã£ãã"
* ãã¡ã€ã«è»¢éãäŸãã° IRC ãã©ã°ã€ã³çµç±ã® "DCC"
[[xfer_options]]
==== ãªãã·ã§ã³ (xfer.conf) ====
include::autogen/user/xfer_options.txt[]
[[xfer_commands]]
==== ã³ãã³ã ====
include::autogen/user/xfer_commands.txt[]
[[support]]
== ãµããŒã ==
ãµããŒããäŸé Œããåã«ãWeeChat ã«ä»å±ããããã¥ã¡ã³ããš FAQ ãèªãã§ãã ããã
(ããã¥ã¡ã³ããšã¯ãã®ææžã®ããšã§ããããŸã§ã®å
šãŠã®å
容ãèªãã§ããªãã®ã§ããã°ã
èªã¿çŽããŠãã ãã!)ã
ãµããŒããåŸãæ¹æ³:
* IRC: ãµãŒã 'irc.freenode.net' ããã£ã³ãã« '#weechat' (è±èª) ãš
'#weechat-fr' (ãã©ã³ã¹èª)
* ã¡ãŒãªã³ã°ãªã¹ã:
** 賌èª: http://mail.nongnu.org/mailman/listinfo/weechat-support
** weechat-support@nongnu.org å®ã«ã¡ãŒã«ãéä¿¡
** ã¢ãŒã«ã€ã: http://mail.nongnu.org/archive/html/weechat-support
|