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
|
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
// tag::irc_commands[]
[[command_irc_admin]]
* `+admin+`: ãµãŒã管çè
ã«é¢ããæ
å ±ãæ¢ã
----
/admin [<target>]
target: ãµãŒãå
----
[[command_irc_allchan]]
* `+allchan+`: å
šãŠã®ãµãŒããå
šãŠã®ãã£ã³ãã«ã«å¯ŸããŠã³ãã³ããå®è¡
----
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
[-current] -include=<channel>[,<channel>...] <command> [<arguments>]
-current: çŸåšã®ãµãŒãäžã®ãã£ã³ãã«ã«å¯ŸããŠã³ãã³ããå®è¡
-exclude: äžéšã®ãã£ã³ãã«ãé€ãå
šãŠã®ãã£ã³ãã«ã«å¯ŸããŠã³ãã³ããå®è¡ (ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã)
-include: äžéšã®ãã£ã³ãã«ã«å¯ŸããŠã³ãã³ããå®è¡ (ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã)
command: å®è¡ããã³ãã³ã
arguments: ã³ãã³ãã®åŒæ° (ç¹æ®å€æ° $nickã$channelã$server ã¯ããããã®å€ã«çœ®ãæããããŸã)
äŸ:
å
šãŠã®ãã£ã³ãã«ã«å¯Ÿã㊠'/me is testing' ãå®è¡:
/allchan me is testing
ãã£ã³ãã«åã #weechat ã®ãã£ã³ãã«ãé€ãå
šãŠã®ãã£ã³ãã«ã«å¯Ÿã㊠'hello' ãšçºèš:
/allchan -exclude=#weechat msg * hello
ãã£ã³ãã«åã #weechat ãš #linux ã§å§ãŸããã£ã³ãã«ãé€ãå
šãŠã®ãã£ã³ãã«ã«å¯Ÿã㊠'hello' ãšçºèš:
/allchan -exclude=#weechat,#linux* msg * hello
ãã£ã³ãã«åã #linux ã§å§ãŸããã£ã³ãã«ã«å¯Ÿã㊠'hello' ãšçºèš:
/allchan -include=#linux* msg * hello
----
[[command_irc_allpv]]
* `+allpv+`: å
šãŠã®æ¥ç¶æžã¿ãµãŒãã®å
šãŠã®ãã©ã€ããŒããããã¡ã«å¯ŸããŠã³ãã³ããå®è¡
----
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>]
[-current] -include=<nick>[,<nick>...] <command> [<arguments>]
-current: çŸåšã®ãµãŒãäžã®å
šãŠã®ãã©ã€ããŒããããã¡ã«å¯ŸããŠã³ãã³ããå®è¡
-exclude: äžéšã®ããã¯ããŒã ãé€å€ããå
šãŠã®ãã©ã€ããŒããããã¡ã«å¯ŸããŠã³ãã³ããå®è¡ (ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã)
-include: äžéšã®ããã¯ããŒã ã®ãã©ã€ããŒããããã¡ã«å¯ŸããŠã³ãã³ããå®è¡ (ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã)
command: å®è¡ããã³ãã³ã
arguments: ã³ãã³ãã®åŒæ° (ç¹æ®å€æ° $nickã$channelã$server ã¯ããããã®å€ã«çœ®ãæããããŸã)
äŸ:
å
šãŠã®ãã©ã€ããŒããããã¡ã«å¯Ÿã㊠'/me is testing' ãå®è¡:
/allpv me is testing
ããã¯ããŒã foo ãé€ãå
šãŠã®ãã©ã€ããŒããããã¡ã«å¯Ÿã㊠'hello' ãšçºèš:
/allpv -exclude=foo msg * hello
ããã¯ããŒã ã foo ãš bar ã§å§ãŸãããã¯ããŒã ãé€ãå
šãŠã®ãã©ã€ããŒããããã¡ã«å¯Ÿã㊠'hello' ãšçºèš:
/allpv -exclude=foo,bar* msg * hello
ããã¯ããŒã ã bar ã§å§ãŸãããã¯ããŒã ã®ãã©ã€ããŒããããã¡ã«å¯Ÿã㊠'hello' ãšçºèš:
/allpv -include=bar* msg * hello
å
šãŠã®ãã©ã€ããŒããããã¡ãéãã:
/allpv close
----
[[command_irc_allserv]]
* `+allserv+`: å
šãŠã®æ¥ç¶æžã¿ãµãŒãã§ã³ãã³ããå®è¡
----
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
-include=<server>[,<server>...] <command> [<arguments>]
-exclude: äžéšã®ãµãŒããé€ãå
šãŠã®ãµãŒãã«å¯ŸããŠã³ãã³ããå®è¡ (ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã)
-include: äžéšã®ãµãŒãã®ã¿ã«å¯ŸããŠã³ãã³ããå®è¡ (ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã)
command: å®è¡ããã³ãã³ã
arguments: ã³ãã³ãã®åŒæ° (ç¹æ®å€æ° $nickã$channelã$server ã¯ããããã®å€ã«çœ®ãæããããŸã)
äŸ:
å
šãŠã®ãµãŒãã«å¯ŸããŠããã¯ããŒã å€æŽ:
/allserv nick newnick
å
šãŠã®ãµãŒãã«å¯ŸããŠé¢åžç¶æ
ãå€æŽ:
/allserv away I'm away
å
šãŠã®ãµãŒãã«å¯ŸããŠèªåã®ããã¯ããŒã ã«é¢ãã whois ãå®è¡:
/allserv whois $nick
----
[[command_irc_ban]]
* `+ban+`: ããã¯ããŒã ããã¹ãåãæå®ããŠãã³
----
/ban [<channel>] [<nick> [<nick>...]]
channel: ãã£ã³ãã«å
nick: ããã¯ããŒã ãŸãã¯ãã¹ãå
åŒæ°ç¡ãã®å Žåã¯ãçŸåšã®ãã£ã³ãã«ã®ãã³ãªã¹ãã衚瀺ã
----
[[command_irc_cap]]
* `+cap+`: ã¯ã©ã€ã¢ã³ãæ©èœæ
å ±ã®äº€æ
----
/cap ls
list
req|ack [<capability> [<capability>...]]
end
ls: ãµãŒãããµããŒãããæ©èœããªã¹ã
list: çŸåšæå¹åãããŠããæ©èœããªã¹ã
req: æ©èœæ
å ±ãèŠæ±
ack: ã¯ã©ã€ã¢ã³ãåŽã«æ¿èªãèŠæ±ããæ©èœãæ¿èª
end: æ©èœæ
å ±äº€æãçµäº
åŒæ°ç¡ãã®å Žåã"ls" ãš "list" ãéä¿¡ããŸãã
WeeChat ããµããŒãããæ©èœ: account-notifyãaway-notifyãcap-notifyãchghostãextended-joinãinvite-notifyãmulti-prefixãserver-timeãuserhost-in-namesã
èªåçã«æå¹åããæ©èœãèšå®ããã«ã¯ãªãã·ã§ã³ irc.server_default.capabilities (ãŸãã¯å¯Ÿè±¡ã®ãµãŒãã«é¢ãããªãã·ã§ã³ irc.server.xxx.capabilities) ã䜿ã£ãŠãã ããã
äŸ:
/cap
/cap req multi-prefix away-notify
----
[[command_irc_connect]]
* `+connect+`: IRC ãµãŒãã«æ¥ç¶
----
/connect [<server> [<server>...]] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
server: ãµãŒãåãããã¯:
- å
éšãµãŒãå (/server add ã§è¿œå ããããã®ãå©çšæšå¥š)
- ãã¹ãå/ããŒãçªå·ãŸã㯠IP ã¢ãã¬ã¹/ããŒãçªå·ãããã©ã«ãã®ããŒãçªå·ã¯ 6667
- 次ã®æžåŒã«åŸã URL: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
泚æ: ã¢ãã¬ã¹/IP/URL ãæå®ããå ŽåããµãŒããäžæçã«è¿œå ããŸã (ä¿åããŸãã)ã/help irc.look.temporary_servers ãåç
§ããŠãã ããã
option: ãµãŒãã«é¢ãããªãã·ã§ã³ (ããŒã«åãªãã·ã§ã³ã§ã¯ãvalue ã¯ç¡èŠããã)
nooption: ããŒã«åãªãã·ã§ã³ã 'off' ã«ãã (äŸ: -nossl)
-all: èšå®ãããå
šãŠã®ãµãŒãã«æ¥ç¶
-auto: èªåæ¥ç¶ãæå¹åããŠãµãŒãã«æ¥ç¶
-open: çŸåšæ¥ç¶ãããŠããªãããªãŒãã³ãããŠãããµãŒãã«æ¥ç¶
-nojoin: ãã£ã³ãã«ã«å
¥ããªã (autojoin ãæå¹åãããŠããŠã)
-switch: 次ã®ãµãŒãã¢ãã¬ã¹ã«ç§»å
ãµãŒããšã®æ¥ç¶ãåæããããæ¥ç¶è©Šè¡ãäžæ¢ããã«ã¯ /disconnect ã³ãã³ãã䜿ã£ãŠãã ããã
äŸ:
/connect freenode
/connect irc.oftc.net/6667
/connect irc6.oftc.net/6667 -ipv6
/connect irc6.oftc.net/6697 -ipv6 -ssl
/connect my.server.org/6697 -ssl -password=test
/connect irc://nick@irc.oftc.net/#channel
/connect -switch
----
[[command_irc_ctcp]]
* `+ctcp+`: CTCP ã¡ãã»ãŒãžã®éä¿¡ (Client-To-Client Protocol)
----
/ctcp [-server <server>] <target>[,<target>...] <type> [<arguments>]
server: éä¿¡å
ãµãŒãå (å
éšå)
target: éä¿¡å
ããã¯ããŒã ãŸãã¯ãã£ã³ãã« ('*' ã®å ŽåçŸåšã®ãã£ã³ãã«å®ã«éä¿¡)
type: CTCP ã¿ã€ã (äŸ: "version"ã"ping"ããªã©)
arguments: CTCP ã®åŒæ°
äŸ:
/ctcp toto time
/ctcp toto version
/ctcp * version
----
[[command_irc_cycle]]
* `+cycle+`: ãã£ã³ãã«ããéåºãååå
----
/cycle [<channel>[,<channel>...]] [<message>]
channel: ãã£ã³ãã«å
message: éåºã¡ãã»ãŒãž (ä»ã®ãŠãŒã¶ã«å®ãŠã)
----
[[command_irc_dcc]]
* `+dcc+`: DCC ã®éå§ (ãã¡ã€ã«è»¢éããã€ã¬ã¯ããã£ãã)
----
/dcc chat <nick>
send <nick> <file>
nick: ããã¯ããŒã
file: ãã¡ã€ã«å (ããŒã«ã«ãã¹ãäžã®)
äŸ:
"toto" ãšãã£ãã:
/dcc chat toto
ãã¡ã€ã« "/home/foo/bar.txt" ã ããã¯ããŒã "toto" ã«éä¿¡:
/dcc send toto /home/foo/bar.txt
----
[[command_irc_dehalfop]]
* `+dehalfop+`: ããã¯ããŒã ãã half-operator æš©ãå¥å¥ª
----
/dehalfop <nick> [<nick>...]
nick: ããã¯ããŒã ãŸãã¯ãã¹ã¯ (ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã)
*: èªå以å€ã®ãã£ã³ãã«åå è
ãããã£ã³ãã«ã® half-operator æš©ãå¥å¥ª
----
[[command_irc_deop]]
* `+deop+`: ããã¯ããŒã ãããã£ã³ãã«ãªãã¬ãŒã¿æš©ãå¥å¥ª
----
/deop <nick> [<nick>...]
* -yes
nick: ããã¯ããŒã ãŸãã¯ãã¹ã¯ (ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã)
*: èªå以å€ã®ãã£ã³ãã«åå è
ãããã£ã³ãã«ãªãã¬ãŒã¿æš©ãå¥å¥ª
----
[[command_irc_devoice]]
* `+devoice+`: ããã¯ããŒã ããçºèšæš©ãå¥å¥ª
----
/devoice <nick> [<nick>...]
* -yes
nick: ããã¯ããŒã ãŸãã¯ãã¹ã¯ (ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã)
*: ãã£ã³ãã«åå è
å
šå¡ãã voice ç¶æ
ãå¥å¥ª
----
[[command_irc_die]]
* `+die+`: ãµãŒãã®ã·ã£ããããŠã³
----
/die [<target>]
target: ãµãŒãå
----
[[command_irc_disconnect]]
* `+disconnect+`: ç¹å®ã®ãŸãã¯å
šãŠã® IRC ãµãŒããšã®æ¥ç¶ãåæ
----
/disconnect [<server>|-all|-pending [<reason>]]
server: å
éšãµãŒãå
-all: å
šãŠã®ãµãŒããšã®æ¥ç¶ãåã
-pending: çŸåšåæ¥ç¶è©Šè¡äžã®ãµãŒãã«å¯Ÿããèªååæ¥ç¶ãæ¢ãã
reason: "quit" ã®çç±
----
[[command_irc_halfop]]
* `+halfop+`: æå®ããããã¯ããŒã ã« half-operator æš©ãä»äž
----
/halfop <nick> [<nick>...]
* -yes
nick: ããã¯ããŒã ãŸãã¯ãã¹ã¯ (ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã)
*: ãã£ã³ãã«åå è
å
šå¡ã« half-operator æš©ãä»äž
----
[[command_irc_ignore]]
* `+ignore+`: ãããµãŒãããã£ã³ãã«ã§ãæå®ããããã¯ããŒã /ãã¹ãåãç¡èŠ
----
/ignore list
add [re:]<nick> [<server> [<channel>]]
del <number>|-all
list: ç¡èŠãšã³ããªããªã¹ãã¢ãã
add: ç¡èŠãšã³ããªãè¿œå
nick: ããã¯ããŒã ãŸãã¯ãã¹ãå ("re:" ãä»ããããšã§ POSIX æ¡åŒµæ£èŠè¡šçŸã䜿ããŸãã"*" 㯠0 å以äžã®æåã«ãããããŸã)
del: ç¡èŠãšã³ããªã®åé€
number: åé€ããç¡èŠãšã³ããªçªå· (çªå·ã¯ãªã¹ããåç
§ããŠãã ãã)
-all: å
šãŠã®ç¡èŠãšã³ããªãåé€
server: ç¡èŠèšå®ãæå¹ã«ããå
éšãµãŒãå
channel: ç¡èŠèšå®ãæå¹ã«ãããã£ã³ãã«å
泚æ: æ£èŠè¡šçŸã§å€§æåå°æåãåºå¥ããã«ã¯ "(?-i)" ãæåã«ã€ããŠãã ããã
äŸ:
å
šãŠã®ãµãŒãäžã®ããã¯ããŒã "toto" ãç¡èŠ:
/ignore add toto
freenode ãµãŒãäžã®ãã¹ãå "toto@domain.com" ãç¡èŠ:
/ignore add toto@domain.com freenode
freenode ãµãŒãã® #weechat ãã£ã³ãã«äžã®ãã¹ãå "toto*@*.domain.com" ãç¡èŠ:
/ignore add toto*@*.domain.com freenode #weechat
----
[[command_irc_info]]
* `+info+`: ãµãŒãã«é¢ããæ
å ±ãå
¥æ
----
/info [<target>]
target: ãµãŒãå
----
[[command_irc_invite]]
* `+invite+`: ãã£ã³ãã«ã«ããã¯ããŒã ãæåŸ
----
/invite <nick> [<nick>...] [<channel>]
nick: ããã¯ããŒã
channel: ãã£ã³ãã«å
----
[[command_irc_ison]]
* `+ison+`: ããã¯ããŒã ã IRC äžã«ããã確èª
----
/ison <nick> [<nick>...]
nick: ããã¯ããŒã
----
[[command_irc_join]]
* `+join+`: ãã£ã³ãã«ã«åå
----
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
-noswitch: æ°ãããããã¡ã«ç§»åããªã
server: éä¿¡å
ãµãŒã (å
éšãµãŒãå)
channel: åå ãããã£ã³ãã«ã®åå
key: ãã£ã³ãã«ã«åå ããããã®ã㌠(ããŒãå¿
èŠãªãã£ã³ãã«ã¯æåã«çœ®ãããš)
äŸ:
/join #weechat
/join #protectedchan,#weechat key
/join -server freenode #weechat
/join -noswitch #weechat
----
[[command_irc_kick]]
* `+kick+`: ãã£ã³ãã«ãããŠãŒã¶ãããã¯
----
/kick [<channel>] <nick> [<reason>]
channel: ãã£ã³ãã«å
nick: ããã¯ããŒã
reason: çç± (ç¹æ®å€æ° $nickã$channelã$server ã¯ããããã®å€ã«çœ®æãããŸã)
----
[[command_irc_kickban]]
* `+kickban+`: ãã£ã³ãã«ãããŠãŒã¶ãããã¯ããã®ãã¹ããåå çŠæ¢ã«
----
/kickban [<channel>] <nick> [<reason>]
channel: ãã£ã³ãã«å
nick: ããã¯ããŒã
reason: çç± (ç¹æ®å€æ° $nickã$channelã$server ã¯ããããã®å€ã«çœ®æãããŸã)
ããã¯ãšåå çŠæ¢ã«ãã¹ã¯ã䜿ãããšãå¯èœã§ã"*" ã®ãã¹ã¯å±éåŸã«ãããããããã¯ããŒã ããããã®å¯Ÿè±¡ã«ãªããŸãã
äŸ:
"*!*@host.com" ãåå çŠæ¢ã㊠"toto" ãããã¯:
/kickban toto!*@host.com
----
[[command_irc_kill]]
* `+kill+`: ã¯ã©ã€ã¢ã³ã - ãµãŒãã®æ¥ç¶ãéãã
----
/kill <nick> [<reason>]
nick: ããã¯ããŒã
reason: çç±
----
[[command_irc_links]]
* `+links+`: list all server names which are known by the server answering the query
----
/links [[<target>] <server_mask>]
target: ãã®ã¯ãšãªã«å¿çããã¹ããªã¢ãŒããµãŒã
server_mask: ãã®ãã¹ã¯ã«ããããããµãŒãã®ãªã¹ã
----
[[command_irc_list]]
* `+list+`: ãã£ã³ãã«ãšãããã¯ããªã¹ãã¢ãã
----
/list [-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]
server: å®å
ãµãŒã (å
éšå)
regex: çµæããã£ã«ã¿ãã POSIX æ¡åŒµæ£èŠè¡šçŸ (倧æåå°æåã¯åºå¥ããªãã"(?-i)" ã§å§ããã°åºå¥ãã)
channel: ãªã¹ãã¢ãããããã£ã³ãã«å
server: ãµãŒãå
äŸ:
ãµãŒãäžã®å
šãŠã®ãã£ã³ãã«ããªã¹ãã¢ãã (倧ããªãããã¯ãŒã¯ã§ã¯éåžžã«é
ã):
/list
#weechat ãã£ã³ãã«ããªã¹ãã¢ãã:
/list #weechat
"#weechat" ã§å§ãŸãå
šãŠã®ãã£ã³ãã«ããªã¹ãã¢ãã (倧ããªãããã¯ãŒã¯ã§ã¯éåžžã«é
ã):
/list -re #weechat.*
----
[[command_irc_lusers]]
* `+lusers+`: IRC ãããã¯ãŒã¯ã®ãµã€ãºã«é¢ããçµ±èšãå
¥æ
----
/lusers [<mask> [<target>]]
mask: ãã®ãã¹ã¯ã«ããããããµãŒã
target: ãªã¯ãšã¹ããéä¿¡ãããµãŒã
----
[[command_irc_map]]
* `+map+`: IRC ãããã¯ãŒã¯ã®ã°ã©ãã£ã«ã«ãããã衚瀺
----
----
[[command_irc_me]]
* `+me+`: çŸåšã®ãã£ã³ãã«ã« CTCP action ãéä¿¡
----
/me <message>
message: éä¿¡ã¡ãã»ãŒãž
----
[[command_irc_mode]]
* `+mode+`: ãã£ã³ãã«ããŠãŒã¶ã®ã¢ãŒããå€æŽ
----
/mode [<channel>] [+|-]o|p|s|i|t|n|m|l|b|e|v|k [<arguments>]
<nick> [+|-]i|s|w|o
ãã£ã³ãã«ã¢ãŒã:
channel: å€æŽãããã£ã³ãã«å (ããã©ã«ãã¯çŸåšã®ãã£ã³ãã«)
o: ãã£ã³ãã«ãªãã¬ãŒã¿æš©ã®ä»äž/å¥å¥ª
p: ãã©ã€ããŒããã£ã³ãã«ãã©ã°
s: ç§å¯ãã£ã³ãã«ãã©ã°
i: æåŸ
å°çšãã£ã³ãã«ãã©ã°
t: ãã£ã³ãã«ãããã¯ã®å€æŽããªãã¬ãŒã¿ã ãã«èš±å¯ãããã©ã°
n: ãã£ã³ãã«ã«åå ããŠããªãã¯ã©ã€ã¢ã³ãããã®ã¡ãã»ãŒãžã®éä¿¡ãçŠæ¢
m: åžäŒä»ããã£ã³ãã«
l: ã¯ã©ã€ã¢ã³ãæ°ã®å¶éå€ãèšå®
b: ãŠãŒã¶ã®å
¥å®€çŠæ¢ãã¹ã¯ãèšå®
e: å
¥å®€çŠæ¢ã®é€å€ãã¹ã¯ãèšå®
v: åžäŒä»ããã£ã³ãã«ã§çºèšæš©ãä»äž/å¥å¥ª
k: ãã£ã³ãã«ããŒãèšå® (ãã¹ã¯ãŒã)
ãŠãŒã¶ã¢ãŒã:
nick: å€æŽãããŠãŒã¶å
i: ãŠãŒã¶ãäžå¯èŠç¶æ
ã«ãã
s: ãŠãŒã¶ããµãŒã notices ãåãåãç¶æ
ã«ãã
w: ãŠãŒã¶ã wallops ãåãåãç¶æ
ã«ãã
o: ãªãã¬ãŒã¿ãã©ã°
äžã®ã¢ãŒãã®ãªã¹ãã¯å®å
šãªãã®ã§ã¯ãªããèšå®å¯èœãªã¢ãŒãã確èªããããã«ããµãŒãã«é¢ããããã¥ã¡ã³ããèªãããšã
äŸ:
#weechat ãã£ã³ãã«ã®ãããã¯ãä¿è·:
/mode #weechat +t
ãµãŒãäžã§äžå¯èŠã«ãã:
/mode nick +i
----
[[command_irc_motd]]
* `+motd+`: "ä»æ¥ã®ã¡ãã»ãŒãž" ãååŸ
----
/motd [<target>]
target: ãµãŒãå
----
[[command_irc_msg]]
* `+msg+`: ããã¯ããŒã ããã£ã³ãã«ã«ã¡ãã»ãŒãžãéã
----
/msg [-server <server>] <target>[,<target>...] <text>
server: ãã®ãµãŒãã«éä¿¡ (å
éšãµãŒãå)
target: ããã¯ããŒã ãŸãã¯ãã£ã³ãã«å (ãã¹ã¯ã䜿ãããããããªãã'*' = çŸåšã®ãã£ã³ãã«)
text: éä¿¡ããããã¹ã
----
[[command_irc_names]]
* `+names+`: ãã£ã³ãã«ã«åå ããŠããããã¯ããŒã ããªã¹ãã¢ãã
----
/names [<channel>[,<channel>...]]
channel: ãã£ã³ãã«å
----
[[command_irc_nick]]
* `+nick+`: çŸåšã®ããã¯ããŒã ãå€æŽ
----
/nick [-all] <nick>
-all: å
šãŠã®æ¥ç¶æžã¿ãµãŒãã§æ°ããããã¯ããŒã ãèšå®
nick: æ°ããããã¯ããŒã
----
[[command_irc_notice]]
* `+notice+`: ãŠãŒã¶ã« notice ã¡ãã»ãŒãžãéä¿¡
----
/notice [-server <server>] <target> <text>
server: ãã®ãµãŒãã«éä¿¡ (å
éšãµãŒãå)
target: ããã¯ããŒã ãŸãã¯ãã£ã³ãã«å
text: éä¿¡ããããã¹ã
----
[[command_irc_notify]]
* `+notify+`: ãµãŒãäžã®ããã¯ããŒã ã«å¯ŸããŠæ¥ç¶ãé¢åžç¶æ
ã®éç¥ãè¿œå ãã
----
/notify add <nick> [<server> [-away]]
del <nick>|-all [<server>]
add: éç¥ã®è¿œå
nick: ããã¯ããŒã
server: å
éšãµãŒãå (ããã©ã«ãã§ã¯çŸåšã®ãµãŒã)
-away: é¢åžã¡ãã»ãŒãžãå€æŽããããšãã«éç¥ (ããã¯ããŒã ã® whois ãè¡ã)
del: éç¥ãåé€
-all: å
šãŠã®éç¥ãåé€
åŒæ°ç¡ãã®å Žåã¯ãçŸåšã®ãµãŒãã«é¢ããéç¥èšå®ã衚瀺ããŸã (ã³ã¢ãããã¡ã§å®è¡ãããå Žåã¯å
šãŠã®ãµãŒãã«é¢ããèšå®)ã
äŸ:
"toto" ãçŸåšã®ãµãŒãã«æ¥ç¶/åæããå Žåã«éç¥:
/notify add toto
"toto" ã freenode ãµãŒãã«æ¥ç¶/åæããå Žåã«éç¥:
/notify add toto freenode
"toto" ã freenode ãµãŒãã«æ»ããé¢åžç¶æ
ã«ãªã£ãå Žåã«éç¥:
/notify add toto freenode -away
----
[[command_irc_op]]
* `+op+`: ããã¯ããŒã ã«ãªãã¬ãŒã¿æš©ãä»äž
----
/op <nick> [<nick>...]
* -yes
nick: ããã¯ããŒã ãŸãã¯ãã¹ã¯ (ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã)
*: ãã£ã³ãã«åå è
å
šå¡ã«ãã£ã³ãã«ãªãã¬ãŒã¿æš©ãä»äž
----
[[command_irc_oper]]
* `+oper+`: ãªãã¬ãŒã¿æš©ãå
¥æ
----
/oper <user> <password>
user: ãŠãŒã¶
password: ãã¹ã¯ãŒã
----
[[command_irc_part]]
* `+part+`: ãã£ã³ãã«ããéåº
----
/part [<channel>[,<channel>...]] [<message>]
channel: éåºãããã£ã³ãã«å
message: éåºã¡ãã»ãŒãž (ä»ã®ãŠãŒã¶ã«å¯ŸããŠ)
----
[[command_irc_ping]]
* `+ping+`: ãµãŒãã«ãã³ãéä¿¡
----
/ping <target1> [<target2>]
target1: ãã³éä¿¡å
ãµãŒã
target2: ãã³è»¢éå
ãµãŒã
----
[[command_irc_pong]]
* `+pong+`: ãã³ã¡ãã»ãŒãžã«å¿ç
----
/pong <daemon> [<daemon2>]
daemon: ãã³ã¡ãã»ãŒãžã«å¿çããããŒã¢ã³
daemon2: ã¡ãã»ãŒãžãããŒã¢ã³ã«è»¢é
----
[[command_irc_query]]
* `+query+`: ããã¯ããŒã å®ã«ãã©ã€ããŒãã¡ãã»ãŒãžãéä¿¡
----
/query [-noswitch] [-server <server>] <nick>[,<nick>...] [<text>]
-noswitch: æ°ãããããã¡ã«åãæ¿ããªã
server: ãã®ãµãŒãã«éä¿¡ (å
éšãµãŒãå)
nick: ããã¯ããŒã
text: éä¿¡ããããã¹ã
----
[[command_irc_quiet]]
* `+quiet+`: ããã¯ããŒã ããã¹ããçºèšçŠæ¢ã«
----
/quiet [<channel>] [<nick> [<nick>...]]
channel: ãã£ã³ãã«å
nick: ããã¯ããŒã ãŸãã¯ãã¹ãå
åŒæ°ç¡ãã®å Žåã¯ãçŸåšã®ãã£ã³ãã«ã®çºèšçŠæ¢ãªã¹ãã衚瀺ã
----
[[command_irc_quote]]
* `+quote+`: ããŒã¹ããã«ãµãŒãå®ã«çããŒã¿ãéä¿¡
----
/quote [-server <server>] <data>
server: éä¿¡å
ãµãŒã (å
éšãµãŒãå)
data: éä¿¡ããçããŒã¿
----
[[command_irc_reconnect]]
* `+reconnect+`: ãµãŒãã«åæ¥ç¶
----
/reconnect <server> [<server>...] [-nojoin] [-switch]
-all [-nojoin] [-switch]
server: åæ¥ç¶ãããµãŒã (å
éšå)
-all: å
šãŠã®ãµãŒãã«åæ¥ç¶
-nojoin: ãã£ã³ãã«ã«åå ããªã (autojoin ããµãŒãã§æå¹åãããŠããŠã)
-switch: 次ã®ãµãŒãã¢ãã¬ã¹ã«ç§»å
----
[[command_irc_rehash]]
* `+rehash+`: ãµãŒãã«èšå®ãã¡ã€ã«ã®ãªããŒããæ瀺
----
/rehash [<option>]
option: è¿œå ãªãã·ã§ã³ãããã€ãã®ãµãŒãçš
----
[[command_irc_remove]]
* `+remove+`: ãŠãŒã¶ããã£ã³ãã«ããéåºããããšã匷å¶
----
/remove [<channel>] <nick> [<reason>]
channel: ãã£ã³ãã«å
nick: ããã¯ããŒã
reason: çç± (ç¹æ®å€æ° $nickã$channelã$server ã¯ããããã®å€ã«çœ®æãããŸã)
----
[[command_irc_restart]]
* `+restart+`: ãµãŒãã«åèµ·åãæ瀺
----
/restart [<target>]
target: ãµãŒãå
----
[[command_irc_sajoin]]
* `+sajoin+`: ãŠãŒã¶ããã£ã³ãã«ãžåå ããããšã匷å¶
----
/sajoin <nick> <channel>[,<channel>...]
nick: ããã¯ããŒã
channel: ãã£ã³ãã«å
----
[[command_irc_samode]]
* `+samode+`: ãã£ã³ãã«ã¢ãŒããå€æŽããªãã¬ãŒã¿æš©ç¡ãã«
----
/samode [<channel>] <mode>
channel: ãã£ã³ãã«å
mode: ãã£ã³ãã«ã¢ãŒã
----
[[command_irc_sanick]]
* `+sanick+`: 匷å¶çã«ãŠãŒã¶ã®ããã¯ããŒã ãå€æŽ
----
/sanick <nick> <new_nick>
nick: ããã¯ããŒã
new_nick: æ°ããããã¯ããŒã
----
[[command_irc_sapart]]
* `+sapart+`: 匷å¶çã«ãŠãŒã¶ããã£ã³ãã«ããéåº
----
/sapart <nick> <channel>[,<channel>...]
nick: ããã¯ããŒã
channel: ãã£ã³ãã«å
----
[[command_irc_saquit]]
* `+saquit+`: ããçç±ã§åŒ·å¶çã«ãŠãŒã¶ããµãŒãããåæ
----
/saquit <nick> <reason>
nick: ããã¯ããŒã
reason: çç±
----
[[command_irc_server]]
* `+server+`: IRC ãµãŒãã®ãªã¹ãã¢ãããè¿œå ãåé€
----
/server list|listfull [<name>]
add <name> <hostname>[/<port>] [-temp] [-<option>[=<value>]] [-no<option>]
copy|rename <name> <new_name>
reorder <name> [<name>...]
open <name>|-all [<name>...]
del|keep <name>
deloutq|jump
raw [<filter>]
list: list servers (without argument, this list is displayed)
listfull: list servers with detailed info for each server
add: add a new server
name: server name, for internal and display use; this name is used to connect to the server (/connect name) and to set server options: irc.server.name.xxx
hostname: name or IP address of server, with optional port (default: 6667), many addresses can be separated by a comma
-temp: add a temporary server (not saved)
option: set option for server (for boolean option, value can be omitted)
nooption: set boolean option to 'off' (for example: -nossl)
copy: duplicate a server
rename: rename a server
reorder: reorder list of servers
open: open the server buffer without connecting
keep: keep server in config file (for temporary servers only)
del: delete a server
deloutq: delete messages out queue for all servers (all messages WeeChat is currently sending)
jump: jump to server buffer
raw: open buffer with raw IRC data
filter: set a new filter to see only matching messages (this filter can be used as input in raw IRC data buffer as well); allowed formats are:
* show all messages (no filter)
xxx show only messages containing "xxx"
s:xxx show only messages for server "xxx"
f:xxx show only messages with a flag: recv (message received), sent (message sent), modified (message modified by a modifier), redirected (message redirected)
m:xxx show only IRC command "xxx"
c:xxx show only messages matching the evaluated condition "xxx", using following variables: output of function irc_message_parse (like nick, command, channel, text, etc., see function info_get_hashtable in plugin API reference for the list of all variables), date (format: "yyyy-mm-dd hh:mm:ss"), server, recv, sent, modified, redirected
Examples:
/server listfull
/server add freenode chat.freenode.net
/server add freenode chat.freenode.net/6697 -ssl -autoconnect
/server add chatspike irc.chatspike.net/6667,irc.duckspike.net/6667
/server copy freenode freenode-test
/server rename freenode-test freenode2
/server reorder freenode2 freenode
/server del freenode
/server deloutq
/server raw
/server raw s:freenode
/server raw c:${recv} && ${command}==PRIVMSG && ${nick}==foo
----
[[command_irc_service]]
* `+service+`: æ°ãããµãŒãã¹ãç»é²
----
/service <nick> <reserved> <distribution> <type> <reserved> <info>
distribution: ãµãŒãã¹ã®å¯èŠæ§
type: å°æ¥ã®ããã«äºçŽ
----
[[command_irc_servlist]]
* `+servlist+`: çŸåšãããã¯ãŒã¯ã«æ¥ç¶ããããµãŒãã¹ããªã¹ãã¢ãã
----
/servlist [<mask> [<type>]]
mask: ãã¹ã¯ã«ããããããµãŒãã¹ã ãããªã¹ãã¢ãã
type: ã¿ã€ãã«ããããããµãŒãã¹ã ãããªã¹ãã¢ãã
----
[[command_irc_squery]]
* `+squery+`: ãµãŒãã¹ã«ã¡ãã»ãŒãžãé
é
----
/squery <service> <text>
service: ãµãŒãã¹å
text: éä¿¡ããã¹ã
----
[[command_irc_squit]]
* `+squit+`: ãµãŒããªã³ã¯ãåæ
----
/squit <target> <comment>
target: ãµãŒãå
comment: ã³ã¡ã³ã
----
[[command_irc_stats]]
* `+stats+`: ãµãŒãã«é¢ããã¯ãšãªçµ±èš
----
/stats [<query> [<target>]]
query: c/h/i/k/l/m/o/y/u (RFC1459 ãåç
§ããŠãã ãã)
target: ãµãŒãå
----
[[command_irc_summon]]
* `+summon+`: IRC ãµãŒããå®è¡äžã®ãã¹ãã«ãããŠãŒã¶å®ãŠã«ãIRC ã«åå ããããšãèŠè«ããã¡ãã»ãŒãžãéä¿¡
----
/summon <user> [<target> [<channel>]]
user: ãŠãŒã¶å
target: ãµãŒãå
channel: ãã£ã³ãã«å
----
[[command_irc_time]]
* `+time+`: ãµãŒãã®ããŒã«ã«æéãèŠæ±
----
/time [<target>]
target: æéãèŠæ±ãããµãŒããæå®
----
[[command_irc_topic]]
* `+topic+`: ãã£ã³ãã«ãããã¯ã®ååŸ/èšå®
----
/topic [<channel>] [<topic>|-delete]
channel: ãã£ã³ãã«å
topic: æ°ãããããã¯
-delete: ãã£ã³ãã«ãããã¯ãåé€
----
[[command_irc_trace]]
* `+trace+`: æå®ããããµãŒããžã®ã«ãŒããæ¢ã
----
/trace [<target>]
target: ãµãŒãå
----
[[command_irc_unban]]
* `+unban+`: ããã¯ããŒã ããã¹ãã®çŠæ¢èšå®ã解é€
----
/unban [<channel>] <nick>|<number> [<nick>|<number>...]
channel: ãã£ã³ãã«å
nick: ããã¯ããŒã ãŸãã¯ãã¹ãå
number: ãã³ããããã¯ããŒã ã®çªå· (ã³ãã³ã /ban ã§è¡šç€ºãããçªå·)
----
[[command_irc_unquiet]]
* `+unquiet+`: ããã¯ããŒã ãŸãã¯ãã¹ãåã«å¯ŸããçºèšçŠæ¢ã解é€
----
/unquiet [<channel>] <nick>|<number> [<nick>|<number>...]
channel: ãã£ã³ãã«å
nick: ããã¯ããŒã ãŸãã¯ãã¹ãå
number: çºèšçŠæ¢ããããã¯ããŒã ã®çªå· (ã³ãã³ã /quiet ã§è¡šç€ºãããçªå·)
----
[[command_irc_userhost]]
* `+userhost+`: ããã¯ããŒã ã«é¢ããæ
å ±ã®ãªã¹ããè¿ã
----
/userhost <nick> [<nick>...]
nick: ããã¯ããŒã
----
[[command_irc_users]]
* `+users+`: ãµãŒãã«ãã°ã€ã³ããŠãããŠãŒã¶ã®ãªã¹ã
----
/users [<target>]
target: ãµãŒãå
----
[[command_irc_version]]
* `+version+`: ããã¯ããŒã ããµãŒãã®ããŒãžã§ã³æ
å ±ãååŸ (çŸåšã®ãµãŒããæå®ãããµãŒã)
----
/version [<target>|<nick>]
target: ãµãŒãå
nick: ããã¯ããŒã
----
[[command_irc_voice]]
* `+voice+`: ããã¯ããŒã ã«çºèšæš©ãä»äž
----
/voice <nick> [<nick>...]
nick: ããã¯ããŒã ãŸãã¯ãã¹ã¯ (ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã)
*: ãã£ã³ãã«åå è
å
šå¡ã« voice æš©ãä»äž
----
[[command_irc_wallchops]]
* `+wallchops+`: ãã£ã³ãã«ãªãã¬ãŒã¿ã« notice ãéä¿¡
----
/wallchops [<channel>] <text>
channel: ãã£ã³ãã«å
text: éä¿¡ããã¹ã
----
[[command_irc_wallops]]
* `+wallops+`: ãŠãŒã¶ã¢ãŒãã« 'w' ãèšå®ããå
šãŠã®æ¥ç¶æžã¿ãŠãŒã¶å®ãŠã«ã¡ãã»ãŒãžãéä¿¡
----
/wallops <text>
text: éä¿¡ããã¹ã
----
[[command_irc_who]]
* `+who+`: æ
å ±ã®ãªã¹ããè¿ãã¯ãšãªãçæ
----
/who [<mask> [o]]
mask: ãã¹ã¯ã«ãããããæ
å ±
o: ãã¹ã¯ã«ããããããªãã¬ãŒã¿ã ããè¿ã
----
[[command_irc_whois]]
* `+whois+`: ãŠãŒã¶ã«é¢ããæ
å ±ãèŠæ±
----
/whois [<target>] [<nick>[,<nick>...]]
target: ãµãŒãå
nick: ããã¯ããŒã (ãã¹ã¯ãå¯)
åŒæ°ãç¡ãå Žåããã®ã³ãã³ãã¯ä»¥äžã®ãŠãŒã¶ã«å¯Ÿãã whois ãè¡ããŸã:
- ãããã¡ããµãŒã/ãã£ã³ãã«ã®å Žåãèªåèªèº«ã®ããã¯ããŒã
- ãããã¡ããã©ã€ããŒãã®å Žåãçžæã®ããã¯ããŒã ã
ãªãã·ã§ã³ irc.network.whois_double_nick ãæå¹ã®å Žåãã¢ã€ãã«æéãè¿ããŠãããããã«ããã¯ããŒã ã 2 ã€éä¿¡ããŸã (ããã¯ããŒã ã 1 ã€æå®ããå Žåã§ã)ã
----
[[command_irc_whowas]]
* `+whowas+`: æ¢ã«ååšããªãããã¯ããŒã ã«é¢ããæ
å ±ãèŠæ±
----
/whowas <nick>[,<nick>...] [<count> [<target>]]
nick: ããã¯ããŒã
count: ãªãã©ã€ã®åæ° (è² ã®å€ã§å®å
šãªæ€çŽ¢)
target: ãã¹ã¯ã«äžèŽãããã®ã ããè¿ã
----
// end::irc_commands[]
// tag::alias_commands[]
[[command_alias_alias]]
* `+alias+`: å¥åã³ãã³ãã®ãªã¹ãã¢ãããè¿œå ãåé€
----
/alias list [<alias>]
add <alias> [<command>[;<command>...]]
addcompletion <completion> <alias> [<command>[;<command>...]]
del <alias> [<alias>...]
list: å¥åããªã¹ãã¢ãã (åŒæ°ãäžããªãã£ãå Žåããã®ãªã¹ãã衚瀺ãããŸã)
add: å¥åãè¿œå
addcompletion: ã«ã¹ã¿ã è£å®ãæå®ããŠå¥åãè¿œå
del: å¥åãåé€
completion: å¥åã®è£å®: ããã©ã«ãã§ã¯å¯Ÿè±¡ã®ã³ãã³ãã«å¯Ÿããè£å®ãè¡ãããŸã
泚æ: %%command ã§æ¢åã®ã³ãã³ãã«å¯Ÿããè£å®ãå©çšå¯èœã§ã
alias: å¥åã®åå
command: åŒæ°ãå«ããã³ãã³ãå (ã»ãã³ãã³ã§åå²ããã°è€æ°ã®ã³ãã³ããæå®ã§ããŸã)
泚æ: command ã®äžã«å«ãŸããç¹æ®å€æ°ã¯çœ®æãããŸã:
$n: 'n' çªç®ã®åŒæ° (1 ãã 9)
$-m: 1 ãã 'm' çªç®ã®åŒæ°
$n-: 'n' çªç®ããæåŸã®åŒæ°
$n-m: 'n' ãã 'm' çªç®ã®åŒæ°
$*: å
šãŠã®åŒæ°
$~: æåŸã®åŒæ°
$var: ãã㧠"var" ãšã¯ãããã¡ã®å±æå€æ° (/buffer localvar ãåç
§ããŠãã ãã)
äŸ: $nickã$channelã$serverã$pluginã$name
äŸ:
/split ããŠã£ã³ããŠãæ°Žå¹³æ¹åã«åå²ããå¥åãšå®çŸ©:
/alias add split /window splith
/hello ã #weechat ãé€ãå
šãŠã®ãã£ã³ãã«ã§ "hello" ãšçºèšããå¥åãšå®çŸ©:
/alias add hello /allchan -exclude=#weechat msg * hello
/forcejoin ã /sajoin ã®è£å®åè£ã䜿ã IRC ã³ãã³ã "forcejoin" ãéä¿¡ããå¥åãšå®çŸ©:
/alias addcompletion %%sajoin forcejoin /quote forcejoin
----
// end::alias_commands[]
// tag::weechat_commands[]
[[command_weechat_away]]
* `+away+`: é¢åžç¶æ
ã®åãæ¿ã
----
/away [-all] [<message>]
-all: å
šãŠã®æ¥ç¶æžã¿ãµãŒãã«å¯ŸããŠé¢åžç¶æ
ãåãæ¿ã
message: é¢åžã¡ãã»ãŒãž (ã¡ãã»ãŒãžãç¡ãå Žåã¯ãé¢åžç¶æ
ã解é€)
----
[[command_weechat_bar]]
* `+bar+`: ããŒã®ç®¡ç
----
/bar list|listfull|listitems
add <name> <type>[,<conditions>] <position> <size> <separator> <item1>[,<item2>...]
default [input|title|status|nicklist]
del <name>|-all
set <name> <option> <value>
hide|show|toggle <name>
scroll <name> <window> <scroll_value>
list: å
šãŠã®ããŒããªã¹ãã¢ãã
listfull: å
šãŠã®ããŒããªã¹ãã¢ãã (詳现)
listitems: å
šãŠã®ããŒèŠçŽ ããªã¹ãã¢ãã
add: æ°ããããŒãè¿œå
name: ããŒã®å称 (ãŠããŒã¯ãª)
type: root: å€åŽã®ãŠã£ã³ããŠã
window: å
åŽã®ãŠã£ã³ããŠãä»»æã®ç¶æ
ãåãã (以äžãåç
§ããŠãã ãã)
conditions: ããŒã衚瀺ããæ¡ä»¶:
active: ã¢ã¯ãã£ããŠã£ã³ããŠã®å Žåã«è¡šç€º
inactive: éã¢ã¯ãã£ããŠã£ã³ããŠã®å Žåã«è¡šç€º
nicklist: ããã¯ããŒã ãªã¹ããæã€ãŠã£ã³ããŠã®å Žåã«è¡šç€º
ãã®ä»ã®æ¡ä»¶: /help weechat.bar.xxx.conditions ãš /help eval ãåç
§ããŠãã ãã
衚瀺æ¡ä»¶ã®æå®ãç¡ããã°ãããŒã¯åžžã«è¡šç€ºãããŸãã
position: bottomãtopãleftãright
size: ããŒã®ãµã€ãº (æåæ°ã§æå®)
separator: 1 ã¯ã»ãã¬ãŒã¿ (ç·) ã䜿çšã0 ãŸãã¯æå®ç¡ãã¯ã»ãã¬ãŒã¿ç¡ã
item1,...: ããŒã®èŠçŽ (èŠçŽ ã¯ã³ã³ã (èŠçŽ éã«ã¹ããŒã¹) ãŸã㯠"+" (èŠçŽ éã«ã¹ããŒã¹ç¡ã) ã§åºåããŸã)
default: ããã©ã«ãããŒãäœæ (ããŒã®ååãç¡ããã°å
šãŠã®ããã©ã«ãããŒãäœæãããŸã)
del: ããŒãåé€ (-all ãä»ããã°å
šãŠã®ããŒãåé€)
set: ããŒå±æ§ã«å€ãèšå®
option: å€æŽãããªãã·ã§ã³ (ãªãã·ã§ã³äžèŠ§ã¯ /set weechat.bar.<barname>.* ãåç
§ããŠãã ãã)
value: ãªãã·ã§ã³ã®æ°ããå€
hide: ããŒãé ã
show: é ãããããŒã衚瀺
toggle: ããŒã®é衚瀺/衚瀺ãåãæ¿ã
scroll: ããŒãã¹ã¯ããŒã«
window: ãŠã£ã³ããŠçªå· (çŸåšã®ãŠã£ã³ããŠãã«ãŒãããŒãæå®ããã«ã¯ '*' ã䜿ã)
scroll_value: ã¹ã¯ããŒã«ããé: 'x' ãŸã㯠'y' (ä»»æ)ã®åŸã«ã'+' ã '-' ã 'b' (æå) ã 'e' (æåŸ)ã®åŸã«ãå€ (+/- ãä»ããŠ)ãä»»æ㧠% (ã¹ã¯ããŒã«ããå¹
/é«ãã®å²åã% ãç¡ããã°å€ã¯æåæ°ãšè§£éãããŸã)
äŸ:
æéãããŒçªå· + ååãè£å®åè£ãããªãããŒãäœæ:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
ããŒãé ã:
/bar hide mybar
çŸåšã®ãããã¡ã«å¯Ÿå¿ããããã¯ããŒã ãªã¹ãã 10 è¡åãäžæ¹åã«ã¹ã¯ããŒã«:
/bar scroll nicklist * y+10
çŸåšã®ãããã¡ã«å¯Ÿå¿ããããã¯ããŒã ãªã¹ããæåŸãŸã§ã¹ã¯ããŒã«:
/bar scroll nicklist * ye
----
[[command_weechat_buffer]]
* `+buffer+`: ãããã¡ã®ç®¡ç
----
/buffer list
add [-free] [-switch] <name>
clear [<number>|<name>|-merged|-all [<number>|<name>...]]
move <number>|-|+
swap <number1>|<name1> [<number2>|<name2>]
cycle <number>|<name> [<number>|<name>...]
merge <number>|<name>
unmerge [<number>|-all]
hide [<number>|<name>|-all [<number>|<name>...]]
unhide [<number>|<name>|-all [<number>|<name>...]]
renumber [<number1> [<number2> [<start>]]]
close [<n1>[-<n2>]|<name>...]
notify <level>
localvar [<number>|<name>]
set <property> [<value>]
get <property>
<number>|-|+|<name>
list: ãããã¡ããªã¹ãã¢ãã (åŒæ°ç¡ãã®å Žåããã®ãªã¹ãã衚瀺ãããŸã)
add: æ°ãããããã¡ãè¿œå (ãããã¡ãéããã«ã¯ "/buffer close" ãŸã㯠"q" ã䜿ã£ãŠãã ãã)
clear: ãããã¡ã®å
容ãåé€ (number ã¯ãããã¡çªå·ãããŒãžãããã¡ã«å¯ŸããŠã¯ -mergedãå
šãŠã®ãããã¡ã«å¯ŸããŠã¯ -allãäœãç¡ããã°çŸåšã®ãããã¡)
move: ãªã¹ãã«ãããã¡ã移å (çžå¯Ÿæå®ãå¯èœãäŸãã° -1); "-" = æåã®ãããã¡çªå·ã«ç§»åã"+" = æåŸã®ãããã¡çªå· + 1 ã«ç§»å
swap: 2 ã€ã®ãããã¡ãå
¥ãæ¿ã (çŸåšã®ãããã¡ãšåŒæ°ã§äžããçªå·/å称ã§æå®ããããããã¡ãå
¥ãæ¿ãã)
cycle: æå®ãããããã¡éã§ãããã¡ã埪ç°ããã
merge: çŸåšã®ãããã¡ãä»ã®ãããã¡ã«ããŒãž (2 ã€ã®ãããã¡ã®ãã£ãããšãªã¢ãäžç·ã«ãªããŸã)
(ããã©ã«ãã§ã¯ ctrl-x ã§ããŒãžãããã¡ã®åãæ¿ã)
unmerge: åãçªå·ãæã€ä»ã®ãããã¡ãšã®ããŒãžã解é€
hide: ãããã¡ãé ã
unhide: ãããã¡ãé ãããšãæ¢ãã
renumber: ãããã¡ãèšæ¶ (weechat.look.buffer_auto_renumber ãªãã·ã§ã³ããªãã®å Žåã«ã®ã¿æå¹)
close: ãããã¡ãéãã (çªå·/ç¯å²ãŸãã¯ååã¯ä»»æ)
notify: çŸåšã®ãããã¡ã®éç¥ã¬ãã«ãèšå®: ãã®ã¬ãã«ã§ãããã¡ãããããªã¹ãã«è¿œå ããããã©ãããå®çŸ©ããŸã:
none: éç¥ããªã
highlight: ãã€ã©ã€ãããã£ãå Žåã®ã¿éç¥
message: ãŠãŒã¶ããã®ã¡ãã»ãŒãžãšãã€ã©ã€ãããã£ãå Žåã«éç¥
all: å
šãŠã®ã¡ãã»ãŒãžãéç¥
reset: ããã©ã«ãã®å€ (all) ã«ãªã»ãã
localvar: çŸåšã®ãããã¡ã®ããŒã«ã«å€æ°ã衚瀺
set: çŸåšã®ãããã¡ã®ããããã£ãèšå®
get: çŸåšã®ãããã¡ã®ããããã£ã衚瀺
number: çªå·ã§ãããã¡ç§»åãå¯èœãªãã¬ãã£ãã¯ã¹:
'+': çžå¯Ÿç§»åãçŸåšã®çªå·ã«æ°ã足ã
'-': çžå¯Ÿç§»åãçŸåšã®çªå·ããæ°ãåŒã
'*': çªå·ã«ç§»åããªãã·ã§ã³ "weechat.look.jump_current_to_previous_buffer" ã䜿ããã
-: æåã®ãããã¡çªå·ã«ç§»å
+: æåŸã®ãããã¡çªå·ã«ç§»å
name: ãããã¡å (äžéš) ã§ãããã¡ã«ç§»å
äŸ:
çŸåšã®ãããã¡ã®å
容ãæ¶å»:
/buffer clear
ãããã¡ã 5 çªã«ç§»å:
/buffer move 5
ãããã¡ 1 çªãš 3 çªãå
¥ãæ¿ã:
/buffer swap 1 3
çŸåšã®ãããã¡ãš #weechat ãããã¡ãå
¥ãæ¿ã:
/buffer swap #weechat
#chan1ã#chan2ã#chan3 ã«ç§»åããŠãããç¹°ãè¿ã:
/buffer cycle #chan1 #chan2 #chan3
ã³ã¢ãããã¡ãšããŒãž:
/buffer merge 1
#weechat ãããã¡ãšããŒãž:
/buffer merge #weechat
ãããã¡ããŒãžã®è§£é€:
/buffer unmerge
çŸåšã®ãããã¡ãéãã:
/buffer close
ãããã¡çªå· 5 ãã 7 ãéãã:
/buffer close 5-7
#weechat ãããã¡ã«ç§»å:
/buffer #weechat
次ã®ãããã¡ã«ç§»å:
/buffer +1
æåŸã®ãããã¡çªå·ã«ç§»å:
/buffer +
----
[[command_weechat_color]]
* `+color+`: è²ã®å¥åã®å®çŸ©ãšãè²ãã¬ããã®è¡šç€º
----
/color alias <color> <name>
unalias <color>
reset
term2rgb <color>
rgb2term <rgb> [<limit>]
-o
alias: ããè²ã«å¥åãè¿œå
unalias: å¥åã®åé€
color: è²çªå· (0 以äžãæ倧å€ã¯ç«¯æ«äŸåãå€ãã®å Žå 63 ã 255)
name: è²ã®å¥å (äŸ: "orange")
reset: å
šãŠã®è²ãã¢ããªã»ãã (èªåçãªãªã»ãããç¡å¹åãããŠããããã以äžã®è²ãã¢ãå©çšã§ããªãå Žåã«å¿
èŠããªãã·ã§ã³ "weechat.look.color_pairs_auto_reset" ãåç
§ããŠãã ãã)
term2rgb: 端æ«è² (0-255) ã RGB è²ã«å€æ
rgb2term: RGB è²ã端æ«è² (0-255) ã«å€æ
limit: 端æ«ããŒãã«å
ã§äœ¿ãè²ã®æ° (0 ããå§ãŸã); ããã©ã«ã㯠256
-o: 端æ«/è²æ
å ±ãçŸåšã®å
¥åãšããŠãããã¡ã«éã
åŒæ°ç¡ãã®å Žåãã³ãã³ãã¯æ°ãããããã¡ã«è²ã衚瀺ããŸãã
äŸ:
è²çªå· 214 ã«å¯Ÿå¿ããå¥å "orange" ãè¿œå :
/color alias 214 orange
è²çªå· 214 ãåé€:
/color unalias 214
----
[[command_weechat_command]]
* `+command+`: WeeChat ããã©ã°ã€ã³ã®ã³ãã³ããèµ·å
----
/command [-buffer <name>] <plugin> <command>
-buffer: ãã®ãããã¡ã§ã³ãã³ããå®è¡
plugin: ãã®ãã©ã°ã€ã³ããã³ãã³ããå®è¡; 'core' 㯠WeeChat ã³ãã³ãã'*' ã¯èªåçã«ãã©ã°ã€ã³ãéžæ (ãã®ã³ãã³ããå®è¡ãããããã¡ã«äŸå)
command: å®è¡ããã³ãã³ã (ã³ãã³ãã®æåã« '/' ãç¡ãå Žåã¯ãããèªåçã«è¿œå ããŸã)
----
[[command_weechat_cursor]]
* `+cursor+`: ã«ãŒãœã«ã移åããŠã¢ã¯ã·ã§ã³ãå®è¡ãããšãªã¢ãæå®
----
/cursor go chat|<bar>|<x>,<y>
move up|down|left|right|area_up|area_down|area_left|area_right
stop
go: move cursor to chat area, a bar (using bar name) or coordinates "x,y"
move: move cursor with direction
stop: stop cursor mode
Without argument, this command toggles cursor mode.
When mouse is enabled (see /help mouse), by default a middle click will start cursor mode at this point.
Default keys in cursor mode on chat messages:
m quote message
q quote prefix + message
Q quote time + prefix + message
Default keys in cursor mode on nicklist:
b ban nick (/ban)
k kick nick (/kick)
K kick and ban nick (/kickban)
q open query with nick (/query)
w query information about user (/whois)
Other default keys in cursor mode:
arrow move cursor
alt+arrow move cursor to the next area
enter exit cursor mode
Examples:
go to nicklist:
/cursor go nicklist
go to coordinates x=10, y=5:
/cursor go 10,5
----
[[command_weechat_debug]]
* `+debug+`: ãããã°é¢æ°
----
/debug list
set <plugin> <level>
dump [<plugin>]
buffer|color|infolists|memory|tags|term|windows
mouse|cursor [verbose]
hdata [free]
time <command>
list: ãããã°ã¬ãã«ã®èšå®ããããã©ã°ã€ã³ããªã¹ãã¢ãã
set: ãã©ã°ã€ã³ã®ãããã°ã¬ãã«ãèšå®
plugin: ãã©ã°ã€ã³ã®åå ("core" 㯠WeeChat ã³ã¢ãæå³ãã)
level: ãã©ã°ã€ã³ã®ãããã°ã¬ãã« (0 ã¯ãããã°ã®ç¡å¹å)
dump: WeeChat ãã°ãã¡ã€ã«ã«ã¡ã¢ãªãã³ããä¿å (WeeChat ãã¯ã©ãã·ã¥ããå Žåãšåããã³ããæžã蟌ãŸããŸã)
buffer: ãã°ãã¡ã€ã«ã« 16 é²å€ã§ãããã¡ã®å
容ããã³ã
color: çŸåšã®è²ãã¢ã«é¢ããæ
å ±ã衚瀺
cursor: ã«ãŒãœã«ã¢ãŒãã®ãããã°ãåãæ¿ã
dirs: ãã£ã¬ã¯ããªã衚瀺
hdata: hdata ã«é¢ããæ
å ±ã衚瀺 (free ãä»ããå Žå: ã¡ã¢ãªããå
šãŠã® hdata ãåé€)
hooks: ããã¯ã«é¢ããæ
å ±ã衚瀺
infolists: ã€ã³ãã©ãªã¹ãã«é¢ããæ
å ±ã衚瀺
libs: 䜿çšäžã®å€éšã©ã€ãã©ãªã«é¢ããæ
å ±ã衚瀺
memory: ã¡ã¢ãªäœ¿çšéã«é¢ããæ
å ±ã衚瀺
mouse: ããŠã¹ã®ãããã¯ãåãæ¿ã
tags: è¡ã®ã¿ã°ã衚瀺
term: 端æ«ã«é¢ããæ
å ±ã衚瀺
windows: ãŠã£ã³ããŠããªãŒã®æ
å ±ã衚瀺
time: ã³ãã³ãã®å®è¡æéãçŸåšã®ãããã¡ãžã®ããã¹ãéä¿¡ã«ããã£ãæéã枬å®
----
[[command_weechat_eval]]
* `+eval+`: åŒãè©äŸ¡
----
/eval [-n|-s] [-d] <expression>
[-n] [-d] -c <expression1> <operator> <expression2>
-n: display result without sending it to buffer (debug mode)
-s: split expression before evaluating it (many commands can be separated by semicolons)
-d: display debug output after evaluation
-c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons
operator: a logical or comparison operator:
- logical operators:
&& boolean "and"
|| boolean "or"
- comparison operators:
== equal
!= not equal
<= less or equal
< less
>= greater or equal
> greater
=~ is matching POSIX extended regex
!~ is NOT matching POSIX extended regex
=* is matching mask (wildcard "*" is allowed)
!* is NOT matching mask (wildcard "*" is allowed)
An expression is considered as "true" if it is not NULL, not empty, and different from "0".
The comparison is made using floating point numbers if the two expressions are valid numbers, with one of the following formats:
- integer (examples: 5, -7)
- floating point number (examples: 5.2, -7.5, 2.83e-2)
- hexadecimal number (examples: 0xA3, -0xA3)
To force a string comparison, you can add double quotes around each expression, for example:
50 > 100 ==> 0
"50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
1. an evaluated sub-string (format: "eval:xxx")
2. a string with escaped chars (format: "esc:xxx" or "\xxx")
3. a string with chars to hide (format: "hide:char,string")
4. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string")
5. a reversed string (format: "rev:xxx" or "revscr:xxx")
6. a repeated string (format: "repeat:count,string")
7. length of a string (format: "length:xxx" or "lengthscr:xxx")
8. a color (format: "color:xxx", see "Plugin API reference", function "color")
9. a modifier (format: "modifier:name,data,string")
10. an info (format: "info:name,arguments", arguments are optional)
11. current date/time (format: "date" or "date:format")
12. an environment variable (format: "env:XXX")
13. a ternary operator (format: "if:condition?value_if_true:value_if_false")
14. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
15. an option (format: "file.section.option")
16. a local variable in buffer
17. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
Format for hdata can be one of following:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
hdata[list].var1.var2...: start with a hdata using a list, for example:
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
hdata[pointer].var1.var2...: start with a hdata using a pointer, for example:
${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers)
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
Examples (simple strings):
/eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${sec.data.freenode_password} ==> secret
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
/eval -n ${window.buffer.full_name} ==> core.weechat
/eval -n ${window.buffer.number} ==> 1
/eval -n ${\t} ==> <tab>
/eval -n ${hide:-,${relay.network.password}} ==> --------
/eval -n ${cut:3,+,test} ==> tes+
/eval -n ${cut:+3,+,test} ==> te+
/eval -n ${date:%H:%M:%S} ==> 07:46:40
/eval -n ${if:${info:term_width}>80?big:small} ==> big
/eval -n ${rev:Hello} ==> olleH
/eval -n ${repeat:5,-} ==> -----
/eval -n ${length:test} ==> 4
/eval -n ${calc:(5+2)*3} ==> 21
Examples (conditions):
/eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1
/eval -n -c (8 > 12) && (5 > 2) ==> 0
/eval -n -c abcd =~ ^ABC ==> 1
/eval -n -c abcd =~ (?-i)^ABC ==> 0
/eval -n -c abcd =~ (?-i)^abc ==> 1
/eval -n -c abcd !~ abc ==> 0
/eval -n -c abcd =* a*d ==> 1
----
[[command_weechat_filter]]
* `+filter+`: ã¿ã°ãæ£èŠè¡šçŸã«åºã¥ããããã¡ã¡ãã»ãŒãžã®é衚瀺/衚瀺
----
/filter list
enable|disable|toggle [<name>|@]
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
rename <name> <new_name>
del <name>|-all
list: å
šãŠã®ãã£ã«ã¿ããªã¹ãã¢ãã
enable: ãã£ã«ã¿ãæå¹å (ãã£ã«ã¿ã¯ããã©ã«ãã§æå¹ã«ãªã£ãŠããŸã)
disable: ãã£ã«ã¿ãç¡å¹å
toggle: ãã£ã«ã¿ã®æå¹ç¡å¹ãåãæ¿ã
name: ãã£ã«ã¿ã®åå ("@" = çŸåšã®ãããã¡ã«èšå®ãããŠããå
šãŠã®ãã£ã«ã¿ãæå¹å/ç¡å¹å)
add: ãã£ã«ã¿ãè¿œå
addreplace: æ¢åã®ãã£ã«ã¿ã«è¿œå ãããã¯çœ®æ
rename: ãã£ã«ã¿ããªããŒã
del: ãã£ã«ã¿ãåé€
-all: å
šãŠã®ãã£ã«ã¿ãåé€
buffer: ãã£ã«ã¿ãæå¹åãããŠãããããã¡ã®ã³ã³ãåºåããªã¹ã:
- ããã¯ãã©ã°ã€ã³åãå«ãå®å
šãªååã§ã (äŸ: "irc.freenode.#weechat" ãŸã㯠"irc.server.freenode")
- "*" ã¯å
šãŠã®ãããã¡ãæå³ããŸã
- ååã '!' ããå§ãŸããã®ã¯é€å€ãããŸã
- ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã
tags: ã¿ã°ã®ã³ã³ãåºåããªã¹ããäŸãã° "irc_join,irc_part,irc_quit"
- è«çç© "and": ã¿ã°å士ã "+" ã§ã€ãªããŠãã ãã (äŸ: "nick_toto+irc_action")
- ã¯ã€ã«ãã«ãŒã "*" ã䜿ãããšãã§ããŸã
- ã¿ã°ã '!' ã§å§ãããšããã®ã¿ã°ãä»ããããã¡ãã»ãŒãžãšãã®ã¿ã°ãå«ãã¡ãã»ãŒãžã¯ãã£ã«ã¿ãããŸãã
regex: è¡åäœæ€çŽ¢ã®æ£èŠè¡šçŸ
- '\t' ã䜿ããšããã¬ãã£ãã¯ã¹ãã¡ãã»ãŒãžããåé¢ã§ããŸãã'|' çã®ç¹å¥ãªæå㯠'\|' ã®ããã«ãšã¹ã±ãŒãããªããã°ãããŸãã
- æ£èŠè¡šçŸã®æåã« '!' ãå«ãŸããå Žåã¯ããããçµæãå転ãããŸã (æåã® '!' ã«ããããããããã°ã'\!' ã䜿ã£ãŠãã ãã)
- 2 çš®é¡ã®æ£èŠè¡šçŸããããŸã: äžæ¹ã¯ãã¬ãã£ãã¯ã¹çšãä»æ¹ã¯ã¡ãã»ãŒãžçš
- æ£èŠè¡šçŸã¯å€§æåå°æåãåºå¥ããŸããã"(?-i)" ããå§ãŸãå Žåã¯åºå¥ããŸã
ããã©ã«ãã§ã¯ã㌠alt+'=' ã§ãã¹ãŠã®ãããã¡ã«ã€ããŠãã£ã«ã¿ãªã³ã°ã® on/off ãåãæ¿ããããŸããçŸåšã®ãããã¡ã«éããã£ã«ã¿ãªã³ã°ãåãæ¿ããã«ã¯ alt+'-' ã䜿ããŸãã
ãã䜿ãããã¿ã°:
no_filterãno_highlightãno_logãlog0..log9 (ãã°ã¬ãã«)ã
notify_noneãnotify_messageãnotify_privateãnotify_highlightã
self_msgãnick_xxx (xxx ã¯ã¡ãã»ãŒãžã®ããã¯ããŒã éšå)ãprefix_nick_ccc (ccc ã¯ããã¯ããŒã ã®è²)ã
host_xxx (xxx ã¯ã¡ãã»ãŒãžã®ãŠãŒã¶å + ãã¹ãåéšå)ã
irc_xxx (xxx ã¯ã³ãã³ãåãŸãã¯çªå·ã/server raw ãŸã㯠/debug tags ã§ç¢ºèª)ã
irc_numericãirc_errorãirc_actionãirc_ctcpãirc_ctcp_replyãirc_smart_filterãaway_infoã
ãããã¡å
ã§ã¿ã°ãèŠãã«ã¯: /debug tags
äŸ:
å
šãŠã®ãããã¡ã§ IRC ã¹ããŒããã£ã«ã¿ã䜿çš:
/filter add irc_smart * irc_smart_filter *
ååã« "#weechat" ãå«ããããã¡ãé€ããå
šãŠã®ãããã¡ã§ IRC ã¹ããŒããã£ã«ã¿ã䜿çš:
/filter add irc_smart *,!*#weechat* irc_smart_filter *
å
šãŠã® IRC join/part/quit ã¡ãã»ãŒãžããã£ã«ã¿:
/filter add joinquit * irc_join,irc_part,irc_quit *
ãã£ã³ãã«ã«å
¥ã£ãæã /names ã§è¡šç€ºãããããã¯ããŒã ããã£ã«ã¿:
/filter add nicks * irc_366 *
IRC ãã£ã³ãã« #weechat 㧠"toto" ãå«ãããã¯ããŒã ããã£ã«ã¿:
/filter add toto irc.freenode.#weechat nick_toto *
ããã¯ããŒã "toto" ããã® IRC ã®åå /ã¢ã¯ã·ã§ã³ã¡ãã»ãŒãžããã£ã«ã¿:
/filter add toto * nick_toto+irc_join,nick_toto+irc_action *
IRC ãã£ã³ãã« #weechat 㧠"weechat sucks" ãå«ãè¡ããã£ã«ã¿:
/filter add sucks irc.freenode.#weechat * weechat sucks
ãã¹ãŠã®ãããã¡ã§ "WeeChat sucks" ãšå®å
šã«äžèŽããè¡ããã£ã«ã¿:
/filter add sucks2 * * (?-i)^WeeChat sucks$
----
[[command_weechat_help]]
* `+help+`: ã³ãã³ããšãªãã·ã§ã³ã«é¢ãããã«ãã衚瀺
----
/help -list|-listfull [<plugin> [<plugin>...]]
<command>
<option>
-list: ãã©ã°ã€ã³æ¯ã«ã³ãã³ãããªã¹ãã¢ãã (åŒæ°ãç¡ããã°ããã®ãªã¹ãã衚瀺)
-listfull: ãã©ã°ã€ã³æ¯ã«èª¬æä»ãã§ã³ãã³ãããªã¹ãã¢ãã
plugin: ãã®ãã©ã°ã€ã³ã«é¢ããã³ãã³ãããªã¹ãã¢ãã
command: ã³ãã³ãã®åå
option: ãªãã·ã§ã³ã®åå (ãªã¹ããèŠãã«ã¯ /set ã䜿çš)
----
[[command_weechat_history]]
* `+history+`: ãããã¡ã³ãã³ãå±¥æŽã衚瀺
----
/history clear
<value>
clear: å±¥æŽã®åé€
value: 衚瀺ããå±¥æŽãšã³ããªã®æ°
----
[[command_weechat_input]]
* `+input+`: ã³ãã³ãã©ã€ã³é¢æ°
----
/input <action> [<arguments>]
ã¢ã¯ã·ã§ã³ãªã¹ã:
return: "enter" ããŒãã·ãã¥ã¬ãŒã
complete_next: 次ã®è£å®åè£ã§åèªãè£å®
complete_previous: äžã€åã®è£å®åè£ã§åèªãè£å®
search_text_here: çŸåšã®äœçœ®ã§ããã¹ããæ€çŽ¢
search_text: ãããã¡å
ã®ããã¹ããæ€çŽ¢
search_switch_case: å®å
šäžèŽæ€çŽ¢ã«å€æŽ
search_switch_regex: æ€çŽ¢ã¿ã€ãã®åãæ¿ã: æåå/æ£èŠè¡šçŸ
search_switch_where: æ€çŽ¢ç¯å²ã®åãæ¿ã: ã¡ãã»ãŒãž/ãã¬ãã£ãã¯ã¹
search_previous: äžã€åã®è¡ãæ€çŽ¢
search_next: 次ã®è¡ãæ€çŽ¢
search_stop_here: çŸåšã®äœçœ®ã§æ€çŽ¢ãçµäº
search_stop: æ€çŽ¢ãçµäº
delete_previous_char: äžã€åã®æåãåé€
delete_next_char: 次ã®æåãåé€
delete_previous_word: äžã€åã®åèªãåé€
delete_next_word: 次ã®åèªãåé€
delete_beginning_of_line: è¡ã®æåããã«ãŒãœã«äœçœ®ãŸã§ãåé€
delete_end_of_line: ã«ãŒãœã«ããè¡ã®æåŸãŸã§ãåé€
delete_line: è¡ãåé€
clipboard_paste: WeeChat å°çšã®å
éšã¯ãªããããŒãã®å
容ãããŒã¹ã
transpose_chars: 2 ã€ã®æåãå
¥ãæ¿ã
undo: ææ°ã®ã³ãã³ãã©ã€ã³ã¢ã¯ã·ã§ã³ãŸã§å
ã«æ»ã
redo: ææ°ã®ã³ãã³ãã©ã€ã³ã¢ã¯ã·ã§ã³ãŸã§ããçŽã
move_beginning_of_line: ã«ãŒãœã«ãè¡é ã«ç§»å
move_end_of_line: ã«ãŒãœã«ãè¡æ«ãŸã§ç§»å
move_previous_char: ã«ãŒãœã«ãäžã€åã®æåã«ç§»å
move_next_char: ã«ãŒãœã«ã次ã®æåã«ç§»å
move_previous_word: ã«ãŒãœã«ãäžã€åã®åèªã«ç§»å
move_next_word: ã«ãŒãœã«ã次ã®åèªã«ç§»å
history_previous: çŸåšã®ãããã¡å±¥æŽã®ã²ãšã€åã®ã³ãã³ããååŒã³åºã
history_next: çŸåšã®ãããã¡å±¥æŽã®æ¬¡ã®ã³ãã³ããååŒã³åºã
history_global_previous: ã°ããŒãã«å±¥æŽã®äžã€åã®ã³ãã³ããååŒã³åºã
history_global_next: ã°ããŒãã«å±¥æŽã®æ¬¡ã®ã³ãã³ããååŒã³åºã
jump_smart: 次ã®ã¢ã¯ãã£ããããã¡ã«é£ã¶
jump_last_buffer_displayed: 衚瀺ãããŠããæåŸã®ãããã¡ã«ç§»å (ææ°ã®ãããã¡ç§»åã®äžã€åã«è¡šç€ºãããŠãããããã¡)
jump_previously_visited_buffer: äžã€åã«èšªãããããã¡ã«ç§»å
jump_next_visited_buffer: 次ã«èšªãããããã¡ã«ç§»å
hotlist_clear: ããããªã¹ããæ¶å» (ãªãã·ã§ã³åŒæ°: "lowest" ã¯ããããªã¹ãå
ã®æãäœãã¬ãã«ã ããæ¶å»ã"highest" ã¯ããããªã¹ãå
ã®æãé«ãã¬ãã«ã ããæ¶å»ãã¬ãã«ãã¹ã¯ã¯ 1 (åå /éåº)ã2 (ã¡ãã»ãŒãž)ã4 (ãã©ã€ããŒãã¡ãã»ãŒãž)ã8 (ãã€ã©ã€ã) ãåèšããæŽæ°å€ã§æå®ããã¬ãã«ãæ¶å»)
grab_key: ããŒã暪åã (ä»»æåŒæ°: æåŸã®æšªåãããã®é
延æéãããã©ã«ã㯠500 ããªç§)
grab_key_command: ããã³ãã³ãã«é¢é£ããŠããŒã暪åã (ä»»æåŒæ°: æåŸã®æšªåãããã®é
延æéãããã©ã«ã㯠500 ããªç§)
grab_mouse: grab ããŠã¹ã€ãã³ãã³ãŒãã暪åã
grab_mouse_area: ç¯å²æå®ã®ããŠã¹ã€ãã³ãã³ãŒãã暪åã
set_unread: å
šãŠã®ãããã¡ã«å¯ŸããŠæªèªããŒã«ãŒãèšå®
set_unread_current_buffer: çŸåšã®ãããã¡ã«å¯ŸããŠæªèªããŒã«ãŒãèšå®
switch_active_buffer: 次ã®ããŒãžããããããã¡ã«ç§»å
switch_active_buffer_previous: äžã€åã®ããŒãžããããããã¡ã«ç§»å
zoom_merged_buffer: ããŒãžããããããã¡ã«ãºãŒã
insert: ã³ãã³ãã©ã€ã³ã«ããã¹ããæ¿å
¥ (ãšã¹ã±ãŒãæåãå¯ã/help print ãåç
§ããŠãã ãã)
send: ãããã¡ã«ããã¹ããéä¿¡
paste_start: ããŒã¹ãã®éå§ (æ¬åŒ§ä»ãããŒã¹ãã¢ãŒã)
paste_stop: ããŒã¹ãã®çµäº (æ¬åŒ§ä»ãããŒã¹ãã¢ãŒã)
ãããã®ã³ãã³ãã¯ããŒãã€ã³ãããã©ã°ã€ã³ã§å©çšã§ããŸãã
----
[[command_weechat_key]]
* `+key+`: ããŒã®å²ãåœãŠãšå²ãåœãŠè§£é€
----
/key list|listdefault|listdiff [<context>]
bind <key> [<command> [<args>]]
bindctxt <context> <key> [<command> [<args>]]
unbind <key>
unbindctxt <context> <key>
reset <key>
resetctxt <context> <key>
resetall -yes [<context>]
missing [<context>]
list: çŸåšã®ããŒããªã¹ãã¢ãã (åŒæ°ç¡ãã®å Žåããã®ãªã¹ãã衚瀺ãããŸã)
listdefault: ããã©ã«ãããŒããªã¹ãã¢ãã
listdiff: ããã©ã«ããšçŸåšã®ããŒã®éãããªã¹ãã¢ãã (è¿œå ãåå®çŸ©ãåé€ãããããŒ)
context: ã³ã³ããã¹ãã®åå ("default" ãŸã㯠"search")
bind: ããŒã«ã³ãã³ããå²ãåœãŠãããããŒã«å²ãåœãŠãããã³ãã³ãã衚瀺 ("default" ã³ã³ããã¹ãã«å¯Ÿãã)
bindctxt: ããŒã«ã³ãã³ããå²ãåœãŠãããããŒã«å²ãåœãŠãããã³ãã³ãã衚瀺 (æå®ãããã³ã³ããã¹ãã«å¯Ÿãã)
command: ã³ãã³ã (è€æ°ã®ã³ãã³ãã¯ã»ãã³ãã³ã§åããŠæžã)
unbind: ããŒãã€ã³ããåé€ ("default" ã³ã³ããã¹ãã«å¯Ÿãã)
unbindctxt: ããŒãã€ã³ããåé€ (æå®ãããã³ã³ããã¹ãã«å¯Ÿãã)
reset: ããŒãããã©ã«ãã®å²ãåœãŠã«ãªã»ãããã ("default" ã³ã³ããã¹ãã«å¯Ÿãã)
resetctxt: ããŒãããã©ã«ãã®å²ãåœãŠã«ãªã»ãããã (æå®ãããã³ã³ããã¹ãã«å¯Ÿãã)
resetall: ããã©ã«ãã®å²ãåœãŠã«ãªã¹ãã¢ããå
šãŠã®å人çãªèšå®ãåé€ (泚æããŠäœ¿çš!)
missing: æªå²ãåœãŠã®ããŒãè¿œå (ããã©ã«ãã®å²ãåœãŠã«ç¡ã)ãæ°ãã WeeChat ããŒãžã§ã³ãã€ã³ã¹ããŒã«ããåŸã«äŸ¿å©
ããŒã«ã³ãã³ããå²ãåœãŠãå Žåãalt+k (ãŸã㯠Esc ã®åŸã« k) ããåŸã«ãå²ãåœãŠããããŒãæŒãããšããå§ãããŸã: ããã¯ã³ãã³ãã©ã€ã³ã«ããŒã³ãŒããå
¥åããããšã«ãªããŸãã
"mouse" ã³ã³ãã³ã ("cursor" ã³ã³ããã¹ãã®äžéš) ã«å¯ŸããŠã¯ãããŒã¯ä»¥äžã®æžåŒ: "@area:key" ãŸã㯠"@area1>area2:key"ãããã§ãarea ã¯ä»¥äžã®å€ãåããŸã:
*: ç»é¢äžã®ä»»æã®ãšãªã¢
chat: ãã£ãããšãªã¢ (ä»»æã®ãããã¡)
chat(xxx): åå "xxx" ãæã€ãã£ãããšãªã¢ (ãã©ã°ã€ã³å«ãå®å
šãªåå)
bar(*): ä»»æã®ããŒ
bar(xxx): ã㌠"xxx"
item(*): ä»»æã®ããŒèŠçŽ
item(xxx): ããŒèŠçŽ "xxx"
å€ãã®ããŠã¹ã€ãã³ãã«ããããããã«ã¯ã¯ã€ã«ãã«ãŒã "*" ãããŒã«äœ¿ã£ãŠãã ããã
"hsignal:name" ãšããæžåŒã®ã³ãã³ãã«å¯Ÿããç¹å¥ãªå€ã¯ããŠã¹ã³ã³ããã¹ãã«äœ¿ããŸããããã¯ãã©ãŒã«ã¹ããã·ã¥ããŒãã«ãåŒæ°ã«ã㊠hsignal "name" ãéããŸãã
ãã®ä»ã®ç¹å¥ãªå€ "-" ã¯ããŒãç¡å¹åããããã«å©çšãããŸãã(ããã¯ããŒã®æ¢çŽ¢æã«ã¯ç¡èŠãããŸã)
äŸ:
alt-t ããŒãããã¯ããŒã ãªã¹ãããŒã«å²ãåœãŠã:
/key bind meta-t /bar toggle nicklist
alt-r ããŒã #weechat IRC ãã£ã³ãã«ãžã®ç§»åã«å²ãåœãŠã:
/key bind meta-r /buffer #weechat
alt-r ããŒã®å²ãåœãŠãããã©ã«ãã«æ»ã:
/key reset meta-r
"tab" ããŒããããã¡æ€çŽ¢ã®çµäºã«å²ãåœãŠã:
/key bindctxt search ctrl-I /input search_stop
ããã¯äžã§ã®ããŠã¹ã®ã»ã³ã¿ãŒãã¿ã³ãããã¯ããŒã ã®æ
å ±ååŸã«å²ãåœãŠã:
/key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info ${nick}
----
[[command_weechat_layout]]
* `+layout+`: ãããã¡/ãŠã£ã³ããŠã¬ã€ã¢ãŠãã®ç®¡ç
----
/layout store [<name>] [buffers|windows]
apply [<name>] [buffers|windows]
leave
del [<name>] [buffers|windows]
rename <name> <new_name>
store: ã¬ã€ã¢ãŠãã«çŸåšã®ãããã¡/ãŠã£ã³ããŠãä¿å
apply: ä¿åãããã¬ã€ã¢ãŠããé©çš
leave: çŸåšã®ã¬ã€ã¢ãŠããä¿æãã (ã¬ã€ã¢ãŠããæŽæ°ããªã)
del: ã¬ã€ã¢ãŠããšããŠä¿åãããŠãããããã¡ãšãŠã£ã³ããŠãåé€
(ååã®åŸã« "ãããã¡" ã "ãŠã£ã³ããŠ" ãæå®ããªãå Žåãã¬ã€ã¢ãŠããåé€)
rename: ã¬ã€ã¢ãŠãã®ãªããŒã
name: ä¿åãããã¬ã€ã¢ãŠãã®åå (åæç¶æ
㯠"default")
buffers: ãããã¡ã®ã¿ã«å¯ŸããŠã¬ã€ã¢ãŠããä¿å/é©çš (ãããã¡ã®é çª)
windows: ãŠã£ã³ããŠã®ã¿ã«å¯ŸããŠã¬ã€ã¢ãŠããä¿å/é©çš (ããããã®ãŠã£ã³ããŠã«è¡šç€ºããããããã¡)
åŒæ°ãæå®ããªãã£ãå Žåãä¿åãããã¬ã€ã¢ãŠãã衚瀺ããŸãã
"weechat.look.save_layout_on_exit" ãªãã·ã§ã³ã䜿ãã°ãçŸåšã®ã¬ã€ã¢ãŠãã /quit ã³ãã³ãã®å®è¡æã«ä¿åããããšãå¯èœã§ãã
----
[[command_weechat_mouse]]
* `+mouse+`: ããŠã¹æäœ
----
/mouse enable|disable|toggle [<delay>]
enable: ããŠã¹ã®æå¹å
disable: ããŠã¹ã®ç¡å¹å
toggle: ããŠã¹ã®æå¹ç¡å¹ã®åãæ¿ã
delay: åæããŠã¹ç¶æ
ããªã¹ãã¢ãããŠããã®é
延æé (ç§åäœ) (äžæçã«ããŠã¹ãç¡å¹åãããšãã«äŸ¿å©)
ããŠã¹ç¶æ
ã¯ãªãã·ã§ã³ "weechat.look.mouse" ã«ä¿åãããŸãã
äŸ:
ããŠã¹ã®æå¹å:
/mouse enable
5 ç§éããŠã¹ã®æå¹ç¡å¹ãåãæ¿ã:
/mouse toggle 5
----
[[command_weechat_mute]]
* `+mute+`: éãã«ã³ãã³ããå®è¡
----
/mute [-core | -current | -buffer <name>] <command>
-core: WeeChat ã³ã¢ãããã¡ãžã®åºåãæå¶
-current: çŸåšã®ãããã¡ãžã®åºåãæå¶
-buffer: æå®ãããããã¡ãžã®åºåãæå¶
name: å®å
šãªãããã¡ã®åå (äŸ: "irc.server.freenode"ã"irc.freenode.#weechat")
command: éãã«å®è¡ããã³ãã³ã (æåã« '/' ãç¡ãå Žåã¯èªåçã«è¿œå ãããŸã)
ã¿ãŒã²ãã (-coreã-currentã-buffer) ãæå®ãããªãã£ãå Žåãããã©ã«ãã§ã¯å
šãŠã®åºåãæå¶ããŸãã
äŸ:
save ãè¡ã:
/mute save
çŸåšã® IRC ãã£ã³ãã«ãžã®ã¡ãã»ãŒãž:
/mute -current msg * hi!
#weechat ãã£ã³ãã«ãžã®ã¡ãã»ãŒãž:
/mute -buffer irc.freenode.#weechat msg #weechat hi!
----
[[command_weechat_plugin]]
* `+plugin+`: ãã©ã°ã€ã³ã®è¡šç€º/ããŒã/ã¢ã³ããŒã
----
/plugin list|listfull [<name>]
load <filename> [<arguments>]
autoload [<arguments>]
reload [<name>|* [<arguments>]]
unload [<name>]
list: ããŒãããããã©ã°ã€ã³ããªã¹ãã¢ãã
listfull: ããŒãããããã©ã°ã€ã³ããªã¹ãã¢ãã (詳现)
load: ãã©ã°ã€ã³ãããŒã
autoload: ã·ã¹ãã ããŠãŒã¶ãã£ã¬ã¯ããªæå®ã®èªåããŒããã©ã°ã€ã³ãããŒã
reload: ãã©ã°ã€ã³ãåããŒã (ååãæå®ãããªãå Žåã¯ãå
šãŠã®ãã©ã°ã€ã³ãã¢ã³ããŒããããã©ã°ã€ã³ãèªåããŒã)
unload: ãã©ã°ã€ã³ã®ã¢ã³ããŒã (ååãæå®ãããªãå Žåã¯ãå
šãŠã®ãã©ã°ã€ã³ãã¢ã³ããŒã)
filename: ããŒããããã©ã°ã€ã³ (ãã¡ã€ã«)
name: ãã©ã°ã€ã³å
arguments: ããŒããããã©ã°ã€ã³ã«äžããåŒæ°
åŒæ°ç¡ãã§ã¯ãããŒãããããã©ã°ã€ã³ããªã¹ãã¢ããã
----
[[command_weechat_print]]
* `+print+`: ãããã¡å
ã«ããã¹ãã衚瀺
----
/print [-buffer <number>|<name>] [-newbuffer <name>] [-free] [-switch] [-core|-current] [-y <line>] [-escape] [-date <date>] [-tags <tags>] [-action|-error|-join|-network|-quit] [<text>]
-stdout|-stderr [<text>]
-beep
-buffer: æå®ãããããã¡ã«ããã¹ãã衚瀺 (ããã©ã«ã: ã³ãã³ããå®è¡ãããããã¡)
-newbuffer: æ°ãããããã¡ã®äœæããã®ãããã¡å
ã«ããã¹ãã®è¡šç€º
-free: èªç±å
容ãããã¡ã®äœæ (-newbuffer ãšå
±ã«äœ¿çš)
-switch: æå®ãããããã¡ã«åãæ¿ã
-core: "-buffer core.weechat" ã®ãšã€ãªã¢ã¹
-current: çŸåšã®ãããã¡ã«ããã¹ãã衚瀺
-y: æå®ããè¡çªå·ã«è¡šç€º (èªç±å
容ãããã¡å°çš)
line: èªç±å
容ãããã¡ã®è¡çªå· (1 è¡ç®ã¯ 0ãè² æ°ã¯æåŸã®è¡ããæ°ããè¡: -1 = æçµè¡ããæ°ã㊠1 è¡ç®ã-2 = æçµè¡ããæ°ã㊠2 è¡ç®ããªã©)
-escape: ãšã¹ã±ãŒãæåã解é (äŸãã° \aã\07ã\x07)
-date: ã¡ãã»ãŒãžã®æ¥ä»ãæžåŒ:
-n: ä»ãã 'n' ç§å
+n: ä»ãã 'n' ç§åŸ
n: ãšããã¯ãã 'n' ç§ç® (man time ãåç
§ããŠãã ãã)
æ¥ä»/æé (ISO 8601): yyyy-mm-ddThh:mm:ssãäŸ: 2014-01-19T04:32:55
æé: hh:mm:ss (example: 04:32:55)
-tags: ã¿ã°ã®ã³ã³ãåºåããªã¹ã (ãã䜿ãã¿ã°ã®ãªã¹ã㯠/help filter ãåç
§ããŠãã ãã)
text: 衚瀺ããããã¹ã (ãã¬ãã£ãã¯ã¹ãšã¡ãã»ãŒãžã¯å¿
ã \t ã§åºåã£ãŠãã ããã"-" ã§å§ãŸãããã¹ã㯠"\" ãå眮ããŠãã ãã)
-stdout: æšæºåºåã«ããã¹ãã衚瀺 (ãšã¹ã±ãŒãæåã解é)
-stderr: æšæºãšã©ãŒåºåã«ããã¹ãã衚瀺 (ãšã¹ã±ãŒãæåã解é)
-beep: "-stderr \a" ã®å¥å
ãªãã·ã§ã³ -action ... -quit ãã€ããå Žåããã¬ãã£ãã¯ã¹ã¯ "weechat.look.prefix_*" ã§å®çŸ©ãããŠãããã®ã«ãªããŸãã
以äžã®ãšã¹ã±ãŒãæåã䜿ãããšãã§ããŸã:
\" \\ \a \b \e \f \n \r \t \v \0ooo \xhh \uhhhh \Uhhhhhhhh
äŸ:
ã³ã¢ãããã¡ã«ãã€ã©ã€ããä»ããŠãªãã€ã³ãã衚瀺:
/print -core -tags notify_highlight Reminder: buy milk
ã³ã¢ãããã¡ã«ãšã©ãŒã衚瀺:
/print -core -error Some error here
ã³ã¢ãããã¡ã«ãã¬ãã£ãã¯ã¹ "abc" ãä»ããŠã¡ãã»ãŒãžã衚瀺:
/print -core abc\tThe message
ãã£ã³ãã« #weechat ã«ã¡ãã»ãŒãžã衚瀺:
/print -buffer irc.freenode.#weechat Message on #weechat
éªã ããŸã衚瀺 (U+2603):
/print -escape \u2603
èŠåãéä¿¡ (BEL):
/print -beep
----
[[command_weechat_proxy]]
* `+proxy+`: ãããã·ã®ç®¡ç
----
/proxy list
add <name> <type> <address> <port> [<username> [<password>]]
del <name>|-all
set <name> <option> <value>
list: å
šãŠã®ãããã·ããªã¹ãã¢ãã
add: æ°ãããããã·ãè¿œå
name: ãããã·ã®åå (äžæçãª)
type: httpãsocks4ãsocks5
address: IP ã¢ãã¬ã¹ãŸãã¯ãã¹ãå
port: ããŒã
username: ãŠãŒã¶å (ä»»æ)
password: ãã¹ã¯ãŒã (ä»»æ)
del: ãããã·ã®åé€ (-all ãä»ããã°å
šãŠã®ãããã·ãåé€)
set: ãããã·ã®ããããã£ãèšå®
option: å€æŽãããªãã·ã§ã³ (ãªãã·ã§ã³ãªã¹ããèŠãã«ã¯ã/set weechat.proxy.<proxyname>.*)
value: ãªãã·ã§ã³ã«èšå®ããæ°ããå€
äŸ:
ããŒã«ã«ãã¹ãã® 8888 çªããŒãã§åããŠãã http ãããã·ãè¿œå :
/proxy add local http 127.0.0.1 8888
IPv6 ãããã³ã«ã䜿ã http ãããã·ãè¿œå :
/proxy add local http ::1 8888
/proxy set local ipv6 on
ãŠãŒã¶åãšãã¹ã¯ãŒããå¿
èŠãª socks5 ãããã·ãè¿œå :
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
ãããã·ãåé€:
/proxy del myproxy
----
[[command_weechat_quit]]
* `+quit+`: WeeChat ã®çµäº
----
/quit [-yes] [<arguments>]
-yes: weechat.look.confirm_quit ãªãã·ã§ã³ãæå¹ãªå Žåã«å¿
èŠ
arguments: "quit" ã·ã°ãã«ãšå
±ã«éãããããã¹ã
(äŸãã° irc ãã©ã°ã€ã³ã¯ãµãŒãã« quit ã¡ãã»ãŒãžãéãéã«ãã®ããã¹ãã䜿ããŸã)
ããã©ã«ãèšå®ã§ã¯ãçµäºæã«èšå®ãã¡ã€ã«ãä¿åããŸã (ãªãã·ã§ã³ "weechat.look.save_config_on_exit" åç
§)ããŸããçµäºæã«çŸåšã®ã¬ã€ã¢ãŠããä¿åããããšãå¯èœã§ã (ãªãã·ã§ã³ "weechat.look.save_layout_on_exit" åç
§)ã
----
[[command_weechat_reload]]
* `+reload+`: ãã£ã¹ã¯ããèšå®ãã¡ã€ã«ããªããŒã
----
/reload [<file> [<file>...]]
file: ãªããŒãããèšå®ãã¡ã€ã« (æ¡åŒµå ".conf" ã¯äžèŠ)
åŒæ°ç¡ãã§ã¯ãå
šãŠã®ãã¡ã€ã« (WeeChat ãšãã©ã°ã€ã³) ããªããŒããããŸãã
----
[[command_weechat_repeat]]
* `+repeat+`: è€æ°åã³ãã³ããå®è¡
----
/repeat [-interval <delay>[<unit>]] <count> <command>
delay: ã³ãã³ãã®å®è¡éé
unit: ä»»æã以äžã®å€ã䜿ã£ãŠãã ãã:
ms: ããªç§
s: ç§ (ããã©ã«ã)
m: å
h: æé
count: ã³ãã³ãã®å®è¡åæ°
command: å®è¡ããã³ãã³ã (æåã« '/' ãç¡ãå Žåã¯ãããã¡ã«éä¿¡ããããã¹ããšè§£éãããŸã)
泚æ: ã³ãã³ã㯠/repeat ãå®è¡ãããããã¡ã§å®è¡ãããŸã (ãããã¡ãååšããªãå Žåãã³ãã³ãã¯å®è¡ãããŸãã)ã
äŸ:
2 ããŒãžåäžæ¹åã«ã¹ã¯ããŒã«:
/repeat 2 /window page_up
----
[[command_weechat_save]]
* `+save+`: èšå®ããã¡ã€ã«ã«ä¿å
----
/save [<file> [<file>...]]
file: ä¿åããèšå®ãã¡ã€ã« (æ¡åŒµå ".conf" ã¯äžèŠ)
åŒæ°ç¡ãã§ã¯ãå
šãŠã®ãã¡ã€ã« (WeeChat ãšãã©ã°ã€ã³) ãä¿åãããŸãã
ããã©ã«ãèšå®ã§ã¯ã/quit ã³ãã³ãã®å®è¡æã«ãã¹ãŠã®èšå®ãã¡ã€ã«ããã£ã¹ã¯ã«ä¿åãããŸã (ãªãã·ã§ã³ "weechat.look.save_config_on_exit" åç
§)ã
----
[[command_weechat_secure]]
* `+secure+`: ä¿è·ããŒã¿ã管çããŸã (ãã¹ã¯ãŒãããã©ã€ããŒãããŒã¿ã¯æå·åãã㊠sec.conf ãã¡ã€ã«ã«ä¿å)
----
/secure passphrase <passphrase>|-delete
decrypt <passphrase>|-discard
set <name> <value>
del <name>
passphrase: ãã¹ãã¬ãŒãºãå€æŽ (ãã¹ãã¬ãŒãºããªãå Žåãsec.conf ãã¡ã€ã«ã«å¹³æã§ããŒã¿ãä¿åããŸã)
-delete: ãã¹ãã¬ãŒãºãåé€
decrypt: æå·åãããŠããããŒã¿ã埩å·å (èµ·åæã«ãã¹ãã¬ãŒãºãèšå®ãããŠããªãå Žåã«èµ·ããŸã)
-discard: å
šãŠã®æå·åããŒã¿ãç Žæ£
set: ä¿è·ããŒã¿ãè¿œå ãŸãã¯å€æŽ
del: ä¿è·ããŒã¿ãåé€
åŒæ°ããªãå Žåãæ°ãããããã¡ã«ä¿è·ããŒã¿ã衚瀺ããŸãã
ä¿è·ãããã¡å
ã§å©çšå¯èœãªããŒ:
alt+v å€ãåãæ¿ããŸã
ãã¹ãã¬ãŒãºãå©çšããå Žå (ããŒã¿ãæå·åãããŠããå Žå)ãWeeChat ã¯èµ·åæã«ãã¹ãã¬ãŒãºãå°ããŸãã
å
¥åãåé¿ããã«ã¯ãç°å¢å€æ° "WEECHAT_PASSPHRASE" ãå©çšããã (WeeChat 㯠/upgrade ã®æã«åãå€æ°ãå©çšããŸã)ãsec.crypt.passphrase_file ãªãã·ã§ã³ãèšå®ããŠãã¡ã€ã«ãããã¹ãã¬ãŒãºãèªã¿èŸŒã¿ãŸã (/help sec.crypt.passphrase_file ãåç
§ããŠãã ãã)ã
${sec.data.xxx} ã®åœ¢ã§æžãããä¿è·ããŒã¿ã¯ä»¥äžã®æ§ã«å©çšã§ããŸã:
- /eval ã³ãã³ã
- ã³ãã³ãã©ã€ã³åŒæ° "--run-command"
- weechat.startup.command_{before|after}_plugins ãªãã·ã§ã³
- ãã¹ã¯ãŒããæ©å¯ããŒã¿ãå«ããšæããããã®ä»ã®ãªãã·ã§ã³ (äŸãã°ããããã·ãirc ãµãŒãããªã¬ãŒ); ä¿è·ããŒã¿ãè©äŸ¡ããããã確èªããã«ã¯åãªãã·ã§ã³ã® /help ãåç
§ããŠãã ããã
äŸ:
ãã¹ãã¬ãŒãºãèšå®:
/secure passphrase this is my passphrase
freenode ã® SASL ãã¹ã¯ãŒããæå·å:
/secure set freenode mypassword
/set irc.server.freenode.sasl_password "${sec.data.freenode}"
oftc ã® nickserv çšãã¹ã¯ãŒããæå·å:
/secure set oftc mypassword
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
ããã¯ããŒã "mynick" ãåãæ»ãããã®ãšã€ãªã¢ã¹ ghost ãèšå®
/alias add ghost /eval /msg -server freenode nickserv ghost mynick ${sec.data.freenode}
----
[[command_weechat_set]]
* `+set+`: èšå®ãªãã·ã§ã³ãšç°å¢å€æ°ãèšå®
----
/set [<option> [<value>]]
diff [<option> [<option>...]]
env [<variable> [<value>]]
option: ãªãã·ã§ã³ã®åå (value ãæå®ããã«ã¯ã€ã«ãã«ãŒã "*" ã䜿ãã°ãªãã·ã§ã³ããªã¹ãã¢ããã§ããŸã)
value: ãªãã·ã§ã³ã«å¯Ÿããæ°ããå€ã以äžã®åã«åŸã:
boolean: onãoffãtoggle
integer: çªå·ã++çªå·ã--çªå·
string: ä»»æã®æåå (空æåå㯠"")
color: è²ã®ååã++è²çªå·ã--è²çªå·
泚æ: ã©ããªåã§ãã£ãŠãããªãã·ã§ã³ã®å€ãåé€ãã (æªå®çŸ©å€ã«ãã) ã«ã¯ null ã䜿ããŸããããã¯ããã€ãã®ç¹å¥ãªãã©ã°ã€ã³å€æ°ã§ã®ã¿æå¹ã§ãã
diff: å€æŽããããªãã·ã§ã³ã®ã¿ã衚瀺
env: ç°å¢å€æ°ã衚瀺ãŸãã¯èšå® (å€æ°ã®å€ãåé€ããã«ã¯å€ã« "" ãå
¥ããŠãã ãã)
äŸ:
ãã€ã©ã€ãã«é¢ãããªãã·ã§ã³ã衚瀺:
/set *highlight*
highlight ã«åèªãè¿œå :
/set weechat.look.highlight "word"
å€æŽããããªãã·ã§ã³ã衚瀺:
/set diff
irc ãã©ã°ã€ã³ã®ãªãã·ã§ã³ã®å
ãå€æŽããããªãã·ã§ã³ã衚瀺:
/set diff irc.*
ç°å¢å€æ° LANG ã®å€ã衚瀺:
/set env LANG
ç°å¢å€æ° LANG ãèšå®ããããã䜿ã:
/set env LANG fr_FR.UTF-8
/upgrade
ç°å¢å€æ° ABC ã®å€ãåé€ãã:
/set env ABC ""
----
[[command_weechat_unset]]
* `+unset+`: ãªãã·ã§ã³ã®ã¢ã³ã»ãã/ãªã»ãã
----
/unset <option>
-mask <option>
option: ãªãã·ã§ã³ã®åå
-mask: ãªãã·ã§ã³å
ã§ãã¹ã¯ã䜿ã (倧éã®ãªãã·ã§ã³ããªã»ããããã«ã¯ã¯ã€ã«ãã«ãŒã "*" ã䜿ã£ãŠãã ããã䜿çšã«æ³šæ!)
ãªãã·ã§ã³ã®çš®é¡ã«ãã£ãŠ (äžè¬çãªãªãã·ã§ã³ã) ãªã»ãããŸã㯠(ãµãŒããªã©ã®ä»»æãªèšå®ã) åé€ãè¡ãããŸãã
äŸ:
ãªãã·ã§ã³ã®ãªã»ãã:
/unset weechat.look.item_time_format
å
šãŠã®è²é¢é£ãªãã·ã§ã³ããªã»ãã:
/unset -mask weechat.color.*
----
[[command_weechat_upgrade]]
* `+upgrade+`: ãµãŒããšã®æ¥ç¶ãç¶æã㊠WeeChat å®è¡ãã€ããªãåèªèŸŒ
----
/upgrade [-yes] [<path_to_binary>|-quit]
-yes: "weechat.look.confirm_upgrade" ãªãã·ã§ã³ãæå¹åãããŠããå Žåããã®ãªãã·ã§ã³ã¯å¿
é ã§ãã
path_to_binary: WeeChat ãã€ããªãžã®ãã¹ (ããã©ã«ãã¯çŸåšã®ãã€ããª)
-dummy: äœãããªã (è£å®ããã "-quit" ãªãã·ã§ã³ãäžçšæã«äœ¿ããªãããã®ãªãã·ã§ã³)
-quit: *ãã¹ãŠã®* æ¥ç¶ãéããã»ãã·ã§ã³ãä¿åã㊠WeeChat ãçµäºãé
延埩垰 (詳ããã¯åŸè¿°) ãå¯èœã«ãªããŸãã
ãã®ã³ãã³ãã¯èµ·åäžã® WeeChat ã»ãã·ã§ã³ã®ã¢ããã°ã¬ãŒããšãªããŒããè¡ããŸãããã®ã³ãã³ããå®è¡ããåã«ãæ°ãã WeeChat ãã€ããªãã³ã³ãã€ã«ããããããã±ãŒãžãããŒãžã£ã§ã€ã³ã¹ããŒã«ããªããã°ãããŸããã
泚æ: SSL æ¥ç¶ã¯ã¢ããã°ã¬ãŒãäžã«ç Žæ£ãããŸããããã¯ä»ã®ãšãã GnuTLS ã§ã¯ SSL ã»ãã·ã§ã³ã®ãªããŒããã§ããªãããã§ããã¢ããã°ã¬ãŒãã®åŸã«èªåçã«åæ¥ç¶ãããŸãã
ã¢ããã°ã¬ãŒã㯠4 ã€ã®æé ãèžã¿ãŸã:
1. ã³ã¢ãšãã©ã°ã€ã³ (ãããã¡ãå±¥æŽã...) ã®ã»ãã·ã§ã³ããã¡ã€ã«ã«ä¿å
2. å
šãŠã®ãã©ã°ã€ã³ãã¢ã³ããŒã (èšå®ãã¡ã€ã« (*.conf) ã¯ãã£ã¹ã¯ã«æžã蟌ãŸããŸã)
3. WeeChat èšå®ãä¿å (weechat.conf)
4. æ°ãã WeeChat ãã€ããªãå®è¡ããŠã»ãã·ã§ã³ããªããŒãã
ãªãã·ã§ã³ "-quit" ã䜿ããšãäžã®æåãå°ãå€ãããŸã:
1. *ãã¹ãŠã®* æ¥ç¶ãéãã (ircãxferãrelayã...)
2. ãã¹ãŠã®ã»ãã·ã§ã³ããã¡ã€ã«ã«ä¿å (*.upgrade)
3. ãã¹ãŠã®ãã©ã°ã€ã³ãã¢ã³ããŒã
4. WeeChat èšå®ãä¿å
5. WeeChat ãçµäº
ãã®åŸãã»ãã·ã§ã³ãå埩ãããã«ã¯ weechat --upgrade ã䜿ã£ãŠãã ããã
éèŠ: å®å
šã«åäžã®èšå®ã§ (*.conf ãã¡ã€ã«ã§) ã»ãã·ã§ã³ãå埩ãããŠãã ããã
"~/.weechat" ãã£ã¬ã¯ããªã®å
容ãã³ããŒããã°ç°ãªããã·ã³ã§ WeeChat ã®ã»ãã·ã§ã³ãå埩ããããšãå¯èœã§ãã
----
[[command_weechat_uptime]]
* `+uptime+`: WeeChat é£ç¶çšŒåæéã®è¡šç€º
----
/uptime [-o|-ol]
-o: é£ç¶çšŒåæéãçŸåšã®ãããã¡ã®å
¥åã«éã (è±èªã§)
-ol: é£ç¶çšŒåæéãçŸåšã®ãããã¡ã®å
¥åã«éã (翻蚳æžã¿)
----
[[command_weechat_version]]
* `+version+`: WeeChat ã®ããŒãžã§ã³ãšã³ã³ãã€ã«æ¥æã衚瀺
----
/version [-o|-ol]
-o: ããŒãžã§ã³ãçŸåšã®ãããã¡ã®å
¥åã«éã (è±èªã§)
-ol: ããŒãžã§ã³ãçŸåšã®ãããã¡ã®å
¥åã«éã (翻蚳æžã¿)
ä»»æã®ãããã¡ã§ãã®ã³ãã³ããå®è¡ããã«ã¯ããã©ã«ããšã€ãªã¢ã¹ /v ã䜿ã£ãŠãã ãã (irc ãããã¡ã§ãã®ã³ãã³ããå®è¡ããå Žåãirc ã³ãã³ã /version ã®æå³ã«ãªããŸã)ã
----
[[command_weechat_wait]]
* `+wait+`: ã³ãã³ãã®å®è¡ãäºçŽ
----
/wait <number>[<unit>] <command>
number: é
延æé (æŽæ°)
unit: ä»»æãå€ã¯:
ms: ããªç§
s: ç§ (ããã©ã«ã)
m: å
h: æ
command: å®è¡ããã³ãã³ã (ã³ãã³ãã '/' ã§å§ãŸããªãå Žåã¯ãããã¡ã«éä¿¡ããããã¹ã)
泚æ: ã³ãã³ã㯠/wait ãå®è¡ããããããã¡ã§å®è¡ãããŸã (ãããã¡ãèŠã€ãããªãå Žå (äŸãã°ã³ãã³ãå®è¡åã«ãããã¡ãéããããå Žå) ã¯ãã³ãã³ã㯠WeeChat ã³ã¢ãããã¡ã§å®è¡ãããŸã)ã
äŸ:
10 ç§åŸã«ãã£ã³ãã«ã«å
¥ã:
/wait 10 /join #test
15 ååŸã«é¢åžç¶æ
ã«å€æŽ:
/wait 15m /away -all I'm away
2 ååŸã« 'hello' ãšçºèš:
/wait 2m hello
----
[[command_weechat_window]]
* `+window+`: ãŠã£ã³ããŠã®æäœ
----
/window list
-1|+1|b#|up|down|left|right [-window <number>]
<number>
splith|splitv [-window <number>] [<pct>]
resize [-window <number>] [h|v][+|-]<pct>
balance
merge [-window <number>] [all]
close [-window <number>]
page_up|page_down [-window <number>]
refresh
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
scroll_horiz [-window <number>] [+|-]<value>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
swap [-window <number>] [up|down|left|right]
zoom [-window <number>]
bare [<delay>]
list: list opened windows (without argument, this list is displayed)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #
up: switch to window above current one
down: switch to window below current one
left: switch to window on the left
right: switch to window on the right
number: window number (see /window list)
splith: split current window horizontally (to undo: /window merge)
splitv: split current window vertically (to undo: /window merge)
resize: resize window size, new size is <pct> percentage of parent window
if "h" or "v" is specified, the resize affects the nearest parent window with a split of this type (horizontal/vertical)
balance: balance the sizes of all windows
merge: merge window with another (all = keep only one window)
close: close window
page_up: scroll one page up
page_down: scroll one page down
refresh: refresh screen
scroll: scroll a number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
scroll_horiz: scroll horizontally a number of columns (+/-N) or percentage of window size (this scrolling is possible only on buffers with free content)
scroll_up: scroll a few lines up
scroll_down: scroll a few lines down
scroll_top: scroll to top of buffer
scroll_bottom: scroll to bottom of buffer
scroll_beyond_end: scroll beyond the end of buffer
scroll_previous_highlight: scroll to previous highlight
scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
Examples:
jump to window displaying buffer #1:
/window b1
scroll 2 lines up:
/window scroll -2
scroll 2 days up:
/window scroll -2d
scroll to beginning of current day:
/window scroll -d
zoom on window #2:
/window zoom -window 2
split window horizontally using 30% of space for the window on top:
/window splith 30
resize window to 75% of the parent window size:
/window resize 75
resize vertical split, add 10% in size:
/window resize v+10
remove the split, keep the current window:
/window merge
close the current window:
/window close
enable bare display for 2 seconds:
/window bare 2
----
// end::weechat_commands[]
// tag::buflist_commands[]
[[command_buflist_buflist]]
* `+buflist+`: ãããã¡ã®ãªã¹ãã衚瀺ããããŒèŠçŽ
----
/buflist enable|disable|toggle
bar
refresh
enable: enable buflist
disable: disable buflist
toggle: toggle buflist
bar: add the "buflist" bar
refresh: force the refresh of the bar items (buflist, buflist2 and buflist3)
The lines with buffers are displayed using string evaluation (see /help eval for the format), with these options:
- buflist.look.display_conditions: conditions to display a buffer in the list
- buflist.format.buffer: format for a buffer which is not current buffer
- buflist.format.buffer_current: format for the current buffer
The following variables can be used in these options:
- bar item data (see hdata "bar_item" in API doc for a complete list), for example:
- ${bar_item.name}
- window data, where the bar item is displayed (there's no window in root bars, see hdata "window" in API doc for a complete list), for example:
- ${window.number}
- ${window.buffer.full_name}
- buffer data (see hdata "buffer" in API doc for a complete list), for example:
- ${buffer.number}
- ${buffer.name}
- ${buffer.full_name}
- ${buffer.short_name}
- ${buffer.nicklist_nicks_count}
- irc_server: IRC server data, defined only on an IRC buffer (see hdata "irc_server" in API doc)
- irc_channel: IRC channel data, defined only on an IRC channel buffer (see hdata "irc_channel" in API doc)
- extra variables added by buflist for convenience:
- ${format_buffer}: the evaluated value of option buflist.format.buffer; this can be used in option buflist.format.buffer_current to just change the background color for example
- ${current_buffer}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...}
- ${merged}: a boolean ("0" or "1"), "1" if the buffer is merged with at least another buffer; it can be used in a condition: ${if:${merged}?...:...}
- ${format_number}: indented number with separator (evaluation of option buflist.format.number)
- ${number}: indented number, for example " 1" if there are between 10 and 99 buffers; for merged buffers, this variable is set with number for the first buffer and spaces for the next buffers with same number
- ${number2}: indented number, for example " 1" if there are between 10 and 99 buffers
- ${number_displayed}: "1" if the number is displayed, otherwise "0"
- ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent)
- ${format_nick_prefix}: colored nick prefix for a channel (evaluation of option buflist.format.nick_prefix)
- ${color_nick_prefix}: color of nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled)
- ${nick_prefix}: nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled)
- ${format_name}: formatted name (evaluation of option buflist.format.name)
- ${name}: the short name (if set), with a fallback on the name
- ${color_hotlist}: the color depending on the highest hotlist level for the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the level)
- ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
- ${hotlist}: the raw hotlist
- ${hotlist_priority}: "none", "low", "message", "private" or "highlight"
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
----
// end::buflist_commands[]
// tag::charset_commands[]
[[command_charset_charset]]
* `+charset+`: çŸåšã®ãããã¡ã®æåã»ãããå€æŽ
----
/charset decode|encode <charset>
reset
decode: ãã³ãŒãæåã»ãããå€æŽ
encode: ãšã³ã³ãŒãæåã»ãããå€æŽ
charset: çŸåšã®ãããã¡ã®æ°ããæåã»ãã
reset: çŸåšã®ãããã¡ã®æåã»ããããªã»ãã
----
// end::charset_commands[]
// tag::exec_commands[]
[[command_exec_exec]]
* `+exec+`: å€éšã³ãã³ããå®è¡
----
/exec -list
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
-in <id> <text>
-inclose <id> [<text>]
-signal <id> <signal>
-kill <id>
-killall
-set <id> <property> <value>
-del <id>|-all [<id>...]
-list: ã³ãã³ãããªã¹ãã¢ãã
-sh: ã³ãã³ããå®è¡ããéã«ã·ã§ã«ã䜿ããè€æ°ã®ã³ãã³ãããã€ãããããšãå¯èœ (èŠå: ãã®ãªãã·ã§ã³ã䜿ããã®ã¯ãå
šãŠã®åŒæ°ãå®å
šãªå Žåã ãã§ãããªãã·ã§ã³ -nosh ãåç
§ããŠãã ãã)
-nosh: ã³ãã³ããå®è¡ããéã«ã·ã§ã«ã䜿ããªã (ã³ãã³ãã«å®å
šã§ãªãããŒã¿ãå«ãŸããå Žåã«å¿
èŠãäŸãã°ä»ã®ãŠãŒã¶ããã®ã¡ãã»ãŒãžã®å
容) (ããã©ã«ã)
-bg: ããã»ã¹ãããã¯ã°ã©ãŠã³ãå®è¡: ããã»ã¹ã®åºåããã³ãªã¿ãŒã³ã³ãŒãã衚瀺ããªã (ãªãã·ã§ã³ -o/-oc/-n/-nf/-pipe/-hsignal ãšåæã«å©çšã§ããŸãã)
-nobg: ããã»ã¹ã®åºåãåãåãããªã¿ãŒã³ã³ãŒãã衚瀺ãã (ããã©ã«ã)
-stdin: ããã»ã¹ã«ããŒã¿ãéä¿¡ãããã€ããäœæãã (/exec -in/-inclose ã䜿ã)
-nostdin: æšæºå
¥åçšã«ãã€ããäœæããªã (ããã©ã«ã)
-buffer: ã³ãã³ãã®åºåããã®ãããã¡ã«è¡šç€º / éä¿¡ãã (ãããã¡ãèŠã€ãããªãå Žåãæ°ãããããã¡ "exec.exec.xxx" ãäœãããŸã)
-l: ã³ãã³ãã®åºåãã«ã¬ã³ããããã¡ã«è¡šç€º (ããã©ã«ã)
-o: ã³ãã³ãã®åºåãã«ã¬ã³ããããã¡ã«éä¿¡ãã«ã¬ã³ããããã¡ã¯åä¿¡ããå
容ãã³ãã³ããšããŠå®è¡ããŸãã (ãªãã·ã§ã³ -bg/-pipe/-hsignal ãšåæã«å©çšã§ããŸãã)
-oc: ã³ãã³ãã®åºåãã«ã¬ã³ããããã¡ã«éä¿¡ãã«ã¬ã³ããããã¡ã¯åä¿¡ããå
容 (å
é ã« "/" ãããã¯ãã以å€ã®ã³ãã³ãéå§æåãå«ãè¡) ãã³ãã³ããšããŠå®è¡ããŸã (ãªãã·ã§ã³ -bg/-pipe/-hsignal ãšåæã«å©çšã§ããŸãã)
-n: ã³ãã³ãã®åºåãæ°ãããããã¡ã«è¡šç€º (ãªãã·ã§ã³ -bg/-pipe/-hsignal ãšåæã«å©çšã§ããŸãã)
-nf: ã³ãã³ãã®åºåãèªç±å
容 (çŠååŠçãªããè¡æ°å¶éãªã) ã®æ°ãããããã¡ã«è¡šç€º (ãªãã·ã§ã³ -bg/-pipe/-hsignal ãšåæã«å©çšã§ããŸãã)
-cl: åºåã衚瀺ããåã«æ°ãããããã¡ãã¯ãªã¢
-nocl: æ°ãããããã¡ãã¯ãªã¢ããã«è¿œå (ããã©ã«ã)
-sw: åºåãããã¡ã«ç§»å (ããã©ã«ã)
-nosw: åºåãããã¡ã«ç§»åããªã
-ln: è¡æ°ã衚瀺 (æ°ãããããã¡ã«è¡šç€ºããå Žåã¯ããã©ã«ã)
-noln: è¡æ°ã衚瀺ããªã
-flush: ã³ãã³ãã®åºåãããã«è¡šç€º (ããã©ã«ã)
-noflush: ã³ãã³ãã®åºåãã³ãã³ãã®çµäºåŸã«è¡šç€º
-color: åºåã«å«ãŸãã ANSI è²ã«å¯Ÿããæå:
ansi: ANSI è²ããã®ãŸãŸã«ãã
auto: ANSI è²ã WeeChat/IRC è²ã«å€æ (ããã©ã«ã)
irc: ANSI è²ã IRC è²ã«å€æ
weechat: ANSI è²ã WeeChat è²ã«å€æ
strip: ANSI è²ãåé€
-rc: ãªã¿ãŒã³ã³ãŒãã衚瀺 (ããã©ã«ã)
-norc: ãªã¿ãŒã³ã³ãŒãã衚瀺ããªã
-timeout: ã³ãã³ãã®ã¿ã€ã ã¢ãŠããèšå® (ç§åäœ)
-name: ã³ãã³ãã®ååãèšå® (åŸããååãä»ããã«ã¯ /exec ã䜿ã)
-pipe: WeeChat ããã³ãã©ã°ã€ã³ã³ãã³ãã«åºåãéä¿¡ (1 è¡ããš); ã³ãã³ãããã³åŒæ°ã«ç©ºçœãå«ãŸããå Žåã2 éåŒçšç¬Šã§å²ã£ãŠãã ãã; åŒæ° $line ã¯ãã®è¡ã§çœ®æãããŸã (ããã©ã«ãã§ã¯ã³ãã³ãã®åŸãã«ç©ºçœãä»ããŠããè¡ãè¿œå ããŸã) (ãªãã·ã§ã³ -bg/-o/-oc/-n/-nf ãšåæã«å©çšã§ããŸãã)
-hsignal: hsignal ãšããŠåºåãéä¿¡ (äŸãã°ããªã¬ã§äœ¿ãããŸã) (ãªãã·ã§ã³ -bg/-o/-oc/-n/-nf ãšåæã«å©çšã§ããŸãã)
command: å®è¡ããã³ãã³ã; "url:" ã§å§ãŸãå Žåãã·ã§ã«ã¯ç¡å¹åãããURL ã®å
容ãããŠã³ããŒããããåºåãšããŠéä¿¡ãããŸã
id: ã³ãã³ãèå¥å: çªå·ãåå ("-name xxx" ã§èšå®ããå Žå) ã®ã©ã¡ããäžæ¹
-in: ããã»ã¹ã®æšæºå
¥åã«ããã¹ããéä¿¡
-inclose: -in ãšåãããã ã䜿çšåŸã«æšæºå
¥åãéãã (ããã¹ãã¯ä»»æ: ããã¹ããç¡ãå Žåãæšæºå
¥åãããã«éãã)
-signal: ããã»ã¹ã«ã·ã°ãã«ãéä¿¡; ã·ã°ãã«ã¯æŽæ°å€ãŸãã¯æ¬¡ã®ååã® 1 ã€: hupãintãquitãkillãtermãusr1ãusr2
-kill: "-signal <id> kill" ã®ãšã€ãªã¢ã¹
-killall: å
šãŠã®å®è¡äžããã»ã¹ã kill ãã
-set: ããã¯ããããã£ãèšå® (ãã©ã°ã€ã³ API ãªãã¡ã¬ã³ã¹ã® hook_set é¢æ°ãåç
§ããŠãã ãã)
property: ããã¯ããããã£
value: ããã¯ããããã£ã®æ°ããå€
-del: äžæãããã³ãã³ããåé€
-all: å
šãŠã®äžæãããã³ãã³ããåé€
ãªãã·ã§ã³ exec.command.default_options ã§ããã©ã«ããªãã·ã§ã³ã®èšå®ãå¯èœã§ãã
äŸ:
/exec -n ls -l /tmp
/exec -sh -n ps xu | grep weechat
/exec -n -norc url:https://pastebin.com/raw.php?i=xxxxxxxx
/exec -nf -noln links -dump https://weechat.org/files/doc/devel/weechat_user.en.html
/exec -o uptime
/exec -pipe "/print Machine uptime:" uptime
/exec -n tail -f /var/log/messages
/exec -kill 0
----
// end::exec_commands[]
// tag::fifo_commands[]
[[command_fifo_fifo]]
* `+fifo+`: fifo ãã©ã°ã€ã³èšå®
----
/fifo enable|disable|toggle
enable: FIFO ãã€ããæå¹åããŸã
disable: FIFO ãã€ããç¡å¹åããŸã
toggle: FIFO ãã€ãã®æå¹ç¡å¹ãåãæ¿ããŸã
FIFO ãã€ã㯠WeeChat ããªã¢ãŒãæäœããéã«äœ¿ãããŸã: FIFO ãã€ããéããŠã·ã§ã«ããã³ãã³ããããã¹ããéä¿¡ã§ããŸãã
ããã©ã«ãã®å Žå FIFO ãã€ã㯠~/.weechat/weechat_fifo ã§ãã
æžåŒã¯æ¬¡ã®ãã¡ã®ã©ãã 1 ã€ã䜿ã£ãŠãã ãã:
plugin.buffer *ããã¹ããŸãã¯ã³ãã³ã
*ããã¹ããŸãã¯ã³ãã³ã
freenode ã®ããã¯ããŒã ãå€æŽããäŸ:
echo 'irc.server.freenode */nick newnick' >~/.weechat/weechat_fifo
詳ããæ
å ±ãšäŸã¯ãŠãŒã¶ãŒãºã¬ã€ããåç
§ããŠãã ããã
äŸ:
/fifo toggle
----
// end::fifo_commands[]
// tag::fset_commands[]
[[command_fset_fset]]
* `+fset+`: WeeChat ãšãã©ã°ã€ã³ã®ãªãã·ã§ã³ãé«éèšå®
----
/fset -bar
-refresh
-up|-down [<number>]
-left|-right [<percent>]
-go <line>|end
-toggle
-add [<value>]
-reset
-unset
-set
-setnew
-append
-mark
-format
-export [-help|-nohelp] <filename>
<filter>
-bar: add the help bar
-refresh: refresh list of options, then whole screen (command: /window refresh)
-up: move the selected line up by "number" lines
-down: move the selected line down by "number" lines
-left: scroll the fset buffer by "percent" of width on the left
-right: scroll the fset buffer by "percent" of width on the right
-go: select a line by number, first line number is 0 ("end" to select the last line)
-toggle: toggle the boolean value
-add: add "value" (which can be a negative number) for integers and colors, set/append to value for other types (set for a negative value, append for a positive value)
-reset: reset the value of option
-unset: unset the option
-set: add the /set command in input to edit the value of option (move the cursor at the beginning of value)
-setnew: add the /set command in input to edit a new value for the option
-append: add the /set command to append something in the value of option (move the cursor at the end of value)
-mark: toggle mark
-format: switch to the next available format
-export: export the options and values displayed in a file (each line has format: "/set name value" or "/unset name")
-help: force writing of help on options in exported file (see /help fset.look.export_help_default)
-nohelp: do not write help on options in exported file (see /help fset.look.export_help_default)
filter: set a new filter to see only matching options (this filter can be used as input in fset buffer as well); allowed formats are:
* show all options (no filter)
xxx show only options with "xxx" in name
f:xxx show only configuration file "xxx"
t:xxx show only type "xxx" (bool/int/str/col)
d show only changed options
d:xxx show only changed options with "xxx" in name
d=xxx show only changed options with "xxx" in value
d==xxx show only changed options with exact value "xxx"
h=xxx show only options with "xxx" in description (translated)
he=xxx show only options with "xxx" in description (in English)
=xxx show only options with "xxx" in value
==xxx show only options with exact value "xxx"
c:xxx show only options matching the evaluated condition "xxx", using following variables: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
The lines with options are displayed using string evaluation (see /help eval for the format), with these options:
- fset.format.option1: first format for an option
- fset.format.option2: second format for an option
The following variables can be used in these options:
- option data, with color and padded by spaces on the right:
- ${file}: configuration file (for example "weechat" or "irc")
- ${section}: section
- ${option}: option name
- ${name}: full option name (file.section.option)
- ${parent_name}: parent option name
- ${type}: option type (translated)
- ${type_en}: option type (in English)
- ${type_short}: short option type (bool/int/str/col)
- ${type_tiny}: tiny option type (b/i/s/c)
- ${default_value}: option default value
- ${default_value_undef}: "1" if default value is null, otherwise "0"
- ${value}: option value
- ${value_undef}: "1" if value is null, otherwise "0"
- ${value_changed}: "1" if value is different from default value, otherwise "0"
- ${value2}: option value, with inherited value if null
- ${parent_value}: parent option value
- ${min}: min value
- ${max}: max value
- ${description}: option description (translated)
- ${description2}: option description (translated), "(no description)" (translated) if there's no description
- ${description_en}: option description (in English)
- ${description_en2}: option description (in English), "(no description)" if there's no description
- ${string_values}: string values allowed for set of an integer option using strings
- ${marked}: "1" if option is marked, otherwise "0"
- ${index}: index of option in list
- option data, with color but no spaces:
- same names prefixed by underscore, for example: ${_name}, ${_type}, ...
- option data, raw format (no colors/spaces):
- same names prefixed by two underscores, for example: ${__name}, ${__type}, ...
- option data, only spaces:
- same names prefixed with "empty_", for example: ${empty_name}, ${empty_type}
- other data:
- ${selected_line}: "1" if the line is selected, otherwise "0"
- ${newline}: insert a new line at point, so the option is displayed on multiple lines
Keys and input to move in on fset buffer:
up move one line up
down move one line down
pgup move one page up
pgdn move one page down
alt-home << move to first line
alt-end >> move to last line
F11 < scroll horizontally on the left
F12 > scroll horizontally on the right
Keys and input to set options on fset buffer:
alt+space t toggle boolean value
alt+'-' - subtract 1 from value for integer/color, set value for other types
alt+'+' + add 1 to value for integer/color, append to value for other types
alt+f, alt+r r reset value
alt+f, alt+u u unset value
alt+enter s set value
alt+f, alt+n n set new value
alt+f, alt+a a append to value
alt+',' , mark/unmark option
shift+up move one line up and mark/unmark option
shift+down mark/unmark option and move one line down
m:xxx mark options displayed that are matching filter "xxx" (any filter on option or value is allowed, see filters above)
u:xxx unmark options displayed that are matching filter "xxx" (any filter on option or value is allowed, see filters above)
Other keys and input on fset buffer:
ctrl+L refresh options and whole screen (command: /fset -refresh)
$ refresh options (keep marked options)
$$ refresh options (unmark all options)
alt+p p toggle plugin description options (plugins.desc.*)
alt+v v toggle help bar
s:x,y sort options by fields x,y (see /help fset.look.sort)
s: reset sort to its default value (see /help fset.look.sort)
w:xxx export options in file "xxx"
w-:xxx export options in file "xxx" without help
w+:xxx export options in file "xxx" with help
ctrl+X x switch the format used to display options
q close fset buffer
Mouse actions on fset buffer:
wheel up/down move line up/down
left button move line here
right button toggle boolean (on/off) or edit the option value
right button + drag left/right increase/decrease value for integer/color, set/append to value for other types
right button + drag up/down mark/unmark multiple options
Note: if input has one or more leading spaces, the following text is interpreted as a filter, without the spaces. For example " q" searches all options with "q" inside name while "q" closes the fset buffer.
Examples:
show IRC options changed:
/fset d:irc.*
show all options with "nicklist" in name:
/fset nicklist
show all values which contain "red":
/fset =red
show all values which are exactly "red":
/fset ==red
show all integer options in irc plugin:
/fset c:${file} == irc && ${type_en} == integer
----
// end::fset_commands[]
// tag::guile_commands[]
[[command_guile_guile]]
* `+guile+`: ã¹ã¯ãªããããªã¹ãã¢ãã/ããŒã/ã¢ã³ããŒã
----
/guile list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
eval [-o|-oc] <code>
version
list: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã
listfull: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã (詳现)
load: ã¹ã¯ãªãããããŒã
autoload: "autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã
reload: ã¹ã¯ãªããã®ãªããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒããã"autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã)
unload: ã¹ã¯ãªããã®ã¢ã³ããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒã)
filename: ããŒãããã¹ã¯ãªãã (ãã¡ã€ã«)
-q: åºåæå¶ã¢ãŒã: ã¡ãã»ãŒãžã衚瀺ããªã
name: ã¹ã¯ãªããå (åå㯠"register" é¢æ°ãåŒã³åºãããã«äœ¿ããã)
eval: ãœãŒã¹ã³ãŒããè©äŸ¡ããŠçŸåšã®ãããã¡ãžçµæã衚瀺
-o: ãããã¡ãžè©äŸ¡çµæãéä¿¡ãããã³ãã³ããå®è¡ããªã
-oc: ãããã¡ãžè©äŸ¡çµæãéä¿¡ããŠã³ãã³ããå®è¡
code: è©äŸ¡ãããœãŒã¹ã³ãŒã
version: 䜿çšäžã®ã€ã³ã¿ããªã¿ã®ããŒãžã§ã³ã衚瀺
åŒæ°ç¡ãã®å Žåãå
šãŠã®ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ããããŸãã
----
// end::guile_commands[]
// tag::javascript_commands[]
[[command_javascript_javascript]]
* `+javascript+`: ã¹ã¯ãªããããªã¹ãã¢ãã/ããŒã/ã¢ã³ããŒã
----
/javascript list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
eval [-o|-oc] <code>
version
list: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã
listfull: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã (詳现)
load: ã¹ã¯ãªãããããŒã
autoload: "autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã
reload: ã¹ã¯ãªããã®ãªããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒããã"autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã)
unload: ã¹ã¯ãªããã®ã¢ã³ããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒã)
filename: ããŒãããã¹ã¯ãªãã (ãã¡ã€ã«)
-q: åºåæå¶ã¢ãŒã: ã¡ãã»ãŒãžã衚瀺ããªã
name: ã¹ã¯ãªããå (åå㯠"register" é¢æ°ãåŒã³åºãããã«äœ¿ããã)
eval: ãœãŒã¹ã³ãŒããè©äŸ¡ããŠçŸåšã®ãããã¡ãžçµæã衚瀺
-o: ãããã¡ãžè©äŸ¡çµæãéä¿¡ãããã³ãã³ããå®è¡ããªã
-oc: ãããã¡ãžè©äŸ¡çµæãéä¿¡ããŠã³ãã³ããå®è¡
code: è©äŸ¡ãããœãŒã¹ã³ãŒã
version: 䜿çšäžã®ã€ã³ã¿ããªã¿ã®ããŒãžã§ã³ã衚瀺
åŒæ°ç¡ãã®å Žåãå
šãŠã®ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ããããŸãã
----
// end::javascript_commands[]
// tag::logger_commands[]
[[command_logger_logger]]
* `+logger+`: logger ãã©ã°ã€ã³èšå®
----
/logger list
set <level>
flush
disable
list: ãªãŒãã³ããããããã¡ã®ãã°ä¿åèšå®ã衚瀺
set: çŸåšã®ãããã¡ã®ãã°ä¿åã¬ãã«ãèšå®
level: ãã°ä¿åãããã¡ãã»ãŒãžã®ã¬ãã« (0 = ãã°ä¿åããªãã1 = ããã€ãã®ã¡ãã»ãŒãž (æãéèŠ) .. 9 = å
šãŠã®ã¡ãã»ãŒãž)
flush: å
šãŠã®ãã°ãã¡ã€ã«ã«ä»ããæžã蟌ã
disable: çŸåšã®ãããã¡ã®ãã°ä¿åãç¡å¹å (ã¬ãã«ã 0 ã«èšå®)
ãªãã·ã§ã³ "logger.level.*" ãš "logger.mask.*" ã¯ä»»æã®ãããã¡ã«å¯Ÿãããã°ã¬ãã«ãšãã°ä¿åå
ã®èšå®ãæå³ããŸãã
IRC ãã©ã°ã€ã³ã§äœ¿ããããã°ã¬ãã«:
1: ãŠãŒã¶ã¡ãã»ãŒãž (ãã£ã³ãã«ãšãã©ã€ããŒã)ãéç¥ (ãµãŒããšãã£ã³ãã«)
2: ããã¯ããŒã ã®å€æŽ
3: ãµãŒãã¡ãã»ãŒãž
4: åå /éåº/çµäº
9: ãã®ä»ã®å
šãŠã®ã¡ãã»ãŒãž
äŸ:
çŸåšã®ãããã¡ã®ã¬ãã«ã 5 ã«èšå®:
/logger set 5
çŸåšã®ãããã¡ã®ãã°ä¿åãç¡å¹å:
/logger disable
å
šãŠã® IRC ãããã¡ã®ã¬ãã«ã 3 ã«èšå®:
/set logger.level.irc 3
ã¡ã€ã³ã® WeeChat ãããã¡ã®ãã°ä¿åãç¡å¹å:
/set logger.level.core.weechat 0
IRC ãµãŒãããšã®ãã£ã¬ã¯ããªããã£ã³ãã«ããšã®ãã¡ã€ã«ã䜿ã:
/set logger.mask.irc "$server/$channel.weechatlog"
----
// end::logger_commands[]
// tag::lua_commands[]
[[command_lua_lua]]
* `+lua+`: ã¹ã¯ãªããããªã¹ãã¢ãã/ããŒã/ã¢ã³ããŒã
----
/lua list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
eval [-o|-oc] <code>
version
list: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã
listfull: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã (詳现)
load: ã¹ã¯ãªãããããŒã
autoload: "autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã
reload: ã¹ã¯ãªããã®ãªããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒããã"autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã)
unload: ã¹ã¯ãªããã®ã¢ã³ããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒã)
filename: ããŒãããã¹ã¯ãªãã (ãã¡ã€ã«)
-q: åºåæå¶ã¢ãŒã: ã¡ãã»ãŒãžã衚瀺ããªã
name: ã¹ã¯ãªããå (åå㯠"register" é¢æ°ãåŒã³åºãããã«äœ¿ããã)
eval: ãœãŒã¹ã³ãŒããè©äŸ¡ããŠçŸåšã®ãããã¡ãžçµæã衚瀺
-o: ãããã¡ãžè©äŸ¡çµæãéä¿¡ãããã³ãã³ããå®è¡ããªã
-oc: ãããã¡ãžè©äŸ¡çµæãéä¿¡ããŠã³ãã³ããå®è¡
code: è©äŸ¡ãããœãŒã¹ã³ãŒã
version: 䜿çšäžã®ã€ã³ã¿ããªã¿ã®ããŒãžã§ã³ã衚瀺
åŒæ°ç¡ãã®å Žåãå
šãŠã®ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ããããŸãã
----
// end::lua_commands[]
// tag::xfer_commands[]
[[command_xfer_me]]
* `+me+`: CTCP action ããªã¢ãŒããã¹ãã«éä¿¡
----
/me <message>
message: éä¿¡ã¡ãã»ãŒãž
----
[[command_xfer_xfer]]
* `+xfer+`: xfer 管ç
----
/xfer [list|listfull]
list: xfer ããªã¹ãã¢ãã
listfull: xfer ããªã¹ãã¢ãã (詳现)
åŒæ°ç¡ãã§ã¯ãxfer ãªã¹ããå«ããããã¡ãéããŸãã
----
// end::xfer_commands[]
// tag::perl_commands[]
[[command_perl_perl]]
* `+perl+`: ã¹ã¯ãªããããªã¹ãã¢ãã/ããŒã/ã¢ã³ããŒã
----
/perl list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
eval [-o|-oc] <code>
version
list: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã
listfull: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã (詳现)
load: ã¹ã¯ãªãããããŒã
autoload: "autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã
reload: ã¹ã¯ãªããã®ãªããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒããã"autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã)
unload: ã¹ã¯ãªããã®ã¢ã³ããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒã)
filename: ããŒãããã¹ã¯ãªãã (ãã¡ã€ã«)
-q: åºåæå¶ã¢ãŒã: ã¡ãã»ãŒãžã衚瀺ããªã
name: ã¹ã¯ãªããå (åå㯠"register" é¢æ°ãåŒã³åºãããã«äœ¿ããã)
eval: ãœãŒã¹ã³ãŒããè©äŸ¡ããŠçŸåšã®ãããã¡ãžçµæã衚瀺
-o: ãããã¡ãžè©äŸ¡çµæãéä¿¡ãããã³ãã³ããå®è¡ããªã
-oc: ãããã¡ãžè©äŸ¡çµæãéä¿¡ããŠã³ãã³ããå®è¡
code: è©äŸ¡ãããœãŒã¹ã³ãŒã
version: 䜿çšäžã®ã€ã³ã¿ããªã¿ã®ããŒãžã§ã³ã衚瀺
åŒæ°ç¡ãã®å Žåãå
šãŠã®ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ããããŸãã
----
// end::perl_commands[]
// tag::php_commands[]
[[command_php_php]]
* `+php+`: ã¹ã¯ãªããããªã¹ãã¢ãã/ããŒã/ã¢ã³ããŒã
----
/php list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
eval [-o|-oc] <code>
version
list: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã
listfull: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã (詳现)
load: ã¹ã¯ãªãããããŒã
autoload: "autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã
reload: ã¹ã¯ãªããã®ãªããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒããã"autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã)
unload: ã¹ã¯ãªããã®ã¢ã³ããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒã)
filename: ããŒãããã¹ã¯ãªãã (ãã¡ã€ã«)
-q: åºåæå¶ã¢ãŒã: ã¡ãã»ãŒãžã衚瀺ããªã
name: ã¹ã¯ãªããå (åå㯠"register" é¢æ°ãåŒã³åºãããã«äœ¿ããã)
eval: ãœãŒã¹ã³ãŒããè©äŸ¡ããŠçŸåšã®ãããã¡ãžçµæã衚瀺
-o: ãããã¡ãžè©äŸ¡çµæãéä¿¡ãããã³ãã³ããå®è¡ããªã
-oc: ãããã¡ãžè©äŸ¡çµæãéä¿¡ããŠã³ãã³ããå®è¡
code: è©äŸ¡ãããœãŒã¹ã³ãŒã
version: 䜿çšäžã®ã€ã³ã¿ããªã¿ã®ããŒãžã§ã³ã衚瀺
åŒæ°ç¡ãã®å Žåãå
šãŠã®ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ããããŸãã
----
// end::php_commands[]
// tag::python_commands[]
[[command_python_python]]
* `+python+`: ã¹ã¯ãªããããªã¹ãã¢ãã/ããŒã/ã¢ã³ããŒã
----
/python list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
eval [-o|-oc] <code>
version
list: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã
listfull: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã (詳现)
load: ã¹ã¯ãªãããããŒã
autoload: "autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã
reload: ã¹ã¯ãªããã®ãªããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒããã"autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã)
unload: ã¹ã¯ãªããã®ã¢ã³ããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒã)
filename: ããŒãããã¹ã¯ãªãã (ãã¡ã€ã«)
-q: åºåæå¶ã¢ãŒã: ã¡ãã»ãŒãžã衚瀺ããªã
name: ã¹ã¯ãªããå (åå㯠"register" é¢æ°ãåŒã³åºãããã«äœ¿ããã)
eval: ãœãŒã¹ã³ãŒããè©äŸ¡ããŠçŸåšã®ãããã¡ãžçµæã衚瀺
-o: ãããã¡ãžè©äŸ¡çµæãéä¿¡ãããã³ãã³ããå®è¡ããªã
-oc: ãããã¡ãžè©äŸ¡çµæãéä¿¡ããŠã³ãã³ããå®è¡
code: è©äŸ¡ãããœãŒã¹ã³ãŒã
version: 䜿çšäžã®ã€ã³ã¿ããªã¿ã®ããŒãžã§ã³ã衚瀺
åŒæ°ç¡ãã®å Žåãå
šãŠã®ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ããããŸãã
----
// end::python_commands[]
// tag::relay_commands[]
[[command_relay_relay]]
* `+relay+`: ãªã¬ãŒç®¡ç
----
/relay list|listfull|listrelay
add <name> <port>|<path>
del|start|restart|stop <name>
raw
sslcertkey
list: ãªã¬ãŒããã¯ã©ã€ã¢ã³ãããªã¹ãã¢ãã (ã¢ã¯ãã£ããªãã®ã®ã¿)
listfull: ãªã¬ãŒããã¯ã©ã€ã¢ã³ãããªã¹ãã¢ãã (詳现ãå
šãŠã®ãªã¬ãŒ)
listrelay: ãªã¬ãŒããªã¹ãã¢ãã (ååãšããŒãçªå·)
add: ãªã¬ãŒãè¿œå (ããŒã/ãã¹ã§æ¥ç¶ãåŸ
ã¡åãã)
del: ãªã¬ãŒãåé€ (ã¯ã©ã€ã¢ã³ããšã®æ¥ç¶ã¯ä¿æ)
start: ããŒããªãã¹ã³ãéå§ãã
restart: ãµãŒããœã±ãããéããŠåãããŒãã§æ¥ç¶ãåŸ
〠(ã¯ã©ã€ã¢ã³ããšã®æ¥ç¶ã¯ä¿æ)
stop: ãµãŒããœã±ãããéãã (ã¯ã©ã€ã¢ã³ããšã®æ¥ç¶ã¯ä¿æ)
name: ãªã¬ãŒå (以äžã®æžåŒãåç
§ããŠãã ãã)
port: ãªã¬ãŒã䜿ãããŒã
path: ãªã¬ãŒã䜿ããã¹ (UNIX ãã¡ã€ã³ãœã±ãã); æååå
é ã® "%h" 㯠WeeChat ããŒã (ããã©ã«ã㯠"~/.weechat") ã§çœ®ãæããããå
容ã¯è©äŸ¡ãããŸã (/help eval ãåç
§ããŠãã ãã)
raw: çãªã¬ãŒããŒã¿ã衚瀺ãããããã¡ãéã
sslcertkey: ãªãã·ã§ã³ relay.network.ssl_cert_key ã®ãã¹ã䜿ã£ãŠ SSL 蚌ææž/éµãæå®
ãªã¬ãŒåã®æžåŒ: [ipv4.][ipv6.][ssl.]<protocol.name> ãŸã㯠unix.[ssl.]<protocol.name>
ipv4: IPv4 ã匷å¶çã«å©çš
ipv6: IPv6 ã匷å¶çã«å©çš
ssl: SSL ãæå¹å
unix: UNIX ãã¡ã€ã³ãœã±ãããå©çš
protocol.name: ãªã¬ãŒãããããã³ã«ãšåå:
- "irc" ãããã³ã«: name ã¯å
±æãããµãŒãå (ä»»ææå®ãæå®ããªãå ŽåããµãŒãå㯠"PASS" ã³ãã³ãã§ã¯ã©ã€ã¢ã³ããéä¿¡ãããã®ãšåãã§ãªããã°ãããŸããã"PASS" ã³ãã³ãã®æžåŒã¯ "PASS server:password")
- "weechat" ãããã³ã« (name ã¯äœ¿ãããŸãã)
"irc" ãããã³ã«ãæå®ããå Žåãã©ã㪠IRC ã¯ã©ã€ã¢ã³ã (WeeChat èªèº«ãå«ããŠ) ã§ãããŒãã«æ¥ç¶ããããšãã§ããŸãã
"weechat" ãããã³ã«ãæå®ããå Žåããªã¢ãŒãã€ã³ã¿ãŒãã§ãŒã¹ã䜿ã£ãŠããŒãã«æ¥ç¶ããããšãã§ããŸããåç
§: https://weechat.org/about/interfaces
åŒæ°ç¡ãã®å Žåããªã¬ãŒã¯ã©ã€ã¢ã³ãã®ãªã¹ããå«ããããã¡ãéã
äŸ:
ãµãŒã "freenode" ã«å¯Ÿãã irc ãããã·ãèšå®:
/relay add irc.freenode 8000
ãµãŒã "freenode" ã«å¯Ÿãã SSL ãæå¹åãã irc ãããã·ãèšå®:
/relay add ssl.irc.freenode 8001
SSL ãæå¹åããŠãã¹ãŠã®ãµãŒãã«å¯Ÿãã irc ãããã·ãèšå® (ã¯ã©ã€ã¢ã³ãããµãŒããéžã¶):
/relay add ssl.irc 8002
weechat ãããã³ã«:
/relay add weechat 9000
SSL ãæå¹åãã weechat ãããã³ã«:
/relay add ssl.weechat 9001
SSL ãæå¹ã«ãã weechat ãããã³ã«ãIPv4 ã ããå©çš:
/relay add ipv4.ssl.weechat 9001
SSL ãæå¹ã«ãã weechat ãããã³ã«ãIPv6 ã ããå©çš:
/relay add ipv6.ssl.weechat 9001
SSL ãæå¹ã«ãã weechat ãããã³ã«ãIPv4 ãš IPv6 ãå©çš:
/relay add ipv4.ipv6.ssl.weechat 9001
UNIX ãã¡ã€ã³ãœã±ãããä»ãã weechat ãããã³ã«:
/relay add unix.weechat %h/relay_socket
----
// end::relay_commands[]
// tag::ruby_commands[]
[[command_ruby_ruby]]
* `+ruby+`: ã¹ã¯ãªããããªã¹ãã¢ãã/ããŒã/ã¢ã³ããŒã
----
/ruby list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
eval [-o|-oc] <code>
version
list: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã
listfull: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã (詳现)
load: ã¹ã¯ãªãããããŒã
autoload: "autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã
reload: ã¹ã¯ãªããã®ãªããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒããã"autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã)
unload: ã¹ã¯ãªããã®ã¢ã³ããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒã)
filename: ããŒãããã¹ã¯ãªãã (ãã¡ã€ã«)
-q: åºåæå¶ã¢ãŒã: ã¡ãã»ãŒãžã衚瀺ããªã
name: ã¹ã¯ãªããå (åå㯠"register" é¢æ°ãåŒã³åºãããã«äœ¿ããã)
eval: ãœãŒã¹ã³ãŒããè©äŸ¡ããŠçŸåšã®ãããã¡ãžçµæã衚瀺
-o: ãããã¡ãžè©äŸ¡çµæãéä¿¡ãããã³ãã³ããå®è¡ããªã
-oc: ãããã¡ãžè©äŸ¡çµæãéä¿¡ããŠã³ãã³ããå®è¡
code: è©äŸ¡ãããœãŒã¹ã³ãŒã
version: 䜿çšäžã®ã€ã³ã¿ããªã¿ã®ããŒãžã§ã³ã衚瀺
åŒæ°ç¡ãã®å Žåãå
šãŠã®ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ããããŸãã
----
// end::ruby_commands[]
// tag::script_commands[]
[[command_script_script]]
* `+script+`: WeeChat ã¹ã¯ãªãããããŒãžã£
----
/script list [-o|-ol|-i|-il]
search <text>
show <script>
load|unload|reload <script> [<script>...]
autoload|noautoload|toggleautoload <script> [<script>...]
install|remove|installremove|hold [-q] <script> [<script>...]
upgrade
update
list: list loaded scripts (all languages)
-o: send list of loaded scripts to buffer (string in English)
-ol: send list of loaded scripts to buffer (translated string)
-i: copy list of loaded scripts in command line (for sending to buffer) (string in English)
-il: copy list of loaded scripts in command line (for sending to buffer) (translated string)
search: search scripts by tags, language (python, perl, ...), filename extension (py, pl, ...) or text; result is displayed on scripts buffer
show: show detailed info about a script
load: load script(s)
unload: unload script(s)
reload: reload script(s)
autoload: autoload the script
noautoload: do not autoload the script
toggleautoload: toggle autoload
install: install/upgrade script(s)
remove: remove script(s)
installremove: install or remove script(s), depending on current state
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
-q: quiet mode: do not display messages
upgrade: upgrade all installed scripts which are obsolete (new version available)
update: update local scripts cache
Without argument, this command opens a buffer with list of scripts.
On script buffer, the possible status for each script are:
* i a H r N
| | | | | |
| | | | | obsolete (new version available)
| | | | running (loaded)
| | | held
| | autoloaded
| installed
popular script
Keys on script buffer:
alt+i install script
alt+r remove script
alt+l load script
alt+L reload script
alt+u unload script
alt+A autoload script
alt+h (un)hold script
alt+v view script
Input allowed on script buffer:
i/r/l/L/u/A/h/v action on script (same as keys above)
q close buffer
$ refresh buffer
s:x,y sort buffer using keys x and y (see /help script.look.sort)
s: reset sort (use default sort)
word(s) filter scripts: search word(s) in scripts (description, tags, ...)
* remove filter
Mouse actions on script buffer:
wheel scroll list
left button select script
right button install/remove script
Examples:
/script search url
/script install go.py urlserver.py
/script remove go.py
/script hold urlserver.py
/script reload urlserver
/script upgrade
----
// end::script_commands[]
// tag::spell_commands[]
[[command_spell_spell]]
* `+spell+`: ã¹ãã«ãã§ãã¯ãã©ã°ã€ã³èšå®
----
/spell enable|disable|toggle
listdict
setdict <dict>[,<dict>...]
deldict
addword [<dict>] <word>
enable: ã¹ãã«ãã§ãã¯ã®æå¹å
disable: ã¹ãã«ãã§ãã¯ã®ç¡å¹å
toggle: ã¹ãã«ãã§ãã¯ã®æå¹ç¡å¹ãåãæ¿ã
listdict: ã€ã³ã¹ããŒã«æžã¿èŸæžã衚瀺
setdict: çŸåšã®ãããã¡çšã®èŸæžãèšå® (ã³ã³ãã§åºåãã°è€æ°ã®èŸæžãæå®å¯èœ)
deldict: çŸåšã®ãããã¡çšã®èŸæžãåé€
addword: å人èŸæžã«åèªãè¿œå
äžéšã®ã³ãã³ããé€ã㊠'/' ã§å§ãŸãå
¥åè¡ã¯ãã§ãã¯ãããŸãã (/set spell.check.commands ãåç
§ããŠãã ãã)ã
å
šãŠã®ãããã¡ã§ã¹ãã«ãã§ãã¯ãæå¹åããã«ã¯ã"default_dict" ãªãã·ã§ã³ãèšå®ããåŸã«ãã¹ãã«ãã§ãã¯ãæå¹åããŠãã ãããäŸ:
/set spell.check.default_dict "en"
/spell enable
ããŒã®äžã«ã¹ãã«åè£ãªã¹ãã衚瀺ããã«ã¯ã"spell_suggest" èŠçŽ ã䜿ã£ãŠãã ããã
ã¹ãã«ãã§ãã¯ã®æå¹ç¡å¹ãåãæ¿ããããã©ã«ãã®ããŒã¯ alt-s ã§ãã
----
// end::spell_commands[]
// tag::tcl_commands[]
[[command_tcl_tcl]]
* `+tcl+`: ã¹ã¯ãªããããªã¹ãã¢ãã/ããŒã/ã¢ã³ããŒã
----
/tcl list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
eval [-o|-oc] <code>
version
list: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã
listfull: ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ãã (詳现)
load: ã¹ã¯ãªãããããŒã
autoload: "autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã
reload: ã¹ã¯ãªããã®ãªããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒããã"autoload" ãã£ã¬ã¯ããªã«å«ãŸããå
šãŠã®ã¹ã¯ãªãããããŒã)
unload: ã¹ã¯ãªããã®ã¢ã³ããŒã (ååãæå®ããªãã£ãå Žåãå
šãŠã®ã¹ã¯ãªãããã¢ã³ããŒã)
filename: ããŒãããã¹ã¯ãªãã (ãã¡ã€ã«)
-q: åºåæå¶ã¢ãŒã: ã¡ãã»ãŒãžã衚瀺ããªã
name: ã¹ã¯ãªããå (åå㯠"register" é¢æ°ãåŒã³åºãããã«äœ¿ããã)
eval: ãœãŒã¹ã³ãŒããè©äŸ¡ããŠçŸåšã®ãããã¡ãžçµæã衚瀺
-o: ãããã¡ãžè©äŸ¡çµæãéä¿¡ãããã³ãã³ããå®è¡ããªã
-oc: ãããã¡ãžè©äŸ¡çµæãéä¿¡ããŠã³ãã³ããå®è¡
code: è©äŸ¡ãããœãŒã¹ã³ãŒã
version: 䜿çšäžã®ã€ã³ã¿ããªã¿ã®ããŒãžã§ã³ã衚瀺
åŒæ°ç¡ãã®å Žåãå
šãŠã®ããŒãæžã¿ã¹ã¯ãªããããªã¹ãã¢ããããŸãã
----
// end::tcl_commands[]
// tag::trigger_commands[]
[[command_trigger_trigger]]
* `+trigger+`: ããªã¬ (WeeChat çšã®ã¹ã€ã¹ã¢ãŒããŒãã€ã) ã®ç®¡ç
----
/trigger list|listfull|listdefault
add|addoff|addreplace <name> <hook> ["<arguments>" ["<conditions>" ["<regex>" ["<command>" ["<return_code>" ["<post_action>"]]]]]]
addinput [<hook>]
input|output|recreate <name>
set <name> <option> <value>
rename|copy <name> <new_name>
enable|disable|toggle [<name>|-all [<name>...]]
restart <name>|-all [<name>...]
show <name>
del <name>|-all [<name>...]
restore <name> [<name>...]
default -yes
monitor [<filter>]
list: list triggers (without argument, this list is displayed)
listfull: list triggers with detailed info for each trigger
listdefault: list default triggers
add: add a trigger
addoff: add a trigger (disabled)
addreplace: add or replace an existing trigger
name: name of trigger
hook: signal, hsignal, modifier, line, print, command, command_run, timer, config, focus, info, info_hashtable
arguments: arguments for the hook, depending on hook (separated by semicolons):
signal: name(s) of signal (required)
hsignal: name(s) of hsignal (required)
modifier: name(s) of modifier (required)
line: buffer type ("formatted", "free" or "*"), list of buffer masks, tags
print: buffer, tags, message, strip colors
command: command (required), description, arguments, description of arguments, completion (all arguments except command are evaluated, see /help eval)
command_run: command(s) (required)
timer: interval (required), align on second, max calls
config: name(s) of option (required)
focus: name(s) of area (required)
info: name(s) of info (required)
info_hashtable: name(s) of info (required)
conditions: evaluated conditions for the trigger
regex: one or more regular expressions to replace strings in variables
command: command to execute (many commands can be separated by ";")
return_code: return code in callback (ok (default), ok_eat, error)
post_action: action to take after execution (none (default), disable, delete)
addinput: set input with default arguments to create a trigger
input: set input with the command used to create the trigger
output: send the command to create the trigger on the buffer
recreate: same as "input", with option "addreplace" instead of "add"
set: set an option in a trigger
option: name of option: name, hook, arguments, conditions, regex, command, return_code
(for help on option, you can type: /help trigger.trigger.<name>.<option>)
value: new value for the option
rename: rename a trigger
copy: copy a trigger
enable: enable trigger(s) (without arguments: enable triggers globally)
disable: disable trigger(s) (without arguments: disable triggers globally)
toggle: toggle trigger(s) (without arguments: toggle triggers globally)
restart: restart trigger(s) (recreate the hooks)
show: show detailed info on a trigger (with some stats)
del: delete a trigger
-all: do action on all triggers
restore: restore trigger(s) with the default values (works only for default triggers)
default: delete all triggers and restore default ones
monitor: open the trigger monitor buffer, with optional filter:
filter: filter hooks/triggers to display (a hook must start with "@", for example "@signal"), many filters can be separated by commas; wildcard "*" is allowed in each trigger name
When a trigger callback is called, following actions are performed, in this order:
1. check conditions; if false, exit
2. replace text using POSIX extended regular expression(s) (if defined in trigger)
3. execute command(s) (if defined in trigger)
4. exit with a return code (except for modifier, line, focus, info and info_hashtable)
5. perform post action
Examples (you can also look at default triggers with /trigger listdefault):
add text attributes *bold*, _underline_ and /italic/ (only in user messages):
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*([^ ]+)\*==*${color:bold}${re:1}${color:-bold}*== ==_([^ ]+)_==_${color:underline}${re:1}${color:-underline}_== ==/([^ ]+)/==/${color:italic}${re:1}${color:-italic}/"
hide nicklist bar on small terminals:
/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"
silently save config each hour:
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
open trigger monitor and show only modifiers and triggers whose name starts with "resize":
/trigger monitor @modifier,resize*
----
// end::trigger_commands[]
|