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
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
|
= WeeChat ãŠãŒã¶ãŒãºã¬ã€ã
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: ja
:toc: left
:toclevels: 4
:toc-title: ç®æ¬¡
:sectnums:
:sectnumlevels: 3
:docinfo1:
翻蚳è
:
* Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>, 2012-2016
ãã®ããã¥ã¢ã«ã¯ WeeChat ãã£ããã¯ã©ã€ã¢ã³ãã«ã€ããŠã®ææžã§ããã㯠WeeChat ã®äžéšã§ãã
ãã®ææžã®ææ°çã¯ä»¥äžã®ããŒãžã«ãããŸã:
https://weechat.org/doc
[[introduction]]
== ã€ã³ãããã¯ã·ã§ã³
WeeChat (Wee Enhanced Environment for Chat)
ã¯ããªãŒã®ãã£ããã¯ã©ã€ã¢ã³ãã§ããé«éã§è»œéãå€ãã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã§åãããã«èšèšãããŠããŸãã
[[features]]
=== ç¹åŸŽ
äž»ãªç¹åŸŽ:
* ãã«ããããã³ã« (䞻㫠IRC)
* è€æ°ã®ãµãŒããžã®æ¥ç¶ (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]ã
* ãªã¢ãŒãã€ã³ã¿ãŒãã§ã€ã¹çšã® IRC ãããã·ãšãªã¬ãŒ
* ãã«ããã©ãããã©ãŒã (GNU/Linuxã*BSDãMacOS XãWindows ç)
* å®å
šãª GPLãããªãŒãœãããŠã§ã¢
WeeChat ã®ããŒã ããŒãž: https://weechat.org/
[[prerequisites]]
=== äºåã«å¿
èŠãªãã®
WeeChat ãã€ã³ã¹ããŒã«ããã«ã¯ã以äžã®ãã®ãå¿
èŠã§ã:
* GNU/Linux ã皌åããŠããã·ã¹ãã
(ãœãŒã¹ããã±ãŒãžã䜿ãå Žåã¯ãã³ã³ãã€ã©ããŒã«ãå¿
èŠ)ããŸãã¯äºæ OS
* _root_ ç¹æš© (WeeChat ãã·ã¹ãã ãã£ã¬ã¯ããªã«ã€ã³ã¹ããŒã«ããå Žå)
* äžéšã®ã©ã€ãã©ãª (<<dependencies,äŸåé¢ä¿>>ãåç
§)ã
[[install]]
== ã€ã³ã¹ããŒã«æ¹æ³
[[binary_packages]]
=== ãã€ããªããã±ãŒãž
å€ãã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ã§ã¯ãã€ããªããã±ãŒãžãå©çšã§ããŸããäŸãã°:
* Arch Linux: `pacman -S weechat`
* Cygwin (Windows): setup.exe 㧠WeeChat ããã±ãŒãžãéžæããŠãã ãã
* Debian (ãŸã㯠Debian äºæãã£ã¹ããªãã¥ãŒã·ã§ã³):
`apt-get install weechat-curses`
* Fedora Core: `dnf install weechat`
* Gentoo: `emerge weechat`
* Mandriva/RedHat (ãŸã㯠RPM äºæãã£ã¹ããªãã¥ãŒã·ã§ã³):
`rpm -i /path/to/weechat-x.y.z-1.i386.rpm`
* openSUSE: `zypper in weechat`
* Sourcemage: `cast weechat`
äŸãã° weechat-plugins çã®è¿œå ããã±ãŒãžã䜿ããšããã«äŸ¿å©ã«ãªããããããŸããã
ãã®ä»ã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ã§ã¯ãã€ã³ã¹ããŒã«èª¬æããã¥ã¢ã«ãåç
§ããŠãã ããã
[[source_package]]
=== ãœãŒã¹ããã±ãŒãž
WeeChat 㯠cmake ãŸã㯠autotools ã䜿ã£ãŠã³ã³ãã€ã«ã§ããŸã (cmake ã䜿ãããšãæšå¥šãããŠããŸã)ã
[NOTE]
OS X ã§ã¯ http://brew.sh/[Homebrew] ã䜿ã£ãŠãã ãã:
`brew install weechat --with-python --with-perl`
(ãã«ããèŠãã«ã¯: `brew info weechat`)ã
[[dependencies]]
==== äŸåé¢ä¿
以äžã®è¡šã¯ WeeChat
ã®ã³ã³ãã€ã«ã«å¿
é ãŸãã¯ä»»æã§å¿
èŠãªããã±ãŒãžã®ãªã¹ãã§ãã
[width="100%",cols="5,^3,^3,.^13",options="header"]
|===
| ããã±ãŒãž ^(1)^ | ããŒãžã§ã³ | èŠä»¶ | æ©èœ
| C ã³ã³ãã€ã©
(gcc, clang, ...) | | *å¿
é * | ãã«ã
| C++ ã³ã³ãã€ã© | | | ãã«ããšãã¹ãã®å®è¡ãjavascript ãã©ã°ã€ã³
| cmake | | *å¿
é * | ãã«ã (autotools ã§ãå¯èœã§ãããcmake ãæšå¥šããŸã)
| pkg-config | | *å¿
é * | ã€ã³ã¹ããŒã«æžã¿ã©ã€ãã©ãªãæ€åº
| libncursesw5-dev ^(2)^ | | *å¿
é * | ncurses ã€ã³ã¿ãŒãã§ã€ã¹
| libcurl4-gnutls-dev | | *å¿
é * | URL 転é
| zlib1g-dev | | *å¿
é * | relay ãã©ã°ã€ã³ã§ãã±ãããå§çž® (weechat ãããã³ã«)ãã¹ã¯ãªãããã©ã°ã€ã³
| libgcrypt20-dev | | *å¿
é * | ä¿è·ããŒã¿ãIRC SASL èªèšŒ (DH-BLOWFISH/DH-AES)ãã¹ã¯ãªãããã©ã°ã€ã³
| libgnutls28-dev | 2.2.0 ä»¥äž ^(3)^ | | IRC ãµãŒããžã® SSL æ¥ç¶ãIRC SASL èªèšŒ (ECDSA-NIST256P-CHALLENGE)
| gettext | | | åœéå (ã¡ãã»ãŒãžã®ç¿»èš³; ããŒã¹èšèªã¯è±èªã§ã)
| ca-certificates | | | SSL æ¥ç¶ã«å¿
èŠãªèšŒææžãrelay ãã©ã°ã€ã³ã§ SSL ãµããŒã
| libaspell-dev
⥠libenchant-dev | | | aspell ãã©ã°ã€ã³
| python-dev | 2.5 ä»¥äž ^(4)^ | | python ãã©ã°ã€ã³
| libperl-dev | | | perl ãã©ã°ã€ã³
| ruby2.3, ruby2.3-dev | 1.8 ä»¥äž | | ruby ãã©ã°ã€ã³
| liblua5.3-dev | | | lua ãã©ã°ã€ã³
| tcl-dev | 8.5 ä»¥äž | | tcl ãã©ã°ã€ã³
| guile-2.0-dev | 2.0 ä»¥äž | | guile (scheme) ãã©ã°ã€ã³
| libv8-dev | 3.24.3 ä»¥äž | | javascript ãã©ã°ã€ã³
| asciidoctor | 1.5.4 ä»¥äž | | man ããŒãžãšææžã®ãã«ã
| libcpputest-dev | 3.4 ä»¥äž | | ãã«ããšãã¹ãã®å®è¡
|===
[NOTE]
^(1)^ Debian GNU/Linux
ãã£ã¹ããªãã¥ãŒã·ã§ã³ã«ãããããã±ãŒãžåã§ããä»ã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ã§ã¯ããŒãžã§ã³ãšããã±ãŒãžåãç°ãªããããããŸããã +
^(2)^ WeeChat 㯠libncurses5-dev ã§ãã³ã³ãã€ã«å¯èœã§ãããããã¯æšå¥š *ãããŸãã*
(ã¯ã€ããã£ã©ã¯ã¿ã®è¡šç€ºã«ãã°ãçããã§ããã)ã +
^(3)^ IRC SASL èªèšŒã§ ECDSA-NIST256P-CHALLENGE ã䜿ãã«ã¯ãGnutls
ããŒãžã§ã³ 3.0.21 以äžãå¿
èŠã§ãã +
^(4)^ Python ã¯ããŒãžã§ã³ 2.7 ããå§ãããŸã (å
šãŠã®ã¹ã¯ãªããã¯ããŒãžã§ã³ 2.7
ã§æ£ããåããŸãããããŒãžã§ã³ 2.6 以äžãŸã㯠3.0 以äžã§ã¯æ£ããåããŸãã)ã
[[compile_with_cmake]]
==== cmake ã«ããã³ã³ãã€ã«
* ã·ã¹ãã ãã£ã¬ã¯ããªã«ã€ã³ã¹ããŒã«ããå Žå (_root_ ç¹æš©ãå¿
èŠã§ã):
----
$ mkdir build
$ cd build
$ cmake ..
$ make
% make install (root ã§å®è¡)
----
* ä»»æã®ãã£ã¬ã¯ããªã«ã€ã³ã¹ããŒã«ããå Žå:
----
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/directory
$ make
$ make install
----
cmake ã«å¯Ÿãããªãã·ã§ã³ãæå®ããã«ã¯ã以äžã®æžåŒã䜿ã£ãŠãã ãã: "-DOPTION=VALUE"ã
ããå©çšããããªãã·ã§ã³ã®ãªã¹ã:
[width="100%",cols="2m,2,5m,12",options="header"]
|===
| ãªãã·ã§ã³ | å€ | ããã©ã«ãå€ | 説æ
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` | |
ãã«ã圢åŒ: WeeChat ã®éçºçã䜿ã£ãŠããå Žåã¯
`Debug` (ãŸã㯠`RelWithDebInfo`) ãæšå¥šããŸãã
| CMAKE_INSTALL_PREFIX | directory | /usr/local |
WeeChat ãã€ã³ã¹ããŒã«ãããã£ã¬ã¯ããªã
| WEECHAT_HOME | directory | ~/.weechat |
WeeChat å®è¡æã®ããŒã ãã£ã¬ã¯ããªã
| CA_FILE | file | /etc/ssl/certs/ca-certificates.crt |
èªèšŒå±ãå«ããã¡ã€ã«ãããã¯
<<option_weechat.network.gnutls_ca_file,weechat.network.gnutls_ca_file>>
ãªãã·ã§ã³ã®ããã©ã«ãå€ã§ãã
| ENABLE_ALIAS | `ON`, `OFF` | ON |
<<alias_plugin,Alias ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_ASPELL | `ON`, `OFF` | ON |
<<aspell_plugin,Aspell ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_CHARSET | `ON`, `OFF` | ON |
<<charset_plugin,Charset ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_MAN | `ON`, `OFF` | OFF |
man ããŒãžã®ã³ã³ãã€ã«ã
| ENABLE_DOC | `ON`, `OFF` | OFF |
ææžã®ã³ã³ãã€ã«
(ã³ã³ãã€ã«ã«ã¯æéãããããŸããææžãå«ãããã€ããªããã±ãŒãžããã«ãããå Žåããªã³ã©ã€ã³ã§ææžãèŠãããšãã§ããªãå Žåã ãã«æšå¥šããŸã)ã
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Enchant ãšå«ãã <<aspell_plugin,Aspell ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_EXEC | `ON`, `OFF` | ON |
<<exec_plugin,Exec ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_FIFO | `ON`, `OFF` | ON |
<<fifo_plugin,Fifo ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_GNUTLS | `ON`, `OFF` | ON |
Gnutls ã®æå¹å (SSL çš)ã
| ENABLE_GUILE | `ON`, `OFF` | ON |
<<scripts_plugins,Guile ãã©ã°ã€ã³>> (Scheme) ã®ã³ã³ãã€ã«ã
| ENABLE_IRC | `ON`, `OFF` | ON |
<<irc_plugin,IRC ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«
| ENABLE_JAVASCRIPT | `ON`, `OFF` | ON |
<<scripts_plugins,Javascript ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
巚倧ãã¡ã€ã«ã®ãµããŒãã
| ENABLE_LOGGER | `ON`, `OFF` | ON |
<<logger_plugin,Logger ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_LUA | `ON`, `OFF` | ON |
<<scripts_plugins,Lua ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Ncurses ã€ã³ã¿ãŒãã§ã€ã¹ã®ã³ã³ãã€ã«ã
| ENABLE_NLS | `ON`, `OFF` | ON |
NLS ã®æå¹å (å€èšèªãµããŒã)ã
| ENABLE_PERL | `ON`, `OFF` | ON |
<<scripts_plugins,Perl ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_PYTHON | `ON`, `OFF` | ON |
<<scripts_plugins,Python ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
Python 3 ã䜿ã£ã <<scripts_plugins,Python ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«
(å€ãã®ã¹ã¯ãªãã㯠Python 3 ãšäºææ§ããªããã *éæšå¥š*ã§ã)ã
| ENABLE_RELAY | `ON`, `OFF` | ON |
<<relay_plugin,ãªã¬ãŒãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_RUBY | `ON`, `OFF` | ON |
<<scripts_plugins,Ruby ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
<<scripts_plugins,ã¹ã¯ãªãããã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
ãã¹ãŠã®<<scripts_plugins,ã¹ã¯ãªãããã©ã°ã€ã³>>
(PythonãPerlãRubyãLuaãTclãGuileãJavascript) ã®ã³ã³ãã€ã«ã
| ENABLE_TCL | `ON`, `OFF` | ON |
<<scripts_plugins,Tcl ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
<<trigger_plugin,Trigger ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_XFER | `ON`, `OFF` | ON |
<<xfer_plugin,Xfer ãã©ã°ã€ã³>>ã®ã³ã³ãã€ã«ã
| ENABLE_TESTS | `ON`, `OFF` | OFF |
ã³ã³ãã€ã«ãã¹ãã
|===
ãã®ä»ã®ãªãã·ã§ã³ã¯ä»¥äžã®ã³ãã³ãã§ç¢ºèªããŠãã ãã:
----
$ cmake -LA
----
Curses ã€ã³ã¿ãŒãã§ã€ã¹ã䜿ãå Žåã¯ä»¥äžã®ã³ãã³ãã䜿ã£ãŠãã ãã:
----
$ ccmake ..
----
[[compile_with_autotools]]
==== autotools ã«ããã³ã³ãã€ã«
[WARNING]
cmake 以å€ãçšãã WeeChat ã®ãã«ãã¯å
¬åŒã«ãµããŒããããŸãããcmake
ãå©çšã§ããªãå Žåã®ã¿ autotools ã䜿ã£ãŠãã ããã +
autotools ãçšããŠãã«ãããå Žåãcmake ãããå€ãã®äŸåããã±ãŒãžãšããé·ãæéãå¿
èŠã§ãã
* ã·ã¹ãã ãã£ã¬ã¯ããªã«ã€ã³ã¹ããŒã«ããå Žå (_root_ ç¹æš©ãå¿
èŠã§ã):
----
$ ./autogen.sh
$ mkdir build
$ cd build
$ ../configure
$ make
% make install (as root)
----
* ä»»æã®ãã£ã¬ã¯ããªã«ã€ã³ã¹ããŒã«ããå Žå:
----
$ ./autogen.sh
$ mkdir build
$ cd build
$ ../configure --prefix=/path/to/directory
$ make
$ make install
----
_configure_
ã¹ã¯ãªããã«å¯ŸããŠãªãã·ã§ã³ãæå®ããããšãã§ããŸãããªãã·ã§ã³ã衚瀺ããã«ã¯ä»¥äžã®ã³ãã³ãã䜿ã£ãŠãã ãã:
----
$ ./configure --help
----
[[git_sources]]
=== Git ãœãŒã¹
èŠå: git ãœãŒã¹ãçšããæ¹æ³ã¯äžçŽè
åãã§ããã³ã³ãã€ã«ã«å€±æãããã
äžå®å®ãªå¯èœæ§ããããŸããèŠåããŸããã!
git ãœãŒã¹ãå
¥æããã«ã¯ã以äžã®ã³ãã³ãã䜿ã£ãŠãã ãã:
----
$ git clone https://github.com/weechat/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_ ã _/usr/bin/_ ã«ã€ã³ã¹ããŒã«ããã_core_ ãã¡ã€ã«ã
_/home/xxx/_ ã«ããå Žåã以äžã®ã³ãã³ã㧠gdb ãèµ·åããŠãã ãã:
----
gdb /usr/bin/weechat /home/xxx/core
----
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 ããã»ã¹ã® PID ã«å€æŽããŠãã ãã):
----
gdb /usr/bin/weechat 12345
----
ã¯ã©ãã·ã¥ãèµ·ããå Žåãšåæ§ã«ã`bt full` ã³ãã³ãã䜿ã£ãŠãã ãã:
----
(gdb) bt full
----
[[usage]]
== 䜿ãæ¹
[[running_weechat]]
=== WeeChat ã®èµ·å
ã³ãã³ãã©ã€ã³åŒæ°:
include::cmdline_options.ja.adoc[]
WeeChat ãèµ·åãããã«ã¯ã以äžã³ãã³ããå®è¡:
----
$ weechat
----
åã㊠WeeChat
ãèµ·åããå Žåãããã©ã«ãã®ãªãã·ã§ã³ã§èšå®ãã¡ã€ã«ãäœæãããŸãããã®ããã©ã«ãèšå®ãã¡ã€ã«ã¯
_~/.weechat/weechat.conf_ ã§ãã
WeeChat ãèšå®ããã«ã¯ãã®ãã¡ã€ã«ãç·šéããããWeeChat
å
㧠`/set` ã³ãã³ãã«ãã©ã¡ãŒã¿ãä»ããŠèšå®ããŸã
(<<weechat_commands,WeeChat ã³ãã³ã>>ãåç
§)ã
[[screen_layout]]
=== ç»é¢ã¬ã€ã¢ãŠã
WeeChat ãèµ·åãã端æ«ã®äŸ:
....
⌠"title" ããŒ
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
âWelcome to #test, this is a test channel â
â12:52:27 --> | Flashy (flashcode@weechat.org) has joined #test â@Flashyâ
â12:52:27 -- | Nicks #test: [@Flashy @joe +weebot peter] â@joe â
â12:52:27 -- | Channel #test: 4 nicks (2 ops, 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 â â
â â â
â â â
â â â
â â â
â â â
â â â
â â â
â â â
â â â
â â â
â â â
â[12:55] [6] [irc/freenode] 3:#test(+n){4}* [H: 4:#abc(2,5), 6] â
â[@Flashy(i)] hi peter!â â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â² "status" ãš "input" ã㌠"nicklist" ã㌠â²
....
ç»é¢ã¯ä»¥äžã®ãšãªã¢ããæ§æãããŸã:
* ãã£ãããã°ã衚瀺ããããã£ãããšãªã¢ (ç»é¢ã®çãäž)ãããããã®è¡ã¯:
** æå»
** ãã¬ãã£ãã¯ã¹ ("|" ã®å)
** ã¡ãã»ãŒãž ("|" ã®åŸ)
* ãã£ãããšãªã¢ã®åšãã«ããããŒãããã©ã«ãããŒã¯:
** ã¿ã€ãã« (_title_) ããŒããã£ãããšãªã¢ã®äž
** ç¶æ
(_status_) ããŒããã£ãããšãªã¢ã®äž
** å
¥å (_input_) ããŒãç¶æ
ããŒã®äž
** ããã¯ããŒã ãªã¹ã (_nicklist_) ããŒãå³ç«¯
ç¶æ
(_status_) ããŒã¯ä»¥äžã®åæèŠçŽ ãæã£ãŠããŸã:
[width="100%",cols="^3,^4,10",options="header"]
|===
| èŠçŽ | äŸ | 説æ
| time | `[12:55]` | æå»
| buffer_last_number | `[6]` | ãªã¹ãäžã®æåŸã®ãããã¡çªå·
| buffer_plugin | `[irc/freenode]` | çŸåšã®ãããã¡ã®ãã©ã°ã€ã³ (irc ãã©ã°ã€ã³ã§ã¯ãããã¡ã§å©çšãããŠãã IRC ãµãŒãåãè¿œå ã§ããŸã)
| buffer_number | `3` | çŸåšã®ãããã¡ã®çªå·
| buffer_name | `#test` | çŸåšã®ãããã¡ã®åå
| buffer_modes | `+n` | IRC ãã£ã³ãã«ã¢ãŒã
| buffer_nicklist_count | `{4}` | ããã¯ããŒã ãªã¹ãäžã®ããã¯ããŒã ã®æ°
| buffer_zoom | ! | `!` ã¯ããŒãžããããããã¡ããºãŒã ãããŠããç¶æ
(ãºãŒã ããããã®ã ãã衚瀺ããç¶æ
) ã瀺ããŸãã空ã®å Žåã¯ãã¹ãŠã®ããŒãžããããããã¡ã衚瀺ãããŠããããšã瀺ããŸã
| buffer_filter | `+*+` | ãã£ã«ã¿è¡šç€º: `+*+` ã®å Žåããã€ãã®è¡ããã£ã«ã¿ãã (é ãã) ãŸãã空ã®å Žåãã¹ãŠã®è¡ã衚瀺ãããŸãã
| scroll | `-MORE(50)-` | ã¹ã¯ããŒã«è¡šç€ºãæåŸã®è¡ã衚瀺ãããŠããè¿œå ãããè¡æ°ãå«ãã
| lag | `[Lag: 2.5]` | é
延ç§è¡šç€º (é
延ãçãå Žåã¯é衚瀺)
| hotlist | `[H: 4:#abc(2,5), 6]` | å€åã®ãã£ããããã¡ã®ãªã¹ã (æªèªã¡ãã»ãŒãž) (äŸã§ã¯ã_#abc_ ã« 2 åã®ãã€ã©ã€ããš 5 åã®æªèªã¡ãã»ãŒãžã6 çªç®ã®ãããã¡ã« 1 åã®æªèªã¡ãã»ãŒãžãããããšãæå³ããŸãã)
| completion | `abc(2) def(5)` | è£å®åè£ã®åèªãªã¹ããååèªã«å¯ŸããŠé©å¿ãããè£å®åè£ã®æ°ãå«ãã
|===
å
¥å (_input_) ããŒã¯ä»¥äžã®åæèŠçŽ ãæã£ãŠããŸã:
[width="100%",cols="^3,^4,10",options="header"]
|===
| èŠçŽ | äŸ | 説æ
| input_prompt | `[@Flashy]` | å
¥åããã³ãããirc ã®å Žå: ããã¯ããŒã ãšã¢ãŒã (freenode ã§ã¯ "+i" ã¢ãŒãã¯äžå¯èŠç¶æ
ãæå³ããŸã)
| away | `(away)` | é¢åžç¶æ
衚瀺
| input_search | `[Search (~ str,msg)]` | æ€çŽ¢ã€ã³ãžã±ãŒã¿ ("`~`": 倧æåå°æåãåºå¥ããªãã"`==`": 倧æåå°æåãåºå¥ããã"`str`": æ€çŽ¢æååã"`regex`": æ€çŽ¢æ£èŠè¡šçŸã"`msg`": ã¡ãã»ãŒãžéšåããæ€çŽ¢ã"`pre`": ãã¬ãã£ãã¯ã¹éšåããæ€çŽ¢ã"`pre\|msg`": ãã¬ãã£ãã¯ã¹éšåãšã¡ãã»ãŒãžéšåããæ€çŽ¢)
| input_paste | `[Paste 7 lines ? [ctrl-Y] Yes [ctrl-N] No]` | è¡ãããŒã¹ãããå Žåã«ãŠãŒã¶ãžè¡ããã質å
| input_text | `hi peter!` | å
¥åããã¹ã
|===
ãã®ä»ã®å©çšå¯èœãªèŠçŽ (åæç¶æ
ã®ããŒã¯ãããã®èŠçŽ ãæã¡ãŸãã):
[width="100%",cols="^3,^4,10",options="header"]
|===
| èŠçŽ | äŸ | 説æ
| aspell_dict | `fr,en` | çŸåšã®ãããã¡ã«ãããã¹ããªã³ã°èŸæž
| aspell_suggest | `print,prone,prune` | ã«ãŒãœã«äžã®åèªã«å¯Ÿããã¹ããªã³ã°åè£ (ã¹ãã«ãééã£ãŠããå Žå)
| buffer_count | `10` | éããŠãããããã¡ã®ç·æ°
| buffer_short_name | `#test` | çŸåšã®ãããã¡ã®çãåå
| irc_channel | `#test` | çŸåšã® IRC ãã£ã³ãã«å
| irc_nick_modes | `@` | èªåã®ããã¯ããŒã ã«å¯Ÿãã IRC ã¢ãŒã
| mouse_status | `M` | ããŠã¹ã®ç¶æ
(ããŠã¹ãç¡å¹åãããŠããå Žåã¯ç©ºæåå)
| window_number | `2` | çŸåšã®ãŠã£ã³ããŠçªå·
|===
[[buffers_and_windows]]
=== ãããã¡ãšãŠã£ã³ããŠ
_ãããã¡_ã¯çªå·ãååã衚瀺ãããè¡
(ãšãã®ä»ã®æ
å ±) ã§æ§æãããŠããŸãã
ãããã¡ã®äŸ:
* ã³ã¢ãããã¡ (èµ·åæã« WeeChat ãäœæãéããããšã¯ã§ããŸãã)
* irc ãµãŒã (ãµãŒãããã®ã¡ãã»ãŒãžã衚瀺)
* irc ãã£ã³ãã«
* irc ãã©ã€ããŒã
_window_
ã¯ãããã¡ã衚瀺ããç»é¢ãšãªã¢ã®ããšã§ããç»é¢ãè€æ°ã®ãŠã£ã³ããŠã«åå²ããããšãã§ããŸãã
ããããã®ãŠã£ã³ããŠã¯ 1 ã€ã®ãããã¡ã衚瀺ããŸãããããã¡ã¯é ããã
(ãŠã£ã³ããŠã«è¡šç€ºããªã)ãè€æ°ã®ãŠã£ã³ããŠã«è¡šç€ºããããšã§ããŸãã
æ°Žå¹³æ¹ååå²ã®äŸ (`/window splith`):
....
⌠ãŠã£ã³ã㊠#2 (ãããã¡ #4)
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
âWelcome to #abc â
â12:55:12 Max | hi â@Flashyâ
â12:55:20 @Flashy | hi Max! âMax â
â12:55:32 Max | how are you? â â
â â â
â â â
â â â
â â â
â â â
â[12:55] [6] [irc/freenode] 4:#abc(+n){2} â
â[@Flashy] â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
âWelcome to #test â
â12:54:15 peter | hey! â@Flashyâ
â12:55:01 @joe | hello â@joe â
â â+weebotâ
â âpeter â
â â â
â â â
â â â
â â â
â[12:55] [6] [irc/freenode] 3:#test(+n){4} â
â[@Flashy] hi peter!â â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â² ãŠã£ã³ã㊠#1 (ãããã¡ #3)
....
åçŽæ¹ååå²ã®äŸ (`/window splitv`):
....
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
âWelcome to #test âWelcome to #abc â
â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â â â
â âpeter â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â[12:55] [irc/oftc] 3:#test(+n){4} â[12:55] [irc/oftc] 4:#abc(+n){2} â
â[@Flashy] hi peter!â â[@Flashy] â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â² ãŠã£ã³ã㊠#1 (ãããã¡ #3) â² ãŠã£ã³ã㊠#2 (ãããã¡ #4)
....
åçŽæ¹å + æ°Žå¹³æ¹ååå²ã®äŸ:
....
⌠ãŠã£ã³ã㊠#3 (ãããã¡ #5)
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
âWelcome to #test âWelcome to #def â
â12:54:15 peter | hey! â@Flashyâ12:55:42 @Flashy | hi â@Flashyâ
â12:55:01 @joe | hello â@joe â12:55:56 alex | hi Flashy âalex â
â â+weebotâ â â
â âpeter â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â[12:55] [irc/oftc] 5:#def(+n){2} â
â â â[@Flashy] â
â â âââââââââââââââââââââââââââââââââââââââ
â â âWelcome to #abc â
â â â12:55:12 Max | hi â@Flashyâ
â â â12:55:20 @Flashy | hi Max! âMax â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â â â â â
â[12:55] [irc/oftc] 3:#test(+n){4} â[12:55] [irc/oftc] 4:#abc(+n){2} â
â[@Flashy] hi peter!â â[@Flashy] â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â² ãŠã£ã³ã㊠#1 (ãããã¡ #3) â² ãŠã£ã³ã㊠#2 (ãããã¡ #4)
....
[[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` ã³ãã³ãã§è¡šç€ºãããŸãã
èŠçŽ åã®åãŸãã¯åŸã«æåã衚瀺ãããããšãã§ããŸã (è±æ°å以å€ã®æåã"-"
ãŸã㯠"_")ããã®æåã¯ã㌠(_color_delim_ ãªãã·ã§ã³)
ã§å®çŸ©ãããåºåãæåã®è²ãã€ããŠèŠçŽ ã®åãŸãã¯åŸã«è¡šç€ºãããŸãã
ããŒèŠçŽ ãå«ãããŒã®äŸ "[time],buffer_number+:+buffer_plugin+.+buffer_name":
....
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â[12:55] 3:irc/freenode.#weechat â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
....
ç¹æ®æ§æã䜿ãããšã§ãããŒèŠçŽ : "@buffer:item"
("buffer" ã¯ãããã¡ã®å®å
šãªååã"item" ã¯ããŒèŠçŽ ã®åå)
ã衚瀺ããéã«åŒ·å¶çã«æå®ããããããã¡ãå©çšããããšãå¯èœã§ãã
ããã¯ã«ãŒãããŒã«çŸåšã®ãŠã£ã³ããŠã§è¡šç€ºãããªã (ãŸãã¯ã©ãã«ã衚瀺ãããªã)
ç¹å®ã®ãããã¡ã®èŠçŽ ã衚瀺ãããéã«äŸ¿å©ã§ãã
äŸ: bitlbee ã®ããã¯ããŒã ãªã¹ããã«ãŒãããŒã«è¡šç€ºããã
(ããŒã _bitlist_ 㧠bitlbee ãµãŒãã _bitlbee_ ã®å Žå):
----
/set weechat.bar.bitlist.items "@irc.bitlbee.&bitlbee:buffer_nicklist"
----
[[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} â
â[@carl] â â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
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} â
â[@carl] â â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
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_
ãªãã·ã§ã³ã¯ããŒã衚瀺ãããåŠããè©äŸ¡ããæååã§ãã
æååã¯ä»¥äžã®ãããã:
* _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)"
----
[[bare_display]]
=== æå°é衚瀺
ãæå°é衚瀺ããšåŒã°ããç¹æ®ãªè¡šç€ºç¶æ
ã䜿ãããšã§ã(ããŠã¹ã䜿ã£ãŠ) é·ã
URL ãç°¡åã«ã¯ãªãã¯ããããããã¹ããç°¡åã«éžæã§ããããã«ãªã£ãŠããŸãã
æå°é衚瀺ã¯ä»¥äžã®æ©èœãæã£ãŠããŸã:
* çŸåšã®ãããã¡ã®å
容ã ãã衚瀺: åå²ãŠã£ã³ããŠãããŒç
(ã¿ã€ãã«ãããã¯ããŒã ãªã¹ããç¶æ
ãå
¥åã...) ã衚瀺ããªã
* WeeChat ããŠã¹ãµããŒããç¡å¹å (æå¹åãããŠããå Žå):
端æ«ã§ããã®ãšåãããã« URL ãã¯ãªãã¯ãããããã¹ããéžæã§ããŸã
* ncurses ã䜿ããªãããã®ãã URL ãè¡ã®æåŸã§åæãããããšããªããªããŸãã
æå°é衚瀺ãæå¹åããããã©ã«ãããŒã¯ kbd:[Alt+l] ã§ãçµäºããã«ã¯åãããŒãæŒããŠãã ãã
(ãŸããããã©ã«ãã§ã¯å
¥åãå€æŽãããå Žåã«æå°é衚瀺ãçµäºããŸãã<<option_weechat.look.bare_display_exit_on_input,weechat.look.bare_display_exit_on_input>>
ãªãã·ã§ã³ãåç
§)ã
<<option_weechat.look.bare_display_time_format,weechat.look.bare_display_time_format>>
ãªãã·ã§ã³ã䜿ãã°ãæéæžåŒãå€æŽããããšãå¯èœã§ãã
<<command_weechat_window,/window>>
ã³ãã³ãã䜿ãã°ãæå®ç§åŸã«æå°é衚瀺ãæå¹åããããšãã§ããŸãã
WeeChat ã以äžã®ãããªè¡šç€ºç¶æ
ã®å Žå:
....
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
âWelcome to #test, this is a test channel â
â12:52:27 --> | Flashy (flashcode@weechat.org) has joined #test â@Flashyâ
â12:52:27 -- | Nicks #test: [@Flashy @joe +weebot peter] â@joe â
â12:52:27 -- | Channel #test: 4 nicks (2 ops, 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 | peter: hook_process: https://weechat.org/files/do â â
â | c/devel/weechat_plugin_api.en.html#_weechat_hook_ â â
â | process â â
â â â
â â â
â â â
â â â
â â â
â â â
â â â
â â â
â â â
â[12:55] [6] [irc/freenode] 3:#test(+n){4}* [H: 4:#abc(2,5), 6] â
â[@Flashy(i)] hi peter!â â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
....
æå°é衚瀺ã§ã¯ä»¥äžã®æ§ã«è¡šç€ºãããŸã:
....
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â â
â â
â â
â â
â â
â â
â â
â â
â â
â â
â â
â â
â â
â12:52 --> Flashy (flashcode@weechat.org) has joined #test â
â12:52 -- Nicks #test: [@Flashy @joe +weebot peter] â
â12:52 -- Channel #test: 4 nicks (2 ops, 1 voice, 1 normal) â
â12:52 -- Channel created on Tue Jan 27 06:30:17 2009 â
â12:54 <peter> hey! â
â12:55 <@joe> peter: hook_process: https://weechat.org/files/doc/devel/weechâ
âat_plugin_api.en.html#_weechat_hook_process â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
....
ãã®ããã端æ«ã§åé¡ãªã _joe_ ããããã® URL ãã¯ãªãã¯ã§ããŸã
(ãã¡ããã䜿çšäžã®ç«¯æ«ã§ URL ãã¯ãªãã¯ã§ããããã«èšå®ãããŠããªããã°ãããŸããã)ã
[[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]]
=== ããã©ã«ãã®ããŒå²ãåœãŠ
[[key_bindings_command_line]]
==== ã³ãã³ãã©ã€ã³çšã®ããŒ
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|===
| ã㌠| 説æ | ã³ãã³ã
| kbd:[â] +
kbd:[Ctrl+b] | ã³ãã³ãã©ã€ã³ã§åã®æåã«ç§»å | `/input move_previous_char`
| kbd:[â] +
kbd:[Ctrl+f] | ã³ãã³ãã©ã€ã³ã§æ¬¡ã®æåã«ç§»å | `/input move_next_char`
| kbd:[Ctrl+â] +
kbd:[Alt+b] | ã³ãã³ãã©ã€ã³ã§åã®åèªã«ç§»å | `/input move_previous_word`
| kbd:[Ctrl+â] +
kbd:[Alt+f] | ã³ãã³ãã©ã€ã³ã§æ¬¡ã®åèªã«ç§»å | `/input move_next_word`
| kbd:[Home] +
kbd:[Ctrl+a] | ã³ãã³ãã©ã€ã³ã§è¡é ã«ç§»å | `/input move_beginning_of_line`
| kbd:[End] +
kbd:[Ctrl+e] | ã³ãã³ãã©ã€ã³ã§è¡æ«ã«ç§»å | `/input move_end_of_line`
| kbd:[Ctrl+c],
kbd:[b] | ããã¹ãã倪ååããã³ãŒãã®æ¿å
¥ | `/input insert \x02`
| kbd:[Ctrl+c],
kbd:[c] | ããã¹ãã«è²ãã€ããã³ãŒãã®æ¿å
¥ | `/input insert \x03`
| kbd:[Ctrl+c],
kbd:[i] | ããã¹ããã€ã¿ãªãã¯äœã«ããã³ãŒãã®æ¿å
¥ | `/input insert \x1D`
| kbd:[Ctrl+c],
kbd:[o] | ããã¹ãè²ã®ãªã»ãããè¡ãã³ãŒãã®æ¿å
¥ | `/input insert \x0F`
| kbd:[Ctrl+c],
kbd:[v] | ããã¹ãè²ã®å転ãè¡ãã³ãŒãã®æ¿å
¥ | `/input insert \x16`
| kbd:[Ctrl+c],
kbd:[_] | ããã¹ãã«äžç·ãåŒãã³ãŒãã®æ¿å
¥ | `/input insert \x1F`
| kbd:[Del] +
kbd:[Ctrl+d] | ã³ãã³ãã©ã€ã³ã§æ¬¡ã®æåãåé€ | `/input delete_next_char`
| kbd:[Backsp.] +
kbd:[Ctrl+h] | ã³ãã³ãã©ã€ã³ã§åã®æåãåé€ | `/input delete_previous_char`
| kbd:[Ctrl+k] | ã³ãã³ãã©ã€ã³ã§ã«ãŒãœã«ããåŸã®æååãåé€ (åé€ãããæåå㯠WeeChat å°çšã®å
éšã¯ãªããããŒãã«ä¿å) | `/input delete_end_of_line`
| kbd:[Ctrl+r] | ãããã¡äžã®å±¥æŽããããã¹ãæ€çŽ¢ (<<key_bindings_search_context,æ€çŽ¢ã¢ãŒãçšã®ããŒ>>ãåç
§) | `/input search_text_here`
| kbd:[Ctrl+t] | æåã®å
¥ãæ¿ã | `/input transpose_chars`
| kbd:[Ctrl+u] | ã³ãã³ãã©ã€ã³ã§ã«ãŒãœã«ããåã®æååãåé€ (åé€ãããæåå㯠WeeChat å°çšã®å
éšã¯ãªããããŒãã«ä¿å) | `/input delete_beginning_of_line`
| kbd:[Ctrl+w] | ã³ãã³ãã©ã€ã³ã§åã®åèªãåé€ (åé€ãããæåå㯠WeeChat å°çšã®å
éšã¯ãªããããŒãã«ä¿å) | `/input delete_previous_word`
| kbd:[Ctrl+y] | WeeChat å°çšã®å
éšã¯ãªããããŒãã®å
容ãããŒã¹ã | `/input clipboard_paste`
| kbd:[Ctrl+_] | ã³ãã³ãã©ã€ã³ã®æåŸã®åäœãããçŽã | `/input undo`
| kbd:[Alt+_] | ã³ãã³ãã©ã€ã³ã®æåŸã®åäœãåãæ¶ã | `/input redo`
| kbd:[Tab] | ã³ãã³ããããã¯ããŒã ãè£å® (å床 kbd:[Tab] ããããšã§æ¬¡ã®è£å®åè£ã衚瀺) | `/input complete_next`
| kbd:[Shift+Tab] | è£å®åè£ãç¡ãå Žå: éšåè£å®ãè¡ããè£å®åè£ãæãå Žå: åã®è£å®åè£ã衚瀺 | `/input complete_previous`
| kbd:[Enter] +
kbd:[Ctrl+j] +
kbd:[Ctrl+m] | ã³ãã³ããå®è¡ããããã¡ãã»ãŒãžãéä¿¡ãã (æ€çŽ¢ã¢ãŒãã®å Žå: æ€çŽ¢ã®çµäº) | `/input return`
| kbd:[â] | åã®ã³ãã³ã/ã¡ãã»ãŒãžãåŒã³åºã (æ€çŽ¢ã¢ãŒãã®å Žå: äžæ¹åã«æ€çŽ¢) | `/input history_previous`
| kbd:[â] | 次ã®ã³ãã³ã/ã¡ãã»ãŒãžãåŒã³åºã (æ€çŽ¢ã¢ãŒãã®å Žå: äžæ¹åã«æ€çŽ¢) | `/input history_next`
| kbd:[Ctrl+â] | ã°ããŒãã«å±¥æŽããåã®ã³ãã³ã/ã¡ãã»ãŒãžãåŒã³åºã (ãã¹ãŠã®ãããã¡ã«å¯ŸããŠå
±éã®å±¥æŽ) | `/input history_global_previous`
| kbd:[Ctrl+â] | ã°ããŒãã«å±¥æŽãã次ã®ã³ãã³ã/ã¡ãã»ãŒãžãåŒã³åºã (ãã¹ãŠã®ãããã¡ã«å¯ŸããŠå
±éã®å±¥æŽ) | `/input history_global_next`
| kbd:[Alt+d] | ã³ãã³ãã©ã€ã³ã§æ¬¡ã®åèªãåé€ (åé€ãããæåå㯠WeeChat å°çšã®å
éšã¯ãªããããŒãã«ä¿å) | `/input delete_next_word`
| kbd:[Alt+k] | ããŒå
¥åã奪ã£ãŠãã³ãã³ãã©ã€ã³ã«ã³ãŒã (ããŒãå²ãåœãŠãããŠããã°ã³ãã³ã) ãå
¥å | `/input grab_key_command`
| kbd:[Alt+r] | ã³ãã³ãã©ã€ã³ãžã®å
¥åããã¹ãŠåé€ | `/input delete_line`
| kbd:[Alt+s] | aspell ã®æå¹ç¡å¹ãåãæ¿ã | `/mute aspell toggle`
|===
[[key_bindings_buffers_windows]]
==== ãããã¡ / ãŠã£ã³ããŠçšã®ããŒ
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|===
| ã㌠| 説æ | ã³ãã³ã
| kbd:[Ctrl+l] | å
šãŠã£ã³ããŠãåæç» | `/window refresh`
| kbd:[Ctrl+s],
kbd:[Ctrl+u] | ãã¹ãŠã®ãããã¡ã«æªèªããŒã¯ãã»ãã | `/input set_unread`
| kbd:[Ctrl+x] | åãçªå·ãæã€ãããã¡ã«ã¢ã¿ãããããŠããå ŽåãçŸåšã®ãããã¡ã«ç§»å | `/input switch_active_buffer`
| kbd:[Alt+x] | ããŒãžããããããã¡ã«åãºãŒã (kbd:[Alt+x]: å
šãŠã®ããŒãžããããããã¡ã衚瀺) | `/input zoom_merged_buffer`
| kbd:[PgUp] | ãããã¡å±¥æŽã 1 ããŒãžåäžæ¹åã«ã¹ã¯ããŒã« | `/window page_up`
| kbd:[PgDn] | ãããã¡å±¥æŽã 1 ããŒãžåäžæ¹åã«ã¹ã¯ããŒã« | `/window page_down`
| kbd:[Alt+PgUp] | ãããã¡å±¥æŽãæ°è¡åäžæ¹åã«ã¹ã¯ããŒã« | `/window scroll_up`
| kbd:[Alt+PgDn] | ãããã¡å±¥æŽãæ°è¡åäžæ¹åã«ã¹ã¯ããŒã« | `/window scroll_down`
| kbd:[Alt+Home] | ãããã¡å±¥æŽãæåãŸã§ã¹ã¯ããŒã« | `/window scroll_top`
| kbd:[Alt+End] | ãããã¡å±¥æŽãæåŸãŸã§ã¹ã¯ããŒã« | `/window scroll_bottom`
| kbd:[Alt+â] +
kbd:[Alt+â] +
kbd:[Ctrl+p] +
kbd:[F5] | åã®ãããã¡ã«ç§»å | `/buffer -1`
| kbd:[Alt+â] +
kbd:[Alt+â] +
kbd:[Ctrl+n] +
kbd:[F6] | åŸã®ãããã¡ã«ç§»å | `/buffer +1`
| kbd:[F7] | ãŠã£ã³ããŠãåã«ç§»å | `/window -1`
| kbd:[F8] | ãŠã£ã³ããŠãåŸã«ç§»å | `/window +1`
| kbd:[F9] | ãããã¡ã¿ã€ãã«ãå·Šæ¹åã«ã¹ã¯ããŒã« | `+/bar scroll title * -30%+`
| kbd:[F10] | ãããã¡ã¿ã€ãã«ãå³æ¹åã«ã¹ã¯ããŒã« | `+/bar scroll title * +30%+`
| kbd:[F11] | ããã¯ããŒã ãªã¹ããäžæ¹åã«ã¹ã¯ããŒã« | `/bar scroll nicklist * -100%`
| kbd:[F12] | ããã¯ããŒã ãªã¹ããäžæ¹åã«ã¹ã¯ããŒã« | `/bar scroll nicklist * +100%`
| kbd:[Alt+F11] | ããã¯ããŒã ãªã¹ããäžçªäžã«ã¹ã¯ããŒã« | `/bar scroll nicklist * b`
| kbd:[Alt+F12] | ããã¯ããŒã ãªã¹ããäžçªäžã«ã¹ã¯ããŒã« | `/bar scroll nicklist * e`
| kbd:[Alt+a] | å€æŽã®ãã£ã次ã®ãããã¡ã«ç§»å (åªå
é äœ: ãã€ã©ã€ããæ°èŠã¡ãã»ãŒãžããã®ä») | `/input jump_smart`
| kbd:[Alt+h] | ããããªã¹ã (ä»ã®ãããã¡ã«ãã£ãå€æŽéç¥ãªã¹ã) ãæ¶å» | `/input hotlist_clear`
| kbd:[Alt+j],
kbd:[Alt+f] | æåã®ãããã¡ã«ç§»å | `/buffer -`
| kbd:[Alt+j],
kbd:[Alt+l] | æåŸã®ãããã¡ã«ç§»å | `/buffer +`
| kbd:[Alt+j],
kbd:[Alt+r] | IRC çãããã¡ã«ç§»å | `/server raw`
| kbd:[Alt+j],
kbd:[Alt+s] | IRC ãµãŒããããã¡ã«ç§»å | `/server jump`
| kbd:[Alt+0...9] | çªå·ã®ãããã¡ã«ç§»å (0 = 10) | `/buffer *N`
| kbd:[Alt+j],
kbd:[01...99] | çªå·ã®ãããã¡ã«ç§»å | `/buffer *NN`
| kbd:[Alt+l] | æå°é衚瀺ã®æå¹ç¡å¹ãåãæ¿ã | `/window bare`
| kbd:[Alt+m] | ããŠã¹ã®æå¹ç¡å¹ãåãæ¿ã | `/mouse toggle`
| kbd:[Alt+n] | 次ã®ãã€ã©ã€ããŸã§ã¹ã¯ããŒã« | `/window scroll_next_highlight`
| kbd:[Alt+p] | åã®ãã€ã©ã€ããŸã§ã¹ã¯ããŒã« | `/window scroll_previous_highlight`
| kbd:[Alt+u] | ãããã¡ãæåã®æªèªè¡ãŸã§ã¹ã¯ããŒã« | `/window scroll_unread`
| kbd:[Alt+w],
kbd:[Alt+â] | äžã®ãŠã£ã³ããŠã«ç§»å | `/window up`
| kbd:[Alt+w],
kbd:[Alt+â] | äžã®ãŠã£ã³ããŠã«ç§»å | `/window down`
| kbd:[Alt+w],
kbd:[Alt+â] | å·Šã®ãŠã£ã³ããŠã«ç§»å | `/window left`
| kbd:[Alt+w],
kbd:[Alt+â] | å³ã®ãŠã£ã³ããŠã«ç§»å | `/window right`
| kbd:[Alt+w],
kbd:[Alt+b] | ãã¹ãŠã®ãŠã£ã³ããŠãµã€ãºãåçã« | `/window balance`
| kbd:[Alt+w],
kbd:[Alt+s] | 2 ã€ã®ãŠã£ã³ããŠãå
¥ãæ¿ã | `/window swap`
| kbd:[Alt+z] | çŸåšã®ãŠã£ã³ããŠãæ倧å (å床 kbd:[Alt+z] ããããšã§: æåã®ãŠã£ã³ããŠç¶æ
ã«æ»ããæ倧ååã®ç¶æ
) | `/window zoom`
| kbd:[Alt+<] | ãããã¡èšªåå±¥æŽã§åã®ãããã¡ã«ç§»å | `/input jump_previously_visited_buffer`
| kbd:[Alt+>] | ãããã¡èšªåå±¥æŽã§æ¬¡ã®ãããã¡ã«ç§»å | `/input jump_next_visited_buffer`
| kbd:[Alt+/] | æåŸã«è¡šç€ºãããããã¡ã«ç§»å (ãããã¡ç§»ååã«è¡šç€ºããŠãããŠã£ã³ããŠ) | `/input jump_last_buffer_displayed`
| kbd:[Alt+=] | ãã£ã«ã¿ã®æå¹ç¡å¹ãåãæ¿ã | `/filter toggle`
| kbd:[Alt+-] | çŸåšã®ãããã¡ã®ãã£ã«ã¿ã®æå¹ç¡å¹ãåãæ¿ã | `/filter toggle @`
|===
[[key_bindings_search_context]]
==== ãæ€çŽ¢ãã¢ãŒãçšã®ããŒ
以äžã®ããŒã¯ãæ€çŽ¢ãæ€çŽ¢ã¢ãŒã (ãããã¡å
ã®ããã¹ãæ€çŽ¢çšã«
kbd:[Ctrl+r] ãæŒãããç¶æ
) ã§ã®ã¿æå¹ã§ãã
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|===
| ã㌠| 説æ | ã³ãã³ã
| kbd:[Ctrl+r] | æ€çŽ¢ã¿ã€ããåãæ¿ã: æåå (ããã©ã«ã)ãæ£èŠè¡šçŸ | `/input search_switch_regex`
| kbd:[Alt+c] | 倧æåå°æåãåºå¥ããŠæ€çŽ¢ | `/input search_switch_case`
| kbd:[Tab] | æ€çŽ¢ç¯å²: ã¡ãã»ãŒãž (ããã©ã«ã)ããã¬ãã£ãã¯ã¹ããã¬ãã£ãã¯ã¹ãšã¡ãã»ãŒãž | `/input search_switch_where`
| kbd:[â] | åã®ããŒã¯ãŒãã§æ€çŽ¢ | `/input search_previous`
| kbd:[â] | 次ã®ããŒã¯ãŒãã§æ€çŽ¢ | `/input search_next`
| kbd:[Enter] +
kbd:[Ctrl+j] +
kbd:[Ctrl+m] | çŸåšã®äœçœ®ã§æ€çŽ¢ãçµäº | `/input search_stop_here`
| kbd:[Ctrl+q] | æ€çŽ¢ãçµäºããŠãããã¡ã®æåŸãŸã§ã¹ã¯ããŒã« | `/input search_stop`
|===
[[key_bindings_cursor_context]]
==== ãã«ãŒãœã«ãã¢ãŒãçšã®ããŒ
以äžã®ããŒã¯ãã«ãŒãœã«ãã¢ãŒã (ç»é¢äžã§ã«ãŒãœã«ãèªç±ã«åãããç¶æ
) ã§ã®ã¿æå¹ã§ãã
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|===
| ã㌠| ãšãªã¢ | 説æ | ã³ãã³ã
| kbd:[â] | - | ã«ãŒãœã«ãäžã®è¡ã«ç§»å | `/cursor move up`
| kbd:[â] | - | ã«ãŒãœã«ãäžã®è¡ã«ç§»å | `/cursor move down`
| kbd:[â] | - | ã«ãŒãœã«ãå·Šã®åã«ç§»å | `/cursor move left`
| kbd:[â] | - | ã«ãŒãœã«ãå³ã®åã«ç§»å | `/cursor move right`
| kbd:[Alt+â] | - | ã«ãŒãœã«ãäžã®ãšãªã¢ã«ç§»å | `/cursor move area_up`
| kbd:[Alt+â] | - | ã«ãŒãœã«ãäžã®ãšãªã¢ã«ç§»å | `/cursor move area_down`
| kbd:[Alt+â] | - | ã«ãŒãœã«ãå·Šã®ãšãªã¢ã«ç§»å | `/cursor move area_left`
| kbd:[Alt+â] | - | ã«ãŒãœã«ãå³ã®ãšãªã¢ã«ç§»å | `/cursor move area_right`
| kbd:[m] | ãã£ãã | ã¡ãã»ãŒãžãåŒçš | `hsignal:chat_quote_message;/cursor stop`
| kbd:[q] | ãã£ãã | ãã¬ãã£ãã¯ã¹ãšã¡ãã»ãŒãžãåŒçš | `hsignal:chat_quote_prefix_message;/cursor stop`
| kbd:[Q] | ãã£ãã | æéããã¬ãã£ãã¯ã¹ãã¡ãã»ãŒãžãåŒçš | `hsignal:chat_quote_time_prefix_message;/cursor stop`
| kbd:[b] | ããã¯ããŒã ãªã¹ã| ããã¯ããŒã ããã³ãã | `/window ${_window_number};/ban ${nick}`
| kbd:[k] | ããã¯ããŒã ãªã¹ã| ããã¯ããŒã ãããã¯ãã | `/window ${_window_number};/kick ${nick}`
| kbd:[K] | ããã¯ããŒã ãªã¹ã| ããã¯ããŒã ããã³ãšããã¯ãã | `/window ${_window_number};/kickban ${nick}`
| kbd:[q] | ããã¯ããŒã ãªã¹ã| ããã¯ããŒã ã«å¯Ÿããã¯ãšãªãéã | `/window ${_window_number};/query ${nick};/cursor stop`
| kbd:[w] | ããã¯ããŒã ãªã¹ã| ããã¯ããŒã ã«å¯Ÿã㊠whois ãè¡ã | `/window ${_window_number};/whois ${nick}`
| kbd:[Enter] +
kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | ã«ãŒãœã«ã¢ãŒããçµäº | `/cursor stop`
|===
[[key_bindings_mouse_context]]
==== ãããŠã¹ãã¢ãŒãçšã®ããŒ
以äžã®ããŒã¯ãããŠã¹ãã¢ãŒã (ããŠã¹ã€ãã³ããçºçãããšã) ã§ã®ã¿æå¹ã§ãã
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",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`
| kbd:[Ctrl+â] | - | ãã£ãã | 氎平巊æ¹åã«ã¹ã¯ããŒã« | `/window scroll_horiz -window ${_window_number} -10%`
| kbd:[Ctrl+â] | - | ãã£ãã | æ°Žå¹³å³æ¹åã«ã¹ã¯ããŒã« | `/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
----
ããŠã¹ãæå¹åããã«ã¯ kbd:[Alt+m] ãæŒããã以äžã®ã³ãã³ãã䜿ããŸã:
----
/mouse enable
----
ããŒã«ããŠã¹ã®äžæçãªç¡å¹åãå²ãåœãŠãããšãã§ããŸããäŸãã°ãkbd:[Alt+%]
ããŒã«ããŠã¹ã 10 ç§éç¡å¹åããæ©èœãå²ãåœãŠãã«ã¯:
----
/key bind meta-% /mouse toggle 10
----
[IMPORTANT]
WeeChat ã§ããŠã¹ãæå¹åããå Žåããã¹ãŠã®ããŠã¹ã€ãã³ã㯠WeeChat
ã«ãã£ãŠææãããŸãããããã£ãŠãã«ãã/ããŒã¹ããªã©ã®æäœã URL
ã®ã¯ãªãã¯ãªã©ã¯ç«¯æ«ã«éä¿¡ãããŸãããkbd:[Shift]
ããŒã䜿ãã°ãäžæçã«ããŠã¹ãç¡å¹åããŠã端æ«ãžçŽæ¥ã€ãã³ããéä¿¡ããäºãå¯èœã§ã
(äžéšã®ç«¯æ«ãäŸãã° iTerm ãªã©ã§ã¯ kbd:[Shift] ã®ä»£ããã« kbd:[Alt] ã䜿ã£ãŠãã ãã)ã
[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 | kbd:[Ctrl] ããŒ
| alt | kbd:[Alt] ããŒ
| ctrl-alt | kbd:[Ctrl] + kbd:[Alt] ããŒ
|===
ãã¿ã³/ãã€ãŒã«ã®ãªã¹ã:
[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 çã®ãã©ã°ã€ã³ã§ã¯ã以äžã®è²ã³ãŒããšå±æ§ãå©çšã§ããŸã
(kbd:[Ctrl+c] ã®åŸã«ããªãã·ã§ã³ãšãšãã«ä»¥äžã®ããŒãæŒããŠãã ãã):
[width="60%",cols="3,5",options="header"]
|===
| ã㌠| 説æ
| kbd:[Ctrl+c], kbd:[b] | ããã¹ãã倪åã«
| kbd:[Ctrl+c], kbd:[c],
kbd:[xx] | ããã¹ã衚瀺è²ã `xx` ã« (以äžã®è²ãªã¹ããåç
§)
| kbd:[Ctrl+c], kbd:[c],
kbd:[xx], kbd:[,],
kbd:[yy] | ããã¹ã衚瀺è²ã `xx` ã«ãèæ¯è²ã `yy` ã« (以äžã®è²ãªã¹ããåç
§)
| kbd:[Ctrl+c], kbd:[i] | ããã¹ããã€ã¿ãªãã¯äœã«
| kbd:[Ctrl+c], kbd:[o] | ããã¹ã衚瀺è²ãšå±æ§ããªã»ãã
| kbd:[Ctrl+c], kbd:[v] | ããã¹ããå転 (ããã¹ã衚瀺è²ãšèæ¯è²ã®å
¥ãæ¿ã)
| kbd:[Ctrl+c], kbd:[_] | ããã¹ãã«äžç·ãåŒã
|===
[NOTE]
åãã³ãŒã㧠(è²ã³ãŒããå
¥åããã« kbd:[Ctrl+c], kbd:[c]
ã䜿ãããšã§) å±æ§ããã£ã³ã»ã«ããããšãã§ããŸãã
kbd:[Ctrl+c], kbd:[c] çšã®è²ã³ãŒã:
include::autogen/user/irc_colors.adoc[]
[NOTE]
端æ«ã§å©çšå¯èœãªãã¹ãŠã®è²ã衚瀺ããã«ã¯ãWeeChat 㧠`/color` ãå®è¡ããåŸ
kbd:[Alt+c] ãå
¥åãããã端æ«ã§ä»¥äžã®ã³ãã³ããå®è¡ããŠãã ãã: `weechat --colors`ã
äŸ:
ãããã«ã¡ã¯çãã!ãã®ãããã«ã¡ã¯ãã倪åã®æããéããçããããäžç·ä»ãã®æããèµ€ã«è¡šç€ºãããå Žå:
----
^Cc12^Cbããã«ã¡ã¯^Cb^Cc04^C_çãã^C_^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 | è² | ãã¢
| "rxvt-unicode", "xterm", ... | 88 | 256
| "rxvt-256color", "xterm-256color", ... | 256 | 256
| "screen" | 8 | 64
| "screen-256color" | 256 | 256
| "tmux" | 8 | 64
| "tmux-256color" | 256 | 256
|===
`weechat --colors` ãå®è¡ãããã`/color` ã³ãã³ãã WeeChat
ã®äžã§å®è¡ããããšã§ãè²è¡šç€ºã®å¶éã確èªã§ããŸãã
256 è²ãå©çšãããå Žåã«æšå¥šããã _TERM_ ç°å¢å€æ°ã®å€ã¯:
* screen å
ã®å Žå: _screen-256color_
* tmux å
ã®å Žå: _screen-256color_ã_tmux-256color_
* screen ããã³ tmux ã®å€ã®å Žå: _xterm-256color_ã_rxvt-256color_ã_putty-256color_ã...
[NOTE]
_TERM_ ç°å¢å€æ°ã®å€ã«äžã®å€ãèšå®ããã«ã¯ã"ncurses-term"
ããã±ãŒãžãã€ã³ã¹ããŒã«ããå¿
èŠããããããããŸããã
screen ã䜿ã£ãŠããå Žåã_~/.screenrc_ ã«ä»¥äžã®å
容ãè¿œå ããŠãã ãã:
----
term screen-256color
----
_TERM_ å€æ°ãééã£ãå€ã«èšå®ãããç¶æ
㧠WeeChat ãèµ·åå®äºããŠããå Žåã¯ã以äžã®
2 ã€ã®ã³ãã³ãã䜿ã£ãŠå€æ°ã®å€ãå€æŽããŠãã ãã:
----
/set env 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` ã³ãã³ãã§çŸåšã®è²ãšè²å¶éã確èªã§ããŸããkbd:[Alt+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
----
[[secured_data]]
=== æå·åããŒã¿
[[secured_data_storage]]
==== ããŒã¿ã®ä¿å
WeeChat ã¯ãã¹ã¯ãŒãåã³ _sec.conf_
ãã¡ã€ã«ã«ä¿åãããŠããå人ããŒã¿ãæå·åããããšãã§ããŸãã
ãã®èšå®ãã¡ã€ã«ã¯ä»ã®ã©ã®ãã¡ã€ã«ãããå
ã«èªãŸãããã¡ã€ã«ã«ä¿åãããŠããå€ã
WeeChat åã³ãã©ã°ã€ã³/ã¹ã¯ãªããã®ãªãã·ã§ã³ã§äœ¿ãããšãã§ããŸãã
_sec.conf_
ã«å«ãŸããããŒã¿ãæå·åãããã¹ãã¬ãŒãºãèšå®ããããšãå¯èœã§ããããã¯å¿
é ã§ã¯ãããŸãããããã¹ãã¬ãŒãºãèšå®ããããšã匷ãå§ããŸãããã¹ãã¬ãŒãºãèšå®ããªãå ŽåãããŒã¿ã¯å¹³æã§ãã¡ã€ã«ã«ä¿åãããŸãã
----
/secure passphrase this is my passphrase
----
ãã¹ãã¬ãŒãºãèšå®ããå ŽåãWeeChat
ã®èµ·åæã«ãã¹ãã¬ãŒãºã®å
¥åãæ±ããããããã«ãªããŸã (`/upgrade` æã«ã¯æ±ããããŸãã)ã
ãã®æåãå€æŽãããã¹ãã¬ãŒãºãä¿åãããã¡ã€ã«ã䜿ãããšãå¯èœã§ã
(<<option_sec.crypt.passphrase_file,sec.crypt.passphrase_file>> ãªãã·ã§ã³ãåç
§ããŠãã ãã)ã
[[secured_data_encryption]]
===== æå·å
ããŒã¿ã®æå·å㯠3 段éã«åããŠè¡ãããŸã:
. ãã¹ãã¬ãŒãºããéµãçæ (ä»»æã® salt ãå ããŸã)ã
. æå·åããããŒã¿ã®ããã·ã¥ãèšç®ã
. ããã·ã¥ãšããŒã¿ãæå·å (åºå: salt + æå·åæžã¿ã®ããã·ã¥/ããŒã¿)ã
[NOTE]
ãããã¯æå·ã¢ãŒã㯠_CFB_ ã§ãã
çµæ㯠16 é²æ°æååãšã㊠_sec.conf_ ãã¡ã€ã«ã«ä¿åãããŸããäŸ:
----
[data]
__passphrase__ = on
freenode = "53B1C86FCDA28FC122A95B0456ABD79B5AB74654F21C3D099A6CCA8173239EEA59533A1D83011251F96778AC3F5166A394"
----
[[secured_data_decryption]]
===== 埩å·å
ããŒã¿ã®åŸ©å·å㯠3 段éã«åããŠè¡ãããŸã:
. salt ãšãã¹ãã¬ãŒãºã䜿ã£ãŠéµãçæã
. ããã·ã¥ãšããŒã¿ã埩å·åã
. 埩å·åããããã·ã¥ãšããŒã¿ã®ããã·ã¥ãåãããšã確èªã
[[secured_data_manage]]
==== æå·åããŒã¿ã®ç®¡ç
æå·åããŒã¿ãè¿œå ããã«ã¯ã`/secure set` ã䜿ã£ãŠãã ããã_freenode_
IRC ãµãŒãã®ãã¹ã¯ãŒããèšå®ããäŸ:
----
/secure set freenode mypassword
----
å©äŸ¿æ§ãèæ
®ããŠãæå·åããŒã¿ãå°çšã®ãããã¡ã«è¡šç€ºã§ããããã«ãªã£ãŠããŸã
(å€ãèŠãã«ã¯ãããã¡ã§ kbd:[Alt+v]ã以äžã®ã³ãã³ããå®è¡ããŠãã ãã:
----
/secure
----
äŸãã°ãã¹ã¯ãŒããªã©ã®å人ããŒã¿ãå«ããªãã·ã§ã³ã§æå·åããŒã¿ã䜿ãããšãã§ããŸããæžåŒ:
"${sec.data.xxx}" ãã㧠"xxx" ã¯æå·åããŒã¿ã®ååã§ã
(`/secure set xxx ...` ã®ããã«äœ¿ããŸã)ã +
å©çšã§ãããªãã·ã§ã³ã®å®å
šãªãªã¹ãã¯ãèŠãã«ã¯ã`/help secure` ã䜿ã£ãŠãã ããã
äŸãã°äžã® _freenode_ ãã¹ã¯ãŒãã
<<irc_sasl_authentication,SASL èªèšŒ>>ã§äœ¿ãã«ã¯:
----
/set irc.server.freenode.sasl_password "${sec.data.freenode}"
----
[[options_and_commands]]
=== ãªãã·ã§ã³ãšã³ãã³ã
[[sec_options]]
==== ä¿è·ããŒã¿ã®ãªãã·ã§ã³ (sec.conf)
ã»ã¯ã·ã§ã³:
[width="100%",cols="3m,6m,16",options="header"]
|===
| ã»ã¯ã·ã§ã³ | æäœã³ãã³ã | 説æ
| crypt | /set sec.crypt.* | æå·åã«é¢ãããªãã·ã§ã³
| data | <<command_weechat_secure,/secure>> | ä¿è·ããŒã¿
|===
ãªãã·ã§ã³:
include::autogen/user/sec_options.adoc[]
[[weechat_options]]
==== WeeChat ãªãã·ã§ã³ (weechat.conf)
ã»ã¯ã·ã§ã³:
[width="100%",cols="3m,6m,16",options="header"]
|===
| ã»ã¯ã·ã§ã³ | æäœã³ãã³ã | 説æ
| debug | <<command_weechat_debug,/debug set>> +
/set weechat.debug.* | core ãšãã©ã°ã€ã³ã®ãããã°ã¬ãã« (ãªãã·ã§ã³ãã»ã¯ã·ã§ã³ã«è¿œå /åé€åºæ¥ãŸã)
| startup | /set weechat.startup.* | èµ·åãªãã·ã§ã³
| look | /set weechat.look.* | å€èŠ³
| palette | <<command_weechat_color,/color alias>> +
/set weechat.palette.* | è²ã®å¥å (ãªãã·ã§ã³ãã»ã¯ã·ã§ã³ã«è¿œå /åé€åºæ¥ãŸã)
| color | /set weechat.color.* | è²
| completion | /set weechat.completion.* | è£å®ãªãã·ã§ã³
| history | /set weechat.history.* | å±¥æŽãªãã·ã§ã³ (ã³ãã³ããšãããã¡)
| proxy | <<command_weechat_proxy,/proxy>> +
/set weechat.proxy.* | ãããã·ãªãã·ã§ã³
| network | /set weechat.network.* | ãããã¯ãŒã¯/SSL ãªãã·ã§ã³
| bar | <<command_weechat_bar,/bar>> +
/set weechat.bar.* | ããŒãªãã·ã§ã³
| layout | <<command_weechat_layout,/layout>> | ã¬ã€ã¢ãŠã
| notify | <<command_weechat_buffer,/buffer notify>> | ãããã¡ã«å¯Ÿããéç¥ã¬ãã« (ãªãã·ã§ã³ãã»ã¯ã·ã§ã³ã«è¿œå /åé€åºæ¥ãŸã)
| filter | <<command_weechat_filter,/filter>> | ãã£ã«ã¿
| key | <<command_weechat_key,/key>> | ããã©ã«ãã³ã³ããã¹ãã®ããŒ
| key_search | <<command_weechat_key,/key>> | æ€çŽ¢ã³ã³ããã¹ãã®ããŒ
| key_cursor | <<command_weechat_key,/key>> | ã«ãŒãœã«ã³ã³ããã¹ãã®ããŒ
| key_mouse | <<command_weechat_key,/key>> | ããŠã¹ã³ã³ããã¹ãã®ããŒ
|===
ãªãã·ã§ã³:
include::autogen/user/weechat_options.adoc[]
[[weechat_commands]]
==== WeeChat ã³ãã³ã
include::autogen/user/weechat_commands.adoc[]
[[plugins]]
== ãã©ã°ã€ã³
ãã©ã°ã€ã³ãšã¯åçã©ã€ãã©ãªã®ããšã§ãC
èšèªã§æžãããŠã³ã³ãã€ã«ãããŠããŸãããã©ã°ã€ã³ã¯ WeeChat ã«ãã£ãŠèªã¿èŸŒãŸããŸããGNU/Linux
ã®å Žåããã©ã°ã€ã³ãã¡ã€ã«ã¯ ".so" ãšããæ¡åŒµåãæã¡ãWindows ã®å Žåã".dll" ã§ãã
èŠã€ãã£ããã©ã°ã€ã³ã¯ WeeChat ã®èµ·åæã«èªåçã«èªã¿èŸŒãŸããŸããWeeChat
ã®èµ·åæã«ãã©ã°ã€ã³ãèªã¿èŸŒããåŠãã¯éžæå¯èœã§ãã
_ãã©ã°ã€ã³_ãš _ã¹ã¯ãªãã_ã®éããæããã«ããããšã¯éèŠã§ã:
_ãã©ã°ã€ã³_ãšã¯ `/plugin` ã³ãã³ãã§èªã¿èŸŒãŸããã³ã³ãã€ã«æžã¿ãã€ããªãã¡ã€ã«ã§ããããã«å¯ŸããŠã
_ã¹ã¯ãªãã_ãšã¯ `/python` çã®ã³ãã³ã㧠_python_
çã®ãã©ã°ã€ã³ãšãšãã«èªã¿èŸŒãŸããããã¹ããã¡ã€ã«ã§ãã
`/plugin`
ã³ãã³ãã䜿ãããšã§ããã©ã°ã€ã³ã®ããŒã/ã¢ã³ããŒããããŒãæžã¿ãã©ã°ã€ã³ã®è¡šç€ºãè¡ãããšãã§ããŸãããããã©ã°ã€ã³ãã¢ã³ããŒãããå Žåãã¢ã³ããŒããããã©ã°ã€ã³ãäœæãããããã¡ã¯ãã¹ãŠèªåçã«éããããŸãã
ãã©ã°ã€ã³ãããŒããã¢ã³ããŒããããŒãæžã¿ãã©ã°ã€ã³ã衚瀺ããäŸ:
----
/plugin load irc
/plugin unload irc
/plugin list
----
ããã©ã«ããã©ã°ã€ã³ã®ãªã¹ã:
[width="100%",cols="^1,5",options="header"]
|===
| ãã©ã°ã€ã³ | 説æ
| alias | ã³ãã³ãã®å¥åãå®çŸ©
| aspell | ã³ãã³ãã©ã€ã³ã®ã¹ãã«ãã§ãã¯
| charset | ãããã¡ã®æåã³ãŒãã«åŸã£ãŠãã³ãŒã/ãšã³ã³ãŒã
| exec | WeeChat å
éšããå€éšã³ãã³ããå®è¡
| fifo | å€éšãã WeeChat ã«ã³ãã³ããéä¿¡ããããã® FIFO ãã€ã
| irc | IRC ãã£ãããããã³ã«
| logger | ãããã¡ã®å
容ããã¡ã€ã«ã«ä¿å
| relay | ãããã¯ãŒã¯çµç±ã§ããŒã¿ãäžç¶
| script | ã¹ã¯ãªãããããŒãžã£
| python | Python ã¹ã¯ãªãã API
| perl | Perl ã¹ã¯ãªãã API
| ruby | Ruby ã¹ã¯ãªãã API
| lua | Lua ã¹ã¯ãªãã API
| tcl | Tcl ã¹ã¯ãªãã API
| guile | Guile (scheme) ã¹ã¯ãªãã API
| javascript | Javascript ã¹ã¯ãªãã API
| trigger | WeeChat ããã³ãã©ã°ã€ã³ãçºçãããã€ãã³ãã«å¯Ÿããããã¹ã眮æãšã³ãã³ãå®è¡
| xfer | ãã¡ã€ã«è»¢éãšãã€ã¬ã¯ããã£ãã
|===
API ã䜿ã£ããã©ã°ã€ã³ãã¹ã¯ãªããã®éçºã«ã€ããŠãã詳ããåŠã¶ã«ã¯ã_WeeChat
ãã©ã°ã€ã³ API ãªãã¡ã¬ã³ã¹_ãŸã㯠_WeeChat ã¹ã¯ãªãã補äœã¬ã€ã_ãåç
§ããŠãã ããã
[[alias_plugin]]
=== Alias ãã©ã°ã€ã³
Alias ãã©ã°ã€ã³ã䜿ãããšã§ãã³ãã³ãã®å¥åãå®çŸ©ã§ããŸã (WeeChat
ã ãã§ãªãä»ã®ãã©ã°ã€ã³ãæäŸããã³ãã³ãã®å¥åãå®çŸ©ããããšãã§ããŸã)ã
[[alias_commands]]
==== ã³ãã³ã
include::autogen/user/alias_commands.adoc[]
[[aspell_plugin]]
=== Aspell ãã©ã°ã€ã³
Aspell
ãã©ã°ã€ã³ã䜿ãããšã§ãã³ãã³ãã©ã€ã³ã«å
¥åããæååã®ã¹ãã«ãã§ãã¯ãã§ããŸãããããã¡ããšã«ç°ãªãèšèªã«å¯Ÿããã¹ãã«ãã§ãã¯ãå®è¡ã§ããŸãã
[[aspell_options]]
==== ãªãã·ã§ã³ (aspell.conf)
ã»ã¯ã·ã§ã³:
[width="100%",cols="3m,6m,16",options="header"]
|===
| ã»ã¯ã·ã§ã³ | æäœã³ãã³ã | 説æ
| color | /set aspell.color.* | è²
| check | /set aspell.check.* | ã¹ãã«ãã§ãã¯ã®æäœã³ãã³ã
| dict | <<command_aspell_aspell,/aspell setdict>> +
/set aspell.dict.* | ãããã¡ãå©çšãããã£ã¬ã¯ã㪠(ãªãã·ã§ã³ãã»ã¯ã·ã§ã³ã«è¿œå /åé€åºæ¥ãŸã)
| option | /set aspell.option.* | <<aspell_speller_options,Speller ãªãã·ã§ã³>> (ãªãã·ã§ã³ãã»ã¯ã·ã§ã³ã«è¿œå /åé€åºæ¥ãŸã)
|===
ãªãã·ã§ã³:
include::autogen/user/aspell_options.adoc[]
[[aspell_commands]]
==== ã³ãã³ã
include::autogen/user/aspell_commands.adoc[]
[[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)
ã»ã¯ã·ã§ã³:
[width="100%",cols="3m,6m,16",options="header"]
|===
| ã»ã¯ã·ã§ã³ | æäœã³ãã³ã | 説æ
| default | /set charset.default.* | ããã©ã«ãã®ãã³ãŒã/ãšã³ã³ãŒãæåã»ãã
| decode | <<command_charset_charset,/charset decode>> +
/set charset.decode.* | ãããã¡ã®ãã³ãŒãæåã»ãã (ãªãã·ã§ã³ãã»ã¯ã·ã§ã³ã«è¿œå /åé€åºæ¥ãŸã)
| encode | <<command_charset_charset,/charset encode>> +
/set charset.encode.* | ãããã¡ã®ãšã³ã³ãŒãæåã»ãã (ãªãã·ã§ã³ãã»ã¯ã·ã§ã³ã«è¿œå /åé€åºæ¥ãŸã)
|===
ãªãã·ã§ã³:
include::autogen/user/charset_options.adoc[]
[[charset_commands]]
==== ã³ãã³ã
include::autogen/user/charset_commands.adoc[]
[[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 ãã£ã³ãã« (ãŸãã¯ãã©ã€ããŒãã¡ãã»ãŒãž) ã®æåã³ãŒããèšå®ããã«ã¯ããµãŒãã®æåã³ãŒãèšå®ãšåæ§ã®ã³ãã³ãããã£ã³ãã«
(ãŸãã¯ãã©ã€ããŒãã¡ãã»ãŒãž) ãããã¡ã§äœ¿ã£ãŠãã ããã
IRC ãµãŒãã®å
šãŠã®ãã£ã³ãã«ããã³ãã©ã€ããŒããããã¡ã«å¯Ÿããæåã³ãŒããèšå®ããã«ã¯:
----
/set charset.encode.irc.freenode ISO-8859-15
----
ãã¹ãŠã®æåã³ãŒãèšå®ã確èªããã«ã¯ã以äžã®ã³ãã³ããå©çšããŠãã ãã:
----
/set charset.*
----
[[charset_troubleshooting]]
==== ãã©ãã«ã·ã¥ãŒãã£ã³ã°
æåã³ãŒãã«é¢ããåé¡ãããã°ã_WeeChat FAQ_ ãåç
§ããŠãã ããã
[[exec_plugin]]
=== exec ãã©ã°ã€ã³
`/exec` ã³ãã³ãã䜿ãããšã§ WeeChat
å
éšããå€éšã³ãã³ããå®è¡ãããã®çµæã衚瀺ããããããã¡ã«éä¿¡ããããšãå¯èœã«ãªããŸãã
[[exec_options]]
==== ãªãã·ã§ã³ (exec.conf)
ã»ã¯ã·ã§ã³:
[width="100%",cols="3m,6m,16",options="header"]
|===
| ã»ã¯ã·ã§ã³ | æäœã³ãã³ã | 説æ
| command | /set exec.command.* | ã³ãã³ãã«å¯Ÿãããªãã·ã§ã³
| color | /set exec.color.* | è²
|===
ãªãã·ã§ã³:
include::autogen/user/exec_options.adoc[]
[[exec_commands]]
==== ã³ãã³ã
include::autogen/user/exec_commands.adoc[]
[[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" ã§åå²ããŠãã ãã):
----
$ printf '%b' '*/python unload\n*/python autoload\n' >~/.weechat/weechat_fifo_12345
----
å®è¡äžã® WeeChat
ãã¹ãŠã«å¯ŸããŠã³ãã³ããéä¿¡ããã¹ã¯ãªããã¯ä»¥äžã®ããã«æžããŸããäŸãã°:
[source,shell]
----
#!/bin/sh
if [ $# -eq 1 ]; then
for fifo in ~/.weechat/weechat_fifo_*
do
printf '%b\n' "$1" >"$fifo"
done
fi
----
ãã®ã¹ã¯ãªããã "auto_weechat_command" ãšãããã¡ã€ã«åã§ä¿åããå Žåã以äžã®ããã«å®è¡ã§ããŸã:
----
$ ./auto_weechat_command 'irc.freenode.#weechat *hello'
----
[[fifo_commands]]
==== ã³ãã³ã
include::autogen/user/fifo_commands.adoc[]
[[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_ ãšããããã¯ããŒã ã䜿ã£ãŠ _chat.freenode.net_ ãã¹ãã®ããã©ã«ãããŒã (6667)
ã§çšŒåäžã® IRC ãµãŒãäžã® _#weechat_ ãš _#toto_ ãã£ã³ãã«ã«åå ããäŸ:
----
$ weechat irc://nono@chat.freenode.net/#weechat,#toto
----
[[irc_options]]
==== ãªãã·ã§ã³ (irc.conf)
ã»ã¯ã·ã§ã³:
[width="100%",cols="3m,6m,16",options="header"]
|===
| ã»ã¯ã·ã§ã³ | æäœã³ãã³ã | 説æ
| look | /set irc.look.* | å€èŠ³
| color | /set irc.color.* | è²
| network | /set irc.network.* | ãããã¯ãŒã¯ãªãã·ã§ã³
| msgbuffer | /set irc.msgbuffer.* | <<irc_target_buffer,IRC ã¡ãã»ãŒãžã®ã¿ãŒã²ãããããã¡>> (ãªãã·ã§ã³ãã»ã¯ã·ã§ã³ã«è¿œå /åé€åºæ¥ãŸã)
| ctcp | /set irc.ctcp.* | <<irc_ctcp_replies,CTCP å¿ç>> (ãªãã·ã§ã³ãã»ã¯ã·ã§ã³ã«è¿œå /åé€åºæ¥ãŸã)
| ignore | <<command_irc_ignore,/ignore>> | ç¡èŠãŠãŒã¶
| server_default | /set irc.server_default.* | ãµãŒãã«å¯Ÿããããã©ã«ãå€ (ãµãŒããªãã·ã§ã³ãå®çŸ©ãããŠããªãå Žåã«å©çšãããŸã)
| server | <<command_irc_server,/server>> +
/set irc.server.* | ãµãŒã
|===
ãªãã·ã§ã³:
include::autogen/user/irc_options.adoc[]
[[irc_commands]]
==== ã³ãã³ã
include::autogen/user/irc_commands.adoc[]
[[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
----
[NOTE]
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_: å¹³æãã¹ã¯ãŒã (ããã©ã«ã)
* _ecdsa-nist256p-challenge_: å
¬ééµ/ç§å¯éµã䜿ããã£ã¬ã³ãžèªèšŒ
* _external_: ã¯ã©ã€ã¢ã³ãåŽ SSL 蚌ææž
* _dh-blowfish_: blowfish æå·ãã¹ã¯ãŒã (*å±éº*ãéæšå¥š)
* _dh-aes_: AES æå·ãã¹ã¯ãŒã (*å±éº*ãéæšå¥š)
[NOTE]
"dh-blowfish" ã¡ã«ããºã ãå©çšããå Žåã"gcrypt" ã©ã€ãã©ãªã
WeeChat ã®ã³ã³ãã€ã«æã«å¿
èŠã§ã (<<dependencies,äŸåé¢ä¿>>ãåç
§)ã
ãµãŒããªãã·ã§ã³:
* _sasl_mechanism_: å©çšããèªèšŒã¡ã«ããºã (äžèšåç
§)
* _sasl_timeout_: èªèšŒæã®ã¿ã€ã ã¢ãŠã (ç§åäœ)
* _sasl_fail_: èªèšŒã«å€±æããå Žåã®æå
* _sasl_username_: ãŠãŒã¶å (ããã¯ããŒã )
* _sasl_password_: ãã¹ã¯ãŒã
* _sasl_key_: ECC ç§å¯éµãå«ããã¡ã€ã«
(_ecdsa-nist256p-challenge_ çš)
[[irc_sasl_ecdsa_nist256p_challenge]]
===== SASL ECDSA-NIST256P-CHALLENGE èªèšŒ
ECDSA-NIST256P-CHALLENGE ã䜿ã£ãŠèªèšŒãè¡ãããã«ã¯ãç§å¯éµãäœæããŠãã ãã
(æ¥ç¶ã®éã«ãã¹ã¯ãŒãã¯äžèŠã§ã)ã
éµãäœæããã«ã¯ã以äžã®ã³ãã³ãã䜿ã£ãŠãã ãã:
----
$ openssl ecparam -genkey -name prime256v1 >~/.weechat/ecdsa.pem
----
å
¬ééµã (base64 ãšã³ã³ãŒã圢åŒã§) äœæããã«ã¯ã以äžã®ã³ãã³ãã䜿ã£ãŠãã ãã:
----
$ openssl ec -noout -text -conv_form compressed -in ~/.weechat/ecdsa.pem | grep '^pub:' -A 3 | tail -n 3 | tr -d ' \n:' | xxd -r -p | base64
----
ãµãŒãã«æ¥ç¶ãæ¬äººç¢ºèª (äŸãã° "nickserv identify" ã䜿ã£ãŠ)ãnickserv
ã䜿ã£ãŠã¢ã«ãŠã³ãã«å
¬ééµãèšå® (ã¢ã«ãŠã³ãã®å
¬ééµã« base64
æååãæå®ãã):
----
/connect freenode
/msg nickserv identify your_password
/msg nickserv set pubkey Av8k1FOGetUDq7sPMBfufSIZ5c2I/QYWgiwHtNXkVe/q
----
ãµãŒãã® SASL ãªãã·ã§ã³ãèšå®:
----
/set irc.server.freenode.sasl_mechanism ecdsa-nist256p-challenge
/set irc.server.freenode.sasl_username "your_nickname"
/set irc.server.freenode.sasl_key "%h/ecdsa.pem"
----
ãµãŒãã«åæ¥ç¶:
----
/reconnect freenode
----
[[irc_tor_freenode]]
==== TOR/SASL ã䜿ã£ãŠ Freenode ã«æ¥ç¶ããå Žå
SSL ã«å ããŠãFreenode ãµãŒã㯠TOR (https://www.torproject.org/)
çµç±ã®æ¥ç¶ããµããŒãããŠããŸããTOR
ãšã¯ããŒãã£ã«ãã³ãã«ã®ãããã¯ãŒã¯ã§ãããã䜿ãããšã§å人ãã°ã«ãŒããã€ã³ã¿ãŒãããå©çšã«äŒŽããã©ã€ãã·ãŒãšã»ãã¥ãªãã£ãåäžãããããšãã§ããŸãã
æåã«ã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_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,8",options="header"]
|===
| ã³ãŒã | 説æ | å€/äŸ
| $clientinfo | ãµããŒãããŠãã CTCP ãªãã·ã§ã³ã®ãªã¹ã | `ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION`
| $version | WeeChat ããŒãžã§ã³ | `0.4.0-dev`
| $versiongit | WeeChat ããŒãžã§ã³ + git ããŒãžã§ã³ ^(1)^ | `0.4.0-dev (git: v0.3.9-104-g7eb5cc4)`
| $git | git ããŒãžã§ã³ ^(1)^ | `v0.3.9-104-g7eb5cc4`
| $compilation | WeeChat ã³ã³ãã€ã«æ¥æ | `Dec 16 2012`
| $osinfo | OS ã«é¢ããæ
å ± | `Linux 2.6.32-5-amd64 / x86_64`
| $site | WeeChat ãŠã§ããµã€ã | `https://weechat.org/`
| $download | WeeChat ãŠã§ããµã€ãã®ããŠã³ããŒãããŒãž | `https://weechat.org/download`
| $time | çŸåšã®æ¥æ | `Sun, 16 Dec 2012 10:40:48 +0100`
| $username | IRC ãµãŒãäžã§äœ¿ããŠãŒã¶å | `name`
| $realname | IRC ãµãŒãäžã§äœ¿ãå®å | `John Doe`
|===
[NOTE]
^(1)^ git ããŒãžã§ã³ãšã¯ `git describe` ã³ãã³ãã®åºåã§ããgit ãªããžããªã§
WeeChat ãã³ã³ãã€ã«ããgit ãã€ã³ã¹ããŒã«ãããŠããå Žåã®ã¿å€ãèšå®ãããŸãã
CTCP ãªãã·ã§ã³ãèšå®ãããŠããªã (ããã©ã«ãã®) å ŽåãCTCP å¿çã¯ä»¥äžã®ããã«ãªããŸã:
[width="100%",cols="^2,4,8",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` | `https://weechat.org/download`
| TIME | `$time` | `Sun, 16 Dec 2012 10:40:48 +0100`
| USERINFO | `$username ($realname)` | `name (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 | | éç¥
| 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 (ã¢ãŒã)
| 401 | whois | æå®ããããã¯ããŒã ããã³ãã£ã³ãã«ããããŸãã
| 402 | whois | æå®ãããµãŒãããããŸãã
| 432 | | ããã¯ããŒã ã«ãšã©ãŒããããŸã
| 433 | | ããã¯ããŒã ã䜿çšãããŠããŸã
| 438 | | ããã¯ããŒã ãå€æŽããæš©éããããŸãã
| 671 | whois | whois (ã»ãã¥ã¢ãªæ¥ç¶)
| 728 | quietlist | çºèšçŠæ¢ãªã¹ã
| 729 | quietlist | çºèšçŠæ¢ãªã¹ãã®çµäº
| 732 | monitor | ç£èŠäžã®ããã¯ããŒã ã®ãªã¹ã
| 733 | monitor | ç£èŠäžã®ããã¯ããŒã ã®ãªã¹ã (çµäº)
| 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)
ã»ã¯ã·ã§ã³:
[width="100%",cols="3m,6m,16",options="header"]
|===
| ã»ã¯ã·ã§ã³ | æäœã³ãã³ã | 説æ
| look | /set logger.look.* | å€èŠ³
| color | /set logger.color.* | è²
| file | /set logger.file.* | ãã°ãã¡ã€ã«ã®ãªãã·ã§ã³
| level | /set logger.level.* | ãããã¡ã®ãã°ã¬ãã« (ãªãã·ã§ã³ãã»ã¯ã·ã§ã³ã«è¿œå /åé€åºæ¥ãŸã)
| mask | /set logger.mask.* | ãããã¡ã®ãã¡ã€ã«åãã¹ã¯ (ãªãã·ã§ã³ãã»ã¯ã·ã§ã³ã«è¿œå /åé€åºæ¥ãŸã)
|===
ãªãã·ã§ã³:
include::autogen/user/logger_options.adoc[]
[[logger_commands]]
==== ã³ãã³ã
include::autogen/user/logger_commands.adoc[]
[[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)
ã»ã¯ã·ã§ã³:
[width="100%",cols="3m,6m,16",options="header"]
|===
| ã»ã¯ã·ã§ã³ | æäœã³ãã³ã | 説æ
| look | /set relay.look.* | å€èŠ³
| color | /set relay.color.* | è²
| network | /set relay.network.* | ãããã¯ãŒã¯ãªãã·ã§ã³
| irc | /set relay.irc.* | ç¹å®ã® irc ãããã³ã«ã®ãªãã·ã§ã³ (irc ãããã·)
| port | <<command_relay_relay,/relay add>> +
/set relay.port.* | ãªã¬ãŒã«äœ¿ãããŒã(irc ã weechat ãããã³ã«) (ãªãã·ã§ã³ãã»ã¯ã·ã§ã³ã«è¿œå /åé€åºæ¥ãŸã)
|===
ãªãã·ã§ã³:
include::autogen/user/relay_options.adoc[]
[[relay_commands]]
==== ã³ãã³ã
include::autogen/user/relay_commands.adoc[]
[[relay_password]]
==== ãã¹ã¯ãŒã
以äžã®ã³ãã³ããå©çšããŠããªã¬ãŒçšã®ãã¹ã¯ãŒããèšå®ããããšã匷ããå§ãããŸã:
----
/set relay.network.password "mypass"
----
ãã®ãã¹ã¯ãŒã㯠_irc_ ãš _weechat_ ãããã³ã«ã§å©çšãããŸãã
[[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
----
[[relay_irc_proxy]]
==== IRC ãããã·
Relay ãã©ã°ã€ã³ã¯ IRC ãããã·ãšããŠã䜿ããŸã: Relay ãã©ã°ã€ã³ã¯ IRC
ãµãŒãã®ãµããããŠãä»ã® IRC ã¯ã©ã€ã¢ã³ã (WeeChat èªèº«ã) 㯠WeeChat ã«æ¥ç¶ã§ããŸãã
IRC ãµãŒãããšã«ç°ãªãããŒãããããã¯å
šãŠã®ãµãŒãã«å¯ŸããŠå
±éã®ããŒããå®çŸ©ããããšãã§ããŸãã
ãã¹ãŠã®ãµãŒãã«å¯ŸããŠå
±éã®ããŒããå®çŸ©ããå Žåã«ã¯ãã¯ã©ã€ã¢ã³ããããµãŒãã®å
éšåã
IRC ã® "PASS" ã³ãã³ãã«å«ããŠéä¿¡ããããã«ããŠãã ããã以äžã®æžåŒã䜿ã£ãŠãã ãã:
----
PASS server:mypass
----
äŸ: SSL ã䜿ããå
šãŠã®ãµãŒãã«å¯ŸããŠå
±éã® IRC ãããã·ãèšå® (ãµãŒãã¯ã¯ã©ã€ã¢ã³ããéžæ):
----
/relay add ssl.irc 8000
----
äŸ: SSL ã䜿ãããå
éšå "freenode" ã®ãµãŒãã«å¯Ÿã㊠IRC ãããã·ãèšå®:
----
/relay add irc.freenode 8000
----
ä»»æã® IRC ã¯ã©ã€ã¢ã³ããããµãŒããã¹ã¯ãŒã "mypass" (å
šãŠã®ãµãŒãã«å¯ŸããŠå
±éã®
IRC ãããã·ãèšå®ããå Žåã«ã¯ "freenode:mypass") 㧠8000 çªããŒãã«æ¥ç¶åºæ¥ãŸãã
[[relay_weechat_protocol]]
==== WeeChat ãããã³ã«
Relay ãã©ã°ã€ã³ã¯ WeeChat ãããã³ã«ã䜿ã£ãŠãªã¢ãŒãã€ã³ã¿ãŒãã§ã€ã¹ã«å¯ŸããŠããŒã¿ãéä¿¡ã§ããŸãã
ãªã¢ãŒãã€ã³ã¿ãŒãã§ã€ã¹ã䜿ã£ãŠæ¥ç¶ã§ããŸããããŠã³ããŒãããŒãžã®ãªã¹ãã埡芧ãã ãã:
https://weechat.org/download
[IMPORTANT]
ãã®ãããã³ã«ã䜿ã£ãå Žå WeeChat ããä»ã® WeeChat ã«æ¥ç¶ããããšã¯ã§ããŸããã
äŸ:
----
/relay add weechat 9000
----
ãã®åŸããªã¢ãŒãã€ã³ã¿ãŒãã§ã€ã¹ã䜿ã£ãŠ 9000
çªããŒãã«å¯ŸããŠããã¹ã¯ãŒã "mypass" ã§æ¥ç¶ããããšãã§ããŸãã
[[relay_websocket]]
==== WebSocket
Relay ãã©ã°ã€ã³ã¯ãã¹ãŠã®ãããã³ã«ã«å¯Ÿã㊠WebSocket ãããã³ã«
(http://tools.ietf.org/html/rfc6455[RFC 6455]) ããµããŒãããŸãã
WebSocket ãã³ãã·ã§ã€ã¯ã¯èªåçã«æ€ç¥ããããã³ãã·ã§ã€ã¯äžã«å¿
èŠãªããããèŠã€ãã
origin ãèš±å¯ãããŠããã° WebSocket çšã®ãœã±ãããæºåãããŸã (ãªãã·ã§ã³
<<option_relay.network.websocket_allowed_origins,relay.network.websocket_allowed_origins>>
ãåç
§)ã
HTML5 ã䜿ãã°ãã£ã 1 è¡ã® JavaScript 㧠WebSocket ããªãŒãã³ããããšãå¯èœã§ã:
[source,js]
----
websocket = new WebSocket("ws://server.com:9000/weechat");
----
ããŒãçªå· (äŸã§ã¯ 9000 çª) 㯠Relay ãã©ã°ã€ã³ã§å®çŸ©ãããã®ã§ããURI
ã®æåŸã«ã¯å¿
ã "/weechat" ãã€ããŸã (_irc_ ãš _weechat_ ãããã³ã«ã®å Žå)ã
[[scripts_plugins]]
=== ã¹ã¯ãªãããã©ã°ã€ã³
WeeChat 㯠7 çš®é¡ã®ã¹ã¯ãªãããã©ã°ã€ã³ãåããŠããŸã:
PythonãPerlãRubyãLuaãTclãGuile
(scheme)ãJavascriptããããã®ãã©ã°ã€ã³ã§ããããã®èšèªã§æžãããã¹ã¯ãªããã®ããŒããå®è¡ãã¢ã³ããŒããã§ããŸãã
ã¹ã¯ãªãããããŒãžã£ã䜿ãã°ãä»»æã®èšèªã§æžãããã¹ã¯ãªãããããŒã/ã¢ã³ããŒãããããWeeChat
ã¹ã¯ãªãããªããžã㪠(https://weechat.org/scripts ããåç
§å¯èœ)
ã®ã¹ã¯ãªãããã€ã³ã¹ããŒã«/åé€ãããããäºãå¯èœã§ãã
ã¹ã¯ãªããã®æžãæ¹ãã¹ã¯ãªããçšã® WeeChat API
ã«ã€ããŠã®è©³ããæ
å ±ã¯ã_WeeChat ã¹ã¯ãªãã補äœã¬ã€ã_ãåç
§ããŠãã ããã
[[script_options]]
==== ã¹ã¯ãªãããªãã·ã§ã³ (script.conf)
ã»ã¯ã·ã§ã³:
[width="100%",cols="3m,6m,16",options="header"]
|===
| ã»ã¯ã·ã§ã³ | æäœã³ãã³ã | 説æ
| look | /set script.look.* | å€èŠ³
| color | /set script.color.* | è²
| scripts | /set script.scripts.* | ã¹ã¯ãªããã®ããŠã³ããŒãã«é¢ãããªãã·ã§ã³
|===
ãªãã·ã§ã³:
include::autogen/user/script_options.adoc[]
[[script_commands]]
==== Script ã³ãã³ã
include::autogen/user/script_commands.adoc[]
[[python_commands]]
==== Python ã³ãã³ã
include::autogen/user/python_commands.adoc[]
[[perl_commands]]
==== Perl ã³ãã³ã
include::autogen/user/perl_commands.adoc[]
[[ruby_commands]]
==== Ruby ã³ãã³ã
include::autogen/user/ruby_commands.adoc[]
[[lua_commands]]
==== Lua ã³ãã³ã
include::autogen/user/lua_commands.adoc[]
[[tcl_commands]]
==== Tcl ã³ãã³ã
include::autogen/user/tcl_commands.adoc[]
[[guile_commands]]
==== Guile ã³ãã³ã
include::autogen/user/guile_commands.adoc[]
[[javascript_commands]]
==== Javascript ã³ãã³ã
include::autogen/user/javascript_commands.adoc[]
[[trigger_plugin]]
=== ããªã¬ãã©ã°ã€ã³
ããªã¬ã¯ WeeChat ã®äŸ¿å©ããŒã«ã§ã:
æ§ã
ãªãã®
(signalãmodifierãprintã...)
ãããã¯ããŠãããŒã¿ã®å
容ãæžãæããããè€æ°ã®ã³ãã³ããå®è¡ããããšãã§ããŸããæ¡ä»¶ãã€ããããšã§äžéšã®å Žåã ãããªã¬ãå®è¡ããããã«èšå®ããããšãã§ããŸãã
ããªã¬ã䜿ãã«ã¯ã·ã°ãã«ã修食åã...
ãã©ã®ããã«åããŠããããç¥ããªããã°ãããŸããããããç¥ãã«ã¯ _WeeChat
ãã©ã°ã€ã³ API ãªãã¡ã¬ã³ã¹_ã® _ããã¯_ã®ç« ãèªãããšããå§ãããŸãã
[[trigger_options]]
==== ãªãã·ã§ã³ (trigger.conf)
ã»ã¯ã·ã§ã³:
[width="100%",cols="3m,6m,16",options="header"]
|===
| ã»ã¯ã·ã§ã³ | æäœã³ãã³ã | 説æ
| look | /set trigger.look.* | å€èŠ³
| color | /set trigger.color.* | è²
| trigger | <<command_trigger_trigger,/trigger add>> +
<<command_trigger_trigger,/trigger set>> +
/set trigger.trigger.* | ããªã¬ãªãã·ã§ã³
|===
ãªãã·ã§ã³:
include::autogen/user/trigger_options.adoc[]
[[trigger_commands]]
==== ã³ãã³ã
include::autogen/user/trigger_commands.adoc[]
[[trigger_anatomy]]
==== ããªã¬ã®æ§é
ããªã¬ã¯ä»¥äžã®ãªãã·ã§ã³ããšããŸã (ååã¯
`trigger.trigger.<name>.<option>`):
[width="100%",cols="2m,2,10",options="header"]
|===
| ãªãã·ã§ã³ | å€ | 説æ
| enabled | `on`ã`off` |
ãªãã·ã§ã³ã `off`
ã®å Žåãããªã¬ã¯ç¡å¹åãããã¢ã¯ã·ã§ã³ã¯å®è¡ãããŸããã
| hook | `signal`ã`hsignal`ã`modifier`ã`print`ã`command`ã`command_run`ã`timer`ã`config`ã`focus`
|
ããªã¬ã®äžã§äœ¿ãããããã¯ããã詳ããæ
å ±ã¯ã_WeeChat
ãã©ã°ã€ã³ API ãªãã¡ã¬ã³ã¹_ã® _ããã¯_ã®ç« ãåç
§ããŠãã ããã
| arguments | æåå |
ããã¯ã«å¯ŸããåŒæ°ãæå®ããããã¯ã®åã«äŸåããŸãã
| conditions | æåå |
ããªã¬ãå®è¡ããæ¡ä»¶; å
容ã¯è©äŸ¡ãããŸã (ã³ãã³ã
<<command_weechat_eval,/eval>> ãåç
§)ã
| regex | æåå |
1 ã€ä»¥äžã® POSIX æ¡åŒµæ£èŠè¡šçŸãããã¯ã³ãŒã«ããã¯
(ãšããªã¬ãã©ã°ã€ã³ã«ãã£ãŠè¿œå ããããã®)
ãåãåãããŒã¿ã«å€æŽãå ããããã®ãã®ã<<trigger_regex,æ£èŠè¡šçŸ>>ãåç
§ã
| command | æåå |
å®è¡ããã³ãã³ã (è€æ°ã®ã³ãã³ãã䜿ãå Žåã«ã¯åã³ãã³ããã»ãã³ãã³ã§åºåã£ãŠãã ãã);
å
容ã¯è©äŸ¡ãããŸã (ã³ãã³ã <<command_weechat_eval,/eval>> ãåç
§)ã
| return_code | `ok`ã`ok_eat`ã`error` |
ã³ãŒã«ããã¯ã®æ»ãå€ (ããã©ã«ãã¯
`ok`ãã»ãšãã©ãã¹ãŠã®ããªã¬ã§æ»ãå€ã¯ããã䜿ãã¹ãã§ãã»ãã®å€ã䜿ãããšã¯æ¥µããŠãŸãã§ã)ã
| post_action | `none` (äœãããªã)ã`disable` (ç¡å¹å)ã`delete` (åé€) |
å®è¡åŸã®ããªã¬ã«å¯ŸããåŠé (ã»ãšãã©ãã¹ãŠã®ããªã¬ã§ã¯ããã©ã«ãã® `none`
ãèšå®ããã¹ãã§ããã以å€ã®å€ãèšå®ããããšã¯ã»ãšãã©ãããŸãã)ã
|===
äŸãã°ãããã©ã«ãã® _beep_ ããªã¬ã¯ä»¥äžã®ãªãã·ã§ã³ããšããŸã:
----
trigger.trigger.beep.enabled = on
trigger.trigger.beep.hook = print
trigger.trigger.beep.arguments = ""
trigger.trigger.beep.conditions = "${tg_highlight} || ${tg_msg_pv}"
trigger.trigger.beep.regex = ""
trigger.trigger.beep.command = "/print -beep"
trigger.trigger.beep.return_code = ok
trigger.trigger.beep.post_action = none
----
[[trigger_execution]]
==== å®è¡
ããªã¬æ©èœãæå¹ã«ãªã£ãŠããŠããã«å¯Ÿè±¡ã®ããªã¬ãæå¹åãããŠããå Žåã«ãããªã¬ã³ãŒã«ããã¯ãåŒã³åºããããšã以äžã®ã¢ã¯ã·ã§ã³ããã®é çªã§å®è¡ãããŸã:
. ããªã¬æ¡ä»¶ã®ç¢ºèª: åœã®å Žåãçµäº
. æ£èŠè¡šçŸã䜿ã£ãŠããªã¬å
ã§ããã¹ã眮æ
. ã³ãã³ããå®è¡
. ãªã¿ãŒã³ã³ãŒããä»ããŠçµäº (_modifier_ ãš _focus_ ããã¯ã®å Žåãé€ã)
. ããªã¬å®è¡åŸã®åŠéãé©çš (`none` 以å€ã®å Žå)ã
[[trigger_hook_arguments]]
==== ããã¯åŒæ°
åŒæ°ã¯äœ¿çšããããã¯ã®çš®é¡ã«äŸåããŸããåŒæ°ã¯ã»ãã³ãã³ã§åºåã£ãŠãã ããã
[width="100%",cols="2,6,7",options="header"]
|===
| ãã㯠| åŒæ° | äŸ
| signal |
1. ã·ã°ãã«å (åªå
床ã®æå®ãå¯) (å¿
é ) +
2. ã·ã°ãã«å (åªå
床ã®æå®ãå¯) +
3. ... |
`+*,irc_in_privmsg+` +
`+*,irc_in_privmsg;*,irc_in_notice+` +
`+signal_sigwinch+`
| hsignal |
1. ã·ã°ãã«å (åªå
床ã®æå®ãå¯) (å¿
é ) +
2. ã·ã°ãã«å (åªå
床ã®æå®ãå¯) +
3. ... |
`+nicklist_nick_added+`
| modifier |
1. 修食åå (åªå
床ã®æå®ãå¯) (å¿
é ) +
2. 修食åå (åªå
床ã®æå®ãå¯) +
3. ... |
`+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+`
| print |
1. ãããã¡å +
2. ã¿ã° +
3. ã¡ãã»ãŒãž +
4. è²ã®åé€ (0/1) |
`+irc.freenode.*+` +
`+irc.freenode.#weechat+` +
`+irc.freenode.#weechat;irc_notice+` +
`+*;;;1+`
| command |
1. ã³ãã³ãå (åªå
床ã®æå®ãå¯) (å¿
é ) +
2. 説æ +
3. åŒæ° +
4. åŒæ°ã®èª¬æ +
5. è£å® |
`+test+` +
`+5000\|test+`
| command_run |
1. ã³ãã³ã (åªå
床ã®æå®ãå¯) (å¿
é ) +
2. ã³ãã³ã (åªå
床ã®æå®ãå¯) +
3. ... |
`+/cmd arguments+`
| timer |
1. ã€ã³ã¿ãŒãã«ããããªç§æ° (å¿
é ) +
2. ç§ã®èª¿æŽ (ããã©ã«ã: 0) +
3. åŒã³åºãåæ°ã®æå€§å€ (ããã©ã«ã: 0ããç¡éã«ãåŒã³åºãããšãæå³ããŸã) |
`+3600000+` +
`+60000;0;5+`
| config |
1. ãªãã·ã§ã³å (åªå
床ã®æå®ãå¯) (å¿
é ) +
2. ãªãã·ã§ã³å (åªå
床ã®æå®ãå¯) +
3. ... |
`+weechat.look.*+`
| focus |
1. ãšãªã¢å (åªå
床ã®æå®ãå¯) (å¿
é ) +
2. ãšãªã¢å (åªå
床ã®æå®ãå¯) +
3. ... |
`+buffer_nicklist+`
|===
[[trigger_conditions]]
==== æ¡ä»¶
æ¡ä»¶ãæå®ããããšã§ãããªã¬å
ã§åŠçãç¶ç¶ãããå®å
šã«æ¢ããããå¶åŸ¡ã§ããŸãã
æ¡ä»¶ã¯è©äŸ¡ãããã³ãŒã«ããã¯å
ã§å©çšã§ããããŒã¿ãæ¡ä»¶ãšããŠå©çšã§ããŸã
(<<trigger_callback_data,ã³ãŒã«ããã¯å
ã®ããŒã¿>>ãšã³ãã³ã
<<command_weechat_eval,/eval>> ãåç
§)ã
äŸ: ããã©ã«ãã® _beep_
ããªã¬ã¯ä»¥äžã®æ¡ä»¶ã䜿ãããã€ã©ã€ããŸãã¯ãã©ã€ããŒãã¡ãã»ãŒãžã®å Žåã ãããŒãã鳎ããããã«ããŠããŸã:
----
${tg_highlight} || ${tg_msg_pv}
----
[[trigger_regex]]
==== æ£èŠè¡šçŸ
æ£èŠè¡šçŸã¯ã³ãŒã«ããã¯ããã·ã¥ããŒãã«å
ã®å€æ°ãå€æŽããããã«äœ¿ãããŸãã
æžåŒ: "/regex/replace" ãŸã㯠"/regex/replace/var" (ããã§
_var_ ã¯ããã·ã¥ããŒãã«ã®å€æ°)ã +
_var_
ãæå®ãããªãã£ãå Žåãããã©ã«ãå€æ°ã䜿ããŸããããã¯ããã¯ã®çš®é¡ã«äŸåããŸã:
[width="50%",cols="4,5m",options="header"]
|===
| ãã㯠| ããã©ã«ãå€æ°
| signal | tg_signal_data
| hsignal |
| modifier | tg_string
| print | tg_message
| command | tg_argv_eol1
| command_run | tg_command
| timer | tg_remaining_calls
| config | tg_value
| focus |
|===
è€æ°ã®æ£èŠè¡šçŸã䜿ãå Žåã¯ç©ºçœã§åºåã£ãŠãã ãããäŸ:
"/regex1/replace1/var1 /regex2/replace2/var2"ã
æå "/" ãä»»æã®æå (1 ã€ä»¥äžã®åãæå) ã«å€ããããšãã§ããŸãã
ãããã°ã«ãŒãã "replace" ã®äžã§å©çšã§ããŸã:
* `+${re:0}+` ãã `+${re:99}+`: `+${re:0}+` ã¯ãããéšåã®å
šäœã`+${re:1}+` ãã
`+${re:99}+` ã¯ã°ã«ãŒãåããããããéšå
* `+${re:+}+`: æåŸã®ãããéšå (æ倧ã®ã°ã«ãŒãçªå·ãæã€)
* `+${hide:c,${re:N}}+`: ãããã°ã«ãŒã "N" ã®ãã¹ãŠã®æåã "c" ã§çœ®æããæåå
(äŸ: `+${hide:*,${re:2}}+` ã¯ã°ã«ãŒã #2 ã®ãã¹ãŠã®æåã `+*+`
ã§çœ®æããæåå)ã
äŸ: "*" ã§å²ãŸããæåã倪åã«ãã:
----
/\*(\S+)\*/*${color:bold}${re:1}${color:-bold}*/
----
äŸ: ããã©ã«ãããªã¬ _server_pass_ ã¯ãã®æ£èŠè¡šçŸã䜿ã£ãŠã`/server`
ãš `/connect` ã³ãã³ãã®ãã¹ã¯ãŒããé ããŠããŸã (ãã¹ã¯ãŒãéšåã®æåã
`*` ã§çœ®æããŠããŸã):
----
==^(/(server|connect) .*-(sasl_)?password=)(\S+)(.*)==${re:1}${hide:*,${re:4}}${re:5}
----
[NOTE]
ãã®äŸã§ã¯ãåºåãæåãšã㊠"==" ã䜿ã£ãŠããŸããããã¯æ£èŠè¡šçŸå
ã§
"/" ã䜿ãããã§ãã
[[trigger_command]]
==== ã³ãã³ã
ã³ãã³ãã¯æ£èŠè¡šçŸã䜿ã£ãããã¹ã眮æã®åŸã«å®è¡ãããŸããè€æ°ã®ã³ãã³ããå®è¡ããã«ã¯ã»ãã³ãã³ã§åºåã£ãŠãã ããã
ã³ãã³ãã¯è©äŸ¡ãã (ã³ãã³ã <<command_weechat_eval,/eval>> ãåç
§)
ã³ãã³ãå
ã§ã¯æ£èŠè¡šçŸã䜿ã£ãŠçœ®æããããã¹ãã䜿ãããšãã§ããŸãã
äŸ: ããã©ã«ãã® _beep_ ããªã¬ã¯ä»¥äžã®ã³ãã³ããå®è¡ããŠããŒã (BEL) ã鳎ãããŠããŸã:
----
/print -beep
----
[[trigger_callback_data]]
==== ã³ãŒã«ããã¯å
ã«ãããããŒã¿
ã³ãŒã«ããã¯å
ã§åãåã£ãããŒã¿ã¯ããã·ã¥ããŒãã« (ãã€ã³ã¿ãšæåå)
ã®äžã«ä¿åããã以äžã®ãªãã·ã§ã³ã§äœ¿ãããšãã§ããŸã:
* _conditions_
* _regex_
* _command_
ããã·ã¥ããŒãã«ã®å
容ã¯ããã¯ã®çš®é¡ã«äŸåããŸãã
ããªã¬å
éšã«ãããããŒã¿ãç°¡åã«ç¢ºèªããã«ã¯ã以äžã®ã³ãã³ãã䜿ã£ãŠããªã¬ç£èŠãããã¡ãéããŠãã ãã:
----
/trigger monitor
----
[[trigger_data_signal]]
===== Signal
"signal" ã³ãŒã«ããã¯ã¯ä»¥äžã®å€æ°ãããã·ã¥ããŒãã«ã«æ ŒçŽããŸã:
[width="100%",cols="3m,2,14",options="header"]
|===
| å€æ° | å | 説æ
| tg_signal | string | ã·ã°ãã«å
| tg_signal_data | string | ã·ã°ãã«ãšäžç·ã«éä¿¡ãããããŒã¿
|===
ã·ã°ãã«ã IRC
ã¡ãã»ãŒãžãå«ãå Žåãã¡ãã»ãŒãžã¯è§£æãã以äžã®ããŒã¿ãããã·ã¥ããŒãã«ã«è¿œå ãããŸã:
[width="100%",cols="3m,2,14",options="header"]
|===
| å€æ° | å | 説æ
| server | string | ãµãŒãã®åå (äŸ: "freenode")
| tags | string | ã¡ãã»ãŒãžå
ã®ã¿ã° (䜿ãããããšã¯ãŸãã§ã)
| message_without_tags | string | ã¿ã°ãå«ãŸãªãã¡ãã»ãŒãž
| nick | string | ããã¯ããŒã
| host | string | ãã¹ãå
| command | string | IRC ã³ãã³ã (äŸ: "PRIVMSG"ã"NOTICE"ã...)
| channel | string | IRC ãã£ã³ãã«
| arguments | string | ã³ãã³ãã®åŒæ° (_channel_ ã®å€ãå«ã¿ãŸã)
| text | string | ããã¹ã (äŸãã°ãŠãŒã¶ã¡ãã»ãŒãž)
| pos_command | string | ã¡ãã»ãŒãžå
ã«ããã _command_ ã®ã€ã³ããã¯ã¹ (_command_ ãèŠã€ãããªãå Žå "-1")
| pos_arguments | string | ã¡ãã»ãŒãžå
ã«ããã _arguments_ ã®ã€ã³ããã¯ã¹ (_arguments_ ãèŠã€ãããªãå Žå "-1")
| pos_channel | string | ã¡ãã»ãŒãžå
ã«ããã _channel_ ã®ã€ã³ããã¯ã¹ (_channel_ ãèŠã€ãããªãå Žå "-1")
| pos_text | string | ã¡ãã»ãŒãžå
ã«ããã _text_ ã®ã€ã³ããã¯ã¹ (_text_ ãèŠã€ãããªãå Žå "-1")
|===
ããŒã¿ããã€ã³ã¿ã®å Žåãhdata ã®å±æ§ãèªãããã«å€æ° `tg_signal_data`
ã以äžã®ããã«ããŠäœ¿ãããšãå¯èœã§ã (以äžã®äŸã§ã¯ããããã¡ã®ãã€ã³ã¿ãšããŠäœ¿ã£ãŠããŸã):
----
${buffer[${tg_signal_data}].full_name}
----
[[trigger_data_hsignal]]
===== Hsignal
"hsignal" ã³ãŒã«ããã¯ã¯ä»¥äžã®å€æ°ãããã·ã¥ããŒãã«ã«æ ŒçŽããŸã:
[width="100%",cols="3m,2,14",options="header"]
|===
| å€æ° | å | 説æ
| tg_signal | string | ã·ã°ãã«å
|===
ããã·ã¥ããŒãã«ã«ã¯åãåã£ãããã·ã¥ããŒãã«ã«å«ãŸããå
šãŠã®ããŒããã³å€ (å:
string/string) ãå«ãŸããŠããŸãã
[[trigger_data_modifier]]
===== Modifier
"modifier" ã³ãŒã«ããã¯ã¯ä»¥äžã®å€æ°ãããã·ã¥ããŒãã«ã«æ ŒçŽããŸã:
[width="100%",cols="3m,2,14",options="header"]
|===
| å€æ° | å | 説æ
| tg_modifier | string | 修食åã®åå
| tg_modifier_data | string | 修食åãšäžç·ã«éä¿¡ãããããŒã¿
| tg_string | string | ä¿®æ£å¯èœãªæåå
| tg_string_nocolor | string | è²ã³ãŒããå«ãŸãªãæåå
|===
_weechat_print_ 修食åã§ã¯ãã¡ãã»ãŒãžã¿ã°ã䜿ãå€æ° (äžã®
<<trigger_data_print,Print>> ãåç
§) ãšä»¥äžã®å€æ°ãè¿œå ãããŸã:
[width="100%",cols="3m,2,14",options="header"]
|===
| å€æ° | å | 説æ
| buffer | pointer | ã¡ãã»ãŒãžã衚瀺ããããããã¡
| tg_plugin | string | ã¡ãã»ãŒãžã衚瀺ããããããã¡ã®ãã©ã°ã€ã³
| tg_buffer | string | ã¡ãã»ãŒãžã衚瀺ããããããã¡ã®å®å
šãªåå
| tg_prefix | string | 衚瀺ãããã¡ãã»ãŒãžã®ãã¬ãã£ãã¯ã¹
| tg_prefix_nocolor | string | è²ã³ãŒããåé€ãããã¬ãã£ãã¯ã¹
| tg_message | string | 衚瀺ãããã¡ãã»ãŒãž
| tg_message_nocolor | string | è²ã³ãŒããåé€ããã¡ãã»ãŒãž
|===
修食åã IRC ã¡ãã»ãŒãžãå«ãå Žåãã¡ãã»ãŒãžã¯è§£æããè¿œå ã®ããŒã¿ãããã·ã¥ããŒãã«ã«è¿œå ãããŸã
(<<trigger_data_signal,Signal>> ãåç
§)ã
[[trigger_data_print]]
===== Print
"print" ã³ãŒã«ããã¯ã¯ä»¥äžã®å€æ°ãããã·ã¥ããŒãã«ã«æ ŒçŽããŸã:
[width="100%",cols="3m,2,14",options="header"]
|===
| å€æ° | å | 説æ
| buffer | pointer | ã¡ãã»ãŒãžã衚瀺ããããããã¡
| tg_date | string | ã¡ãã»ãŒãžã®æ¥ä»ãšæé (æžåŒ: `YYYY-MM-DD hh:mm:ss`)
| tg_displayed | string | 衚瀺ãããå Žå "1"ããã£ã«ã¿ãããå Žå "0"
| tg_highlight | string | ãã€ã©ã€ããããå Žå "1"ããã以å€ã¯ "0"
| tg_prefix | string | ãã¬ãã£ãã¯ã¹
| tg_prefix_nocolor | string | è²ã³ãŒããåé€ãããã¬ãã£ãã¯ã¹
| tg_message | string | ã¡ãã»ãŒãž
| tg_message_nocolor | string | è²ã³ãŒããåé€ããã¡ãã»ãŒãž
|===
ã¡ãã»ãŒãžã®ã¿ã°ãããšã«ããŠå€æ°ãæ ŒçŽãããŸã
(å€æ°ã¯ _weechat_print_ 修食åã§ãæ ŒçŽãããŸã):
[width="100%",cols="3m,2,14",options="header"]
|===
| å€æ° | å | 説æ
| tg_tags | string | ã¡ãã»ãŒãžã®ã¿ã° (æååã®æåãšæåŸã«ã³ã³ããè¿œå ãããŸã)
| tg_tags_count | string | ã¡ãã»ãŒãžã®ã¿ã°ã®åæ°
| tg_tag_nick | string | ããã¯ããŒã ("nick_xxx" ã¿ã°ãã)
| tg_tag_prefix_nick | string | ãã¬ãã£ãã¯ã¹ã§äœ¿ãããã¯ããŒã ã®è² ("prefix_nick_ccc" ã¿ã°ãã)
| tg_tag_host | string | ãŠãŒã¶åãšãã¹ãåãæžåŒ: username@host ("host_xxx" ã¿ã°ãã)
| tg_tag_notify | string | éç¥ã¬ãã« (_none_ã_message_ã_private_ã_highlight_)
| tg_notify | string | éç¥ã¬ãã«ã _none_ 以å€ã®å Žåããã®éç¥ã¬ãã«
| tg_msg_pv | string | ãã©ã€ããŒãã¡ãã»ãŒãžã®å Žå "1"ããã以å€ã¯ "0"
|===
[[trigger_data_command]]
===== Command
"command" ã³ãŒã«ããã¯ã¯ä»¥äžã®å€æ°ãããã·ã¥ããŒãã«ã«æ ŒçŽããŸã:
[width="100%",cols="3m,2,14",options="header"]
|===
| å€æ° | å | 説æ
| buffer | pointer | ãããã¡
| tg_argvN | string | N çªç®ã®åŒæ°
| tg_argv_eolN | string | N çªç®ã®åŒæ°ããæåŸã®åŒæ°ãŸã§
|===
[[trigger_data_command_run]]
===== Command_run
"command_run" ã³ãŒã«ããã¯ã¯ä»¥äžã®å€æ°ãããã·ã¥ããŒãã«ã«æ ŒçŽããŸã:
[width="100%",cols="3m,2,14",options="header"]
|===
| å€æ° | å | 説æ
| buffer | pointer | ãããã¡
| tg_command | string | å®è¡ãããã³ãã³ã
|===
[[trigger_data_timer]]
===== Timer
"timer" ã³ãŒã«ããã¯ã¯ä»¥äžã®å€æ°ãããã·ã¥ããŒãã«ã«æ ŒçŽããŸã:
[width="100%",cols="3m,2,14",options="header"]
|===
| å€æ° | å | 説æ
| tg_remaining_calls | string | æ®ãåŒã³åºãåæ°
| tg_date | string | çŸåšã®æ¥ä»ããã³æé (æžåŒ: `YYYY-MM-DD hh:mm:ss`)
|===
[[trigger_data_config]]
===== Config
"config" ã³ãŒã«ããã¯ã¯ä»¥äžã®å€æ°ãããã·ã¥ããŒãã«ã«æ ŒçŽããŸã:
[width="100%",cols="3m,2,14",options="header"]
|===
| å€æ° | å | 説æ
| tg_option | string | ãªãã·ã§ã³
| tg_value | string | å€
|===
[[trigger_data_focus]]
===== Focus
"focus" ã³ãŒã«ããã¯ã¯ä»¥äžã®å€æ°ãããã·ã¥ããŒãã«ã«æ ŒçŽããŸã:
[width="100%",cols="3m,2,14",options="header"]
|===
| å€æ° | å | 説æ
| window | pointer | ãŠã£ã³ããŠ
| buffer | pointer | ãããã¡
|===
ããã·ã¥ããŒãã«ã«ã¯åãåã£ãããã·ã¥ããŒãã«ã«å«ãŸããå
šãŠã®ããŒããã³å€ (å:
string/string) ãå«ãŸããŠããŸãã
[[trigger_examples]]
==== äŸ
[[trigger_example_url_color]]
===== URL ã®è²
URL ãç·è²ã«ãã:
----
/trigger add url_color modifier weechat_print "${tg_notify}" "==\S+://\S+==${color:green}${re:0}${color:reset}=="
----
[NOTE]
ããã§äœ¿ãããŠãã URL ãæ€åºããããã®åçŽãªæ£èŠè¡šçŸã¯ãã¹ãŠã® URL
ãããŸãæ€åºãããã®ã§ã¯ãããŸããããè€éãªæ£èŠè¡šçŸã䜿ããããé«éã§ãã
[[trigger_example_auto_pong]]
===== ping ã¯ãšãªã«å¯Ÿããèªåå¿ç
誰ãããã©ã€ããŒããããã¡ã§ "ping" ãéä¿¡ããå Žåããã®ããªã¬ã¯
`pong` ã§èªåçã«å¿çããŸã:
----
/trigger add pong print "" "${type} == private && ${tg_message} == ping" "" "pong"
----
[[trigger_example_responsive_layout]]
===== ã¬ã¹ãã³ã·ãã¬ã€ã¢ãŠã
以äžã®ããªã¬ã¯ç«¯æ«ã®ãµã€ãºãå€æŽããããšãã«è¡šç€ºãããŠããå
容ãã«ã¹ã¿ãã€ãºãããã®ã§ã:
----
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
----
WeeChat 㯠SIGWINCH ãåããšãã£ãé (端æ«ã®ãµã€ãºãå€æŽãããé)
ã« "signal_sigwinch" ã·ã°ãã«ãéä¿¡ãããã®ããªã¬ã¯ãã®ã·ã°ãã«ããã£ããããŸãã
`+${info:term_width}+` ã䜿ã£ãæ¡ä»¶ã§ç«¯æ«ã®æšªå¹
ã確èªããŸã (å¿
èŠã§ããã°
`+${info:term_height}+` ã䜿ãããšãå¯èœã§ã)ã
ãã®äŸã§ã¯ã端æ«ãå°ãããªã£ãå Žåãããã¯ããŒã ãªã¹ããé ããŸããããã«æšªå¹
ã
100 æåå¹
以äžã«ãªã£ãå Žåãããã¯ããŒã ãªã¹ãã衚瀺ããŸãã
[[trigger_example_config_save]]
===== èšå®ã®èªåä¿å
äŸãã° 1 æéããšã«ãèšå®ãã¡ã€ã« (`+*.conf+`)
ãèªåçã«ä¿åããããšãå¯èœã§ã:
----
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
----
timer ããã¯ã«å¯ŸããåŒæ°ã¯:
* _3600000_: 3600 * 1000 ããªç§ãã³ãŒã«ããã¯ã¯æ¯æéåŒã³åºããã
* _0_: ç§ã®èª¿æŽ (ãã®å Žå調æŽããªã)
* _0_: åŒã³åºãåæ°ã®æå€§å€ (0 = ã¿ã€ããŒãç¡éã«ç¹°ãè¿ã)
ã³ãã³ã `/mute /save` ã¯ç¡èšã§èšå®ãã¡ã€ã«ãä¿åããŸã
(core ãããã¡ã«å¯ŸããŠäœã衚瀺ããŸãã)ã
[[xfer_plugin]]
=== Xfer ãã©ã°ã€ã³
Xfer ãã©ã°ã€ã³ã®æ©èœ:
* ãã€ã¬ã¯ããã£ãã (ãµãŒãäžèŠã® 2 ãã¹ãéçŽæ¥æ¥ç¶):
äŸãã° IRC ãã©ã°ã€ã³çµç±ã® "DCC ãã£ãã"
* ãã¡ã€ã«è»¢éãäŸãã° IRC ãã©ã°ã€ã³çµç±ã® "DCC"
[[xfer_options]]
==== ãªãã·ã§ã³ (xfer.conf)
ã»ã¯ã·ã§ã³:
[width="100%",cols="3m,6m,16",options="header"]
|===
| ã»ã¯ã·ã§ã³ | æäœã³ãã³ã | 説æ
| look | /set xfer.look.* | å€èŠ³
| color | /set xfer.color.* | è²
| network | /set xfer.network.* | ãããã¯ãŒã¯ãªãã·ã§ã³
| file | /set xfer.file.* | ãã¡ã€ã«ã®éä¿¡/åä¿¡ã«é¢ãããªãã·ã§ã³
|===
ãªãã·ã§ã³:
include::autogen/user/xfer_options.adoc[]
[[xfer_commands]]
==== ã³ãã³ã
include::autogen/user/xfer_commands.adoc[]
[[support]]
== ãµããŒã
ãµããŒããäŸé Œããåã«ãå¿
ã WeeChat
ã«ä»å±ããããã¥ã¡ã³ããš FAQ ãèªãã§ãã ããã
IRC ã䜿ã£ããµããŒãçªå£ã¯ _chat.freenode.net_ ãµãŒãã«ãããŸã:
* å
¬åŒãã£ã³ãã« (éçºè
ãããŸã):
** _#weechat_ (è±èª)
** _#weechat-fr_ (ãã©ã³ã¹èª)
* éå
¬åŒãã£ã³ãã«:
** _#weechat-de_ (ãã€ãèª)
ä»ã®æ¹æ³ã§ãµããŒããåããã«ã¯ã以äžã®ããŒãžãã芧ãã ãã: https://weechat.org/dev/support
|