mirror of
https://github.com/weechat/weechat.git
synced 2026-06-18 17:14:47 +02:00
Compare commits
536 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dfea9b208c | |||
| 263f15cf2e | |||
| 36f0aab4d4 | |||
| 1f77a51ddc | |||
| c96eea0f54 | |||
| 87fa5c8b52 | |||
| 6f83c33ed9 | |||
| 23ff266816 | |||
| 8affe52ee4 | |||
| 162565466e | |||
| a2384b3514 | |||
| 219621b8cc | |||
| a3d7bcf804 | |||
| 8978b9c4b9 | |||
| b605e52d0f | |||
| c554ed2da5 | |||
| dde12565e7 | |||
| 34e220df56 | |||
| 537e1781a6 | |||
| d66bfc2458 | |||
| fb3fd5b0eb | |||
| c0762e3b13 | |||
| 4519707904 | |||
| 30e194e41f | |||
| 5e4f45e2a2 | |||
| e339e9020d | |||
| 5332d2ba27 | |||
| 058c026e10 | |||
| dd79c6b8bf | |||
| e867f2dd35 | |||
| ba468f2234 | |||
| 6c67b97fb7 | |||
| 9f5d99f57e | |||
| c79becdc85 | |||
| 7405588a6e | |||
| 4061f0641d | |||
| 5787acad2c | |||
| 5e29f17620 | |||
| 4950d462d0 | |||
| 20b567c3df | |||
| d395846fb7 | |||
| bee62989f6 | |||
| 7579529d94 | |||
| a8fc49bd79 | |||
| d617f1d154 | |||
| 82b3f86c43 | |||
| 812ab4129f | |||
| d6925c982e | |||
| c3e9858d55 | |||
| 7290f0f1ab | |||
| 0093bf0849 | |||
| 3bf3f22928 | |||
| 880e10b6d6 | |||
| 054abdff85 | |||
| 860e9a08f3 | |||
| 148e74d2c3 | |||
| f5fadd9c12 | |||
| 0abe6f0322 | |||
| c74cf01b63 | |||
| eb2e8891cb | |||
| 97a3d47650 | |||
| 4ed02bbdcf | |||
| 63244d9a30 | |||
| fcc885eff0 | |||
| 7feb775299 | |||
| 8da229fd9d | |||
| 398e056029 | |||
| f30fb21175 | |||
| a89ca83306 | |||
| 0e785fe106 | |||
| 3e6e347d13 | |||
| 8d014d66da | |||
| f07c42fff3 | |||
| e0c6451b91 | |||
| 29e879326d | |||
| e995453b9a | |||
| bad4bd0bef | |||
| 0872e77872 | |||
| 41b7aa0f93 | |||
| a4bf839a30 | |||
| 1ff61b1745 | |||
| 2d5e1474e3 | |||
| 57477f9da9 | |||
| 64bcd25692 | |||
| cd3f62d37e | |||
| 17989f8d71 | |||
| b498062fde | |||
| 2096354ea8 | |||
| 1daa5061a9 | |||
| 926932a20f | |||
| 6323e55ab4 | |||
| 0b6a91837c | |||
| c988f0c473 | |||
| 7f0e0b5eea | |||
| 25bfda26e9 | |||
| a584ef4261 | |||
| 00935961e8 | |||
| e12a2c985c | |||
| 9a81c27e7d | |||
| 0f0f7511d2 | |||
| aa149dcfbc | |||
| 4d64128ef2 | |||
| 7d5ea81f93 | |||
| 063744ef7d | |||
| cfd2f57dd1 | |||
| 8d60035951 | |||
| ff2fdc14b7 | |||
| 8c6fa998f8 | |||
| 600fe4deb3 | |||
| 7b9ef6b56e | |||
| 00dd81761f | |||
| 85db677423 | |||
| 70ebdc9808 | |||
| f8e31fa38f | |||
| 018b440004 | |||
| f1fdc469c4 | |||
| 47db86b66a | |||
| 2ca6c6a3f1 | |||
| 158d2c9934 | |||
| 7758f02992 | |||
| fef85af5cc | |||
| 3fb1affd95 | |||
| f5731322da | |||
| 1dc994e5f6 | |||
| 429167f032 | |||
| aba6e1257d | |||
| 6d01968259 | |||
| fddd0416b9 | |||
| 8e436c58cd | |||
| 4713f94602 | |||
| ef43b3e013 | |||
| 0e113ded09 | |||
| cd75488d0d | |||
| dc80d87b0e | |||
| 0213633fb8 | |||
| fa833455ae | |||
| 749fae7a75 | |||
| e99915e427 | |||
| 22d0d47d2d | |||
| 0af26a3fb5 | |||
| 6dacffe946 | |||
| 3409d9a7e7 | |||
| c14e090638 | |||
| 1b348cf8ad | |||
| 66161f5249 | |||
| a1bbfb0129 | |||
| 428127cb71 | |||
| 029e539aba | |||
| 53acc07eb1 | |||
| bbe2f9093c | |||
| 09efc5333f | |||
| 4ba67bdd0c | |||
| 632d451f62 | |||
| 216b68b682 | |||
| 3e2349481c | |||
| 37e4e1f011 | |||
| 412ffa632e | |||
| e0a50e4d9a | |||
| 00613ece06 | |||
| 8c1c01e58e | |||
| 59158c48d3 | |||
| a1bc5ce60f | |||
| 10ab4b0a20 | |||
| c774d9eb00 | |||
| 22f255afbb | |||
| 78accc74a3 | |||
| fe1e7bdce6 | |||
| 9208800f22 | |||
| b712ce9ac4 | |||
| 015a9d0a22 | |||
| 875d1e5fee | |||
| ac52a1d607 | |||
| d1d41da7ad | |||
| 3ba99d6d71 | |||
| 8ffbfe4b2c | |||
| 7ce144e875 | |||
| 59a0d27668 | |||
| f1dbe04c20 | |||
| c7d9ebd5c4 | |||
| e03df08e0a | |||
| 670c05554c | |||
| 7aabd15b4f | |||
| 7d5878e4d6 | |||
| 0ea530127b | |||
| f4c01bc785 | |||
| 4061f34127 | |||
| cad95b8f32 | |||
| 71ac31fcdd | |||
| 7d29001f9d | |||
| 3e4db5f7c1 | |||
| 5a915f6974 | |||
| 6729d8d6f2 | |||
| 045ceb961f | |||
| ef039c99da | |||
| 48f526b55a | |||
| 3dcea50073 | |||
| 855997623d | |||
| 2aeb867fb8 | |||
| d6a85fd553 | |||
| c20ce83d20 | |||
| b5a7d8e99e | |||
| 101e623b75 | |||
| eadfd18117 | |||
| 844a16a3c5 | |||
| b786cdafe6 | |||
| b99273387b | |||
| 6961bcb05a | |||
| 0eae5234a1 | |||
| 3fb24d37f8 | |||
| b3b516e023 | |||
| 07dc0c85df | |||
| 9d96e3ad33 | |||
| 812ed965e9 | |||
| b84f75eba6 | |||
| 7772bcfd33 | |||
| 5473b39986 | |||
| ac297214e0 | |||
| 463d4638c1 | |||
| 17a52d0020 | |||
| 4dd93fd6d3 | |||
| ffd4b7c254 | |||
| 1386c9218d | |||
| ac3a3d365f | |||
| 2273e47d81 | |||
| b789f39702 | |||
| 189d06624e | |||
| 0ff3acf6e4 | |||
| e9939cf574 | |||
| 81aff59e4e | |||
| ff2e38a006 | |||
| 655150875b | |||
| dfa9ed31d4 | |||
| 1e81591803 | |||
| a9b3e2efae | |||
| 2ee57a4af5 | |||
| a3878a522c | |||
| 06c4cf4144 | |||
| 0f07b69688 | |||
| def08461d4 | |||
| 8dcb59fd0b | |||
| 9b91c91577 | |||
| 481e6f8e7f | |||
| e4ad664010 | |||
| 5a82d5a246 | |||
| 8c29d36461 | |||
| 14751f721d | |||
| 5d70f20c27 | |||
| 71d5c65e28 | |||
| b49ed70af4 | |||
| 9753571988 | |||
| c12b23382e | |||
| 232e5a27f0 | |||
| ebf5b78fce | |||
| 3bedad8622 | |||
| 047d941f46 | |||
| cf4a22b156 | |||
| 40bfb43e0f | |||
| edcc676ecf | |||
| 6f1683172f | |||
| 80a76f65f6 | |||
| 9f035d8f91 | |||
| 33ff438086 | |||
| 1759b1f004 | |||
| 29dd888e6f | |||
| 63416bb801 | |||
| a33efdd755 | |||
| 28f7902667 | |||
| 0493cb89eb | |||
| cb95bfc846 | |||
| f325b5a71f | |||
| 6450867535 | |||
| bd4d543d50 | |||
| 50b371da7e | |||
| 5479a3d10a | |||
| 7c51a79460 | |||
| 09b73be53a | |||
| 3eb2b1dc0f | |||
| 11acdddda3 | |||
| ba5349d9cb | |||
| ce72bdb9f0 | |||
| cb334b6de3 | |||
| 9905ee774b | |||
| 56ebcb53eb | |||
| 85cd863819 | |||
| 46205116c2 | |||
| 311ac060ce | |||
| bb021e567a | |||
| 00fbd7ad56 | |||
| 77e3fb3c83 | |||
| 1f801ff079 | |||
| 0d2afafbd0 | |||
| 74ee068457 | |||
| 8f623f6747 | |||
| ef1c7734bf | |||
| f4ccd51f74 | |||
| 2ad953097f | |||
| f680066f16 | |||
| 857a1b9139 | |||
| 72d15555ac | |||
| 904ed30e82 | |||
| f782970158 | |||
| ffd9a850c2 | |||
| 3e53c517d0 | |||
| 9d59722879 | |||
| 6db6b35e40 | |||
| aacbf82675 | |||
| e64138b70a | |||
| 440214d098 | |||
| 17fdaf83d3 | |||
| 487d776b87 | |||
| 9f88f68e3b | |||
| 5a0461ac69 | |||
| 48deeb9e77 | |||
| f6fb874c88 | |||
| 8c2876a77c | |||
| 3060525426 | |||
| 5a4515b759 | |||
| 8babdca0dc | |||
| 1d211a16da | |||
| f8c913a77a | |||
| 5c56f9ff33 | |||
| 8361053576 | |||
| 70d6af7a0e | |||
| fb607cb4ab | |||
| b2183ee3ed | |||
| 22b80dec65 | |||
| 8ee907af02 | |||
| a5cd14add5 | |||
| 34ee7e4076 | |||
| b11f2b2c4b | |||
| aff43aa355 | |||
| d861cb0fd3 | |||
| c92ad8b195 | |||
| 06cc936937 | |||
| 451f623c98 | |||
| 8df7ac464b | |||
| 2f6a4140d6 | |||
| 9909adc0a4 | |||
| 3eced7694b | |||
| b7fc6747f6 | |||
| ff82fdffb7 | |||
| 480e40d6f8 | |||
| 5699898d5b | |||
| a0e5c4567b | |||
| 4c4f5ab012 | |||
| c308b2ec1f | |||
| cc47e94422 | |||
| 70331a15b5 | |||
| 6cf207f23a | |||
| 7fae7c504a | |||
| 7f68da2c74 | |||
| ee68e1c944 | |||
| ede2bf1374 | |||
| 9563cf2b9d | |||
| 2068aa5322 | |||
| 0221e4ab15 | |||
| f50ed1f267 | |||
| f46984357d | |||
| b38908ff67 | |||
| eccf1ad92d | |||
| f0541c5f12 | |||
| 37edc90d7f | |||
| 055a2c6a64 | |||
| c5f1a1af6c | |||
| e5ba6dcb85 | |||
| 636a6ca088 | |||
| 9680e67a9a | |||
| 2a22ebbf06 | |||
| f4f63412f8 | |||
| cd47f4246e | |||
| 7e3db3dfa4 | |||
| dc7595c78e | |||
| daa802a6a2 | |||
| 3e17a27c01 | |||
| 87d3725823 | |||
| a38b9ecf79 | |||
| d8b775d2c4 | |||
| f6ff17ebb0 | |||
| 98338e2e20 | |||
| de3d072220 | |||
| 130d9012f8 | |||
| c7cab37e16 | |||
| 99e3f219af | |||
| 935d8e9304 | |||
| b48fb5c0ec | |||
| 08aa5570d8 | |||
| 62059cb614 | |||
| 4e434e4fb3 | |||
| 3b2e2ad006 | |||
| cb329a3f33 | |||
| 59795445c5 | |||
| c1e68a4d24 | |||
| 9f9c2c7147 | |||
| 507ae028c5 | |||
| 5235fd119c | |||
| 0fbcc93e6c | |||
| 78b4477644 | |||
| e5eedac4c3 | |||
| 439cc20c3d | |||
| 6460e337f2 | |||
| 4af2f3a02d | |||
| 7509710c33 | |||
| 39cc46b609 | |||
| 0c7f9f274d | |||
| 16c7e4b61c | |||
| 1ac38c3458 | |||
| ad624059ad | |||
| 6599c52352 | |||
| fe90f3d4e4 | |||
| 8b0ca6ac41 | |||
| 7f0a3f795b | |||
| 02c0b9fab3 | |||
| 37b5e25f7f | |||
| 2e7e88f7fa | |||
| 5816e4526e | |||
| d13e2328b1 | |||
| 1838637f24 | |||
| 6beb0f1cb0 | |||
| b0260b6494 | |||
| fe2bb8516b | |||
| 9eb6643f63 | |||
| d2f855b7ee | |||
| 586e89b191 | |||
| f6bb78a3b2 | |||
| 1c9456f2a7 | |||
| 545fa4c332 | |||
| ec9da8cc85 | |||
| 2322eb0625 | |||
| 0eea93bba3 | |||
| 1bc71392c4 | |||
| 94a5c72590 | |||
| 15f75d157c | |||
| 7e802070ca | |||
| c2dd7e4ffb | |||
| 524fbba036 | |||
| 87aa03b2cf | |||
| a47e4a9567 | |||
| 88fd88373d | |||
| ed5f70aa6a | |||
| 8659d94965 | |||
| 949c4f72e0 | |||
| a4650a7f92 | |||
| 127edfb0fe | |||
| 631eab3c66 | |||
| 1418897108 | |||
| f4ab9dcc33 | |||
| d88ad92c72 | |||
| 01aa8472c0 | |||
| c1ce18e2f6 | |||
| bdaaa6182f | |||
| c7a8d68f70 | |||
| 78ca78855e | |||
| 293bf5988b | |||
| 65b4c157d1 | |||
| e36b53bf74 | |||
| 59cddf7a40 | |||
| dce5e4fa18 | |||
| 5d08d5e27c | |||
| 93e69f5b3e | |||
| beb846884c | |||
| 343e7fe59d | |||
| 057cffe9f0 | |||
| 86c2fb3031 | |||
| b7ba64c744 | |||
| 7d944ceca4 | |||
| 6172338bb7 | |||
| 27f45cdc6a | |||
| 9761177a2c | |||
| 3352658af4 | |||
| b314ee0f43 | |||
| 758f7f0103 | |||
| b33e8c6482 | |||
| 23f3622f2c | |||
| 6021ee85cb | |||
| bcee678a56 | |||
| 40ffeb9e0c | |||
| fb0e3a4e95 | |||
| daf2087164 | |||
| a17a5337dc | |||
| a56d65a7c0 | |||
| 5af8e4f6e7 | |||
| a065de071c | |||
| 22d8c1017b | |||
| 9481ec0c9c | |||
| f80489f469 | |||
| 2fd53dcc37 | |||
| b34bb801dc | |||
| 14fdcc5157 | |||
| 0b523df418 | |||
| b81b747b96 | |||
| 0da4487a11 | |||
| f2258884d9 | |||
| 1bee0ba0b2 | |||
| 69730a21dd | |||
| d6459aa638 | |||
| 58a1fc72db | |||
| 1bc997b238 | |||
| 1f03444a6b | |||
| c525b231e4 | |||
| 6963ca7b65 | |||
| 99d86d64ab | |||
| 94face39a6 | |||
| 2a34684bc1 | |||
| 5068f4d365 | |||
| 212ec7a76d | |||
| 08b0272a9b | |||
| d01081241a | |||
| 8ef6192b49 | |||
| f98d66a842 | |||
| 6175a89580 | |||
| 23bfafed6a | |||
| fccefcdf04 | |||
| d86af240fa | |||
| c803419616 | |||
| cc324abb75 | |||
| 8c8a4104f0 | |||
| 83bdd97916 | |||
| 56af0e3284 | |||
| 9abddbb7e9 | |||
| c0b6a23959 | |||
| 173c7f7f2e | |||
| eaa33bfb8e | |||
| fcd3809326 | |||
| 8d4497a764 | |||
| d9c032fee3 | |||
| 9fb1176b1b | |||
| 9ed873ed94 | |||
| 27fd4beca7 | |||
| 6a55ee4f79 | |||
| 4a13abcc9b | |||
| e499c1cb32 | |||
| 12b0742668 | |||
| 04e9677405 | |||
| 3ff8d488e7 | |||
| a4ee390737 | |||
| 2b99338176 |
@@ -9,17 +9,11 @@ Developers:
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
Web : http://weechat.flashtux.org
|
||||
IRC : nick is "FlashCode" @ irc.freenode.net
|
||||
Jabber: flashcode@jabber.org
|
||||
ICQ : 160677660
|
||||
AIM : FlashCode AIM
|
||||
Yahoo : FlashCode_Y
|
||||
|
||||
* Scripts plugins
|
||||
|
||||
Kolter <kolter@free.fr>
|
||||
Web : http://kolter.free.fr
|
||||
kolter <kolter@openics.org>
|
||||
IRC : nick is "kolter" @ irc.freenode.net
|
||||
Jabber: kolter@jabber.org
|
||||
|
||||
|
||||
Debian packager:
|
||||
@@ -33,17 +27,21 @@ Julien Louis <ptitlouis@sysif.net>
|
||||
Contributors:
|
||||
------------
|
||||
|
||||
Rudolf Polzer <rpolzer-rp@durchnull.de> (IRC: "divVerent")
|
||||
Jiri Golembiovsky <golemj@gmail.com> (IRC: "GolemJ")
|
||||
Jim Ramsay <i.am@jimramsay.com> (IRC: "lack")
|
||||
Odin <odin@dtdm.org> (IRC: "[Odin]")
|
||||
Pistos (IRC: "pistos")
|
||||
Rudolf Polzer <rpolzer-rp@durchnull.de>, IRC: "divVerent"
|
||||
Jiri Golembiovsky <golemj@gmail.com>, IRC: "GolemJ"
|
||||
Jim Ramsay <i.am@jimramsay.com>, IRC: "lack"
|
||||
Odin <odin@dtdm.org>, IRC: "Odin"
|
||||
Pistos, IRC: "pistos"
|
||||
Gwenn, IRC: "gwenn"
|
||||
Voroskoi, IRC: "voroskoi"
|
||||
Frank Zacharias
|
||||
Pavel Shevchuk, IRC: "Stalwart"
|
||||
|
||||
|
||||
=====
|
||||
|
||||
Whole team is connected to IRC:
|
||||
server: irc.freenode.net, channel: #weechat
|
||||
server: irc.freenode.net, channels: #weechat and #weechat-fr (french)
|
||||
|
||||
|
||||
See README file for licence detail.
|
||||
|
||||
@@ -1,14 +1,5 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
WeeChat known bugs, 2006-03-18
|
||||
|
||||
- display bugs with UTF-8 chars coded on more than 2 bytes
|
||||
- divide long messages (> 512 bytes) into more messages so IRC server can
|
||||
parse them correctly
|
||||
- some refresh bugs with splited windows
|
||||
- command name for /server can not contain spaces
|
||||
- when many WeeChat are launched, log file is not properly written
|
||||
(cleared by each WeeChat at startup)
|
||||
- WeeChat may crash if too much nicks in nicklist when position is top
|
||||
or bottom
|
||||
WeeChat known bugs:
|
||||
please look at https://savannah.nongnu.org/bugs/?group=weechat
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
PROJECT(weechat)
|
||||
|
||||
SET(CMAKE_VERBOSE_MAKEFILE OFF)
|
||||
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
||||
SET(CMAKE_SKIP_RPATH ON)
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W")
|
||||
IF(PREFIX)
|
||||
SET(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
|
||||
ENDIF(PREFIX)
|
||||
|
||||
SET(VERSION 0.2.5-cvs)
|
||||
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
||||
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/weechat)
|
||||
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share/weechat)
|
||||
SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale)
|
||||
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
|
||||
|
||||
OPTION(DISABLE_NCURSES "Disable Ncurses interface")
|
||||
OPTION(DISABLE_NLS "Disable Native Language Support")
|
||||
OPTION(DISABLE_GNUTLS "Disable SSLv3/TLS connection support")
|
||||
OPTION(DISABLE_PLUGINS "Disable Plugins support")
|
||||
OPTION(DISABLE_PERL "Disable Perl scripting language")
|
||||
OPTION(DISABLE_PYTHON "Disable Python scripting language")
|
||||
OPTION(DISABLE_RUBY "Disable Ruby scripting language")
|
||||
OPTION(DISABLE_LUA "Disable Lua scripting language")
|
||||
OPTION(DISABLE_ASPELL "Disable Aspell plugin")
|
||||
OPTION(DISABLE_CHARSET "Disable Charset plugin")
|
||||
OPTION(DISABLE_DOC "Disable Doc")
|
||||
|
||||
ADD_SUBDIRECTORY( po )
|
||||
ADD_SUBDIRECTORY( src )
|
||||
IF(NOT DISABLE_DOC)
|
||||
ADD_SUBDIRECTORY( doc )
|
||||
ENDIF(NOT DISABLE_DOC)
|
||||
|
||||
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
|
||||
@@ -1,9 +1,262 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
ChangeLog - 2006-03-18
|
||||
ChangeLog - 2007-06-07
|
||||
|
||||
|
||||
Version 0.2.5 (2007-06-07):
|
||||
* fixed QUOTE command: now allowed when socket is ok (even if IRC
|
||||
connection to server is not ok) (bug #20113)
|
||||
* added missing IRC commands (327, 378, 379) (bug #20091)
|
||||
* fixed hotlist when exiting search mode: current buffer is removed from
|
||||
hotlist
|
||||
* added "%M" for completion with nicks of current server (nicks on open
|
||||
channels) (task #6931)
|
||||
* improved key bindings: now possible to bind a key on many commands,
|
||||
separated by semicolon (task #5444)
|
||||
* improved IRC long message split: use word boundary (task #6685)
|
||||
* removed ":" for unknown IRC commands before arguments (bug #19929)
|
||||
* fixed "%C" completion: now completes with all channels of all servers
|
||||
* fixed bug with "/buffer query_name", added server and channel completion
|
||||
for /buffer command (bug #19928)
|
||||
* added cmake for weechat compile (patch #5943)
|
||||
* fixed IRC mode parsing when receiving modes with arguments (bug #19902)
|
||||
* fixed crash with IRC JOIN malformed message (bug #19891)
|
||||
* fixed bug with nick prefixes on some IRC servers (bug #19854)
|
||||
* improved setup file save: now writes temporary file, then rename it
|
||||
(task #6847)
|
||||
* fixed bug with $nick/$channel/$server variables in commands
|
||||
* forget current nick when user manually disconnects from server
|
||||
* fixed nick display in input window
|
||||
* fixed bug with erroneous nickname when connecting to server (bug #19812)
|
||||
* fixed display bugs in IRC error messages
|
||||
* added protocol priority for gnutls (patch #5915)
|
||||
* added channel admin mode '!' for some IRC servers
|
||||
* fixed bug with iso2022jp locale (bug #18719)
|
||||
* fixed string format bug when displaying string thru plugin script API
|
||||
* added /reconnect command (task #5448)
|
||||
* added "-all" option for /connect and /disconnect commands (task #6232)
|
||||
* improved nick completion: completion with last speakers first and self
|
||||
nick at the end; added option look_nick_completion_smart, enabled by
|
||||
default (task #5896)
|
||||
* fixed nick completion in command arguments (bug #19590)
|
||||
* fixed possible crash with nick completion when a nick leaves channel
|
||||
(bug #19589)
|
||||
* added color for input text not found in buffer history
|
||||
* fixed USER message when connecting to IRC server (patch #5835)
|
||||
|
||||
Version 0.2.4 (2007-03-29):
|
||||
* fixed color bug with IRC messages displayed by plugins (bug #19442)
|
||||
* fixed topic charset, now using channel charset if defined (bug #19386)
|
||||
* renamed log file for DCC chat (now <server>.dcc.<nick>.weechatlog)
|
||||
* fixed crash when closing a pv if a DCC chat is open on same nick
|
||||
(bug #19147)
|
||||
* fixed bug with channel topic after reconnection (not erased) (bug #19384)
|
||||
* added current buffer in hotlist when scrolling up in buffer (task #6664)
|
||||
* fixed bug with explode_string / free_exploded_string when max_items > 0
|
||||
* added new key (ctrl-R) for interactive and incremental search in buffer
|
||||
history (task #6628)
|
||||
* fixed /topic completion when no topic set on current channel (bug #19322)
|
||||
* improved password hiding, code cleanup (bug #19229)
|
||||
* added new return code in plugin API to force highlight (for message
|
||||
handlers only)
|
||||
* fixed bug with server buffer when "look_one_server_buffer" is ON and
|
||||
server buffer is moved to any number > 1 (bug #19219)
|
||||
* fixed /help command: displays plugin help for redefined commands
|
||||
(bug #19166)
|
||||
* prefix '/' disabled in commands (patch #5769)
|
||||
* fixed completion of redefined commands removed by plugins (bug #19176)
|
||||
* fixed memory leaks in perl and python plugins (bug #19163)
|
||||
* added "call" option to /key command, added new key function "insert" to
|
||||
insert text on command line (task #6468)
|
||||
* fixed permissions on "dcc" and "logs" directories (bug #18978)
|
||||
* added event handler to plugin API
|
||||
* added scots quickstart guide
|
||||
* added numeric argument for /clear command (buffer number) (patch #5372)
|
||||
* fixed crash when /away command is issued with no server connection
|
||||
(bug #18839)
|
||||
* fixed crash when closing a buffer opened on many windows
|
||||
* fixed freeze with SSL server when disconnecting after connection loss
|
||||
(bug #18735)
|
||||
|
||||
Version 0.2.3 (2007-01-10):
|
||||
* fixed display bugs with nicklist at top/bottom when look_nicklist_separator
|
||||
is OFF (bug #18737)
|
||||
* fixed iconv problem, causing truncated words when using iso locale
|
||||
* fixed topic scroll when topic has multi-bytes chars
|
||||
* fixed compilation problem with iconv under FreeBSD
|
||||
* fixed bugs with charset: now decodes/encodes nicks and channels in IRC
|
||||
messages (bug #18716)
|
||||
|
||||
Version 0.2.2 (2007-01-06):
|
||||
* fixed bug with status bar (missing refresh) when closing a buffer
|
||||
* fixed bug with use of first buffer for a channel if not connected
|
||||
to server (now allowed only for a server buffer)
|
||||
* fixed refresh bug with private buffer title
|
||||
* fixed bug with nick completion in command args (now uses option
|
||||
look_nick_completion_ignore)
|
||||
* fixed display bug with color for first line on screen (bug #17719)
|
||||
* added anti-flood option (irc_anti_flood) (task #5442)
|
||||
* fixed bug with "set_config" function in plugins API (bug #18448)
|
||||
* plugins: "add_message_handler" now accepts "*" for all IRC messages
|
||||
* added keys (F9/F10) to scroll topic (task #6030)
|
||||
* added auto completion with channels and filenames (task #5423)
|
||||
* fixed memleak in keyboard input
|
||||
* fixed refresh bug when changing config options if window is splited
|
||||
* added space between chat and nicklist when position is "right" (bug #17852)
|
||||
* added option "look_nicklist_separator" (task #5437)
|
||||
* fixed bug with DCC SEND when filename begins with '~'
|
||||
* added "irc_send_unknown_commands" option to send unknown commands to
|
||||
IRC server (OFF by default) (task #5947)
|
||||
* /charset command and charset conversions now made by "charset" plugin
|
||||
* fixed display bug in status bar, wrong length when using UTF-8
|
||||
* fixed bug with ignore: now any IRC command is allowed
|
||||
* fixed crash with Ctrl-T (transpose) and one char on line (bug #18153)
|
||||
* added filename completion (task #5425)
|
||||
* added "modifier" in plugins API
|
||||
* improved /plugin command
|
||||
* fixed bug on ignore with "mode" IRC command (bug #18058)
|
||||
* fixed crash when loading ruby script if file does not exist, with
|
||||
Ruby >= 1.9 only (bug #18064)
|
||||
* added date in plugin function get_buffer_data()
|
||||
* fixed some portability bugs (patch #5271)
|
||||
* fixed iconv detection for BSD (patch #5456)
|
||||
* fixed typo in configure.in (bash specific test) (patch #5450)
|
||||
* mode changes with /op, /deop, /voice, /devoice, /halfop, /dehalfop are
|
||||
now sent in one mode command to server (task #5968)
|
||||
* added more values for config boolean values: y/true/t/1 and n/false/f/0
|
||||
* fixed bug with /alias and arguments (like $1), now text after
|
||||
argument(s) is used (bug #17944)
|
||||
* fixed minor display bug with special chars on some arch like PPC
|
||||
|
||||
Version 0.2.1 (2006-10-01):
|
||||
* fixed crash for DCC receiver when resuming a file (bug #17885)
|
||||
* fixed DCC error for sender when receiver cancels DCC (bug #17838)
|
||||
* fixed random crash with /upgrade command (error when loading buffers)
|
||||
* fixed buffer search by server/channel: now if only channel is specified,
|
||||
a channel of another server can be found
|
||||
* fixed highlight for DCC, invite and notice: when a window is displaying
|
||||
buffer, there's no highlight
|
||||
* command "/away -all" now allowed when not connected to current server
|
||||
* new signals handled: SIGTERM and SIGHUP (received when terminal is closed):
|
||||
clean WeeChat quit (send quit to irc servers then quit WeeChat)
|
||||
* added some new default key bindings for existing keys (for some OS)
|
||||
* command /key now ok with one arg (key name): display key if found
|
||||
* fixed bug with CTCP VERSION sent on channels (bug #17547)
|
||||
* added current channel completion for /ctcp command
|
||||
* fixed bugs in get_buffer_data() which breaks the retrieval of buffer
|
||||
content (perl, lua)
|
||||
* fixed nicklist display bug when top/bottom (not enough lines) (bug #17537)
|
||||
* fixed bug with auto-rejoin of keyed chans (bug #17534)
|
||||
* added default nick completion when line starts with '//' (bug #17535)
|
||||
* values yes/no accepted (as on/off) for config boolean values (task #5454)
|
||||
* added server default notify level (set by /buffer notify on server buffer)
|
||||
(task #5634)
|
||||
* fixed crashs with /buffer and /charset commands when not connected to any
|
||||
server (bug #17525)
|
||||
* added special vars $nick/$channel/$server for server_command, alias and
|
||||
plugin command handlers
|
||||
* added arguments $1,$2,..,$9 and $* for alias (task #5831)
|
||||
* added hotlist in session file when using /upgrade command (task #5449)
|
||||
* fixed nick refresh problem with unrealircd specific modes: chan owner (~)
|
||||
and chan admin (&) (bug #17340)
|
||||
|
||||
Version 0.2.0 (2006-08-19):
|
||||
* added 'C'lear option on IRC raw buffer
|
||||
* IRC raw buffer now uses join/part prefix with color to display messages
|
||||
* added send of "quit" message to server when using /disconnect
|
||||
* fixed "wallops" command when received, now displayed by WeeChat (bug #17441)
|
||||
* fixed /wallops command (now many words are correctly sent)
|
||||
* fixed command 348 (channel exception list, received by /mode #chan e)
|
||||
* added missing modes (channel & user), now all modes are allowed (bug #16606)
|
||||
* added "%m" for completion with self nick (on current server)
|
||||
* added missing IRC commands (310, 326, 329, 338)
|
||||
* fixed DCC restore after /upgrade (order is now correctly saved)
|
||||
* fixed away after server disconnection (now away is set again when
|
||||
reconnecting) (bug #16359)
|
||||
* fixed DCC file connection problem (connection from receiver to sender)
|
||||
* improved DCC speed (up to x5 on LAN) by forking for DCC files and a
|
||||
new option "dcc_fast_send" (does not wait for ACK) (task #5758)
|
||||
* fixed crash when purging DCC with high number of DCC (> window size)
|
||||
* fixed completion for command handlers (now empty completion_template
|
||||
means nick completion, "-" string means no completion at all)
|
||||
* fixed nick alignment problem when look_nickmode is off
|
||||
* added generic function for incoming numeric IRC commands (bug #16611)
|
||||
* fixed crash when doing "/part something" on a server buffer (bug #17201)
|
||||
* charsets are now checked when set by /charset command
|
||||
* added "look_save_on_exit" option (patch from Emanuele Giaquinta)
|
||||
* fixed crash on DCC buffer under Darwin 8 (bug #17115)
|
||||
* added configure option for doc XSL prefix (bug #16991)
|
||||
* fixed bug with spaces in script names (bug #16957)
|
||||
* fixed random crash when "MODE #chan -l" is received
|
||||
* fixed bug in IRC parser (random crash with malformed IRC messages)
|
||||
* fixed refresh bugs when terminal is resized: too many refreshs,
|
||||
display bug with splited windows
|
||||
* case ignored for channel names in charset options (bug #16858)
|
||||
* fixed crash when setting look_one_server_buffer to ON (bug #16932)
|
||||
* added new functions in plugin/script API: get window info,
|
||||
get buffer info, get buffer content
|
||||
* added polish, russian and czech quickstart guide
|
||||
* fixed display bug with special char (bug #16732)
|
||||
* added color encoding for some commands like /me
|
||||
* added aspell plugin
|
||||
* renamed plugins names (removed "lib" prefix in name)
|
||||
* fixed crash when closing DCC/raw buffer if 2 are open (bug #16808)
|
||||
* fixed crashes with DCC chat remove/purge on DCC view (bug #16775)
|
||||
* fixed bug with connection to bnc (bug #16760)
|
||||
* command /save now writes plugins options (~/.weechat/plugins.rc)
|
||||
* fixed crash with "register" function in plugin scripts (bug #16701)
|
||||
* fixed random crash at exit (/quit or /upgrade) with splited windows
|
||||
|
||||
Version 0.1.9 (2006-05-25):
|
||||
* fixed /squery command (message sent to server, now ok with # args > 2)
|
||||
* fixed /alias command (with an alias name, display content)
|
||||
* improved lua plugin detection (bug #16574)
|
||||
* added backtrace when WeeChat crashes, log file automatically renamed
|
||||
* added lock for log file (~/.weechat/weechat.log), only one WeeChat
|
||||
process can use this file (bug #16382)
|
||||
* fixed crash with malformed UTF-8 strings
|
||||
* fixed crash with ncurses color when too many colors defined in ncurses
|
||||
(bug #16556)
|
||||
* added new key to find previous completion (shift-tab by default)
|
||||
* fixed bug with long outgoing IRC messages (> 512 bytes) (bug #16358)
|
||||
* fixed Ruby crash when handler does not return OK or KO (bug #16552)
|
||||
* fixed UTF-8 display bug with chars using more than one cell on screen
|
||||
(bug #16356)
|
||||
* fixed display bug with DCC file size when > 1 Gb
|
||||
* fixed refresh bug (deadlock in curses) when terminal is resized
|
||||
(bug #16542)
|
||||
* fixed nicklist sort bug
|
||||
* added russian translations (thanks to Pavel Shevchuk)
|
||||
* added german doc (thanks to Frank Zacharias)
|
||||
* added missing IRC commands (006, 007, 290, 292, 310, 379, 437, 974)
|
||||
* fixed crash when multiple pv have same name: now it's forbidden
|
||||
and pv buffer is not renamed (when a nick changes) if another
|
||||
exists with same name (bug #16369)
|
||||
* command /clear [-all] now clears hotlist
|
||||
* fixed crash after /upgrade if a line in history is empty (bug #16379)
|
||||
* fixed many crashes with DCC chat (bug #16416)
|
||||
* added new option to customize input prompt
|
||||
* added nick modes
|
||||
* fixed commands 332, 333 (/topic now ok when channel is not opened)
|
||||
* removed color encoding and charset conversion for commands (only
|
||||
allowed in text sent to channel/private)
|
||||
* added hostnames associeted to nicks (available for /ban completion)
|
||||
* added "+p" mode for channels, fixed mode display in status bar
|
||||
* added nick alignment options
|
||||
* fixed /names command: now displays result when not on a channel
|
||||
* fixed refresh bug (too many refresh) when terminal is resized
|
||||
* fixed nicklist display bugs when on top or bottom of chat window
|
||||
* added keyboard handler to plugin API
|
||||
* improved script plugin loader
|
||||
* added hostname/IP option for connection to server
|
||||
* fixed --disable-plugins option in configure script
|
||||
* added /setp command (set plugin options)
|
||||
* fixed high CPU usage when running under a screen that has been killed
|
||||
* aliases are executed before WeeChat/IRC commands, /builtin command added
|
||||
* added /cycle command, /part command does close buffer any more (use
|
||||
/buffer close (or alias /close) to part and close buffer
|
||||
|
||||
Version 0.1.8 (2006-03-18):
|
||||
* improved Ruby plugin
|
||||
* fixed /set command when internal server name contains one or many dots
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
WeeChat FAQ, 2006-03-18
|
||||
WeeChat FAQ, 2007-06-07
|
||||
=======================
|
||||
|
||||
Intended audience:
|
||||
@@ -75,16 +75,32 @@ A: For help you can type /help. For help about a command, type /help command.
|
||||
|
||||
2.3
|
||||
================================================================================
|
||||
Q: I don't see come chars with accents, what can I do?
|
||||
Q: I heard about "buffers" and "windows", what's the difference?
|
||||
|
||||
A: You have to setup charset used for decoding (ISO and UTF), encoding, and
|
||||
internal WeeChat charset.
|
||||
Internal charset should be empty value, except if WeeChat failed to
|
||||
detect your locale (WeeChat looks for "UTF-8" in your locale name).
|
||||
A: A window is used when you split screen vertically or horizontally.
|
||||
A buffer is a "view" for a window. Each window displays a buffer, and
|
||||
many windows may display same buffer.
|
||||
Examples of buffers: server messages, channel, DCC list, ..
|
||||
|
||||
|
||||
2.4
|
||||
================================================================================
|
||||
Q: I don't see some chars with accents, what can I do?
|
||||
|
||||
A: For versions < 0.2.3, please upgrade to last stable version.
|
||||
For versions >= 0.2.3 :
|
||||
- check that weechat-curses is linked to libncursesw (warning: needed
|
||||
on most distributions but not all) :
|
||||
ldd /path/to/weechat-curses
|
||||
- check charset line (on server buffer), you should see ISO-XXXXXX or
|
||||
UTF-8 for terminal charset. If you see ANSI_X3.4-1968 or other values,
|
||||
probably your locale is wrong.
|
||||
- setup global decode value, for example:
|
||||
/setp charset.global.decode = ISO-8859-15
|
||||
|
||||
|
||||
2.5
|
||||
================================================================================
|
||||
Q: How can I customize key bindings?
|
||||
|
||||
A: Key bindings are customizable with /key command.
|
||||
@@ -92,7 +108,7 @@ A: Key bindings are customizable with /key command.
|
||||
in input zone.
|
||||
|
||||
|
||||
2.5
|
||||
2.6
|
||||
================================================================================
|
||||
Q: How can I load Perl scripts?
|
||||
Are Perl scripts compatible with other IRC clients ?
|
||||
@@ -104,7 +120,7 @@ A: You can use /perl command to load scripts (default path is
|
||||
Perl scripts are not compatible with other IRC clients.
|
||||
|
||||
|
||||
2.6
|
||||
2.7
|
||||
================================================================================
|
||||
Q: How can I load Python scripts?
|
||||
Are Python scripts compatible with other IRC clients ?
|
||||
@@ -116,7 +132,7 @@ A: You can use /python command to load scripts (default path is
|
||||
Python scripts are not compatible with other IRC clients.
|
||||
|
||||
|
||||
2.7
|
||||
2.8
|
||||
================================================================================
|
||||
Q: How can I load Ruby scripts?
|
||||
Are Ruby scripts compatible with other IRC clients ?
|
||||
@@ -128,7 +144,7 @@ A: You can use /ruby command to load scripts (default path is
|
||||
Ruby scripts are not compatible with other IRC clients.
|
||||
|
||||
|
||||
2.8
|
||||
2.9
|
||||
================================================================================
|
||||
Q: How can I load Lua scripts?
|
||||
Are Lua scripts compatible with other IRC clients ?
|
||||
@@ -139,6 +155,40 @@ A: You can use /lua command to load scripts (default path is
|
||||
when WeeChat is starting up.
|
||||
Lua scripts are not compatible with other IRC clients.
|
||||
|
||||
|
||||
2.10
|
||||
================================================================================
|
||||
Q: When I'm using weechat under screen, I have weird chars, when I switch
|
||||
window for example, how to fix that?
|
||||
|
||||
A: This may be caused by bad value of TERM variable (look at echo $TERM).
|
||||
For example, "xterm-color" displays such weird chars, use "xterm" which
|
||||
is ok (like many other values).
|
||||
|
||||
|
||||
2.11
|
||||
================================================================================
|
||||
Q: I want to change language used by WeeChat for messages, but without
|
||||
exiting WeeChat, is it possible?
|
||||
|
||||
A: Yes, you have to use python script shell.py (available on WeeChat
|
||||
website) and issue these commands when script is loaded:
|
||||
/shell setenv LANG=en_US.UTF-8
|
||||
/upgrade
|
||||
(to have english messages with UTF-8 encoding for terminal, for ISO
|
||||
users, you can issue: /shell setenv LANG=en_US)
|
||||
|
||||
|
||||
2.12
|
||||
================================================================================
|
||||
Q: With Curses GUI, how can I copy/paste text without pasting nicklist ?
|
||||
|
||||
A: You can use a terminal with rectangular selection (like rxvt-unicode,
|
||||
konsole, ...).
|
||||
Other solution is to move nicklist to top or bottom, for example:
|
||||
/set look_nicklist_position = top
|
||||
|
||||
|
||||
3.1
|
||||
================================================================================
|
||||
Q: How should I report bugs?
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
WeeChat FAQ, 2006-03-18
|
||||
WeeChat FAQ, 2007-06-07
|
||||
=======================
|
||||
|
||||
Public concerné :
|
||||
@@ -79,17 +79,36 @@ R: Pour obtenir de l'aide tapez /help. Pour de l'aide sur une commande,
|
||||
|
||||
2.3
|
||||
================================================================================
|
||||
Q: Je ne vois pas bien certains accents dans WeeChat, que faire ?
|
||||
Q: J'ai entendu parler de "buffers" et "windows", quelle est la
|
||||
différence ?
|
||||
|
||||
R: Il faut configurer le charset utilisé pour le décodage (ISO et UTF),
|
||||
l'encodage ainsi que le charset interne à WeeChat.
|
||||
Le charset interne à WeeChat doit être une valeur vide, sauf si WeeChat
|
||||
n'arrive pas à déterminer votre locale (WeeChat recherche "UTF-8" dans
|
||||
le nom de la locale).
|
||||
R: Une fenêtre ("window") est utilisée quand vous partagez l'écran
|
||||
verticalement ou horizontalement.
|
||||
Un tampon ("buffer") est une "vue" pour une fenêtre. Chaque fenêtre
|
||||
affiche un tampon, et plusieurs fenêtres peuvent afficher le même
|
||||
tampon.
|
||||
Exemples de tampons: messages serveur, canal, liste des DCC, etc...
|
||||
|
||||
|
||||
2.4
|
||||
================================================================================
|
||||
Q: Je ne vois pas bien certains accents dans WeeChat, que faire ?
|
||||
|
||||
R: Pour les versions < 0.2.3, merci d'installer la dernière version stable.
|
||||
Pour les versions >= 0.2.3 :
|
||||
- vérifiez que weechat-curses est lié avec libncursesw (attention:
|
||||
nécessaire sur beaucoup de distributions, mais pas toutes) :
|
||||
ldd /chemin/vers/weechat-curses
|
||||
- vérifiez la ligne charset (sur le tampon serveur), vous devriez voir
|
||||
ISO-XXXXXX ou UTF-8 pour le charset du terminal. Si vous voyez
|
||||
ANSI_X3.4-1968 ou d'autres valeurs, votre locale est probablement
|
||||
erronée.
|
||||
- affectez la valeur pour le décodage global, par exemple :
|
||||
/setp charset.global.decode = ISO-8859-15
|
||||
|
||||
|
||||
2.5
|
||||
================================================================================
|
||||
Q: Comment puis-je configurer les raccourcis clavier ?
|
||||
|
||||
R: Les raccourcis clavier sont modifiables avec la commande /key.
|
||||
@@ -97,7 +116,7 @@ R: Les raccourcis clavier sont modifiables avec la commande /key.
|
||||
d'une touche et de l'inclure dans la zone de saisie.
|
||||
|
||||
|
||||
2.5
|
||||
2.6
|
||||
================================================================================
|
||||
Q: Comment puis-je charger des scripts Perl ?
|
||||
Les scripts Perl sont-ils compatibles avec d'autres clients IRC ?
|
||||
@@ -109,7 +128,7 @@ R: La commande /perl permet de charger les scripts Perl (le chemin par d
|
||||
Les scripts Perl ne sont pas compatibles avec d'autres clients IRC.
|
||||
|
||||
|
||||
2.6
|
||||
2.7
|
||||
================================================================================
|
||||
Q: Comment puis-je charger les scripts Python ?
|
||||
Les scripts Python sont-ils compatibles avec d'autres clients IRC ?
|
||||
@@ -121,7 +140,7 @@ R: La commande /python permet de charger les scripts Python (le chemin par
|
||||
Les scripts Python ne sont pas compatibles avec d'autres clients IRC.
|
||||
|
||||
|
||||
2.7
|
||||
2.8
|
||||
================================================================================
|
||||
Q: Comment puis-je charger des scripts Ruby ?
|
||||
Les scripts Ruby sont-ils compatibles avec d'autres clients IRC ?
|
||||
@@ -133,7 +152,7 @@ R: La commande /ruby permet de charger les scripts Ruby (le chemin par
|
||||
Les scripts Ruby ne sont pas compatibles avec d'autres clients IRC.
|
||||
|
||||
|
||||
2.8
|
||||
2.9
|
||||
================================================================================
|
||||
Q: Comment puis-je charger des scripts Lua ?
|
||||
Les scripts Lua sont-ils compatibles avec d'autres clients IRC ?
|
||||
@@ -145,6 +164,42 @@ R: La commande /lua permet de charger les scripts Lua (le chemin par
|
||||
Les scripts Lua ne sont pas compatibles avec d'autres clients IRC.
|
||||
|
||||
|
||||
2.10
|
||||
================================================================================
|
||||
Q: Quand j'utilise weechat sous screen, j'ai des caractères bizarres
|
||||
notamment en changeant de fenêtre, comment corriger ça ?
|
||||
|
||||
R: Cela peut être du à la variable TERM qui n'a pas la bonne valeur
|
||||
(regardez echo $TERM). Par exemple "xterm-color" provoque ce genre de
|
||||
problèmes, utilisez "xterm" qui est ok (comme plein d'autres valeurs).
|
||||
|
||||
|
||||
2.11
|
||||
================================================================================
|
||||
Q: Je souhaite changer la langue des messages affichés par WeeChat, mais
|
||||
sans quitter WeeChat, est-ce possible ?
|
||||
|
||||
R: Oui, il faut utiliser le script python shell.py (disponible sur le site
|
||||
de WeeChat) et taper ces commandes une fois le script chargé :
|
||||
/shell setenv LANG=en_US.UTF-8
|
||||
/upgrade
|
||||
(pour avoir des messages anglais avec encodage UTF-8 pour le terminal,
|
||||
pour les utilisateurs en ISO, vous pouvez taper:
|
||||
/shell setenv LANG=en_US)
|
||||
|
||||
|
||||
2.12
|
||||
================================================================================
|
||||
Q: Avec l'interface Curses, comment puis-je copier/coller du texte sans
|
||||
coller la liste des pseudos ?
|
||||
|
||||
R: Vous pouvez utiliser un terminal qui propose la sélection rectangulaire
|
||||
(comme rxvt-unicode, konsole, etc...).
|
||||
Une autre solution est de déplacer la liste des pseudos en haut ou en
|
||||
bas, par exemple :
|
||||
/set look_nicklist_position = top
|
||||
|
||||
|
||||
3.1
|
||||
================================================================================
|
||||
Q: Comment dois-je reporter les bugs ?
|
||||
|
||||
+3
-2
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2003-2006 FlashCode <flashcode@flashtux.org>
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -21,9 +21,10 @@ EXTRA_DIST = config.rpath BUGS FAQ FAQ.fr \
|
||||
debian/changelog debian/control \
|
||||
debian/copyright debian/compat \
|
||||
debian/rules debian/weechat-common.docs \
|
||||
debian/lintian-override \
|
||||
debian/weechat-common.install debian/weechat-curses.dirs \
|
||||
debian/weechat-curses.install debian/weechat-plugins.install \
|
||||
debian/weechat-curses.menu debian/NEWS \
|
||||
debian/weechat-curses.menu debian/NEWS debian/weechat.xpm \
|
||||
weechat.spec weechat_icon_32.png
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
@@ -1,9 +1,82 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
* FlashCode, 2006-03-03 (draft)
|
||||
* FlashCode, 2007-06-07
|
||||
|
||||
Important release notes for 0.1.8 (draft):
|
||||
WeeChat 0.2.5 released.
|
||||
|
||||
* FlashCode, 2007-03-29
|
||||
|
||||
WeeChat 0.2.4 released.
|
||||
|
||||
* FlashCode, 2007-01-10
|
||||
|
||||
WeeChat 0.2.3 released.
|
||||
|
||||
This version fixes several major bugs of version 0.2.2.
|
||||
All users of version 0.2.2 should upgrade to this version.
|
||||
|
||||
* FlashCode, 2007-01-06
|
||||
|
||||
WeeChat 0.2.2 released.
|
||||
|
||||
Important release notes:
|
||||
|
||||
- new charset plugin:
|
||||
- for users of any previous version, all your charset settings
|
||||
in weechat.rc will be LOST! You should save your weechat.rc
|
||||
to keep your values and set them again with new "charset" plugin.
|
||||
- for ISO users: history of channels may be without accents
|
||||
(after /upgrade), this is not recoverable, but this is not a bug.
|
||||
All new messages should be ok.
|
||||
- be careful, now default encode is UTF-8 for all channels (before
|
||||
it was terminal charset). If you still want to send messages as
|
||||
ISO-8859-1, you should send either global encode or server specific
|
||||
encode to ISO-8859-1.
|
||||
For global encode: /setp charset.global.encode = "ISO-8859-1"
|
||||
For server encode: (on server buffer) /charset encode ISO-8859-1
|
||||
- new keys for topic scroll:
|
||||
- new keys for scrolling topic: F9/F10
|
||||
- key F10 was used for "infobar_clear" in previous WeeChat versions,
|
||||
you have to manually rebind this key (except for new WeeChat users):
|
||||
/key <press alt-k then F10> scroll_topic_right
|
||||
which gives something like this:
|
||||
/key meta2-21~ scroll_topic_right
|
||||
|
||||
* FlashCode, 2006-10-01
|
||||
|
||||
WeeChat 0.2.1 released.
|
||||
|
||||
* FlashCode, 2006-08-19
|
||||
|
||||
WeeChat 0.2.0 released.
|
||||
|
||||
Important release notes:
|
||||
|
||||
- if you upgraded with /upgrade in WeeChat, you should /disconnect and
|
||||
then /reconnect on each server, to display properly channel/user modes
|
||||
- if you're using plugins, you should remove some old plugins libraries
|
||||
in WeeChat system library directory (commonly
|
||||
/usr/local/lib/weechat/plugins): remove lib* files (like libperl.*,
|
||||
libpython.*, ..) and keep only new libraries (perl.*, python.*, ..)
|
||||
|
||||
* FlashCode, 2006-05-25
|
||||
|
||||
WeeChat 0.1.9 released.
|
||||
|
||||
Important release notes:
|
||||
|
||||
- please close all DCC chat buffers before using /upgrade command,
|
||||
otherwise you may experience problems with DCC chats.
|
||||
- some changes in script API: now timer handlers functions takes exactly
|
||||
0 (zero) argument (in version 0.1.8, two arguments were mandatory but
|
||||
not used: server and args)
|
||||
|
||||
* FlashCode, 2006-03-18
|
||||
|
||||
WeeChat 0.1.8 released.
|
||||
|
||||
Important release notes:
|
||||
|
||||
- it is recommended for users of version 0.1.7 (or any older), to
|
||||
replace values in setup file (~/.weechat/weechat.rc) :
|
||||
|
||||
@@ -22,7 +22,7 @@ Features
|
||||
Copyright
|
||||
---------
|
||||
|
||||
WeeChat (c) Copyright 2003-2006 by FlashCode <flashcode@flashtux.org>
|
||||
WeeChat (c) Copyright 2003-2007 by FlashCode <flashcode@flashtux.org>
|
||||
(see AUTHORS file if you want to contact authors)
|
||||
|
||||
WeeChat is distributed under GPL licence (see COPYING file for complete license):
|
||||
|
||||
@@ -1,91 +1,5 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
TODO - 2006-03-18
|
||||
|
||||
Legend:
|
||||
# done
|
||||
+ currently in development
|
||||
- pending
|
||||
? is this really necessary?
|
||||
|
||||
|
||||
* General:
|
||||
+ Windows version
|
||||
# Solaris version
|
||||
|
||||
* Interface:
|
||||
+ Gtk GUI
|
||||
? Qt GUI
|
||||
+ internationalization (traduce WeeChat in many languages)
|
||||
- add dark colors (demi intensity)
|
||||
- understand incomplete commands if unambigous (for example: /he for /help is ok)
|
||||
- interpret 'old-school' special chars in messages: *bold* _underline_ /italic/
|
||||
- minimal width of nick in text area
|
||||
- display number of highlights since last buffer read (pink square)
|
||||
- add "*" on the side of message buffer when alt-j or other meta modifier is on
|
||||
- completion with tab key for all words starting with "#" by opened chans names
|
||||
- completion when input line is empty should add last nick that wrote to me
|
||||
# open new channels near server (not at the end of buffers)
|
||||
- add filename completion (for example with /dcc send)
|
||||
- have only one info_bar common to all windows
|
||||
- be able to search in history and global history (as with <Ctrl+r> in bash)
|
||||
|
||||
* WeeChat commands
|
||||
- be able to bind a key on more than one command
|
||||
# be able to make an alias running more than one command
|
||||
- host with "*" possible with /ignore command
|
||||
- "/completion" command: do shortcuts (for example when we type "u"
|
||||
in the text bar it send it to the server as "you")
|
||||
- "/last": command to look for text in previous messages
|
||||
- get help on config settings with /help option instead of /set option (since
|
||||
many options can be displayed and help is not displayed in this case)
|
||||
- "/cycle": do a /part then /join on current channel
|
||||
- be able to save the current buffer with a single command
|
||||
(/buffer dump /path/to/file), or to make it possible to write a script
|
||||
that does so (see plugins)
|
||||
- "/reconnect": reconnect to all servers, without waiting for
|
||||
auto-reconnect delay after disconnection
|
||||
- save hotlist when doing /upgrade
|
||||
|
||||
* IRC protocol:
|
||||
- complete "/list" command: add regexp search, display only channels that
|
||||
match regexp
|
||||
- when we're away, WeeChat should log all the lines begenning by our nick.
|
||||
When we come back from our away it should print it to the current window
|
||||
- "/notify" and "/unnotify" command to be warn by WeeChat when a given
|
||||
nick/host connect to the given irc network
|
||||
- display one time away message of remote user in private (optional)
|
||||
# add max number of nicks for away check (do not check away nicks on
|
||||
channels with high number of nicks)
|
||||
- add anti-flood mechanism, when pasting more than N lines
|
||||
- add mask for /ban command, and ban types (host, nick)
|
||||
|
||||
* Configuration:
|
||||
# be able to launch more than one command when connecting to server
|
||||
# use ~/.weechat/dcc by default for DCC incoming files (and create
|
||||
directory at startup if not found)
|
||||
- add global username/realname, used if server values are not filled
|
||||
# add command line arg (--dir) to choose weechat home dir
|
||||
(~/.weechat by default)
|
||||
- be able to set more than one server address for network
|
||||
- save buffer numbers (order) to config file and restore them when
|
||||
opened, or make it possible by script
|
||||
|
||||
* Plugins:
|
||||
- allow print function to write on all buffers or all channels of a server
|
||||
- add "outgoing" message event so scripts can edit user-input text before
|
||||
it is sent to the channel
|
||||
# add a timer function so scripts can do things like timeouts, delayed
|
||||
processing, etc.
|
||||
- allow print function to write on all buffers or all channels of a server
|
||||
# allow plugins to perform actions on "highlight" messages
|
||||
# get_servers(), get_channels(server), get_nicks(server,channel)
|
||||
# Lua plugin
|
||||
? Tcl plugin
|
||||
? Php plugin (maybe if possible)
|
||||
? "fish" plugin (cf http://fish.sekure.us/)
|
||||
# script plugins (perl, python, ruby, ..) should load scripts in system dir,
|
||||
not only ~/.weechat/xxxx/autoload/
|
||||
- allow plugins to get the contents of a specified (or at least the
|
||||
"current") buffer.
|
||||
WeeChat TODO:
|
||||
please look at https://savannah.nongnu.org/task/?group=weechat
|
||||
|
||||
+61
-14
@@ -1,16 +1,63 @@
|
||||
#!/bin/sh
|
||||
|
||||
# gettextize updates Makefile.am, configure.in
|
||||
cp configure.in configure.in.old
|
||||
cp Makefile.am Makefile.am.old
|
||||
gettextize --copy --force --intl --no-changelog &&
|
||||
mv Makefile.am.old Makefile.am
|
||||
mv configure.in.old configure.in
|
||||
libtoolize --automake --force --copy &&
|
||||
aclocal &&
|
||||
# autoheader creates config.h.in needed by autoconf
|
||||
autoheader &&
|
||||
# autoconf creates configure
|
||||
autoconf &&
|
||||
# automake creates Makefile.in
|
||||
automake --add-missing --copy --gnu
|
||||
###
|
||||
### common stuff
|
||||
###
|
||||
OK="\\033[70G[\\033[1;32mOK\\033[1;00m]"
|
||||
FAIL="\\033[70G[\\033[1;31mFAILED\\033[1;00m]"
|
||||
|
||||
AUTOGEN_LOG=autogen.log
|
||||
|
||||
err ()
|
||||
{
|
||||
echo "-------"
|
||||
echo "Error :"
|
||||
echo "---8<-----------------------------------"
|
||||
cat $AUTOGEN_LOG
|
||||
echo "----------------------------------->8---"
|
||||
exit 1
|
||||
}
|
||||
|
||||
run ()
|
||||
{
|
||||
echo -n "Running \"$@\""
|
||||
eval $@ >$AUTOGEN_LOG 2>&1
|
||||
if [ $? = 0 ] ; then
|
||||
echo -e $OK
|
||||
else
|
||||
echo -e $FAIL
|
||||
err
|
||||
fi
|
||||
}
|
||||
|
||||
###
|
||||
### cleanning part
|
||||
###
|
||||
# remove autotools stuff
|
||||
run "rm -rf config"
|
||||
run "rm -f config.h.in"
|
||||
run "rm -f aclocal.m4 configure config.log config.status"
|
||||
run "rm -rf autom4te*.cache"
|
||||
# remove libtool stuff
|
||||
run "rm -f libtool"
|
||||
# remove gettext stuff
|
||||
run "rm -f ABOUT-NLS"
|
||||
run "rm -rf intl"
|
||||
|
||||
###
|
||||
### configuration part
|
||||
###
|
||||
# create the config directory
|
||||
run "mkdir -p config/m4"
|
||||
run "mkdir intl"
|
||||
|
||||
# execute autotools cmds
|
||||
run "autopoint -f"
|
||||
run "libtoolize --automake --force --copy"
|
||||
run "aclocal --force -I config/m4"
|
||||
run "autoheader"
|
||||
run "autoconf"
|
||||
run "automake --add-missing --copy --gnu"
|
||||
|
||||
# ending
|
||||
rm -f $AUTOGEN_LOG
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
# - Find Aspell
|
||||
# This module finds if libaspell is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# ASPELL_INCLUDE_PATH = path to where aspell.h can be found
|
||||
# ASPELL_LIBRARY = path to where libaspell.so* can be found
|
||||
|
||||
IF (ASPELL_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(ASPELL_FIND_QUIETLY TRUE)
|
||||
ENDIF (ASPELL_FOUND)
|
||||
|
||||
FIND_PATH(ASPELL_INCLUDE_PATH
|
||||
NAMES aspell.h
|
||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||
)
|
||||
|
||||
FIND_LIBRARY(ASPELL_LIBRARY
|
||||
NAMES aspell aspell-15
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
|
||||
IF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
|
||||
SET(ASPELL_FOUND TRUE)
|
||||
ENDIF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
ASPELL_INCLUDE_PATH
|
||||
ASPELL_LIBRARY
|
||||
)
|
||||
@@ -0,0 +1,61 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
# - Find Gettext
|
||||
# This module finds if gettext is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# GETTEXT_FOUND = is gettext usable on system?
|
||||
|
||||
IF(GETTEXT_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(GETTEXT_FIND_QUIETLY TRUE)
|
||||
ENDIF(GETTEXT_FOUND)
|
||||
|
||||
INCLUDE(CheckIncludeFiles)
|
||||
INCLUDE(CheckLibraryExists)
|
||||
INCLUDE(CheckFunctionExists)
|
||||
|
||||
FIND_PATH(LIBINTL_INCLUDE
|
||||
NAMES libintl.h
|
||||
PATH /usr/local/include /usr/pkg/include /usr/include
|
||||
)
|
||||
|
||||
SET(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
|
||||
|
||||
CHECK_INCLUDE_FILES(libintl.h HAVE_LIBINTL_H)
|
||||
|
||||
IF(HAVE_LIBINTL_H)
|
||||
CHECK_FUNCTION_EXISTS(dgettext LIBC_HAS_DGETTEXT)
|
||||
IF(LIBC_HAS_DGETTEXT)
|
||||
SET(GETTEXT_FOUND TRUE)
|
||||
ELSE(LIBC_HAS_DGETTEXT)
|
||||
FIND_LIBRARY(LIBINTL_LIBRARY NAMES intl libintl
|
||||
PATHS
|
||||
/usr/local/lib
|
||||
/usr/lib
|
||||
)
|
||||
IF(LIBINTL_LIBRARY)
|
||||
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||
IF(LIBINTL_HAS_DGETTEXT)
|
||||
SET(GETTEXT_FOUND TRUE)
|
||||
ENDIF(LIBINTL_HAS_DGETTEXT)
|
||||
ENDIF(LIBINTL_LIBRARY)
|
||||
ENDIF(LIBC_HAS_DGETTEXT)
|
||||
ENDIF(HAVE_LIBINTL_H)
|
||||
@@ -0,0 +1,70 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
# - Find GnuTLS
|
||||
# This module finds if libgnutls is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# GNUTLS_INCLUDE_PATH = path to where <gnutls/gnutls.h> can be found
|
||||
# GNUTLS_LIBRARY = path to where libgnutls.so* can be found
|
||||
# GNUTLS_CFLAGS = cflags to use to compile
|
||||
# GNUTLS_LDFLAGS = ldflags to use to compile
|
||||
|
||||
IF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||
# Already in cache, be silent
|
||||
set(GNUTLS_FIND_QUIETLY TRUE)
|
||||
ENDIF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||
|
||||
FIND_PROGRAM(GNUTLS_CONFIG_EXECUTABLE NAMES libgnutls-config)
|
||||
|
||||
EXECUTE_PROCESS(COMMAND ${GNUTLS_CONFIG_EXECUTABLE} --prefix
|
||||
OUTPUT_VARIABLE GNUTLS_PREFIX
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(COMMAND ${GNUTLS_CONFIG_EXECUTABLE} --cflags
|
||||
OUTPUT_VARIABLE GNUTLS_CFLAGS
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(COMMAND ${GNUTLS_CONFIG_EXECUTABLE} --libs
|
||||
OUTPUT_VARIABLE GNUTLS_LDFLAGS
|
||||
)
|
||||
|
||||
SET(GNUTLS_POSSIBLE_INCLUDE_PATH "${GNUTLS_PREFIX}/include")
|
||||
SET(GNUTLS_POSSIBLE_LIB_DIR "${GNUTLS_PREFIX}/lib")
|
||||
|
||||
FIND_PATH(GNUTLS_INCLUDE_PATH
|
||||
NAMES gnutls/gnutls.h
|
||||
PATHS GNUTLS_POSSIBLE_INCLUDE_PATH
|
||||
)
|
||||
|
||||
FIND_LIBRARY(GNUTLS_LIBRARY
|
||||
NAMES gnutls
|
||||
PATHS GNUTLS_POSSIBLE_LIB_DIR
|
||||
)
|
||||
|
||||
IF (GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||
SET(GNUTLS_FOUND TRUE)
|
||||
ENDIF (GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
GNUTLS_INCLUDE_PATH
|
||||
GNUTLS_LIBRARY
|
||||
GNUTLS_CFLAGS
|
||||
GNUTLS_LDFLAGS
|
||||
)
|
||||
@@ -0,0 +1,80 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
# - Find Iconv
|
||||
# This module finds if libiconv is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# ICONV_INCLUDE_PATH = path to where <iconv.h> can be found
|
||||
# ICONV_LIBRARY = path to where libiconv.so* can be found (on non glibc based systems)
|
||||
#
|
||||
# ICONV_FOUND = is iconv usable on system?
|
||||
|
||||
IF(ICONV_FOUND)
|
||||
# Already in cache, be silent
|
||||
set(ICONV_FIND_QUIETLY TRUE)
|
||||
ENDIF(ICONV_FOUND)
|
||||
|
||||
FIND_PATH(ICONV_INCLUDE_PATH
|
||||
NAMES iconv.h
|
||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||
)
|
||||
|
||||
FIND_LIBRARY(ICONV_LIBRARY
|
||||
NAMES iconv
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
|
||||
IF(ICONV_INCLUDE_PATH)
|
||||
IF(ICONV_LIBRARY)
|
||||
STRING(REGEX REPLACE "/[^/]*$" "" ICONV_LIB_PATH "${ICONV_LIBRARY}")
|
||||
CHECK_LIBRARY_EXISTS(iconv libiconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
|
||||
IF(NOT ICONV_FOUND)
|
||||
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
|
||||
ENDIF(NOT ICONV_FOUND)
|
||||
ELSE(ICONV_LIBRARY)
|
||||
CHECK_FUNCTION_EXISTS(iconv_open ICONV_FOUND)
|
||||
ENDIF(ICONV_LIBRARY)
|
||||
ENDIF(ICONV_INCLUDE_PATH)
|
||||
|
||||
include(CheckCSourceCompiles)
|
||||
|
||||
IF(ICONV_LIBRARY)
|
||||
SET(CMAKE_REQUIRED_LIBRARIES ${ICONV_LIBRARY})
|
||||
SET(CMAKE_REQUIRED_INCLUDES ${ICONV_INCLUDE_PATH})
|
||||
ENDIF(ICONV_LIBRARY)
|
||||
|
||||
SET(CMAKE_REQUIRED_FLAGS -Werror)
|
||||
check_c_source_compiles("
|
||||
#include <iconv.h>
|
||||
int main(){
|
||||
iconv_t conv = 0;
|
||||
const char* in = 0;
|
||||
size_t ilen = 0;
|
||||
char* out = 0;
|
||||
size_t olen = 0;
|
||||
iconv(conv, &in, &ilen, &out, &olen);
|
||||
return 0;
|
||||
}
|
||||
" ICONV_2ARG_IS_CONST)
|
||||
MARK_AS_ADVANCED(
|
||||
ICONV_INCLUDE_PATH
|
||||
ICONV_LIBRARY
|
||||
ICONV_FOUND
|
||||
)
|
||||
@@ -0,0 +1,82 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
# - Find Lua
|
||||
# This module finds if liblua is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# LUA_INCLUDE_PATH = path to where <lua.h> can be found
|
||||
# LUA_LIBRARY = path to where liblua.so* (and liblualib.so* for lua <can be found (on non glibc based systems)
|
||||
#
|
||||
# LUA_FOUND = is liblua usable on system?
|
||||
|
||||
IF(LUA_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(LUA_FIND_QUIETLY TRUE)
|
||||
ENDIF(LUA_FOUND)
|
||||
|
||||
FIND_PATH(
|
||||
LUA51_INCLUDE_PATH lua.h
|
||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||
PATH_SUFFIXES lua51 lua5.1 lua-5.1
|
||||
)
|
||||
|
||||
FIND_LIBRARY(
|
||||
LUA51_LIBRARY NAMES lua51 lua5.1 lua-5.1
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
|
||||
IF(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
|
||||
SET(LUA_INCLUDE_PATH "${LUA51_INCLUDE_PATH}")
|
||||
SET(LUA_LIBRARY "${LUA51_LIBRARY}")
|
||||
SET(LUA_VERSION "5.1")
|
||||
SET(LUA_FOUND TRUE)
|
||||
ELSE(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
|
||||
FIND_PATH(
|
||||
LUA50_INCLUDE_PATH lua.h
|
||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
|
||||
)
|
||||
|
||||
FIND_LIBRARY(
|
||||
LUA50_LIBRARY NAMES lua50 lua5.0 lua-5.0 lua
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
|
||||
FIND_LIBRARY(
|
||||
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
|
||||
IF(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
|
||||
SET(LUA_INCLUDE_PATH "${LUA50_INCLUDE_PATH}")
|
||||
SET(LUA_LIBRARY "${LUA50_LIBRARY}")
|
||||
SET(LUALIB_LIBRARY "${LUALIB50_LIBRARY}")
|
||||
SET(LUA_VERSION "5.0")
|
||||
SET(LUA_FOUND TRUE)
|
||||
ENDIF(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
|
||||
ENDIF(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
|
||||
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
LUA_INCLUDE_PATH
|
||||
LUA_LIBRARY
|
||||
LUALIB_LIBRARY
|
||||
# LUA_VERSION
|
||||
)
|
||||
@@ -0,0 +1,23 @@
|
||||
|
||||
IF(NCURSES_FOUND)
|
||||
SET(NCURSES_FIND_QUIETLY TRUE)
|
||||
ENDIF(NCURSES_FOUND)
|
||||
|
||||
FIND_PATH(NCURSES_INCLUDE_PATH
|
||||
NAMES ncurses.h curses.h
|
||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||
)
|
||||
|
||||
FIND_LIBRARY(NCURSES_LIBRARY
|
||||
NAMES ncursesw ncurses
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
|
||||
IF (NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
|
||||
SET(NCURSES_FOUND TRUE)
|
||||
ENDIF(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
NCURSES_INCLUDE_PATH
|
||||
NCURSES_LIBRARY
|
||||
)
|
||||
@@ -0,0 +1,83 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
# - Find Perl libraries
|
||||
# This module finds if Perl is installed and determines where the include files
|
||||
# and libraries are. It also determines what the name of the library is. This
|
||||
# code sets the following variables:
|
||||
#
|
||||
# PERL_EXECUTABLE = full path to the perl binary
|
||||
# PERL_INCLUDE_PATH = path to where perl.h can be found
|
||||
# PERL_LIBRARY = path to where libperl.so* can be found
|
||||
# PERL_CFLAGS = perl compiler options for compiling
|
||||
# PERL_LFLAGS = perl compiler options for linking
|
||||
|
||||
IF(PERL_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(PERL_FIND_QUIETLY TRUE)
|
||||
ENDIF(PERL_FOUND)
|
||||
|
||||
FIND_PROGRAM(PERL_EXECUTABLE
|
||||
NAMES perl perl5
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
IF(PERL_EXECUTABLE)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PERL_EXECUTABLE} -MConfig -e "print \"\$Config{archlibexp}/CORE\""
|
||||
OUTPUT_VARIABLE PERL_INTERNAL_DIR
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ccopts
|
||||
OUTPUT_VARIABLE PERL_CFLAGS
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ldopts
|
||||
OUTPUT_VARIABLE PERL_LFLAGS
|
||||
)
|
||||
|
||||
# remove the new lines from the output by replacing them with empty strings
|
||||
STRING(REPLACE "\n" "" PERL_INTERNAL_DIR "${PERL_INTERNAL_DIR}")
|
||||
STRING(REPLACE "\n" "" PERL_CFLAGS "${PERL_CFLAGS}")
|
||||
STRING(REPLACE "\n" "" PERL_LFLAGS "${PERL_LFLAGS}")
|
||||
|
||||
FIND_PATH(PERL_INCLUDE_PATH
|
||||
NAMES perl.h
|
||||
PATHS ${PERL_INTERNAL_DIR}
|
||||
)
|
||||
|
||||
FIND_LIBRARY(PERL_LIBRARY
|
||||
NAMES perl
|
||||
PATHS /usr/lib /usr/local/lib /usr/pkg/lib ${PERL_INTERNAL_DIR}
|
||||
)
|
||||
|
||||
IF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
|
||||
SET(PERL_FOUND TRUE)
|
||||
ENDIF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
PERL_EXECUTABLE
|
||||
PERL_INCLUDE_PATH
|
||||
PERL_LIBRARY
|
||||
PERL_CFLAGS
|
||||
PERL_LFLAGS
|
||||
)
|
||||
ENDIF(PERL_EXECUTABLE)
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
# - Find Python
|
||||
# This module finds if Python is installed and determines where the include files
|
||||
# and libraries are. It also determines what the name of the library is. This
|
||||
# code sets the following variables:
|
||||
#
|
||||
# PYTHON_EXECUTABLE = full path to the python binary
|
||||
# PYTHON_INCLUDE_PATH = path to where python.h can be found
|
||||
# PYTHON_LIBRARY = path to where libpython.so* can be found
|
||||
# PYTHON_LFLAGS = python compiler options for linking
|
||||
|
||||
IF(PYTHON_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(PYTHON_FIND_QUIETLY TRUE)
|
||||
ENDIF(PYTHON_FOUND)
|
||||
|
||||
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||
NAMES python python2.5 python2.4 python2.3 python2.2
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
IF(PYTHON_EXECUTABLE)
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import *; print get_config_var('CONFINCLUDEPY')"
|
||||
OUTPUT_VARIABLE PYTHON_INC_DIR
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import *; print get_config_var('LIBPL')"
|
||||
OUTPUT_VARIABLE PYTHON_POSSIBLE_LIB_PATH
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import *; print get_config_var('LINKFORSHARED')"
|
||||
OUTPUT_VARIABLE PYTHON_LFLAGS
|
||||
)
|
||||
|
||||
# remove the new lines from the output by replacing them with empty strings
|
||||
STRING(REPLACE "\n" "" PYTHON_INC_DIR "${PYTHON_INC_DIR}")
|
||||
STRING(REPLACE "\n" "" PYTHON_POSSIBLE_LIB_PATH "${PYTHON_POSSIBLE_LIB_PATH}")
|
||||
STRING(REPLACE "\n" "" PYTHON_LFLAGS "${PYTHON_LFLAGS}")
|
||||
|
||||
FIND_PATH(PYTHON_INCLUDE_PATH
|
||||
NAMES Python.h
|
||||
PATHS ${PYTHON_INC_DIR}
|
||||
)
|
||||
|
||||
FIND_LIBRARY(PYTHON_LIBRARY
|
||||
NAMES python python2.5 python2.4 python2.3 python2.2
|
||||
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
|
||||
)
|
||||
|
||||
IF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
|
||||
SET(PYTHON_FOUND TRUE)
|
||||
ENDIF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
PYTHON_EXECUTABLE
|
||||
PYTHON_INCLUDE_PATH
|
||||
PYTHON_LIBRARY
|
||||
PYTHON_LFLAGS
|
||||
)
|
||||
|
||||
ENDIF(PYTHON_EXECUTABLE)
|
||||
@@ -0,0 +1,78 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
# - Find Ruby
|
||||
# This module finds if Ruby is installed and determines where the include files
|
||||
# and libraries are. It also determines what the name of the library is. This
|
||||
# code sets the following variables:
|
||||
#
|
||||
# RUBY_EXECUTABLE = full path to the ruby binary
|
||||
# RUBY_INCLUDE_PATH = path to where ruby.h can be found
|
||||
# RUBY_LIBRARY = path to where libruby.so* can be found
|
||||
|
||||
IF(RUBY_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(RUBY_FIND_QUIETLY TRUE)
|
||||
ENDIF(RUBY_FOUND)
|
||||
|
||||
FIND_PROGRAM(RUBY_EXECUTABLE
|
||||
NAMES ruby ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
IF(RUBY_EXECUTABLE)
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['archdir']"
|
||||
OUTPUT_VARIABLE RUBY_ARCH_DIR
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['libdir']"
|
||||
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubylibdir']"
|
||||
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
|
||||
)
|
||||
|
||||
# remove the new lines from the output by replacing them with empty strings
|
||||
STRING(REPLACE "\n" "" RUBY_ARCH_DIR "${RUBY_ARCH_DIR}")
|
||||
STRING(REPLACE "\n" "" RUBY_POSSIBLE_LIB_PATH "${RUBY_POSSIBLE_LIB_PATH}")
|
||||
STRING(REPLACE "\n" "" RUBY_RUBY_LIB_PATH "${RUBY_RUBY_LIB_PATH}")
|
||||
|
||||
FIND_PATH(RUBY_INCLUDE_PATH
|
||||
NAMES ruby.h
|
||||
PATHS ${RUBY_ARCH_DIR}
|
||||
)
|
||||
|
||||
FIND_LIBRARY(RUBY_LIBRARY
|
||||
NAMES ruby ruby1.6 ruby16 ruby1.8 ruby18 ruby1.9 ruby19
|
||||
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
|
||||
)
|
||||
|
||||
IF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
|
||||
SET(RUBY_FOUND TRUE)
|
||||
ENDIF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
RUBY_EXECUTABLE
|
||||
RUBY_LIBRARY
|
||||
RUBY_INCLUDE_PATH
|
||||
)
|
||||
|
||||
ENDIF(RUBY_EXECUTABLE)
|
||||
@@ -0,0 +1,29 @@
|
||||
#cmakedefine HAVE_ARPA_INET_H
|
||||
#cmakedefine HAVE_LIBINTL_H
|
||||
#cmakedefine HAVE_LIMITS_H
|
||||
#cmakedefine HAVE_LOCALE_H
|
||||
#cmakedefine HAVE_NETDB_H
|
||||
#cmakedefine HAVE_NETINET_IN_H
|
||||
#cmakedefine HAVE_STDLIB_H
|
||||
#cmakedefine HAVE_STRING_H
|
||||
#cmakedefine HAVE_SYS_SOCKET_H
|
||||
#cmakedefine HAVE_SYS_TIME_H
|
||||
#cmakedefine HAVE_SYS_TYPES_H
|
||||
#cmakedefine HAVE_UNISTD_H
|
||||
#cmakedefine HAVE_PWD_H
|
||||
#cmakedefine HAVE_ERRNO_H
|
||||
#cmakedefine HAVE_REGEX_H
|
||||
#cmakedefine HAVE_WCHAR_H
|
||||
#cmakedefine HAVE_SYS_FILE_H
|
||||
#cmakedefine HAVE_FLOCK
|
||||
#cmakedefine HAVE_LANGINFO_CODESET
|
||||
#cmakedefine HAVE_STRNDUP
|
||||
#cmakedefine ICONV_2ARG_IS_CONST 1
|
||||
#define PACKAGE_VERSION "@VERSION@"
|
||||
#define PACKAGE "@PROJECT_NAME@"
|
||||
#define PACKAGE_NAME "@PROJECT_NAME@"
|
||||
#define PACKAGE_STRING "@PKG_STRING@"
|
||||
#define WEECHAT_LIBDIR "@LIBDIR@"
|
||||
#define WEECHAT_SHAREDIR "@SHAREDIR@"
|
||||
#define LOCALEDIR "@LOCALEDIR@"
|
||||
#define _GNU_SOURCE 1
|
||||
+364
-81
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2003-2006 FlashCode <flashcode@flashtux.org>
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -19,19 +19,22 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.56)
|
||||
AC_INIT(WeeChat, 0.1.8, flashcode@flashtux.org)
|
||||
AC_INIT(WeeChat, 0.2.5, flashcode@flashtux.org)
|
||||
AC_CONFIG_SRCDIR([src/common/weechat.c])
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AM_INIT_AUTOMAKE([weechat], [0.1.8])
|
||||
AM_INIT_AUTOMAKE([weechat], [0.2.5])
|
||||
|
||||
# Checks for programs
|
||||
AC_PROG_CC
|
||||
AC_PROG_MAKE_SET
|
||||
AC_GNU_SOURCE
|
||||
AM_PROG_LIBTOOL
|
||||
AC_CHECK_PROG(DBLATEX_FOUND, "dblatex", "yes")
|
||||
|
||||
# Add some flags for some OS
|
||||
case "$host_os" in
|
||||
freebsd* | openbsd*)
|
||||
CFLAGS="$CFLAGS -I/usr/local/include"
|
||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
;;
|
||||
netbsd*)
|
||||
@@ -46,8 +49,9 @@ solaris*)
|
||||
esac
|
||||
|
||||
# Gettext
|
||||
ALL_LINGUAS="fr es cs hu"
|
||||
AM_GNU_GETTEXT
|
||||
ALL_LINGUAS="fr es cs hu de ru"
|
||||
AM_GNU_GETTEXT([use-libtool])
|
||||
AM_GNU_GETTEXT_VERSION([0.15])
|
||||
|
||||
# Checks for libraries
|
||||
AC_CHECK_LIB(ncurses, initscr, LIBNCURSES_FOUND=1, LIBNCURSES_FOUND=0)
|
||||
@@ -55,7 +59,12 @@ AC_CHECK_LIB(ncursesw, initscr, LIBNCURSESW_FOUND=1, LIBNCURSESW_FOUND=0)
|
||||
|
||||
# Checks for header files
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS([arpa/inet.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/types.h unistd.h pwd.h errno.h])
|
||||
AC_CHECK_HEADERS([arpa/inet.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/types.h unistd.h pwd.h errno.h regex.h wchar.h sys/file.h])
|
||||
|
||||
if echo "$host_os" | grep "^openbsd" 1>/dev/null 2>&1 ; then
|
||||
AC_CHECK_HEADER(utf8/wchar.h, LDFLAGS="$LDFLAGS -lutf8", [AC_MSG_ERROR([
|
||||
*** on OpenBSD systems, package libutf8 must be installed to compile WeeChat])])
|
||||
fi
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics
|
||||
AC_HEADER_TIME
|
||||
@@ -78,7 +87,7 @@ AC_MSG_RESULT($ac_cv_type_socklen_t)
|
||||
# Checks for library functions.
|
||||
AC_FUNC_SELECT_ARGTYPES
|
||||
AC_TYPE_SIGNAL
|
||||
AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strncasecmp strpbrk strrchr strstr uname])
|
||||
AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strndup strncasecmp strpbrk strrchr strstr uname regexec])
|
||||
|
||||
# Variables in config.h
|
||||
|
||||
@@ -90,25 +99,31 @@ AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
|
||||
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
|
||||
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
|
||||
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
|
||||
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
|
||||
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
|
||||
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
|
||||
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
|
||||
AH_VERBATIM([DEBUG], [#undef DEBUG])
|
||||
|
||||
# Arguments for ./configure
|
||||
|
||||
AC_ARG_ENABLE(ncurses, [ --disable-ncurses Turn off ncurses interface (default=compiled if found)],enable_ncurses=$enableval,enable_ncurses=yes)
|
||||
AC_ARG_ENABLE(wxwidgets, [ --enable-wxwidgets Turn on WxWidgets interface (default=no wxwidgets)],enable_wxwidgets=$enableval,enable_wxwidgets=no)
|
||||
AC_ARG_ENABLE(gtk, [ --enable-gtk Turn on Gtk interface (default=no Gtk)],enable_gtk=$enableval,enable_gtk=no)
|
||||
AC_ARG_ENABLE(qt, [ --enable-qt Turn on Qt interface (default=no Qt)],enable_qt=$enableval,enable_qt=no)
|
||||
AC_ARG_ENABLE(plugins, [ --disable-plugins Turn off plugins support (default=plugins enabled)],enable_plugins=$enableval,enable_plugins=yes)
|
||||
AC_ARG_ENABLE(perl, [ --disable-perl Turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
|
||||
AC_ARG_ENABLE(python, [ --disable-python Turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
|
||||
AC_ARG_ENABLE(ruby, [ --disable-ruby Turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
|
||||
AC_ARG_ENABLE(lua, [ --disable-lua Turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
|
||||
AC_ARG_WITH(lua-inc, [ --with-lua-inc=DIR, Lua include files are in DIR (default=autodetect)],lua_inc=$withval,lua_inc='')
|
||||
AC_ARG_WITH(lua-lib, [ --with-lua-lib=DIR, Lua library files are in DIR (default=autodetect)],lua_lib=$withval,lua_lib='')
|
||||
AC_ARG_WITH(lua-suffix, [ --with-lua-suffix=ARG Lua is suffixed with ARG (default=autodetect)],lua_suffix=$withval,lua_suffix='')
|
||||
AC_ARG_ENABLE(gnutls, [ --disable-gnutls Turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes)
|
||||
AC_ARG_WITH(debug, [ --with-debug Debugging: 0=no debug, 1=debug compilation, 2=debug compilation + verbose msgs (default=1)],debug=$withval,debug=1)
|
||||
AC_ARG_ENABLE(ncurses, [ --disable-ncurses Turn off ncurses interface (default=compiled if found)],enable_ncurses=$enableval,enable_ncurses=yes)
|
||||
AC_ARG_ENABLE(wxwidgets, [ --enable-wxwidgets Turn on WxWidgets interface (default=no wxwidgets)],enable_wxwidgets=$enableval,enable_wxwidgets=no)
|
||||
AC_ARG_ENABLE(gtk, [ --enable-gtk Turn on Gtk interface (default=no Gtk)],enable_gtk=$enableval,enable_gtk=no)
|
||||
AC_ARG_ENABLE(qt, [ --enable-qt Turn on Qt interface (default=no Qt)],enable_qt=$enableval,enable_qt=no)
|
||||
AC_ARG_ENABLE(gnutls, [ --disable-gnutls Turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes)
|
||||
AC_ARG_ENABLE(plugins, [ --disable-plugins Turn off plugins support (default=plugins enabled)],enable_plugins=$enableval,enable_plugins=yes)
|
||||
AC_ARG_ENABLE(perl, [ --disable-perl Turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
|
||||
AC_ARG_ENABLE(python, [ --disable-python Turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
|
||||
AC_ARG_ENABLE(ruby, [ --disable-ruby Turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
|
||||
AC_ARG_ENABLE(lua, [ --disable-lua Turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
|
||||
AC_ARG_WITH(lua-inc, [ --with-lua-inc=DIR, Lua include files are in DIR (default=autodetect)],lua_inc=$withval,lua_inc='')
|
||||
AC_ARG_WITH(lua-lib, [ --with-lua-lib=DIR, Lua library files are in DIR (default=autodetect)],lua_lib=$withval,lua_lib='')
|
||||
AC_ARG_WITH(lua-suffix, [ --with-lua-suffix=ARG Lua is suffixed with ARG (default=autodetect)],lua_suffix=$withval,lua_suffix='')
|
||||
AC_ARG_ENABLE(aspell, [ --disable-aspell Turn off Aspell plugin (default=compiled if found)],enable_aspell=$enableval,enable_aspell=yes)
|
||||
AC_ARG_ENABLE(charset, [ --disable-charset Turn off Charset plugin (default=compiled if found)],enable_charset=$enableval,enable_charset=yes)
|
||||
AC_ARG_WITH(doc_xsl_prefix, [ --with-doc-xsl-prefix=DIR Docbook html/chunk.xsl is in DIR (default=autodetect)],doc_xsl_prefix=$withval,doc_xsl_prefix='')
|
||||
AC_ARG_WITH(debug, [ --with-debug Debugging: 0=no debug, 1=debug compilation, 2=debug compilation + verbose msgs (default=1)],debug=$withval,debug=1)
|
||||
|
||||
not_found=""
|
||||
|
||||
@@ -132,8 +147,8 @@ if test "x$enable_ncurses" = "xyes" ; then
|
||||
fi
|
||||
else
|
||||
NCURSES_LIBS="-lncursesw"
|
||||
AC_CHECK_HEADERS(ncursesw/curses.h)
|
||||
fi
|
||||
AC_CHECK_HEADERS([ncurses.h ncursesw/curses.h])
|
||||
AC_SUBST(NCURSES_LIBS)
|
||||
fi
|
||||
|
||||
@@ -178,12 +193,66 @@ if test "x$enable_gtk" = "xyes" ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# iconv
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
iconv_found="no"
|
||||
ICONV_LFLAGS=""
|
||||
|
||||
AC_CHECK_HEADER(iconv.h,ac_found_iconv_header="yes",ac_found_iconv_header="no")
|
||||
if test "x$ac_found_iconv_header" = "xyes" ; then
|
||||
AC_CHECK_LIB(iconv,iconv_open,ac_found_iconv_lib="yes",ac_found_iconv_lib="no")
|
||||
if test "x$ac_found_iconv_lib" = "xno" ; then
|
||||
AC_CHECK_LIB(iconv,libiconv_open,ac_found_iconv_lib="yes",ac_found_iconv_lib="no")
|
||||
fi
|
||||
if test "x$ac_found_iconv_lib" = "xyes" ; then
|
||||
ICONV_LFLAGS="-liconv"
|
||||
LIBS="$LIBS $ICONV_LFLAGS"
|
||||
fi
|
||||
AC_MSG_CHECKING(for iconv usability in programs)
|
||||
AC_TRY_RUN([
|
||||
#include <iconv.h>
|
||||
int main(int argc, char **argv) {
|
||||
iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
|
||||
if (conv != (iconv_t) -1) {
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
}],iconv_found="yes")
|
||||
if test "x$iconv_found" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$iconv_found" = "xno" ; then
|
||||
AC_MSG_ERROR([
|
||||
*** Iconv headers and/or libraries couldn't be found in your system.
|
||||
*** Try to install them with your software package manager.
|
||||
*** WeeChat can't be built without Iconv support.])
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# plugins
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
PLUGINS_LIBS=
|
||||
|
||||
if test "x$enable_plugins" != "xyes" ; then
|
||||
enable_plugins="no"
|
||||
enable_perl="no"
|
||||
enable_python="no"
|
||||
enable_ruby="no"
|
||||
enable_lua="no"
|
||||
enable_aspell="no"
|
||||
enable_charset="no"
|
||||
fi
|
||||
|
||||
# ---------------------------------- perl --------------------------------------
|
||||
PERL_VERSION=
|
||||
|
||||
if test "x$enable_perl" = "xyes" ; then
|
||||
enable_plugins="yes"
|
||||
|
||||
@@ -196,6 +265,7 @@ if test "x$enable_perl" = "xyes" ; then
|
||||
enable_perl="no"
|
||||
not_found="$not_found perl"
|
||||
else
|
||||
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
|
||||
AC_MSG_CHECKING(for Perl headers files)
|
||||
|
||||
PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
|
||||
@@ -205,7 +275,7 @@ if test "x$enable_perl" = "xyes" ; then
|
||||
AC_MSG_RESULT(found)
|
||||
AC_MSG_CHECKING(for Perl library)
|
||||
PERL_LIB_TEST=`PT=perltest.c ; echo "int main() { return 0; }" > $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ldopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
|
||||
if test "x$PERL_LIB_TEST" = "x0" ; then
|
||||
if test "x$PERL_LIB_TEST" = "x0" ; then
|
||||
PERL_LFLAGS=`$PERL -MExtUtils::Embed -e ldopts`
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
@@ -233,10 +303,13 @@ if test "x$enable_perl" = "xyes" ; then
|
||||
AC_DEFINE(PLUGIN_PERL)
|
||||
fi
|
||||
|
||||
# --------------------------------- python -------------------------------------
|
||||
PYTHON_VERSION=
|
||||
|
||||
if test "x$enable_python" = "xyes" ; then
|
||||
enable_plugins="yes"
|
||||
|
||||
AC_PATH_PROGS(PYTHON, python python2.4 python2.3 python2.2)
|
||||
AC_PATH_PROGS(PYTHON, python python2.5 python2.4 python2.3 python2.2)
|
||||
if test -z $PYTHON ; then
|
||||
AC_MSG_WARN([
|
||||
*** Python must be installed on your system but python interpreter couldn't be found in path.
|
||||
@@ -290,6 +363,9 @@ if test "x$enable_python" = "xyes" ; then
|
||||
AC_DEFINE(PLUGIN_PYTHON)
|
||||
fi
|
||||
|
||||
# ---------------------------------- ruby --------------------------------------
|
||||
RUBY_VERSION=
|
||||
|
||||
if test "x$enable_ruby" = "xyes" ; then
|
||||
enable_plugins="yes"
|
||||
|
||||
@@ -302,6 +378,7 @@ if test "x$enable_ruby" = "xyes" ; then
|
||||
enable_ruby="no"
|
||||
not_found="$not_found ruby"
|
||||
else
|
||||
RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']]"`
|
||||
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts Config::CONFIG[['archdir']]"`
|
||||
AC_MSG_CHECKING(for Ruby header files)
|
||||
if test -r "$RUBY_INCLUDE/ruby.h"; then
|
||||
@@ -325,12 +402,15 @@ if test "x$enable_ruby" = "xyes" ; then
|
||||
AC_DEFINE(PLUGIN_RUBY)
|
||||
fi
|
||||
|
||||
# ---------------------------------- lua --------------------------------------
|
||||
LUA_VERSION=
|
||||
|
||||
if test "x$enable_lua" = "xyes" ; then
|
||||
enable_plugins="yes"
|
||||
|
||||
ac_save_CPPFLAGS="$CPPFLAGS"
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LFLAGS="$LFLAGS"
|
||||
ac_save_LDFLAGS="$LDFLAGS"
|
||||
|
||||
LUA_CFLAGS=""
|
||||
LUA_LFLAGS=""
|
||||
@@ -340,7 +420,7 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
CPPFLAGS="$CPPFLAGS -I$lua_inc"
|
||||
fi
|
||||
if test -n "$lua_lib"; then
|
||||
LFLAGS="$LFLAGS -L$lua_lib"
|
||||
LDFLAGS="$LDFLAGS -L$lua_lib"
|
||||
fi
|
||||
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
@@ -348,70 +428,93 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
|
||||
if test "x$PKGCONFIG" != "x"; then
|
||||
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
|
||||
for l in "$lua_suffix" "" "50" "5.0" ; do
|
||||
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l && $PKGCONFIG --exists lualib$l`
|
||||
echo
|
||||
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
|
||||
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
|
||||
if test "x$?" = "x0" ; then
|
||||
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
|
||||
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
|
||||
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
|
||||
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
|
||||
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
|
||||
|
||||
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
|
||||
if test "x$?" = "x0"; then
|
||||
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
|
||||
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
|
||||
fi
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
AC_MSG_RESULT(found)
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
LUACONFIG=""
|
||||
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config50 lua-config5.0)
|
||||
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config51 lua-config5.1 lua-config50 lua-config5.0)
|
||||
if test "x$LUACONFIG" != "x" ; then
|
||||
AC_MSG_CHECKING(for Lua headers and librairies with lua-config)
|
||||
echo
|
||||
LUA_CFLAGS=`$LUACONFIG --include`
|
||||
LUA_LFLAGS=`$LUACONFIG --libs`
|
||||
fi
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
AC_MSG_RESULT(found)
|
||||
LUA_VERSION="5.0.x"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
AC_MSG_CHECKING(for Lua headers and librairies)
|
||||
echo
|
||||
AC_CHECK_HEADER(lua.h,ac_found_lua_header="yes",ac_found_lua_header="no")
|
||||
AC_CHECK_HEADER(lualib.h,ac_found_liblua_header="yes",ac_found_liblua_header="no")
|
||||
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
|
||||
LUA_CFLAGS="$CFLAGS"
|
||||
fi
|
||||
for l in "$lua_suffix" "" "50" "5.0" ; do
|
||||
AC_CHECK_LIB(lua$l,lua_open,ac_found_lua_lib="yes",ac_found_lua_lib="no")
|
||||
AC_CHECK_LIB(lualib$l,luaopen_base,ac_found_liblua_lib="yes",ac_found_liblua_lib="no")
|
||||
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
|
||||
AC_CHECK_LIB(lua$l,lua_call,ac_found_lua_lib="yes",ac_found_lua_lib="no")
|
||||
if test "x$ac_found_lua_lib" = "xyes" ; then
|
||||
LUA_LFLAGS="$LFLAGS -llua$l"
|
||||
break
|
||||
fi
|
||||
if test "x$ac_found_liblua_lib" = "xyes" ; then
|
||||
LUA_LFLAGS="$LUA_LFLAGS -llualib$l"
|
||||
break
|
||||
fi
|
||||
done
|
||||
LUA_VERSION=">=5.1.0"
|
||||
|
||||
LUA_LFLAGS="$LDFLAGS -llua$l -lm"
|
||||
|
||||
ac2_save_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS -llua$l -lm"
|
||||
|
||||
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
|
||||
LDFLAGS="$LDFLAGS -ldl"
|
||||
fi
|
||||
|
||||
AC_CHECK_LIB(lualib$l,luaL_openlib,ac_found_liblua_lib="yes",ac_found_liblua_lib="no")
|
||||
if test "x$ac_found_liblua_lib" = "xyes" ; then
|
||||
LUA_VERSION="5.0.x"
|
||||
|
||||
LUA_LFLAGS="$LUA_LFLAGS -llualib$l"
|
||||
|
||||
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
|
||||
LUA_LFLAGS="$LUA_LFLAGS -ldl"
|
||||
fi
|
||||
fi
|
||||
|
||||
LDFLAGS="$ac2_save_LDFLAGS"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
CPPFLAGS="$ac_save_CPPFLAGS"
|
||||
LFLAGS="$ac_save_LFLAGS"
|
||||
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
|
||||
AC_MSG_CHECKING(for Lua compiling and linking)
|
||||
LUA_TEST=`LT=luatest.c ; echo "#include <lua.h>" > $LT; echo "#include <lualib.h>" >> $LT; echo "int main() { luaopen_base((lua_State *)lua_open()); return 0; }" >> $LT ; $CC -Wall $LT -o $LT.out $LUA_CFLAGS $LUA_LFLAGS $CFLAGS $LDFLAGS 1>/dev/null 2>&1 ; echo $?; rm -f $LT $LT.out 1>/dev/null 2>&1`
|
||||
if test "x$LUA_TEST" != "x0" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** Lua (>=5.0) headers and librairies couldn't be found in your system.
|
||||
*** Lua (>=5.0) headers and/or librairies couldn't be found in your system.
|
||||
*** Try to install liblua, liblualib and liblua-dev with your software package manager.
|
||||
*** WeeChat will be built without Lua support.])
|
||||
enable_lua="no"
|
||||
not_found="$not_found lua"
|
||||
else
|
||||
AC_MSG_RESULT(found)
|
||||
AC_MSG_RESULT(yes)
|
||||
fi
|
||||
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
CPPFLAGS="$ac_save_CPPFLAGS"
|
||||
LDFLAGS="$ac_save_LDFLAGS"
|
||||
fi
|
||||
|
||||
if test "x$enable_lua" = "xyes" ; then
|
||||
@@ -420,6 +523,55 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
AC_DEFINE(PLUGIN_LUA)
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# aspell
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
if test "x$enable_aspell" = "xyes" ; then
|
||||
ASPELL_CFLAGS=""
|
||||
ASPELL_LFLAGS=""
|
||||
|
||||
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
|
||||
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for aspell headers and librairies)
|
||||
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** Aspell headers and/or libraries couldn't be found in your system.
|
||||
*** Try to install them with your software package manager.
|
||||
*** WeeChat will be built without Aspell support.])
|
||||
enable_aspell="no"
|
||||
not_found="$not_found aspell"
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$enable_aspell" = "xyes" ; then
|
||||
AC_SUBST(ASPELL_CFLAGS)
|
||||
AC_SUBST(ASPELL_LFLAGS)
|
||||
AC_DEFINE(PLUGIN_ASPELL)
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# charset
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
if test "x$enable_charset" = "xyes" ; then
|
||||
CHARSET_CFLAGS=""
|
||||
CHARSET_LFLAGS=""
|
||||
CHARSET_LFLAGS="$CHARSET_LFLAGS $ICONV_LFLAGS"
|
||||
AC_SUBST(CHARSET_CFLAGS)
|
||||
AC_SUBST(CHARSET_LFLAGS)
|
||||
AC_DEFINE(PLUGIN_CHARSET)
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# dynamic loader
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
if test "x$enable_plugins" = "xyes" ; then
|
||||
AC_CHECK_FUNCS(dlopen, LIBDL_FOUND=yes, LIBDL_FOUND=no)
|
||||
if test "$LIBDL_FOUND" != "yes"; then
|
||||
@@ -438,6 +590,8 @@ if test "x$enable_plugins" = "xyes" ; then
|
||||
enable_python="no"
|
||||
enable_ruby="no"
|
||||
enable_lua="no"
|
||||
enable_aspell="no"
|
||||
enable_charset="no"
|
||||
not_found="$not_found plugins"
|
||||
fi
|
||||
fi
|
||||
@@ -452,17 +606,92 @@ if test "x$enable_gnutls" = "xyes" ; then
|
||||
*** libgnutls was not found. You may want to get it from ftp://ftp.gnutls.org/pub/gnutls/
|
||||
*** WeeChat will be built without GnuTLS support.]]))
|
||||
if test "x$found_gnutls" = "xyes" ; then
|
||||
GNUTLS_CFLAGS=`libgnutls-config --cflags`
|
||||
GNUTLS_LFLAGS=`libgnutls-config --libs`
|
||||
AC_SUBST(GNUTLS_CFLAGS)
|
||||
AC_SUBST(GNUTLS_LFLAGS)
|
||||
AC_DEFINE(HAVE_GNUTLS)
|
||||
GNUTLS_CFLAGS=`libgnutls-config --cflags`
|
||||
GNUTLS_LFLAGS=`libgnutls-config --libs`
|
||||
AC_SUBST(GNUTLS_CFLAGS)
|
||||
AC_SUBST(GNUTLS_LFLAGS)
|
||||
AC_DEFINE(HAVE_GNUTLS)
|
||||
else
|
||||
enable_gnutls="no"
|
||||
not_found="$not_found gnutls"
|
||||
fi
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# flock
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
enable_flock="no"
|
||||
AC_CACHE_CHECK([for flock() support], ac_have_flock, [
|
||||
AC_TRY_COMPILE(
|
||||
[ #include <sys/file.h>
|
||||
],
|
||||
[ flock(0, LOCK_SH); ],
|
||||
[ ac_have_flock="yes" ],
|
||||
[ ac_have_flock="no" ])])
|
||||
|
||||
if test "x$ac_have_flock" = "xyes"; then
|
||||
enable_flock="yes"
|
||||
AC_DEFINE(HAVE_FLOCK)
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# backtrace
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
enable_backtrace="no"
|
||||
if test "x$debug" != "x0" ; then
|
||||
AC_CACHE_CHECK([for execinfo.h and backtrace], ac_have_backtrace, [
|
||||
AC_TRY_COMPILE(
|
||||
[ #include <execinfo.h>
|
||||
],
|
||||
[ void *trace[128]; int n = backtrace(trace, 128); ],
|
||||
[ ac_have_backtrace="yes" ],
|
||||
[ ac_have_backtrace="no" ])])
|
||||
if test "x$ac_have_backtrace" = "xyes"; then
|
||||
enable_backtrace="yes"
|
||||
AC_DEFINE(HAVE_BACKTRACE,1,[glibc backtrace function])
|
||||
fi
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# documentation
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
msg_doc=""
|
||||
|
||||
if test "x$DBLATEX_FOUND" = "xyes"; then
|
||||
msg_doc="pdf $msg_doc"
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(for html/chunk.xsl)
|
||||
DOC_XSL_PREFIX=""
|
||||
|
||||
if test -n "$doc_xsl_prefix"; then
|
||||
doc_xsl_prefix_path="$doc_xsl_prefix"
|
||||
else
|
||||
doc_xsl_prefix_path="/usr/share/xml/docbook/xsl-stylesheets-1.69"
|
||||
doc_xsl_prefix_path="${doc_xsl_prefix_arr} /usr/share/xml/docbook/stylesheet/nwalsh"
|
||||
fi
|
||||
|
||||
for p in $doc_xsl_prefix_path; do
|
||||
if test -f ${p}/html/chunk.xsl; then
|
||||
DOC_XSL_PREFIX="$p"
|
||||
fi
|
||||
done
|
||||
|
||||
if test "x$DOC_XSL_PREFIX" = "x"; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** Docbook XSL files not found
|
||||
*** WeeChat will be built without documentation.
|
||||
*** Try ./configure --with-doc-xsl-prefix=DIR if you have DIR/html/chunk.xsl file])
|
||||
else
|
||||
AC_MSG_RESULT($DOC_XSL_PREFIX)
|
||||
AC_SUBST(DOC_XSL_PREFIX)
|
||||
msg_doc="html $msg_doc"
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# general vars
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -477,23 +706,33 @@ fi
|
||||
|
||||
AC_DEFINE_UNQUOTED(PREFIX, "${prefix}")
|
||||
|
||||
WEECHAT_LIBDIR=`eval echo ${libdir}/weechat`
|
||||
WEECHAT_LIBDIR=`eval eval echo ${libdir}/weechat`
|
||||
AC_DEFINE_UNQUOTED(WEECHAT_LIBDIR, "$WEECHAT_LIBDIR")
|
||||
|
||||
WEECHAT_SHAREDIR=`eval echo ${datadir}/weechat`
|
||||
WEECHAT_SHAREDIR=`eval eval echo ${datadir}/weechat`
|
||||
AC_DEFINE_UNQUOTED(WEECHAT_SHAREDIR, "$WEECHAT_SHAREDIR")
|
||||
|
||||
weechat_libdir=${libdir}/weechat
|
||||
AC_SUBST(weechat_libdir)
|
||||
|
||||
COMMON_CFLAGS="-Wall -W"
|
||||
AC_MSG_CHECKING([whether we have GNU assembler])
|
||||
GAS=`as --version < /dev/null 2>/dev/null | grep GNU`
|
||||
if test "$GAS"; then
|
||||
COMMON_CFLAGS="${COMMON_CFLAGS} -pipe"
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
CFLAGS=`echo $CFLAGS | sed s/-g//g`
|
||||
if test "x$CFLAGS" = "x" ; then
|
||||
CFLAGS="-O2"
|
||||
fi
|
||||
if test "x$debug" = "x1" || test "x$debug" = "x2" ; then
|
||||
CFLAGS="-Wall -W $CFLAGS -pipe -g"
|
||||
CFLAGS="$COMMON_CFLAGS $CFLAGS -g"
|
||||
else
|
||||
CFLAGS="-Wall -W $CFLAGS -pipe"
|
||||
CFLAGS="$COMMON_CFLAGS $CFLAGS"
|
||||
fi
|
||||
|
||||
if test "x$debug" = "x2" ; then
|
||||
@@ -503,7 +742,7 @@ fi
|
||||
LIBS="$LIBS $INTLLIBS"
|
||||
|
||||
case "$host_os" in
|
||||
freebsd* | netbsd*)
|
||||
freebsd*)
|
||||
if test "x$enable_perl" = "xyes" -o "x$enable_python" = "xyes" ; then
|
||||
CFLAGS="$CFLAGS -pthread"
|
||||
fi
|
||||
@@ -514,6 +753,12 @@ openbsd*)
|
||||
CFLAGS="$CFLAGS -pthread"
|
||||
fi
|
||||
;;
|
||||
netbsd*)
|
||||
if test "x$enable_perl" = "xyes" -o "x$enable_python" = "xyes" ; then
|
||||
CFLAGS="$CFLAGS -pthread"
|
||||
fi
|
||||
CFLAGS="$CFLAGS $CPPFLAGS"
|
||||
;;
|
||||
gnu*)
|
||||
if test "x$enable_plugins" = "xyes" ; then
|
||||
LDFLAGS="$LDFLAGS -lpthread"
|
||||
@@ -527,21 +772,30 @@ esac
|
||||
# output Makefiles
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
|
||||
AM_CONDITIONAL(GUI_WXWIDGETS, test "$enable_wxwidgets" = "yes")
|
||||
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
|
||||
AM_CONDITIONAL(GUI_QT, test "$enable_qt" = "yes")
|
||||
AM_CONDITIONAL(PLUGINS, test "$enable_plugins" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
|
||||
AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
|
||||
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
|
||||
AM_CONDITIONAL(GUI_WXWIDGETS, test "$enable_wxwidgets" = "yes")
|
||||
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
|
||||
AM_CONDITIONAL(GUI_QT, test "$enable_qt" = "yes")
|
||||
AM_CONDITIONAL(PLUGINS, test "$enable_plugins" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
|
||||
AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
|
||||
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
|
||||
AM_CONDITIONAL(DBLATEX_FOUND, test "$DBLATEX_FOUND" = "yes")
|
||||
|
||||
AC_OUTPUT([Makefile
|
||||
doc/Makefile
|
||||
doc/fr/Makefile
|
||||
doc/en/Makefile
|
||||
doc/fr/Makefile
|
||||
doc/de/Makefile
|
||||
doc/ru/Makefile
|
||||
doc/pl/Makefile
|
||||
doc/cs/Makefile
|
||||
doc/sco/Makefile
|
||||
src/Makefile
|
||||
src/common/Makefile
|
||||
src/irc/Makefile
|
||||
@@ -551,6 +805,8 @@ AC_OUTPUT([Makefile
|
||||
src/plugins/scripts/python/Makefile
|
||||
src/plugins/scripts/ruby/Makefile
|
||||
src/plugins/scripts/lua/Makefile
|
||||
src/plugins/aspell/Makefile
|
||||
src/plugins/charset/Makefile
|
||||
src/gui/Makefile
|
||||
src/gui/curses/Makefile
|
||||
src/gui/wxwidgets/Makefile
|
||||
@@ -598,15 +854,42 @@ if test "x$debug" = "x2" ; then
|
||||
msg_debug_verbose="yes"
|
||||
fi
|
||||
|
||||
# plugin status
|
||||
PERL_STATUS=
|
||||
if test "x$enable_perl" = "xyes"; then
|
||||
PERL_STATUS="($PERL_VERSION)"
|
||||
fi
|
||||
|
||||
PYTHON_STATUS=
|
||||
if test "x$enable_python" = "xyes"; then
|
||||
PYTHON_STATUS="($PYTHON_VERSION)"
|
||||
fi
|
||||
|
||||
RUBY_STATUS=
|
||||
if test "x$enable_ruby" = "xyes"; then
|
||||
RUBY_STATUS="($RUBY_VERSION)"
|
||||
fi
|
||||
|
||||
LUA_STATUS=
|
||||
if test "x$enable_lua" = "xyes"; then
|
||||
LUA_STATUS="($LUA_VERSION)"
|
||||
fi
|
||||
|
||||
|
||||
echo ""
|
||||
echo "Interfaces........................ :$listgui"
|
||||
echo "Build with GNUtls support......... : $enable_gnutls"
|
||||
echo "Build with flock support.......... : $enable_flock"
|
||||
echo "Build with Plugin support......... : $enable_plugins"
|
||||
echo " Perl plugin......... : $enable_perl"
|
||||
echo " Python plugin....... : $enable_python"
|
||||
echo " Ruby plugin......... : $enable_ruby"
|
||||
echo " Lua plugin.......... : $enable_lua"
|
||||
echo " Perl plugin......... : $enable_perl $PERL_STATUS"
|
||||
echo " Python plugin....... : $enable_python $PYTHON_STATUS"
|
||||
echo " Ruby plugin......... : $enable_ruby $RUBY_STATUS"
|
||||
echo " Lua plugin.......... : $enable_lua $LUA_STATUS"
|
||||
echo " Aspell plugin....... : $enable_aspell"
|
||||
echo " Charset plugin...... : $enable_charset"
|
||||
echo "Compile with debug info........... : $msg_debug_compiler"
|
||||
echo " Backtrace........... : $enable_backtrace"
|
||||
echo "Build doc..........................: $msg_doc"
|
||||
echo "Print debugging messages.......... : $msg_debug_verbose"
|
||||
echo ""
|
||||
eval echo "WeeChat will be installed in $bindir."
|
||||
|
||||
Vendored
+70
@@ -1,3 +1,73 @@
|
||||
weechat (0.2.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Overrive lintian menu-icon-missing warning
|
||||
since the icon is in the weechat-common package.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Mon, 2 Oct 2006 15:30:06 +0200
|
||||
|
||||
weechat (0.2.0-2) unstable; urgency=low
|
||||
|
||||
* Add libaspell-dev to Build-Depends. This enables the aspell plugin built.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Mon, 25 Sep 2006 23:56:16 +0200
|
||||
|
||||
weechat (0.2.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Rebuild against new default python version (Closes: #380985).
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Sat, 19 Aug 2006 17:10:59 +0200
|
||||
|
||||
weechat (0.1.9-3) unstable; urgency=low
|
||||
|
||||
* Remove gnutls Build-Depends introduced in the previous upload
|
||||
(closes: #379765).
|
||||
* Move xsltproc, docbook-xml, docbook-xsl to Build-Depends-Indep.
|
||||
* Change icon format from png to xpm.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Tue, 25 Jul 2006 11:53:25 +0200
|
||||
|
||||
weechat (0.1.9-2) unstable; urgency=low
|
||||
|
||||
* Fix ${datadir} expansion in configure.in which caused some problem when
|
||||
loading scripts from /usr/share/weechat.
|
||||
* Add weechat-scripts to weechat-plugins Suggests.
|
||||
* Apply patch from Andreas Metzler to make weechat binNMUable
|
||||
(Closes: #379419).
|
||||
* Build-Depends against libgnutls13-dev | libgnutls-dev.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Sun, 23 Jul 2006 17:28:34 +0200
|
||||
|
||||
weechat (0.1.9-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Thu, 25 May 2006 07:40:53 +0200
|
||||
|
||||
weechat (0.1.8-2) unstable; urgency=low
|
||||
|
||||
* Switch to cdbs
|
||||
* update debhelper compatibility to 5
|
||||
* update Build-Depends
|
||||
* update debian/copyright
|
||||
* Bump Standards-Version, no changes needed
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Fri, 21 Apr 2006 22:39:00 +0200
|
||||
|
||||
weechat (0.1.8-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Add liblualib50-dev and docbook-xml to Build-Depends
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Sat, 18 Mar 2006 11:32:52 +0100
|
||||
|
||||
weechat (0.1.7-2) unstable; urgency=low
|
||||
|
||||
* force linking against libpthread on GNU/Hurd (Closes: #350487)
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Sun, 5 Feb 2006 18:23:24 +0100
|
||||
|
||||
weechat (0.1.7-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
4
|
||||
5
|
||||
|
||||
Vendored
+7
-5
@@ -3,12 +3,13 @@ Section: net
|
||||
Priority: optional
|
||||
Maintainer: Sebastien Helleu <flashcode@flashtux.org>
|
||||
Uploaders: Julien Louis <ptitlouis@sysif.net>
|
||||
Build-Depends: debhelper (>> 4.0.0), libncursesw5-dev, ruby, ruby1.8-dev, libperl-dev, python-dev, libgnutls-dev, libtool, xsltproc, docbook-xsl
|
||||
Standards-Version: 3.6.2
|
||||
Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml
|
||||
Build-Depends: cdbs, debhelper (>= 5), libncursesw5-dev, ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblualib50-dev, libgnutls-dev, libtool, dpkg-dev (>= 1.13.19)
|
||||
Standards-Version: 3.7.2
|
||||
|
||||
Package: weechat
|
||||
Architecture: all
|
||||
Depends: weechat-common (= ${Source-Version}), weechat-curses (= ${Source-Version})
|
||||
Depends: weechat-common (= ${source:Version}), weechat-curses (>= ${binary:Version})
|
||||
Description: Fast, light and extensible IRC client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
@@ -25,8 +26,8 @@ Description: Fast, light and extensible IRC client
|
||||
|
||||
Package: weechat-curses
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, weechat-common (= ${Source-Version})
|
||||
Recommends: weechat-plugins (= ${Source-Version})
|
||||
Depends: ${shlibs:Depends}, weechat-common (= ${source:Version})
|
||||
Recommends: weechat-plugins (= ${binary:Version})
|
||||
Description: Fast, light and extensible IRC client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
@@ -52,6 +53,7 @@ Description: Common files for WeeChat
|
||||
Package: weechat-plugins
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Suggests: weechat-scripts
|
||||
Description: Plugins for WeeChat
|
||||
This package provides some plugins to enhance weechat with scripting languages
|
||||
such as perl python or ruby.
|
||||
|
||||
Vendored
+3
-1
@@ -3,7 +3,9 @@ Sat, 21 May 2005 08:00:00 +0200.
|
||||
|
||||
It was downloaded from http://weechat.flashtux.org/download
|
||||
|
||||
Upstream Author: FlashCode <flashcode@flashtux.org>
|
||||
Upstream Authors:
|
||||
- FlashCode <flashcode@flashtux.org>
|
||||
- kolter <kolter@free.fr>
|
||||
|
||||
Copyright:
|
||||
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
weechat-curses: menu-icon-missing /usr/share/pixmaps/weechat.xpm
|
||||
Vendored
+25
-73
@@ -1,85 +1,37 @@
|
||||
#!/usr/bin/make -f
|
||||
# Sample debian/rules that uses cdbs. Originaly written by Robert Millan.
|
||||
# This file is public domain.
|
||||
|
||||
#export DH_VERBOSE=1
|
||||
DEB_AUTO_CLEANUP_RCS := yes
|
||||
|
||||
# Add here any variable or target overrides you need
|
||||
|
||||
DEB_CONFIGURE_USER_FLAGS := --with-debug=0
|
||||
DEB_STRIP_EXCLUDE := libperl.a
|
||||
DEB_DH_INSTALL_SOURCEDIR := $(CURDIR)/debian/tmp
|
||||
DEB_INSTALL_DOCS_weechat-common := FAQ FAQ.fr
|
||||
DEB_DH_MAKESHLIBS_ARGS_weechat-plugins := -n
|
||||
|
||||
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
|
||||
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||
INSTALL_PROGRAM += -s
|
||||
INSTALL_PROGRAM += -s
|
||||
endif
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
./configure --prefix=/usr --sysconfdir=/etc --mandir=\$${prefix}/share/man \
|
||||
--infodir=\$${prefix}/share/info --enable-perl --enable-python --enable-ruby \
|
||||
--with-debug=0
|
||||
touch configure-stamp
|
||||
ifeq ($(DEB_HOST_ARCH_OS),hurd)
|
||||
DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-lpthread"
|
||||
endif
|
||||
|
||||
include /usr/share/cdbs/1/class/autotools.mk
|
||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
|
||||
build: build-stamp
|
||||
install/weechat-common::
|
||||
install -D -o root -g root -m 644 debian/weechat.xpm $(CURDIR)/debian/weechat-common/usr/share/pixmaps/weechat.xpm
|
||||
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
$(MAKE)
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp configure-stamp
|
||||
-$(MAKE) distclean
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
|
||||
dh_install
|
||||
# install -o root -g root -m 755 src/gui/curses/weechat-curses $(CURDIR)/debian/weechat-curses/usr/bin
|
||||
# install -o root -g root -m 755 src/gui/gtk/weechat-gtk $(CURDIR)/debian/weechat-gtk/usr/bin
|
||||
install -D -o root -g root -m 644 weechat_icon_32.png $(CURDIR)/debian/weechat-common/usr/share/pixmaps/weechat_icon_32.png
|
||||
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
dh_testdir -pweechat-common -pweechat
|
||||
dh_testroot -pweechat-common -pweechat
|
||||
dh_installchangelogs ChangeLog -pweechat-common
|
||||
dh_installdocs -pweechat-common
|
||||
dh_installinfo -pweechat-common
|
||||
dh_installexamples -pweechat-common
|
||||
dh_compress -pweechat-common -pweechat
|
||||
dh_link -pweechat usr/share/doc/weechat-common usr/share/doc/weechat
|
||||
dh_fixperms -pweechat-common -pweechat
|
||||
dh_installdeb -pweechat-common -pweechat
|
||||
dh_shlibdeps -pweechat-common -pweechat
|
||||
dh_gencontrol -pweechat-common -pweechat
|
||||
dh_md5sums -pweechat-common -pweechat
|
||||
dh_builddeb -pweechat-common -pweechat
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir -a -pweechat-curses -pweechat-plugins
|
||||
dh_testroot -a -pweechat-curses -pweechat-plugins
|
||||
dh_installchangelogs ChangeLog -pweechat-plugins
|
||||
dh_installdocs -pweechat-plugins
|
||||
dh_installman doc/weechat-curses.1 -pweechat-curses
|
||||
dh_link -pweechat-curses usr/share/doc/weechat-common usr/share/doc/weechat-curses
|
||||
dh_installmenu -pweechat-curses
|
||||
dh_strip -a -pweechat-curses -pweechat-plugins --exclude=libperl.a
|
||||
dh_compress -a -pweechat-curses -p weechat-plugins
|
||||
dh_fixperms -a -pweechat-curses -pweechat-plugins
|
||||
dh_installdeb -a -pweechat-curses -pweechat-plugins
|
||||
dh_shlibdeps -a -pweechat-curses -pweechat-plugins
|
||||
dh_gencontrol -a -pweechat-curses -pweechat-plugins
|
||||
dh_md5sums -a -pweechat-curses -pweechat-plugins
|
||||
dh_builddeb -a -pweechat-curses -pweechat-plugins
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
||||
install/weechat-curses::
|
||||
install -D -o root -g root -m 644 debian/lintian-override $(CURDIR)/debian/weechat-curses/usr/share/lintian/overrides/weechat-curses
|
||||
|
||||
Vendored
+2
-2
@@ -1,2 +1,2 @@
|
||||
debian/tmp/usr/share/locale/
|
||||
debian/tmp/usr/share/doc/weechat/html usr/share/doc/weechat-common
|
||||
usr/share/locale/
|
||||
usr/share/doc/weechat/html usr/share/doc/weechat-common
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
debian/tmp/usr/bin/weechat-curses
|
||||
usr/bin/weechat-curses
|
||||
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
usr/share/doc/weechat-common usr/share/doc/weechat-curses
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
doc/weechat-curses.1
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
?package(weechat-curses):needs="text" section="Apps/Net" \
|
||||
title="weechat-curses" \
|
||||
icon="/usr/share/pixmaps/weechat_icon_32.png" \
|
||||
icon="/usr/share/pixmaps/weechat.xpm" \
|
||||
command="/usr/bin/weechat-curses"
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
debian/tmp/usr/lib
|
||||
usr/lib/weechat/plugins/*so*
|
||||
|
||||
Vendored
+295
@@ -0,0 +1,295 @@
|
||||
/* XPM */
|
||||
static char *weechat[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"32 32 257 2",
|
||||
" c #000000",
|
||||
". c #0A0904",
|
||||
"X c #080813",
|
||||
"o c #080716",
|
||||
"O c #110D08",
|
||||
"+ c #150A15",
|
||||
"@ c #1A0D1A",
|
||||
"# c #19150C",
|
||||
"$ c #151517",
|
||||
"% c #1F1F32",
|
||||
"& c #13132C",
|
||||
"* c #260A26",
|
||||
"= c #351935",
|
||||
"- c #271927",
|
||||
"; c #262608",
|
||||
": c #322C0C",
|
||||
"> c #36380B",
|
||||
", c #353316",
|
||||
"< c #232516",
|
||||
"1 c #242224",
|
||||
"2 c #292935",
|
||||
"3 c #2D302D",
|
||||
"4 c #2D3330",
|
||||
"5 c #3B333B",
|
||||
"6 c #1D1C4A",
|
||||
"7 c #110F7B",
|
||||
"8 c #0E0D65",
|
||||
"9 c #221F60",
|
||||
"0 c #282948",
|
||||
"q c #292855",
|
||||
"w c #333447",
|
||||
"e c #383855",
|
||||
"r c #2A2978",
|
||||
"t c #302F70",
|
||||
"y c #353465",
|
||||
"u c #363574",
|
||||
"i c #2A286E",
|
||||
"p c #2E4110",
|
||||
"a c #39410C",
|
||||
"s c #3E4C11",
|
||||
"d c #3F5220",
|
||||
"f c #394041",
|
||||
"g c #3E4753",
|
||||
"h c #493F11",
|
||||
"j c #4F1050",
|
||||
"k c #4A0F4B",
|
||||
"l c #572657",
|
||||
"z c #4D374D",
|
||||
"x c #403F6F",
|
||||
"c c #640964",
|
||||
"v c #641E64",
|
||||
"b c #701770",
|
||||
"n c #790A79",
|
||||
"m c #683C68",
|
||||
"M c #623662",
|
||||
"N c #6B2B6B",
|
||||
"B c #454A08",
|
||||
"V c #484C15",
|
||||
"C c #554B16",
|
||||
"Z c #58560A",
|
||||
"A c #595B0B",
|
||||
"S c #545715",
|
||||
"D c #4C5712",
|
||||
"F c #4D5034",
|
||||
"G c #504F24",
|
||||
"H c #4E710E",
|
||||
"J c #4D7C1C",
|
||||
"K c #5B6713",
|
||||
"L c #506B11",
|
||||
"P c #546927",
|
||||
"I c #506D2E",
|
||||
"U c #665B14",
|
||||
"Y c #696C0C",
|
||||
"T c #68730D",
|
||||
"R c #6F7010",
|
||||
"E c #707128",
|
||||
"W c #4D504D",
|
||||
"Q c #46456A",
|
||||
"! c #4C4C7B",
|
||||
"~ c #434577",
|
||||
"^ c #554C69",
|
||||
"/ c #5B5A7D",
|
||||
"( c #54547A",
|
||||
") c #535964",
|
||||
"_ c #567745",
|
||||
"` c #4D6B57",
|
||||
"' c #5D6C78",
|
||||
"] c #587069",
|
||||
"[ c #6A487C",
|
||||
"{ c #6D576D",
|
||||
"} c #645475",
|
||||
"| c #76557A",
|
||||
" . c #786678",
|
||||
".. c #70707D",
|
||||
"X. c #676768",
|
||||
"o. c #3F3E82",
|
||||
"O. c #2D2BAA",
|
||||
"+. c #3D3BA4",
|
||||
"@. c #3B39B9",
|
||||
"#. c #484888",
|
||||
"$. c #4A4C96",
|
||||
"%. c #585885",
|
||||
"&. c #595890",
|
||||
"*. c #555494",
|
||||
"=. c #4745A6",
|
||||
"-. c #4947B5",
|
||||
";. c #514FBB",
|
||||
":. c #5A58BB",
|
||||
">. c #5C5BAF",
|
||||
",. c #755581",
|
||||
"<. c #605FB6",
|
||||
"1. c #6B6883",
|
||||
"2. c #68679B",
|
||||
"3. c #7A7497",
|
||||
"4. c #76698F",
|
||||
"5. c #6968A6",
|
||||
"6. c #706FB5",
|
||||
"7. c #7675BB",
|
||||
"8. c #6E6DB6",
|
||||
"9. c #4947C3",
|
||||
"0. c #5351C2",
|
||||
"q. c #5D5BC0",
|
||||
"w. c #6B6ACC",
|
||||
"e. c #6361C7",
|
||||
"r. c #7170C6",
|
||||
"t. c #7877D2",
|
||||
"y. c #56840C",
|
||||
"u. c #6A8814",
|
||||
"i. c #63980B",
|
||||
"p. c #748614",
|
||||
"a. c #7F9C0D",
|
||||
"s. c #749218",
|
||||
"d. c #698F13",
|
||||
"f. c #6C852A",
|
||||
"g. c #798C35",
|
||||
"h. c #76912B",
|
||||
"j. c #76B505",
|
||||
"k. c #70A50F",
|
||||
"l. c #7EA525",
|
||||
"z. c #678946",
|
||||
"x. c #A57A5A",
|
||||
"c. c #9A1E9A",
|
||||
"v. c #861B86",
|
||||
"b. c #912B92",
|
||||
"n. c #8A298A",
|
||||
"m. c #A030A0",
|
||||
"M. c #864886",
|
||||
"N. c #8F469E",
|
||||
"B. c #975897",
|
||||
"V. c #8A788A",
|
||||
"C. c #936A93",
|
||||
"Z. c #987599",
|
||||
"A. c #866892",
|
||||
"S. c #9470AB",
|
||||
"D. c #A25FA2",
|
||||
"F. c #B16FB1",
|
||||
"G. c #B07FB1",
|
||||
"H. c #B776B7",
|
||||
"J. c #807FD0",
|
||||
"K. c #A37AC2",
|
||||
"L. c #87880B",
|
||||
"P. c #888513",
|
||||
"I. c #869A0A",
|
||||
"U. c #8B9B14",
|
||||
"Y. c #94970D",
|
||||
"T. c #9B9C13",
|
||||
"R. c #98961A",
|
||||
"E. c #968D16",
|
||||
"W. c #929D2F",
|
||||
"Q. c #82A90B",
|
||||
"!. c #8CAA06",
|
||||
"~. c #82B30A",
|
||||
"^. c #84B706",
|
||||
"/. c #97A913",
|
||||
"(. c #96B90A",
|
||||
"). c #99B914",
|
||||
"_. c #91AB10",
|
||||
"`. c #A39A1C",
|
||||
"'. c #A09A3D",
|
||||
"]. c #A9AE05",
|
||||
"[. c #A7AA16",
|
||||
"{. c #A7B90B",
|
||||
"}. c #ACB712",
|
||||
"|. c #BDBA18",
|
||||
" X c #B7B711",
|
||||
".X c #B0B726",
|
||||
"XX c #9A8B4B",
|
||||
"oX c #9EC008",
|
||||
"OX c #BCC40D",
|
||||
"+X c #BCC90E",
|
||||
"@X c #B1C707",
|
||||
"#X c #AEC90C",
|
||||
"$X c #C4AE2A",
|
||||
"%X c #C4CB11",
|
||||
"&X c #C8D809",
|
||||
"*X c #CBD011",
|
||||
"=X c #D1CF1A",
|
||||
"-X c #D1D50E",
|
||||
";X c #D7E803",
|
||||
":X c #918197",
|
||||
">X c #858494",
|
||||
",X c #8987BA",
|
||||
"<X c #928BBB",
|
||||
"1X c #9B9BA8",
|
||||
"2X c #9B98B8",
|
||||
"3X c #8784A3",
|
||||
"4X c #A787A8",
|
||||
"5X c #AE9CAE",
|
||||
"6X c #AC99B1",
|
||||
"7X c #B988B9",
|
||||
"8X c #BB92BC",
|
||||
"9X c #B598B8",
|
||||
"0X c #A0A0A7",
|
||||
"qX c #A6A6B7",
|
||||
"wX c #8382C6",
|
||||
"eX c #8382D4",
|
||||
"rX c #8D8CD4",
|
||||
"tX c #9C8CC7",
|
||||
"yX c #908FD9",
|
||||
"uX c #9493C6",
|
||||
"iX c #9A99DB",
|
||||
"pX c #9493D3",
|
||||
"aX c #A693C8",
|
||||
"sX c #A09AD5",
|
||||
"dX c #A8A5C9",
|
||||
"fX c #A9A6D6",
|
||||
"gX c #B7A8C7",
|
||||
"hX c #B7B6DA",
|
||||
"jX c #B5B1CE",
|
||||
"kX c #B7B4E2",
|
||||
"lX c #A9A8E2",
|
||||
"zX c #C88EC8",
|
||||
"xX c #C38BC3",
|
||||
"cX c #C695C6",
|
||||
"vX c #C2ADC2",
|
||||
"bX c #C7A6C7",
|
||||
"nX c #C4B5C4",
|
||||
"mX c #C6B9D3",
|
||||
"MX c #DDB9DD",
|
||||
"NX c #D9B4D9",
|
||||
"BX c #D3A4D4",
|
||||
"VX c #C9C5CA",
|
||||
"CX c #CAC9D7",
|
||||
"ZX c #D4CBD4",
|
||||
"AX c #D9C1D9",
|
||||
"SX c #DACEDA",
|
||||
"DX c #C4C3E4",
|
||||
"FX c #CBC9E6",
|
||||
"GX c #D8D7E6",
|
||||
"HX c #E7CCE7",
|
||||
"JX c #E9CFE9",
|
||||
"KX c #EADBEA",
|
||||
"LX c #E4DAE4",
|
||||
"PX c #EDE2ED",
|
||||
"IX c #EAEAF4",
|
||||
"UX c #F0E1F0",
|
||||
"YX c None",
|
||||
/* pixels */
|
||||
"YXYXYXYXYXYXYXYXYXSXLXIXUXCX YXYXYXYXVXLXPXPXZX. YXYXYXYXYX",
|
||||
"YXYXYXYXYXYXYXnXKXUXUXKXJXSXnX YXnXKXPXPXPXKXSXnX YXYXYXYX",
|
||||
"YXYXYXYXYXYX9XHXJXMX0XvX:X9XSX .HXJXAX5XvX>XvXAX. YXYXYXYX",
|
||||
"YXYXYXYXYXYXMXMXkXx.. | 4XNXvX NXMXMXV. { 4XNXbX YXYXYX",
|
||||
"YXYXYXYXYXBXBX8XZ. 4X8X8XZ. { BX8X4X G.7XcXZ. YXYXYX",
|
||||
"YXYXYXYXLXcXcXC.z zXxX7X) X.G.G.C.z zXcX7X5 5 VX YXYX",
|
||||
"YXYX1XIXGXBXCXC.+ H.H.F.6XIXIX8X| B.- F.H.8X5X0XCXCX YX",
|
||||
"YXYX3 GXmX8XmXZ.M M.D.m | VXCXGX4X| B.M.B.D.m gXqX1XCXW YX",
|
||||
"YXYX CXgXS.jXA.= + = 2XFXqXFXZ.| n.l @ = jX>X..GX$ YX",
|
||||
"YXYX hXaXA.jX,.= + kXFXDXFX3.{ m l * w hXV.2XdX YX",
|
||||
"YXYX hXdX,.fX[ v n.j b.kX2XDXhX1.4.v b.m.j S.tX3XkX1. YX",
|
||||
"YXYX fXdX4.aX^ j v.c.N.fX) kXuX} <X= b c.c.G.tX1.kX% YXYX",
|
||||
"YXYX <XfXuX<X[ k c c S.uX( fX,X' iXk c n b tX/ 3.uX YXYX",
|
||||
"YXYX 2.iXrX2./ $ pX2.6.rX,XQ iX2 2 iXQ pX/ YXYX",
|
||||
"YXYX e rXrX( %.e ( rX( 5.7.wXQ J.y 5.yX( yX& YXYXYX",
|
||||
"YXYXYX t.eXQ 5.~ 7.7.2.% 2.eX&.2.&. J.6.8.5. YXYXYX",
|
||||
"YXYXYX r.t.y 8.#.o 8.~ *. x t.r.~ 8. 0 t.! r.0 o $ F YXYXYX",
|
||||
"YXYXYX <.w.~ >.#.d ] #.0 q w.w.y w.o #.e.$.<.. d I I YX",
|
||||
"YXYXYX =.e.=.#.g z.I t X q ;.e.u :.y :.o.q.u < J y.d YX",
|
||||
"YXYXYX y 0.0.r ] _ I 6 o -.0.-.=.0.;.t 0.o , I y.p YX",
|
||||
"YXYXYXYX 9.9.i ' _ g X + +.9.9.@.;.i +.r y.k.i.y.H ",
|
||||
"YXYXXXW.Q.] =.@.z.J 4 . V s.E o.@.@.-.' d.z.L ; s j.j.j.i.D ",
|
||||
"YXXXW.Q.Q.f.) O.l.f.# D Q.u.u.o O.$.g.g.h.^.^.> s.oX~.~.u.s ",
|
||||
"YX}.oXD a P w 9 ~.f.S T p.p.K ~ ).g q g j.(.. # k.a.K ",
|
||||
".X#X{. . ; 7 0 _.!.V O I.U.C . oXg.6 8 4 Y.(. a /.).T ",
|
||||
"+X#X(. 1 # T.{., #X{.C B +XI. I./.{. T #XoXA YX",
|
||||
"&X+X}.Y P.%X[.P.+X@X. &X@XY Z ;X/.A T.OX}.+X; Y.}.[.B YXYX",
|
||||
".X*XOX;X;X XZ T.*XL. =X%XP.; ;X%X*XT.> `.|., ].`. X: YXYX",
|
||||
". Y.].T.A . C C ; $X-Xh P.].R O R : XE.P.O YXYX",
|
||||
" E U C . YXYX",
|
||||
"YX YX. # YXYXYX",
|
||||
"YXYXYXYXYXYXYXYXYXYXYXYXYX YXYXYXYXYXYXYXYXYX YXYXYXYXYX"
|
||||
};
|
||||
@@ -0,0 +1,167 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
SET(DOC_LANGS
|
||||
cs
|
||||
de
|
||||
en
|
||||
fr
|
||||
pl
|
||||
ru
|
||||
sco
|
||||
)
|
||||
|
||||
FIND_PROGRAM(
|
||||
COPY cp
|
||||
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
FIND_PROGRAM(
|
||||
XSLTPROC xsltproc
|
||||
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
FIND_PROGRAM(
|
||||
DBLATEX dblatex
|
||||
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
FIND_FILE(DOC_XSL_PREFIX chunk.xsl PATHS
|
||||
/usr/share/xml/docbook/stylesheet/nwalsh/
|
||||
/usr/share/xml/docbook/xsl-stylesheets-1.69/
|
||||
PATH_SUFFIXES html
|
||||
DOC "Path to nwalsh xsl stylesheet"
|
||||
)
|
||||
STRING(REPLACE "/html/chunk.xsl" "" DOC_XSL_PREFIX "${DOC_XSL_PREFIX}")
|
||||
|
||||
IF(XSLTPROC AND DOC_XSL_PREFIX AND COPY)
|
||||
SET(BUILD_HTML TRUE)
|
||||
ENDIF(XSLTPROC AND DOC_XSL_PREFIX AND COPY)
|
||||
|
||||
IF(DBLATEX AND COPY)
|
||||
SET(BUILD_PDF TRUE)
|
||||
ENDIF(DBLATEX AND COPY)
|
||||
|
||||
IF(BUILD_HTML)
|
||||
CONFIGURE_FILE(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html.xsl.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/weechat-html.xsl
|
||||
@ONLY
|
||||
)
|
||||
|
||||
CONFIGURE_FILE(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html-one.xsl.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/weechat-html-one.xsl
|
||||
@ONLY
|
||||
)
|
||||
ENDIF(BUILD_HTML)
|
||||
|
||||
|
||||
IF(BUILD_HTML OR BUILD_PDF)
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND date "+%F %T"
|
||||
OUTPUT_VARIABLE DOC_DATE
|
||||
)
|
||||
STRING(REPLACE "\n" "" DOC_DATE "${DOC_DATE}")
|
||||
|
||||
CONFIGURE_FILE(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/date.xml
|
||||
@ONLY
|
||||
)
|
||||
|
||||
FOREACH(dlang ${DOC_LANGS})
|
||||
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml)
|
||||
|
||||
IF(BUILD_HTML)
|
||||
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang})
|
||||
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build)
|
||||
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang})
|
||||
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}/index.html ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}/weechat.${dlang}.html
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_BINARY_DIR}/date.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/weechat-doc.css" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}"
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/weechat-doc.css" "${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}"
|
||||
COMMAND ${XSLTPROC} ARGS -o ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}/ ${CMAKE_CURRENT_BINARY_DIR}/weechat-html.xsl ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build/weechat.${dlang}.xml
|
||||
COMMAND ${XSLTPROC} ARGS -o ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}/weechat.${dlang}.html ${CMAKE_CURRENT_BINARY_DIR}/weechat-html-one.xsl ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build/weechat.${dlang}.xml
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html-one.xsl.in
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html.xsl.in
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-doc.css
|
||||
COMMENT "Building html doc (${dlang})"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-html-${dlang} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}/index.html)
|
||||
ADD_CUSTOM_TARGET(doc-html-one-${dlang} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}/weechat.${dlang}.html)
|
||||
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang} DESTINATION share/doc/${PROJECT_NAME}/html)
|
||||
|
||||
ENDIF(BUILD_HTML)
|
||||
|
||||
IF(BUILD_PDF)
|
||||
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang})
|
||||
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build)
|
||||
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
|
||||
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_BINARY_DIR}/date.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
|
||||
COMMAND ${DBLATEX} ARGS -c ${CMAKE_CURRENT_SOURCE_DIR}/dblatex.conf -o ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build/weechat.${dlang}.xml
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html-one.xsl.in
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
|
||||
COMMENT "Building pdf doc (${dlang})"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-pdf-${dlang} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf DESTINATION share/doc/${PROJECT_NAME})
|
||||
|
||||
ENDIF(BUILD_PDF)
|
||||
|
||||
ENDIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml)
|
||||
|
||||
ENDFOREACH(dlang ${DOC_LANGS})
|
||||
|
||||
ENDIF(BUILD_HTML OR BUILD_PDF)
|
||||
|
||||
FOREACH(dlang ${DOC_LANGS})
|
||||
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_quickstart.${dlang}.txt)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_quickstart.${dlang}.txt DESTINATION share/doc/${PROJECT_NAME})
|
||||
ENDIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_quickstart.${dlang}.txt)
|
||||
ENDFOREACH(dlang ${DOC_LANGS})
|
||||
|
||||
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION share/man/man1)
|
||||
+14
-3
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2003-2006 FlashCode <flashcode@flashtux.org>
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -15,8 +15,19 @@
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
SUBDIRS = fr en
|
||||
SUBDIRS = . en fr de ru pl cs sco
|
||||
|
||||
man_MANS = weechat-curses.1
|
||||
|
||||
EXTRA_DIST = $(man_MANS) weechat-doc.css weechat-html-one.xsl weechat-html.xsl
|
||||
EXTRA_DIST = $(man_MANS) weechat-doc.css weechat-html-one.xsl.in weechat-html.xsl.in weechat-pdf.xsl dblatex.conf
|
||||
|
||||
all-local: weechat-html.xsl weechat-html-one.xsl
|
||||
|
||||
weechat-html.xsl: weechat-html.xsl.in
|
||||
sed -e 's,\@DOC_XSL_PREFIX\@,$(DOC_XSL_PREFIX),g' < weechat-html.xsl.in > weechat-html.xsl
|
||||
|
||||
weechat-html-one.xsl: weechat-html-one.xsl.in
|
||||
sed -e 's,\@DOC_XSL_PREFIX\@,$(DOC_XSL_PREFIX),g' < weechat-html-one.xsl.in > weechat-html-one.xsl
|
||||
|
||||
clean-local:
|
||||
-rm -f weechat-html.xsl weechat-html-one.xsl
|
||||
|
||||
+27
-13
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/perl
|
||||
#
|
||||
# Copyright (c) 2003-2006 FlashCode <flashcode@flashtux.org>
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -22,20 +22,25 @@
|
||||
# with weechat-curses command
|
||||
#
|
||||
|
||||
@all_lang = ("fr_FR", "en_US");
|
||||
@all_lang = ("fr_FR", "en_US", "de_DE");
|
||||
%all_encodings = ("fr_FR" => "iso-8859-1",
|
||||
"en_US" => "iso-8859-1");
|
||||
"en_US" => "iso-8859-1",
|
||||
"de_DE" => "iso-8859-1");
|
||||
%all_types = ("fr_FR" => "type",
|
||||
"en_US" => "type",
|
||||
"de_DE" => "Typ",
|
||||
"es_ES" => "tipo");
|
||||
%all_values = ("fr_FR" => "valeurs",
|
||||
"en_US" => "values",
|
||||
"de_DE" => "Werte",
|
||||
"es_ES" => "valores");
|
||||
%all_default = ("fr_FR" => "valeur par défaut",
|
||||
"en_US" => "default value",
|
||||
"de_DE" => "Standardwert",
|
||||
"es_ES" => "valor por defecto");
|
||||
%all_desc = ("fr_FR" => "description",
|
||||
"en_US" => "description",
|
||||
"de_DE" => "Beschreibung",
|
||||
"es_ES" => "descripción");
|
||||
$warning_do_not_edit = "\n<!-- ********* WARNING! *********\n\n"
|
||||
." This file is automatically built with a Perl script. DO NOT EDIT!\n"
|
||||
@@ -44,16 +49,25 @@ $warning_do_not_edit = "\n<!-- ********* WARNING! *********\n\n"
|
||||
foreach $lng (@all_lang)
|
||||
{
|
||||
create_commands ($lng, $all_encodings{$lng},
|
||||
"weechat-curses -w | tail +3", "weechat_commands");
|
||||
"weechat-curses -w | sed 1,2d", "weechat_commands");
|
||||
create_commands ($lng, $all_encodings{$lng},
|
||||
"weechat-curses -i | tail +3", "irc_commands");
|
||||
"weechat-curses -i | sed 1,2d", "irc_commands");
|
||||
create_key_func ($lng, $all_encodings{$lng},
|
||||
"weechat-curses -f | tail +3", "key_functions");
|
||||
"weechat-curses -f | sed 1,2d", "key_functions");
|
||||
create_config ($lng, $all_encodings{$lng},
|
||||
"weechat-curses -c | tail +3", "config");
|
||||
"weechat-curses -c | sed 1,2d", "config");
|
||||
print "\n";
|
||||
}
|
||||
|
||||
sub toxml
|
||||
{
|
||||
$_ = $_[0];
|
||||
$_ =~ s/&/&/g;
|
||||
$_ =~ s/</</g;
|
||||
$_ =~ s/>/>/g;
|
||||
return $_;
|
||||
}
|
||||
|
||||
sub create_commands
|
||||
{
|
||||
$lang = $_[0];
|
||||
@@ -74,13 +88,13 @@ sub create_commands
|
||||
{
|
||||
print XML "</programlisting>\n" if ($started == 1);
|
||||
$started = 1;
|
||||
print XML "<command>$1</command>\n";
|
||||
print XML "<command>".toxml($1)."</command>\n";
|
||||
print XML "<programlisting>";
|
||||
}
|
||||
else
|
||||
{
|
||||
chomp ($_);
|
||||
print XML "$_\n";
|
||||
print XML toxml($_)."\n";
|
||||
}
|
||||
}
|
||||
print XML "</programlisting>\n";
|
||||
@@ -156,10 +170,10 @@ sub create_config
|
||||
$_ = $1;
|
||||
s/(.*)/\u$1/;
|
||||
$desc = $_;
|
||||
print XML " <entry>".$type."</entry>\n";
|
||||
print XML " <entry>".$values."</entry>\n";
|
||||
print XML " <entry>".$default."</entry>\n";
|
||||
print XML " <entry>".$desc."</entry>\n";
|
||||
print XML " <entry>".toxml($type)."</entry>\n";
|
||||
print XML " <entry>".toxml($values)."</entry>\n";
|
||||
print XML " <entry>".toxml($default)."</entry>\n";
|
||||
print XML " <entry>".toxml($desc)."</entry>\n";
|
||||
print XML "</row>\n";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
LANGCODE = cs
|
||||
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
|
||||
|
||||
EXTRA_DIST = $(QUICKSTART)
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
# install docs
|
||||
|
||||
install-data-hook:
|
||||
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
|
||||
@@ -0,0 +1,104 @@
|
||||
WeeChat (česká verze)
|
||||
=========================
|
||||
|
||||
1. Spuštění weechat
|
||||
Podle požadovaného GUI je třeba spustit:
|
||||
- weechat-curses pro Curses GUI
|
||||
- weechat-gtk pro GTK GUI (vyvíjí se)
|
||||
- weechat-qt pro Qt GUI (není vyvíjeno)
|
||||
- weechat-wxwidgets pro WxWidgets GUI (není vyvíjeno)
|
||||
|
||||
2. Online nápověda / možnosti
|
||||
|
||||
WeeChat má nápovědu pro všechny příkazy (/help příkaz)
|
||||
Pro získání nápovědy k příkazu se používá /help příkaz
|
||||
|
||||
Pro nastavení voleb použijte /set volba = hodnota
|
||||
Lze použít /set volba s částečným jménem (zobrazí všechny možnosti
|
||||
obsahující písmena), nebo pouze s celým jménem volby bez hodnoty
|
||||
(pro zobrazení dlouhé nápovědy k volbě).
|
||||
|
||||
Důležitá poznámka: nastavení je ukládáno při skončení WeeChat
|
||||
(nebo pomocí příkazu /save). NEEDITUJTE kontiguracni soubor za
|
||||
běhu WeeChat, protože do něj můŽe WeeChat kdykoliv zapsat
|
||||
a není možné jej znovu načíst. Pro změnu jakýchkoliv voleb
|
||||
použijte příkaz /set, WeeChat okamžitě použije nové nastavení.
|
||||
|
||||
3. Vytvoření serveru
|
||||
|
||||
Například irc.quakenet.org, port 6667:
|
||||
/server quakenet irc.quakenet.org 6667
|
||||
(pro kompletní nápovědu použijte /help server)
|
||||
|
||||
4. Nastavení vlastních voleb serveru
|
||||
|
||||
Přezdívky:
|
||||
/set quakenet.server_nick1 = "mujeprezdivka"
|
||||
/set quakenet.server_nick2 = "mujeprezdivka2"
|
||||
/set quakenet.server_nick3 = "mujeprezdivka3"
|
||||
|
||||
Uživatelské jméno / skutečné jméno:
|
||||
/set quakenet.server_username = "moje uživatelské jméno"
|
||||
/set quakenet.server_realname = "moje skutečné jméno"
|
||||
|
||||
Automatické připojení k serveru:
|
||||
/set quakenet.server_autoconnect = on
|
||||
|
||||
Ostatní volby:
|
||||
Pro zobrazení voleb serveru a jejich hodnot použijte /set quakenet
|
||||
Pro nastavení volby použijte /set quakenet.volba_serveru = hodnota
|
||||
|
||||
5. Připojení k serveru a automatické připojení ke kanálům
|
||||
|
||||
/connect quakenet
|
||||
|
||||
6. Příchod/odchod na/z kanálu
|
||||
|
||||
Příchod na kanál:
|
||||
/join #kanál
|
||||
Odchod z kanálu:
|
||||
/part [ukončovací zpráva]
|
||||
Odchod z kanálu a zavření bufferu:
|
||||
/close [ukončovací zpráva]
|
||||
(/close je alias na /buffer close)
|
||||
|
||||
7. Správa bufferů/oken
|
||||
|
||||
Buffery lze spravovat pomocí příkazu "/buffer" a okna pomocí
|
||||
příkazu "/window".
|
||||
Například pro rozdělení okna vertikálně na malé okno (1/3 šíčky)
|
||||
a velké (2/3) použijte příkaz:
|
||||
/window splitv 33
|
||||
|
||||
8. Klávesové zkratky
|
||||
|
||||
Podle Vaší klávesnice a/nebo potřeb si můžete změnit jakoukoliv
|
||||
klávesu pomocí příkazu "/key".
|
||||
Užitečná klávesa je meta-k (alt-k) pro nalezení klávesového kódu.
|
||||
|
||||
Například pro napojení meta-y (alt-y) na příkaz "/buffer close""
|
||||
/key (stiskněte meta-k) (stiskněte meta-y) /buffer close
|
||||
Dostanete řádek podobný tomuto:
|
||||
/key meta-y /buffer close
|
||||
|
||||
9. Pluginy/skripty
|
||||
|
||||
Na některých distibucích jako Debian, jsou pluginy dostupné v samostatném
|
||||
balíčku (jako weechat-plugins).
|
||||
Pluginy jsou automatikcy načteny při nalezení.
|
||||
Pro WeeChat je dostupných spousta pluginů/skriptů, více na:
|
||||
http://weechat.flashtux.org/plugins.php
|
||||
Pro načítání/rušení pluginů/skriptů se podívejde do dokumentace WeeChat.
|
||||
|
||||
10. Další dokumentace
|
||||
|
||||
Nyní můžete používat WeeChat a číst FAQ/dokumentaci v případě dalších dotazů:
|
||||
http://weechat.flashtux.org/faq.php
|
||||
http://weechat.flashtux.org/doc.php
|
||||
|
||||
Uživejte si WeeChat!
|
||||
|
||||
--
|
||||
(c) 2006-05-31, napsal FlashCode <flashcode@flashtux.org>, přeložil GolemJ <golemj@gmail.com>
|
||||
This document is part of WeeChat and is distributed under GPL licence.
|
||||
Tento dokunet je součástí WeeChat a je distribuován pod licencí GPL.
|
||||
@@ -0,0 +1 @@
|
||||
<pubdate>@DOC_DATE@</pubdate>
|
||||
@@ -0,0 +1 @@
|
||||
XslParam: weechat-pdf.xsl
|
||||
@@ -0,0 +1,79 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
LANGCODE = de
|
||||
BOOK = weechat.$(LANGCODE)
|
||||
BOOK_INCLUDE = weechat_commands.xml irc_commands.xml key_functions.xml config.xml
|
||||
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
|
||||
|
||||
EXTRA_DIST = $(BOOK).xml $(BOOK_INCLUDE) $(QUICKSTART)
|
||||
|
||||
if DBLATEX_FOUND
|
||||
PDF = pdf-stamp
|
||||
endif
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
all-local: html-stamp $(PDF)
|
||||
|
||||
# HTML output with chunks (many pages)
|
||||
|
||||
html: html-stamp
|
||||
|
||||
html-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html.xsl ../weechat-doc.css
|
||||
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
|
||||
mkdir -p html/
|
||||
xsltproc -o html/ ../weechat-html.xsl $(BOOK).xml || true
|
||||
cp ../weechat-doc.css html/
|
||||
touch html-stamp
|
||||
|
||||
# HTML output, all in one page
|
||||
|
||||
html1: html1-stamp
|
||||
|
||||
html1-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html-one.xsl ../weechat-doc.css
|
||||
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
|
||||
mkdir -p html1/
|
||||
xsltproc -o html1/$(BOOK).html ../weechat-html-one.xsl $(BOOK).xml || true
|
||||
cp ../weechat-doc.css html1/
|
||||
touch html1-stamp
|
||||
|
||||
# PDF output
|
||||
|
||||
pdf: pdf-stamp
|
||||
|
||||
pdf-stamp: $(BOOK).xml $(BOOK_INCLUDE)
|
||||
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
|
||||
dblatex -c ../dblatex.conf $(BOOK).xml || true
|
||||
touch pdf-stamp
|
||||
|
||||
# install docs
|
||||
|
||||
install-data-hook:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)/html/$(LANGCODE)/
|
||||
$(INSTALL_DATA) html/* $(DESTDIR)$(docdir)/html/$(LANGCODE)/
|
||||
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
|
||||
if DBLATEX_FOUND
|
||||
$(INSTALL_DATA) $(BOOK).pdf $(DESTDIR)$(docdir)/
|
||||
endif
|
||||
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
-rm -f $(BOOK).html $(BOOK).pdf $(BOOK).txt date.xml
|
||||
-rm -rf html/ html1/
|
||||
-rm -f html-stamp html1-stamp pdf-stamp
|
||||
+1253
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,443 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<!-- ********* WARNING! *********
|
||||
|
||||
This file is automatically built with a Perl script. DO NOT EDIT!
|
||||
-->
|
||||
|
||||
<command>admin [Ziel]</command>
|
||||
<programlisting>
|
||||
Information über den Server-Administrator abfragen
|
||||
|
||||
Ziel: Server
|
||||
|
||||
</programlisting>
|
||||
<command>ame Nachricht</command>
|
||||
<programlisting>
|
||||
Nachricht an alle Channels aller verbundenen Server schicken
|
||||
|
||||
zu sendende Nachricht
|
||||
|
||||
</programlisting>
|
||||
<command>amsg Text</command>
|
||||
<programlisting>
|
||||
Nachricht an alle Channels aller verbundener Server schicken
|
||||
|
||||
Text: zu sendender Text
|
||||
|
||||
</programlisting>
|
||||
<command>away [-all] [Nachricht]</command>
|
||||
<programlisting>
|
||||
Abwesenheitsnachricht ein/ausschalten
|
||||
|
||||
-all: Abwesenheitszustand auf allen Servern ändern
|
||||
Nachricht: Abwesenheitsnachricht (bzw. keine, um den Abwesenheitszustand zu deaktivieren)
|
||||
|
||||
</programlisting>
|
||||
<command>ban [Channel] [Nickname [Nickname ...]]</command>
|
||||
<programlisting>
|
||||
Nicknames oder Hosts sperren/verbannen
|
||||
|
||||
Channel: Channel für die Sperre
|
||||
Nickname: zu sperrender User oder Host
|
||||
|
||||
</programlisting>
|
||||
<command>ctcp Empfänger Typ [Argumente]</command>
|
||||
<programlisting>
|
||||
CTCP-Nachricht verschicken
|
||||
|
||||
Empfänger: User, an den die CTCP-Nachricht geschickt werden soll
|
||||
Typ: Typ der CTCP-Nachricht (z.B. "version", "ping", ..)
|
||||
Argumente: Argumente für CTCP
|
||||
|
||||
</programlisting>
|
||||
<command>cycle [Channel[,Channel]] [Abschiedsnachricht]</command>
|
||||
<programlisting>
|
||||
einen Channel verlassen und wieder betreten
|
||||
|
||||
Channel: zu verlassender Channel
|
||||
Abschiedsnachricht: Abschiedsnachricht (die den anderen Usern angezeigt wird)
|
||||
|
||||
</programlisting>
|
||||
<command>dehalfop Nickname [Nickname]</command>
|
||||
<programlisting>
|
||||
Halb-Operatorstatus aberkennen
|
||||
|
||||
</programlisting>
|
||||
<command>deop Nickname [Nickname]</command>
|
||||
<programlisting>
|
||||
Operatorstatus aberkennen
|
||||
|
||||
</programlisting>
|
||||
<command>devoice Nickname [Nickname]</command>
|
||||
<programlisting>
|
||||
Voice wegnehmen
|
||||
|
||||
</programlisting>
|
||||
<command>die</command>
|
||||
<programlisting>
|
||||
Server herunterfahren
|
||||
|
||||
</programlisting>
|
||||
<command>halfop Nickname [Nickname]</command>
|
||||
<programlisting>
|
||||
Halb-Operatorstatus verleihen
|
||||
|
||||
</programlisting>
|
||||
<command>info [Ziel]</command>
|
||||
<programlisting>
|
||||
Information über den Server abfragen
|
||||
|
||||
Ziel: Servername
|
||||
|
||||
</programlisting>
|
||||
<command>invite Nickname Channel</command>
|
||||
<programlisting>
|
||||
jemanden in einen Channel einladen
|
||||
|
||||
Nickname: Chatname des Einzuladenden
|
||||
Channel: Channel, in den er eingeladen werden soll
|
||||
|
||||
</programlisting>
|
||||
<command>ison Nickname [Nickname ...]</command>
|
||||
<programlisting>
|
||||
überprüfen, ob jemand zur Zeit im IRC ist
|
||||
|
||||
Nickname: Nickname
|
||||
|
||||
</programlisting>
|
||||
<command>join Channel[,Channel] [Passwort[,Passwort]]</command>
|
||||
<programlisting>
|
||||
einen Channel betreten
|
||||
|
||||
Channel: zu betretender Channel
|
||||
Passwort: Channelpasswort (+k-Mode)
|
||||
|
||||
</programlisting>
|
||||
<command>kick [Channel] Nickname [Kommentar]</command>
|
||||
<programlisting>
|
||||
einen User aus einem Channel herauskicken
|
||||
|
||||
Channel: Channel des Benutzers
|
||||
Nickname: Nickname des Benutzers
|
||||
Kommentar: Begründung für den Kick
|
||||
|
||||
</programlisting>
|
||||
<command>kickban [Channel] Nickname [Kommentar]</command>
|
||||
<programlisting>
|
||||
kickt und verbannt jemanden von einem Channel
|
||||
|
||||
Channel: Channel des Benutzers
|
||||
Nickname: Nickname des Benutzers
|
||||
Kommentar: Begründung für den Kickban
|
||||
|
||||
</programlisting>
|
||||
<command>kill Nickname Kommentar</command>
|
||||
<programlisting>
|
||||
Jemanden vom Server werfen
|
||||
|
||||
Nickname: Chatname
|
||||
Kommentar: Begründung
|
||||
|
||||
</programlisting>
|
||||
<command>links [[Server] Servermaske]</command>
|
||||
<programlisting>
|
||||
Alle dem antwortenden Server bekannten Servernamen auflisten
|
||||
|
||||
Server: dieser Server soll die Anfrage beantworten
|
||||
Servermaske: die aufzulistenden Server sollen diesem Muster entsprechen
|
||||
|
||||
</programlisting>
|
||||
<command>list [Channel[,Channel] [Server]]</command>
|
||||
<programlisting>
|
||||
Channels mit ihren Topics auflisten
|
||||
|
||||
Channel: aufzulistender Channel (reguläre Ausdrücke sind möglich)
|
||||
Server: Servername
|
||||
|
||||
</programlisting>
|
||||
<command>lusers [Maske [Ziel]]</command>
|
||||
<programlisting>
|
||||
Statistik über die Größe dieses IRC-Netzwerks abfragen
|
||||
|
||||
Maske: Nur Server, die diesem Muster entsprechen
|
||||
Ziel: Server, der die Anfrage weiterleiten soll
|
||||
|
||||
</programlisting>
|
||||
<command>me Nachricht</command>
|
||||
<programlisting>
|
||||
eine CTCP ACTION an den aktuellen Channel senden
|
||||
|
||||
zu sendende Nachricht
|
||||
|
||||
</programlisting>
|
||||
<command>mode { Channel {[+|-]|o|p|s|i|t|n|b|v} [Limit] [User] [Bannmaske] } | {Nickname {[+|-]|i|w|s|o} }</command>
|
||||
<programlisting>
|
||||
Channel- oder Usermode ändern
|
||||
|
||||
Channelmodi:
|
||||
Channel: zu ändernder Channel
|
||||
o: gib/nimm Operatorstatus
|
||||
p: privater Channel
|
||||
s: geheimer Channel
|
||||
i: geschlossener Channel (Zutritt nur mit Einladung)
|
||||
t: nur Operatoren dürfen das Topic setzen
|
||||
n: keine Channelnachrichten von außerhalb des Channels
|
||||
m: moderierter Channel (schreiben nur mit Voice)
|
||||
l: maximale Anzahl an Usern im Channel festlegen
|
||||
b: Bannmaske für zu sperrende User (in nick!ident@host-Form)
|
||||
e: lege Ausnahmemaske fest
|
||||
v: gib/nimm Voice (d.h. Schreibrecht bei moderierten Channels)
|
||||
k: Channelkey/Channelpasswort festlegen
|
||||
Usermodi:
|
||||
Nickname: zu ändernder Nickname
|
||||
i: User als unsichtbar kennzeichnen
|
||||
s: User empfängt Server-Nachrichten
|
||||
w: User empfängt WALLOPS
|
||||
o: User ist Channeloperator
|
||||
|
||||
</programlisting>
|
||||
<command>motd [Ziel]</command>
|
||||
<programlisting>
|
||||
die "Nachricht von heute" abfragen
|
||||
|
||||
Ziel: Servername
|
||||
|
||||
</programlisting>
|
||||
<command>msg Empfänger[,Empfänger] Text</command>
|
||||
<programlisting>
|
||||
Nachricht an Nick/Channel verschicken
|
||||
|
||||
Empfänger: Nick/Channel (darf eine Maske sein, '*' = aktueller Channel)
|
||||
Text: zu sendender Text
|
||||
|
||||
</programlisting>
|
||||
<command>names [Channel[,Channel]]</command>
|
||||
<programlisting>
|
||||
Nicknames in Channels auflisten
|
||||
|
||||
Channel: Channelname
|
||||
|
||||
</programlisting>
|
||||
<command>nick [-all] Nickname</command>
|
||||
<programlisting>
|
||||
aktuellen Nickname wechseln
|
||||
|
||||
-all: Nickname auf allen verbundenen Servern ändern
|
||||
Nickname: neuer Nickname
|
||||
|
||||
</programlisting>
|
||||
<command>notice Nickname Text</command>
|
||||
<programlisting>
|
||||
NOTICE an einen User verschicken
|
||||
|
||||
Nickname: Empfänger der Nachricht
|
||||
Text: zu sendender Text
|
||||
|
||||
</programlisting>
|
||||
<command>op Nickname [Nickname]</command>
|
||||
<programlisting>
|
||||
Channeloperatorstatus verleihen
|
||||
|
||||
</programlisting>
|
||||
<command>oper Benutzername Passwort</command>
|
||||
<programlisting>
|
||||
Serveroperatorprivilegien anfordern
|
||||
|
||||
Benutzername/Passwort: Account im IRC-Server
|
||||
|
||||
</programlisting>
|
||||
<command>part [Channel[,Channel]] [Abschiedsnachricht]</command>
|
||||
<programlisting>
|
||||
einen Channel verlassen
|
||||
|
||||
Channel: zu verlassender Channel
|
||||
Abschiedsnachricht: Abschiedsnachricht, die den anderen Usern angezeigt wird
|
||||
|
||||
</programlisting>
|
||||
<command>ping Server1 [Server2]</command>
|
||||
<programlisting>
|
||||
Server anpingen
|
||||
|
||||
Server1: Anzupingender Server
|
||||
Server2: Ping an diesen Server weiterleiten
|
||||
|
||||
</programlisting>
|
||||
<command>pong Daemon [Daemon2]</command>
|
||||
<programlisting>
|
||||
auf Ping antworten
|
||||
|
||||
Daemon: Daemon, der auf die Ping-Nachricht geantwortet hat
|
||||
Daemon2: Nachricht an diesen Daemon weiterleiten
|
||||
|
||||
</programlisting>
|
||||
<command>query Nickname [Text]</command>
|
||||
<programlisting>
|
||||
private Nachricht an jemanden schicken
|
||||
|
||||
Nickname: Nickname für privaten Chat
|
||||
Text: zu sendender Text
|
||||
|
||||
</programlisting>
|
||||
<command>quit [Abschiedsnachricht]</command>
|
||||
<programlisting>
|
||||
alle Verbindungen trennen und Programm beenden
|
||||
|
||||
Abschiednachricht: anderen Usern zu zeigende Nachricht
|
||||
|
||||
</programlisting>
|
||||
<command>quote Daten</command>
|
||||
<programlisting>
|
||||
Daten direkt an Server senden (siehe RFC 2812)
|
||||
|
||||
Daten: zu sendende Rohdaten
|
||||
|
||||
</programlisting>
|
||||
<command>rehash</command>
|
||||
<programlisting>
|
||||
den Server dazu bringen, seine Konfigurationsdatei neu zu laden
|
||||
|
||||
</programlisting>
|
||||
<command>restart</command>
|
||||
<programlisting>
|
||||
den Server dazu bringen, sich selbst neu zu starten
|
||||
|
||||
</programlisting>
|
||||
<command>service Nickname reserviert Distribution Typ reserviert Info</command>
|
||||
<programlisting>
|
||||
einen neuen Service eintragen
|
||||
|
||||
Distribution: Sichtbarkeit des Services
|
||||
Typ: für spätere Verwendung reserviert
|
||||
|
||||
</programlisting>
|
||||
<command>servlist [Maske [Typ]]</command>
|
||||
<programlisting>
|
||||
zur Zeit verbundene Services auflisten
|
||||
|
||||
Maske: nur zutreffende Services auflisten
|
||||
Typ: nur Services von diesem Typ auflisten
|
||||
|
||||
</programlisting>
|
||||
<command>squery Service Text</command>
|
||||
<programlisting>
|
||||
Nachricht an einen Service senden
|
||||
|
||||
Service: Name des Service
|
||||
Text: zu sendender Text
|
||||
|
||||
</programlisting>
|
||||
<command>squit Server Kommentar</command>
|
||||
<programlisting>
|
||||
Serververbindungen trennen
|
||||
|
||||
Server: Servername
|
||||
Kommentar: Trennungsgrund
|
||||
|
||||
</programlisting>
|
||||
<command>stats [Anfrage [Server]]</command>
|
||||
<programlisting>
|
||||
Serverstatistik abfragen
|
||||
|
||||
Anfrage: c/h/i/k/l/m/o/y/u (siehe RFC1459)
|
||||
Server: zu befragender Server
|
||||
|
||||
</programlisting>
|
||||
<command>summon User [Ziel [Channel]]</command>
|
||||
<programlisting>
|
||||
Nutzer, die auf dem IRC-Server arbeiten, darum bitten, auf den IRC-Server zu kommen
|
||||
|
||||
User: Benutzername
|
||||
Ziel: Servername
|
||||
Channel: Channelname
|
||||
|
||||
</programlisting>
|
||||
<command>time [Ziel]</command>
|
||||
<programlisting>
|
||||
Ortszeit des Servers abfragen
|
||||
|
||||
Ziel: der zu fragende Server
|
||||
|
||||
</programlisting>
|
||||
<command>topic [Channel] [Topic]</command>
|
||||
<programlisting>
|
||||
Channeltopic abfragen/setzen
|
||||
|
||||
Channel: Channelname
|
||||
Topic: neues Topic (oder "-delete" zum Entfernen des Topics)
|
||||
|
||||
</programlisting>
|
||||
<command>trace [Ziel]</command>
|
||||
<programlisting>
|
||||
Route zum angegebenen Server ermitteln
|
||||
|
||||
Ziel: Server
|
||||
|
||||
</programlisting>
|
||||
<command>unban [Channel] nickname [nickname ...]</command>
|
||||
<programlisting>
|
||||
Bann aufheben
|
||||
|
||||
Channel: Channel, in dem der Bann aufzuheben ist
|
||||
Nickname: User, für den der Bann aufzuheben ist
|
||||
|
||||
</programlisting>
|
||||
<command>userhost Nickname [Nickname ...]</command>
|
||||
<programlisting>
|
||||
liste von Nickname-Informationen ermitteln
|
||||
|
||||
Nickname: Nickname
|
||||
|
||||
</programlisting>
|
||||
<command>users [Ziel]</command>
|
||||
<programlisting>
|
||||
auf dem Server eingeloggte User auflisten
|
||||
|
||||
Ziel: Server
|
||||
|
||||
</programlisting>
|
||||
<command>version [Server | Nickname]</command>
|
||||
<programlisting>
|
||||
Versionsinformationen von Nickname oder Server ermitteln
|
||||
|
||||
Server: Servername
|
||||
Nickname: Nickname
|
||||
|
||||
</programlisting>
|
||||
<command>voice Nickname [Nickname]</command>
|
||||
<programlisting>
|
||||
Voice vergeben
|
||||
|
||||
</programlisting>
|
||||
<command>wallops Text</command>
|
||||
<programlisting>
|
||||
Nachricht an alle User schicken, die den 'w'-Mode gesetzt haben
|
||||
|
||||
zu sendender Text
|
||||
|
||||
</programlisting>
|
||||
<command>who [Maske ["o"]]</command>
|
||||
<programlisting>
|
||||
erweiterte Nicknameliste
|
||||
|
||||
Maske: nur Information über betreffende Nicknames abfragen
|
||||
o: nur Operatoren ausgeben, die dem Filter entsprechen
|
||||
|
||||
</programlisting>
|
||||
<command>whois [Server] Nickname[,Nickname]</command>
|
||||
<programlisting>
|
||||
Information über User abfragen
|
||||
|
||||
Server: Servername
|
||||
Nickname: Nickname (oder eine Maske)
|
||||
|
||||
</programlisting>
|
||||
<command>whowas Nickname [,Nickname [,Nickname ...]] [Anzahl [Ziel]]</command>
|
||||
<programlisting>
|
||||
Information über die Vergangenheit eines Nicknames erfragen
|
||||
|
||||
Nickname: abzufragende Nicknames
|
||||
Anzahl: maximale Anzahl an Antworten (negative Zahl für eine vollständige Liste)
|
||||
Ziel: zu suchende Hostmaske
|
||||
|
||||
</programlisting>
|
||||
@@ -0,0 +1,207 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<!-- ********* WARNING! *********
|
||||
|
||||
This file is automatically built with a Perl script. DO NOT EDIT!
|
||||
-->
|
||||
|
||||
<row>
|
||||
<entry><literal>return</literal></entry>
|
||||
<entry>Zeile terminieren</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>tab</literal></entry>
|
||||
<entry>Wort vervollständigen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>tab_previous</literal></entry>
|
||||
<entry>finde letzte Wortvervollständigung</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>backspace</literal></entry>
|
||||
<entry>vorheriges Zeichen löschen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>delete</literal></entry>
|
||||
<entry>nächstes Zeichen löschen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>delete_end_line</literal></entry>
|
||||
<entry>bis zum Zeilenende löschen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>delete_beginning_line</literal></entry>
|
||||
<entry>bis zum Zeilenanfang löschen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>delete_line</literal></entry>
|
||||
<entry>ganze Zeile löschen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>delete_previous_word</literal></entry>
|
||||
<entry>vorheriges Wort löschen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>delete_next_word</literal></entry>
|
||||
<entry>nächstes Wort löschen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>clipboard_paste</literal></entry>
|
||||
<entry>einfügen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>transpose_chars</literal></entry>
|
||||
<entry>Zeichen vertauschen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>home</literal></entry>
|
||||
<entry>zum Zeilenanfang gehen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>end</literal></entry>
|
||||
<entry>zum Zeilenende gehen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>left</literal></entry>
|
||||
<entry>ein Zeichen nach links gehen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>previous_word</literal></entry>
|
||||
<entry>ein Wort nach links gehen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>right</literal></entry>
|
||||
<entry>ein Zeichen nach rechts gehen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>next_word</literal></entry>
|
||||
<entry>ein Wort nach rechts gehen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>up</literal></entry>
|
||||
<entry>vorherigen Befehl aus dem Verlauf abfragen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>up_global</literal></entry>
|
||||
<entry>vorherigen Befehl aus dem globalen Verlauf abfragen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>down</literal></entry>
|
||||
<entry>nächsten Befehl aus dem Verlauf abfragen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>down_global</literal></entry>
|
||||
<entry>nächsten Befehl aus dem globalen Verlauf abfragen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>page_up</literal></entry>
|
||||
<entry>eine Seite hochscrollen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>page_down</literal></entry>
|
||||
<entry>eine Seite herunterscrollen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_up</literal></entry>
|
||||
<entry>einige Zeilen hochscrollen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_down</literal></entry>
|
||||
<entry>einige Zeilen herunterscrollen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_top</literal></entry>
|
||||
<entry>nach ganz oben scrollen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_bottom</literal></entry>
|
||||
<entry>nach ganz unten scrollen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_topic_left</literal></entry>
|
||||
<entry>Topic nach links scrollen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_topic_right</literal></entry>
|
||||
<entry>Topic nach rechts scrollen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>nick_beginning</literal></entry>
|
||||
<entry>zum Anfang der Nicklist gehen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>nick_end</literal></entry>
|
||||
<entry>zum Ende der Nicklist gehen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>nick_page_up</literal></entry>
|
||||
<entry>Nickliste eine Seite hochscrollen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>nick_page_down</literal></entry>
|
||||
<entry>Nickliste eine Seite herunterscrollen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>jump_smart</literal></entry>
|
||||
<entry>zu nächstem aktiven Puffer springen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>jump_dcc</literal></entry>
|
||||
<entry>zum DCC-Puffer springen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>jump_raw_data</literal></entry>
|
||||
<entry>gehe zum IRC-Rohdaten-Puffer</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>jump_last_buffer</literal></entry>
|
||||
<entry>zum letzten Puffer springen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>jump_server</literal></entry>
|
||||
<entry>zum Serverpuffer springen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>jump_next_server</literal></entry>
|
||||
<entry>zum nächsten Server springen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>switch_server</literal></entry>
|
||||
<entry>wechsel den aktiven Server im Server-Puffer</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_previous_highlight</literal></entry>
|
||||
<entry>scrolle zur vorherigen hervorhebung im Puffer</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_next_highlight</literal></entry>
|
||||
<entry>scrolle zur nächsten Hervorhebung im Puffer</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_unread</literal></entry>
|
||||
<entry>scrolle zur ersten, ungelesenen Zeile im Puffer</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>hotlist_clear</literal></entry>
|
||||
<entry>Hotlist leeren</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>infobar_clear</literal></entry>
|
||||
<entry>Infobar leeren</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>refresh</literal></entry>
|
||||
<entry>Bild neu aufbauen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>grab_key</literal></entry>
|
||||
<entry>Tastencode ermitteln und einfügen</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>insert</literal></entry>
|
||||
<entry>füge eine Zeichenkette in der Befehlszeile ein</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>search_text</literal></entry>
|
||||
<entry>suche Text im Pufferverlauf</entry>
|
||||
</row>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,247 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<!-- ********* WARNING! *********
|
||||
|
||||
This file is automatically built with a Perl script. DO NOT EDIT!
|
||||
-->
|
||||
|
||||
<command>alias [Aliasname [Befehl [Argumente]]]</command>
|
||||
<programlisting>
|
||||
einen Alias für einen Befehl anlegen
|
||||
|
||||
Aliasname: Name des Alias
|
||||
Befehl: Befehlsname (WeeChat- oder IRC-Befehl ohne führenden '/', mehrere Befehle können durch Semikola getrennt werden)
|
||||
Argumente: Argumente für den Befehl
|
||||
|
||||
</programlisting>
|
||||
<command>wird durch alle Argumente ersetzt.</command>
|
||||
<programlisting>Die Variablen $nick, $channel and $server werden durch den aktuellen Nick/Channel oder Server ersetzt.
|
||||
|
||||
</programlisting>
|
||||
<command>buffer [Aktion [Argumente] | Nummer | [[Server] [Channel]]]</command>
|
||||
<programlisting>
|
||||
Puffer verwalten
|
||||
|
||||
Aktion: Pufferaktion:
|
||||
move: Puffer in der Liste bewegen (kann auch relativ sein, wie -1)
|
||||
close: Puffer schließen (eine Part-Message kann optional angegeben werden)
|
||||
list: alle offenen Puffer auflisten (Standardaktion)
|
||||
notify: Notify-Level für Puffer festlegen (0=nie, 1=bei hervorgehobenen Nachrichten, 2=1+persönliche Nachricht, 3=2+join/part)
|
||||
(wenn der Befehl in einem Server Puffer ausgeführt wird, setzt er den Default-Notify-Level für den ganzen Server)
|
||||
Server
|
||||
Channel: gehe zum Puffer mit Servernamen oder Channelnamen
|
||||
Nummer: gehe zu Puffer mit dieser Nummer
|
||||
|
||||
</programlisting>
|
||||
<command>builtin Befehl</command>
|
||||
<programlisting>
|
||||
starte eingebauten WeeChat/IRC-Befehl (ohne Plugin-Handler oder Aliase)
|
||||
|
||||
Befehl: auszuführender Befehl (falls nicht vorhanden wird automatisch ein '/' vorangestellt)
|
||||
|
||||
|
||||
</programlisting>
|
||||
<command>clear [-all | Nummer]</command>
|
||||
<programlisting>
|
||||
Fenster leeren
|
||||
|
||||
-all: lösche alle Puffer
|
||||
Nummer: lösche den Puffer mit der angegebenen Nummer
|
||||
|
||||
</programlisting>
|
||||
<command>connect [-all | Servername [Servername ...]]</command>
|
||||
<programlisting>
|
||||
mit Server verbinden
|
||||
|
||||
-all: verbinde mit allen Servern
|
||||
servername: Servername, mit dem verbunden werden soll
|
||||
|
||||
</programlisting>
|
||||
<command>disconnect [-all | Servername [Servername ...]]</command>
|
||||
<programlisting>
|
||||
Serververbindung(en) trennen
|
||||
|
||||
-all: Trenne von allen Servern
|
||||
servername: Servername, von dem getrennt werden soll
|
||||
|
||||
</programlisting>
|
||||
<command>dcc Aktion [Nickname [Datei]]</command>
|
||||
<programlisting>
|
||||
DCC (Filetransfer oder Chat) starten oder Chat beenden
|
||||
|
||||
Aktion: 'send' (Datei) oder 'chat' oder 'close' (Chat)
|
||||
Nickname: Empfänger der Datei bzw. Chatpartner
|
||||
Datei: zu versendende (lokal vorliegende) Datei
|
||||
|
||||
</programlisting>
|
||||
<command>debug dump | windows</command>
|
||||
<programlisting>
|
||||
Debugging-Nachricht ausgeben
|
||||
|
||||
dump: Speicherabbild im WeeChat-Logfile ablegen (wie nach einem Programmabsturz)
|
||||
windows: zeigt Fensterdaten an
|
||||
|
||||
</programlisting>
|
||||
<command>help [Befehl]</command>
|
||||
<programlisting>
|
||||
Hilfe zu Befehlen abfragen
|
||||
|
||||
Befehl: Name eines WeeChat- oder IRC-Befehls
|
||||
|
||||
</programlisting>
|
||||
<command>history [clear | Anzahl]</command>
|
||||
<programlisting>
|
||||
zeigt Befehlsverlauf des Puffers
|
||||
|
||||
clear: Löscht Verlauf
|
||||
Anzahl: zeigt die gewünschte Anzahl an Verlaufseinträgen
|
||||
|
||||
</programlisting>
|
||||
<command>ignore [Maske [[Typ | Befehl] [Channel [Server]]]]</command>
|
||||
<programlisting>
|
||||
IRC-Nachrichten und/oder Hosts ignorieren
|
||||
|
||||
Nummer: Nummer des zu entfernenden Eintrags (siehe Liste)
|
||||
Maske: Nickname oder Hostmaske, die ignoriert werden soll
|
||||
Typ: Typ der Nachrichten, die ignoriert werden sollen (action, ctcp, dcc, pv)
|
||||
Befehl: IRC-Befehl
|
||||
Channel: Channel, in dem ignoriert werden soll
|
||||
Server: Server, auf dem ignoriert werden soll
|
||||
|
||||
Bei jedem Argument steht '*' für 'alle'.
|
||||
Ohne Argumente listet /ignore alle definierten /ignore-Regeln auf.
|
||||
|
||||
</programlisting>
|
||||
<command>key [Taste [Funktion/Befehl]] [unbind Taste] [functions] [call Funktion ["Argumente"]] [reset -yes] </command>
|
||||
<programlisting>
|
||||
belegen/freigeben von Tasten
|
||||
|
||||
Taste: diese Taste anzeigen oder mit einer internen Funktion oder einem Befehl, beginnend mit "/", belegen
|
||||
unbind: Tastenbelegung aufheben
|
||||
functions: interne Funktionen für Tastenbelegungen auflisten
|
||||
call: rufe eine Funktion über ihren Namen auf (mit optionalen Argumenten)
|
||||
reset: Standardbelegung wiederherstellen und entferne ALLE eigenen Belegungen (Vorsicht!)
|
||||
|
||||
</programlisting>
|
||||
<command>plugin [list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]</command>
|
||||
<programlisting>
|
||||
auflisten/laden/entladen von Plugins
|
||||
|
||||
list: geladene Plugins auflisten
|
||||
listfull: geladene Plugins mit Details für jedes Plugin auflisten
|
||||
load: lade ein Plugin
|
||||
autoload: lade automatisch alle Plugins im System- oder Benutzerverzeichnis
|
||||
reload: lade ein Plugin erneut (wenn kein Name vorgegeben ist, werden alle Plugins entladen und autolade die Plugins)
|
||||
unload: entlade eines oder alle Plugins
|
||||
|
||||
Ohne Argument, listet /plugin alle geladenen Plugins auf.
|
||||
|
||||
</programlisting>
|
||||
<command>reconnect [-all | Servername [Servername ...]]</command>
|
||||
<programlisting>
|
||||
mit einem Server oder mehreren Servern neu verbinden
|
||||
|
||||
-all: Verbinde mit allen Servern neu
|
||||
servername: Servername, mit dem verbunden werden soll
|
||||
|
||||
</programlisting>
|
||||
<command>server [Servername] | [Servername Hostname Port [-auto | -noauto] [-ipv6] [-ssl] [-pwd Passwort] [-nicks Nick1 Nick2 Nick3] [-username Benutzername] [-realname Name] [-command Befehl] [-autojoin Channel[,Channel]] ] | [del Servername]</command>
|
||||
<programlisting>
|
||||
Auflisten, Hinzufügen oder Entfernen von Servern
|
||||
|
||||
Servername: anzuzeigender Servername
|
||||
Hostname: Name oder IP-Adresse des Servers
|
||||
Port: Port des Servers
|
||||
ipv6: IPv6 benutzen
|
||||
ssl: SSL benutzen
|
||||
Passwort: Serverpasswort
|
||||
Nick1: erster Nickname
|
||||
Nick2: zweiter Nickname
|
||||
Nick3: dritter Nicname
|
||||
Benutzername: Benutzername
|
||||
Realname: voller Name des Benutzers
|
||||
|
||||
</programlisting>
|
||||
<command>save [Datei]</command>
|
||||
<programlisting>
|
||||
Konfiguration abspeichern
|
||||
|
||||
Datei: Name der zu speichernden Konfigurationsdatei
|
||||
|
||||
</programlisting>
|
||||
<command>set [Option [ = Wert]]</command>
|
||||
<programlisting>
|
||||
Konfigurationsparameter setzen
|
||||
|
||||
Option: Name einer Option (wenn der Name vorhanden ist, aber kein Wert, dann wird eine Hilfe zur Option ausgegeben
|
||||
Wert: Wert der Option
|
||||
|
||||
Option kann Servername.server_xxx lauten, wobei "Servername" der interne Servername ist und "xxx" eine Option für diesen Server.
|
||||
|
||||
</programlisting>
|
||||
<command>setp [Option [ = Wert]]</command>
|
||||
<programlisting>
|
||||
Konfigurationsparameter für Plugin setzen
|
||||
|
||||
Option: Name einer Plugin-Option
|
||||
Wert: Wert für Option
|
||||
|
||||
Option wird wie folgt formatiert: Plugin.Option, z.B. perl.myscript.item1
|
||||
|
||||
</programlisting>
|
||||
<command>unalias Aliasname</command>
|
||||
<programlisting>
|
||||
einen Alias entfernen
|
||||
|
||||
Aliasname: Name des zu löschenden Aliases
|
||||
|
||||
</programlisting>
|
||||
<command>unignore [Nummer | [Maske [[Typ | Befehl] [Channel [Server]]]]</command>
|
||||
<programlisting>
|
||||
/ignore-Regel entfernen
|
||||
|
||||
Nummer: Nummer des zu entfernenden Eintrags (siehe Liste)
|
||||
Maske: Nickname oder Hostmaske, die ignoriert werden soll
|
||||
Typ: Typ der Nachrichten, die ignoriert werden sollen (action, ctcp, dcc, pv)
|
||||
Befehl: IRC-Befehl
|
||||
Channel: Channel, in dem ignoriert werden soll
|
||||
Server: Server, auf dem ignoriert werden soll
|
||||
|
||||
Bei jedem Argument steht '*' für 'alle'.
|
||||
Ohne Argumente listet /unignore alle definierten /ignore-Regeln auf.
|
||||
|
||||
</programlisting>
|
||||
<command>upgrade</command>
|
||||
<programlisting>
|
||||
aktualisiert WeeChat ohne die Verbindung zum Server zu trennen
|
||||
|
||||
Dieser Befehl wird auf dem Weechat-Binary ausgeführt, daher sollte dieses kompiliert oder mit einem Paketmanager installiert sein, bevor der Befehl ausgeführt wird.
|
||||
|
||||
</programlisting>
|
||||
<command>uptime [-o]</command>
|
||||
<programlisting>
|
||||
zeigt die Uptime von Weechat an
|
||||
|
||||
-o: sendet die Weechat-Uptime als IRC-Nachricht in den aktuellen Channel
|
||||
|
||||
</programlisting>
|
||||
<command>window [list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all]]</command>
|
||||
<programlisting>
|
||||
Fenster verwalten
|
||||
|
||||
list: listet die geöffneten Fenster (Default, kann auch weggelassen werden)
|
||||
-1: springt zum vorherigen Fenster
|
||||
+1: springt zum nächsten Fenster
|
||||
b#: springt zum nächsten Fenster, dass Puffer Nummer # anzeigt
|
||||
up: wechselt zum Fenster über dem aktuellen
|
||||
down: wechselt zum Fenster unter dem aktuellen
|
||||
left: wechselt zum linken Fenster
|
||||
right: wechselt zum rechten Fenster
|
||||
splith: teilt das aktuelle Fenster horizontal
|
||||
splitv: teilt das aktuelle Fenster vertikal
|
||||
resize: verändert die Größe des aktuellen Fensters, die neue Größe ist <pct> Prozent des Elternfensters groß
|
||||
merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
|
||||
|
||||
Bei splith und splitv gibt pct die neue Größe des Fensters im verhältnis zur aktuellen Größe an. Zum Beispiel würde 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters hätte.
|
||||
|
||||
</programlisting>
|
||||
@@ -0,0 +1,109 @@
|
||||
WeeChat Schnellstarter (deutsche Version)
|
||||
======================
|
||||
|
||||
1. Weechat starten
|
||||
|
||||
Entsprechend dem gewählten User-Interface müssen Du starten:
|
||||
- weechat-curses für das Curses GUI
|
||||
- weechat-gtk für das Gtk GUI (in Entwicklung)
|
||||
- weechat-qt für das Qt GUI (in Planung)
|
||||
- weechat-wxwidgets für das WxWidgets GUI (in Planung)
|
||||
|
||||
2. Online-Hilfe / Optionen
|
||||
|
||||
WeeChat hat eine eingebaute Hilfe für all Kommandos, tippe einfach /help
|
||||
Um Hilfe zu einem Kommando zu bekommen, tippe /help Kommando
|
||||
|
||||
Um Optionen zu verändern, benutzt du /set Option = Wert
|
||||
Du brauchst /set Option nur mit den Anfangsbuchstaben eingeben
|
||||
(<tab> zeigt alle Optionen mit den gleichen Buchstaben) oder mit dem vollen
|
||||
Namen ohne einen Wert, um eine ausführliche Hilfe zu bekommen.
|
||||
|
||||
Wichtig: die Einstellungen werden gespeichert, wenn WeeChat beendet wird
|
||||
(oder mit dem Befehl /save). Verändere die Einstellungen nicht, wenn WeeChat
|
||||
läuft, weil WeeChat diese Datei zu jeder Zeit überschreiben kann und
|
||||
Änderungen verloren sind. Um irgendeine Einstellung zu verändern, verwendest du
|
||||
das /set Kommando, WeeChat wird die neuen Einstellungen umgehend übernehmen.
|
||||
|
||||
3. Einen Server-Eintrag anlegen
|
||||
|
||||
Zum Beispiel für irc.quakenet.org, Port 6667:
|
||||
/server quakenet irc.quakenet.org 6667
|
||||
(/help Server für volle Hilfe zu diesem Kommando)
|
||||
|
||||
4. Eigene Server-Optionen setzen
|
||||
|
||||
Nickname:
|
||||
/set quakenet.server_nick1 = "mynick"
|
||||
/set quakenet.server_nick2 = "mynick2"
|
||||
/set quakenet.server_nick3 = "mynick3"
|
||||
|
||||
Username/Klarname:
|
||||
/set quakenet.server_username = "My username"
|
||||
/set quakenet.server_realname = "My real name"
|
||||
|
||||
Automatische Server-Verbindung:
|
||||
/set quakenet.server_autoconnect = on
|
||||
|
||||
Automatisches Betreten eines Channels:
|
||||
/set quakenet.server_autojoin = "#chan1,#chan2"
|
||||
|
||||
Andere Optionen:
|
||||
Du kannst die Server-Optionen und ihre Werte mit /set quakenet sehen
|
||||
Um eine Option zu setzen, tippe /set quakenet.option = Wert
|
||||
|
||||
5. Verbinden zu einem Server und automatisch einen Channel betreten
|
||||
|
||||
/connect quakenet
|
||||
|
||||
6. Channels betreten/verlassen
|
||||
|
||||
Einen Channel betreten:
|
||||
/join #channel
|
||||
Einen Channel verlassen:
|
||||
/part [Nachricht]
|
||||
Einen Channel verlassen und den Buffer schliessen:
|
||||
/close [Nachricht]
|
||||
(/close ist ein Alias für /buffer close)
|
||||
|
||||
7. Buffer/Fenster Management
|
||||
|
||||
Du kannst die einzelnen Buffer mit /buffer und Fenster mit /window
|
||||
verwalten.
|
||||
Um zum Beispiel das Fenster in ein kleineres (1/3 breit) und ein
|
||||
grosses (2/3 breit) zu teilen, nutzt du das folgende Kommando:
|
||||
/window splitv 33
|
||||
|
||||
8. Tastenkombinationen
|
||||
|
||||
Entsprechend deiner Tastatur und/oder deinen Wünschen, kannst du jede Taste
|
||||
mit "/key" neu zuordnen.
|
||||
Eine nützliche Taste ist meta-k (alt-k), sie zeigt die Tastaturcodes an.
|
||||
|
||||
Um zum Beispiel meta-y (alt-y) dem Kommando "/buffer close" zuzuordnen:
|
||||
/key (tippe meta-k) (tippe meta-y) /buffer close
|
||||
Und du bekommst damit die Kommandozeile:
|
||||
/key meta-y /buffer close
|
||||
|
||||
9. Plugins/Skripte
|
||||
|
||||
In einigen Distributionen, wie zum Beispiel Debian, sind Plugins in separaten
|
||||
Paketen verfügbar (wie weechat-plugins). Plugins werden automatisch geladen,
|
||||
wenn welche gefunden wurden.
|
||||
Viele Plugins/Skripte für WeeChat sind zu finden auf:
|
||||
http://weechat.flashtux.org/plugins.php
|
||||
Bitte lies für das Laden/Entladen von Plugins oder Skripten die Dokumentation.
|
||||
|
||||
|
||||
10. Mehr Dokumentation
|
||||
|
||||
Jetzt kannst du WeeChat starten und die FAQ/Dokumentation lesen, falls du weitere
|
||||
Fragen hast:
|
||||
http://weechat.flashtux.org/faq.php
|
||||
http://weechat.flashtux.org/doc.php
|
||||
|
||||
Viel Spass mit WeeChat!
|
||||
|
||||
--
|
||||
(c) 2006-05-31, written by FlashCode <flashcode@flashtux.org>
|
||||
This document is part of WeeChat and is distributed under GPL licence.
|
||||
+25
-5
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2003-2006 FlashCode <flashcode@flashtux.org>
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -18,18 +18,24 @@
|
||||
LANGCODE = en
|
||||
BOOK = weechat.$(LANGCODE)
|
||||
BOOK_INCLUDE = weechat_commands.xml irc_commands.xml key_functions.xml config.xml
|
||||
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
|
||||
|
||||
EXTRA_DIST = $(BOOK).xml $(BOOK_INCLUDE)
|
||||
EXTRA_DIST = $(BOOK).xml $(BOOK_INCLUDE) $(QUICKSTART)
|
||||
|
||||
if DBLATEX_FOUND
|
||||
PDF = pdf-stamp
|
||||
endif
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
all-local: html-stamp
|
||||
all-local: html-stamp $(PDF)
|
||||
|
||||
# HTML output with chunks (many pages)
|
||||
|
||||
html: html-stamp
|
||||
|
||||
html-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html.xsl ../weechat-doc.css
|
||||
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
|
||||
mkdir -p html/
|
||||
xsltproc -o html/ ../weechat-html.xsl $(BOOK).xml || true
|
||||
cp ../weechat-doc.css html/
|
||||
@@ -40,20 +46,34 @@ html-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html.xsl ../weechat-doc.css
|
||||
html1: html1-stamp
|
||||
|
||||
html1-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html-one.xsl ../weechat-doc.css
|
||||
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
|
||||
mkdir -p html1/
|
||||
xsltproc -o html1/$(BOOK).html ../weechat-html-one.xsl $(BOOK).xml || true
|
||||
cp ../weechat-doc.css html1/
|
||||
touch html1-stamp
|
||||
|
||||
# PDF output
|
||||
|
||||
pdf: pdf-stamp
|
||||
|
||||
pdf-stamp: $(BOOK).xml $(BOOK_INCLUDE)
|
||||
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
|
||||
dblatex -c ../dblatex.conf $(BOOK).xml || true
|
||||
touch pdf-stamp
|
||||
|
||||
# install docs
|
||||
|
||||
install-data-hook:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)/html/$(LANGCODE)/
|
||||
$(INSTALL_DATA) html/* $(DESTDIR)$(docdir)/html/$(LANGCODE)/
|
||||
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
|
||||
if DBLATEX_FOUND
|
||||
$(INSTALL_DATA) $(BOOK).pdf $(DESTDIR)$(docdir)/
|
||||
endif
|
||||
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
-rm -f *.html *.pdf *.txt
|
||||
-rm -f $(BOOK).html $(BOOK).pdf $(BOOK).txt date.xml
|
||||
-rm -rf html/ html1/
|
||||
-rm -f html-stamp html1-stamp
|
||||
-rm -f html-stamp html1-stamp pdf-stamp
|
||||
|
||||
+123
-53
@@ -5,6 +5,13 @@
|
||||
This file is automatically built with a Perl script. DO NOT EDIT!
|
||||
-->
|
||||
|
||||
<row>
|
||||
<entry><option>look_save_on_exit</option></entry>
|
||||
<entry>boolean</entry>
|
||||
<entry>'on' or 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>Save config file on exit</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_set_title</option></entry>
|
||||
<entry>boolean</entry>
|
||||
@@ -33,34 +40,6 @@
|
||||
<entry>'the geekest IRC client!'</entry>
|
||||
<entry>WeeChat slogan (if empty, slogan is not used)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_charset_decode_iso</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry>'ISO-8859-1'</entry>
|
||||
<entry>ISO charset for decoding messages from server (used only if locale is UTF-8) (if empty, messages are not converted if locale is UTF-8</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_charset_decode_utf</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry>'UTF-8'</entry>
|
||||
<entry>UTF charset for decoding messages from server (used only if locale is not UTF-8) (if empty, messages are not converted if locale is not UTF-8</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_charset_encode</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Charset for encoding messages sent to server, examples: UFT-8, ISO-8859-1 (if empty, messages are not converted)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_charset_internal</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Forces internal WeeChat charset (should be empty in most cases, that means detected charset is used)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_one_server_buffer</option></entry>
|
||||
<entry>boolean</entry>
|
||||
@@ -129,7 +108,14 @@
|
||||
<entry>integer</entry>
|
||||
<entry>between 0 and 100</entry>
|
||||
<entry>0</entry>
|
||||
<entry>Max size for nicklist (width or height, depending on look_nicklist_position (0 = no max size; if min == max and > 0, then size is fixed))</entry>
|
||||
<entry>Max size for nicklist (width or height, depending on look_nicklist_position (0 = no max size; if min == max and > 0, then size is fixed))</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nicklist_separator</option></entry>
|
||||
<entry>boolean</entry>
|
||||
<entry>'on' or 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>Separator between chat and nicklist</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_no_nickname</option></entry>
|
||||
@@ -152,6 +138,48 @@
|
||||
<entry>'off'</entry>
|
||||
<entry>Display space if nick mode is not (half)op/voice</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nick_prefix</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Text to display before nick in chat window</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nick_suffix</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry>' |'</entry>
|
||||
<entry>Text to display after nick in chat window</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_align_nick</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>'none', 'left', 'right'</entry>
|
||||
<entry>'right'</entry>
|
||||
<entry>Nick alignment (fixed size for nicks in chat window (none, left, right))</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_align_other</option></entry>
|
||||
<entry>boolean</entry>
|
||||
<entry>'on' or 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>Alignment for other messages (not beginning with a nick)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_align_size</option></entry>
|
||||
<entry>integer</entry>
|
||||
<entry>between 8 and 64</entry>
|
||||
<entry>14</entry>
|
||||
<entry>Size for aligning nick and other messages</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_align_size_max</option></entry>
|
||||
<entry>integer</entry>
|
||||
<entry>between 8 and 64</entry>
|
||||
<entry>20</entry>
|
||||
<entry>Max size for aligning nick and other messages (should be >= to look_align_size)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nick_completor</option></entry>
|
||||
<entry>string</entry>
|
||||
@@ -166,6 +194,13 @@
|
||||
<entry>'[]-^'</entry>
|
||||
<entry>Chars ignored for nick completion</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nick_completion_smart</option></entry>
|
||||
<entry>boolean</entry>
|
||||
<entry>'on' or 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>Smart completion for nicks (completes with last speakers first)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nick_complete_first</option></entry>
|
||||
<entry>boolean</entry>
|
||||
@@ -243,6 +278,13 @@
|
||||
<entry>' '</entry>
|
||||
<entry>Use a marker on servers/channels to show first unread line</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_input_format</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry>'[%n(%m)] '</entry>
|
||||
<entry>Format for input prompt ('%c' is replaced by channel or server, '%n' by nick and '%m' by nick modes)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_real_white</option></entry>
|
||||
<entry>boolean</entry>
|
||||
@@ -264,6 +306,13 @@
|
||||
<entry>'default'</entry>
|
||||
<entry>Color for title bar</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_title_more</option></entry>
|
||||
<entry>color</entry>
|
||||
<entry>Curses or Gtk color</entry>
|
||||
<entry>'lightmagenta'</entry>
|
||||
<entry>Color for '+' when scrolling topic</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_title_bg</option></entry>
|
||||
<entry>color</entry>
|
||||
@@ -481,6 +530,13 @@
|
||||
<entry>'default'</entry>
|
||||
<entry>Color for input text</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_input_server</option></entry>
|
||||
<entry>color</entry>
|
||||
<entry>Curses or Gtk color</entry>
|
||||
<entry>'brown'</entry>
|
||||
<entry>Color for input text (server name)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_input_channel</option></entry>
|
||||
<entry>color</entry>
|
||||
@@ -502,6 +558,13 @@
|
||||
<entry>'cyan'</entry>
|
||||
<entry>Color for input text (delimiters)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_input_text_not_found</option></entry>
|
||||
<entry>color</entry>
|
||||
<entry>Curses or Gtk color</entry>
|
||||
<entry>'red'</entry>
|
||||
<entry>Color for text not found</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_input_bg</option></entry>
|
||||
<entry>color</entry>
|
||||
@@ -852,6 +915,13 @@
|
||||
<entry>5</entry>
|
||||
<entry>Disconnect after important lag (in minutes, 0 = never disconnect)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_anti_flood</option></entry>
|
||||
<entry>integer</entry>
|
||||
<entry>between 0 and 5</entry>
|
||||
<entry>2</entry>
|
||||
<entry>Anti-flood: # seconds between two user messages (0 = no anti-flood)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_fifo_pipe</option></entry>
|
||||
<entry>boolean</entry>
|
||||
@@ -880,6 +950,13 @@
|
||||
<entry>'on'</entry>
|
||||
<entry>Allow user to send colors with special codes (%B=bold, %Cxx,yy=color, %U=underline, %R=reverse)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_send_unknown_commands</option></entry>
|
||||
<entry>boolean</entry>
|
||||
<entry>'on' or 'off'</entry>
|
||||
<entry>'off'</entry>
|
||||
<entry>Send unknown commands to IRC server</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>dcc_auto_accept_files</option></entry>
|
||||
<entry>boolean</entry>
|
||||
@@ -897,7 +974,7 @@
|
||||
<row>
|
||||
<entry><option>dcc_timeout</option></entry>
|
||||
<entry>integer</entry>
|
||||
<entry>between 1 and 2147483647</entry>
|
||||
<entry>between 5 and 2147483647</entry>
|
||||
<entry>300</entry>
|
||||
<entry>Timeout for dcc request (in seconds)</entry>
|
||||
</row>
|
||||
@@ -908,6 +985,13 @@
|
||||
<entry>65536</entry>
|
||||
<entry>Block size for dcc packets in bytes (default: 65536)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>dcc_fast_send</option></entry>
|
||||
<entry>boolean</entry>
|
||||
<entry>'on' or 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>Does not wait for ACK when sending file</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>dcc_port_range</option></entry>
|
||||
<entry>string</entry>
|
||||
@@ -1125,12 +1209,19 @@
|
||||
<entry>''</entry>
|
||||
<entry>Real name to use on IRC server</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>server_hostname</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Custom hostname/IP for server (optional, if empty local hostname is used)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>server_command</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Command(s) to run when connected to server (many commands should be separated by ';', use '\;' for a semicolon)</entry>
|
||||
<entry>Command(s) to run when connected to server (many commands should be separated by ';', use '\;' for a semicolon, special variables $nick, $channel and $server are replaced by their value)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>server_command_delay</option></entry>
|
||||
@@ -1158,26 +1249,5 @@
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Comma separated list of notify levels for channels of this server (format: #channel:1,..)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>server_charset_decode_iso</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Comma separated list of charsets for server and channels, to decode ISO (format: server:charset,#channel:charset,..)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>server_charset_decode_utf</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Comma separated list of charsets for server and channels, to decode UTF (format: server:charset,#channel:charset,..)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>server_charset_encode</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Comma separated list of charsets for server and channels, to encode messages (format: server:charset,#channel:charset,..)</entry>
|
||||
<entry>Comma separated list of notify levels for channels of this server (format: #channel:1,..), a channel name '*' is reserved for server default notify level</entry>
|
||||
</row>
|
||||
|
||||
@@ -42,22 +42,21 @@ bans nicks or hosts
|
||||
nickname: user or host to ban
|
||||
|
||||
</programlisting>
|
||||
<command>ctcp nickname type [arguments]</command>
|
||||
<command>ctcp receiver type [arguments]</command>
|
||||
<programlisting>
|
||||
send a CTCP message (Client-To-Client Protocol)
|
||||
|
||||
nickname: user to send CTCP to
|
||||
receiver: nick or channel to send CTCP to
|
||||
type: CTCP type (examples: "version", "ping", ..)
|
||||
arguments: arguments for CTCP
|
||||
|
||||
</programlisting>
|
||||
<command>dcc action [nickname [file]]</command>
|
||||
<command>cycle [channel[,channel]] [part_message]</command>
|
||||
<programlisting>
|
||||
starts DCC (file or chat) or close chat
|
||||
leave and rejoin a channel
|
||||
|
||||
action: 'send' (file) or 'chat' or 'close' (chat)
|
||||
nickname: nickname to send file or chat
|
||||
file: filename (on local host)
|
||||
channel: channel name for cycle
|
||||
part_message: part message (displayed to other users)
|
||||
|
||||
</programlisting>
|
||||
<command>dehalfop [nickname [nickname]]</command>
|
||||
@@ -153,7 +152,7 @@ server_mask: list of servers must match this mask
|
||||
<programlisting>
|
||||
list channels and their topic
|
||||
|
||||
channel: channel to list
|
||||
channel: channel to list (a regexp is allowed)
|
||||
server: server name
|
||||
|
||||
</programlisting>
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
<entry><literal>tab</literal></entry>
|
||||
<entry>complete word</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>tab_previous</literal></entry>
|
||||
<entry>find previous completion for word</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>backspace</literal></entry>
|
||||
<entry>delete previous char</entry>
|
||||
@@ -113,6 +117,14 @@
|
||||
<entry><literal>scroll_bottom</literal></entry>
|
||||
<entry>scroll to bottom of buffer</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_topic_left</literal></entry>
|
||||
<entry>scroll left topic</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_topic_right</literal></entry>
|
||||
<entry>scroll right topic</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>nick_beginning</literal></entry>
|
||||
<entry>display beginning of nicklist</entry>
|
||||
@@ -185,3 +197,11 @@
|
||||
<entry><literal>grab_key</literal></entry>
|
||||
<entry>grab a key</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>insert</literal></entry>
|
||||
<entry>insert a string in command line</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>search_text</literal></entry>
|
||||
<entry>search text in buffer history</entry>
|
||||
</row>
|
||||
|
||||
+2593
-96
File diff suppressed because it is too large
Load Diff
+70
-29
@@ -5,59 +5,74 @@
|
||||
This file is automatically built with a Perl script. DO NOT EDIT!
|
||||
-->
|
||||
|
||||
<command>alias [alias_name [command [arguments]]</command>
|
||||
<command>alias [alias_name [command [arguments]]]</command>
|
||||
<programlisting>
|
||||
create an alias for a command
|
||||
|
||||
alias_name: name of alias
|
||||
command: command name (WeeChat or IRC command, without first '/')
|
||||
arguments: arguments for command
|
||||
command: command name (WeeChat or IRC command, many commands can be separated by semicolons)
|
||||
arguments: arguments for command
|
||||
|
||||
</programlisting>
|
||||
<command>buffer [action | number | [[server] [channel]]]</command>
|
||||
<command>is replaced by all arguments.</command>
|
||||
<programlisting>Variables $nick, $channel and $server are replaced by current nick/channel/server.
|
||||
|
||||
</programlisting>
|
||||
<command>buffer [action [args] | number | [[server] [channel]]]</command>
|
||||
<programlisting>
|
||||
manage buffers
|
||||
|
||||
action: action to do:
|
||||
move: move buffer in the list (may be relative, for example -1)
|
||||
close: close buffer (for channel: same as /part without part message)
|
||||
list: list opened buffers (no parameter implies this list)
|
||||
close: close buffer (optional arg is part message, for a channel)
|
||||
list: list open buffers (no parameter implies this list)
|
||||
notify: set notify level for buffer (0=never, 1=highlight, 2=1+msg, 3=2+join/part)
|
||||
server
|
||||
(when executed on server buffer, this sets default notify level for whole server)
|
||||
server,
|
||||
channel: jump to buffer by server and/or channel name
|
||||
number: jump to buffer by number
|
||||
|
||||
</programlisting>
|
||||
<command>charset [(decode_iso | decode_utf | encode) charset]</command>
|
||||
<command>builtin command</command>
|
||||
<programlisting>
|
||||
change charset for server or channel
|
||||
launch WeeChat/IRC builtin command (do not look at plugins handlers or aliases)
|
||||
|
||||
command: command to execute (a '/' is automatically added if not found at beginning of command)
|
||||
|
||||
decode_iso: charset used for decoding ISO
|
||||
decode_utf: charset used for decoding UTF
|
||||
encode: charset used for encoding messages
|
||||
charset: charset to use (for example: ISO-8859-15, UTF-8,..)
|
||||
|
||||
</programlisting>
|
||||
<command>clear [-all]</command>
|
||||
<command>clear [-all | number]</command>
|
||||
<programlisting>
|
||||
clear window(s)
|
||||
|
||||
-all: clear all windows
|
||||
-all: clear all buffers
|
||||
number: clear buffer by number
|
||||
|
||||
</programlisting>
|
||||
<command>connect [servername]</command>
|
||||
<command>connect [-all | servername [servername ...]]</command>
|
||||
<programlisting>
|
||||
connect to a server
|
||||
connect to server(s)
|
||||
|
||||
-all: connect to all servers
|
||||
servername: server name to connect
|
||||
|
||||
</programlisting>
|
||||
<command>disconnect [servername]</command>
|
||||
<command>disconnect [-all | servername [servername ...]]</command>
|
||||
<programlisting>
|
||||
disconnect from a server
|
||||
disconnect from server(s)
|
||||
|
||||
-all: disconnect from all servers
|
||||
servername: server name to disconnect
|
||||
|
||||
</programlisting>
|
||||
<command>dcc action [nickname [file]]</command>
|
||||
<programlisting>
|
||||
starts DCC (file or chat) or close chat
|
||||
|
||||
action: 'send' (file) or 'chat' or 'close' (chat)
|
||||
nickname: nickname to send file or chat
|
||||
file: filename (on local host)
|
||||
|
||||
</programlisting>
|
||||
<command>debug dump | windows</command>
|
||||
<programlisting>
|
||||
@@ -96,23 +111,37 @@ For each argument, '*' means all.
|
||||
Without argument, /ignore command lists all defined ignore.
|
||||
|
||||
</programlisting>
|
||||
<command>key [key function/command] [unbind key] [functions] [reset -yes]</command>
|
||||
<command>key [key [function/command]] [unbind key] [functions] [call function ["args"]] [reset -yes]</command>
|
||||
<programlisting>
|
||||
bind/unbind keys
|
||||
|
||||
key: bind this key to an internal function or a command (beginning by "/")
|
||||
key: display or bind this key to an internal function or a command (beginning by "/")
|
||||
unbind: unbind a key
|
||||
functions: list internal functions for key bindings
|
||||
call: call a function by name (with optional arguments)
|
||||
reset: restore bindings to the default values and delete ALL personal bindings (use carefully!)
|
||||
|
||||
</programlisting>
|
||||
<command>plugin [load filename] | [autoload] | [reload] | [unload]</command>
|
||||
<command>plugin [list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]</command>
|
||||
<programlisting>
|
||||
list/load/unload plugins
|
||||
|
||||
filename: WeeChat plugin (file) to load
|
||||
list: list loaded plugins
|
||||
listfull: list loaded plugins with detailed info for each plugin
|
||||
load: load a plugin
|
||||
autoload: autoload plugins in system or user directory
|
||||
reload: reload one plugin (if no name given, unload all plugins, then autoload plugins)
|
||||
unload: unload one or all plugins
|
||||
|
||||
Without argument, /plugin command lists all loaded plugins.
|
||||
Without argument, /plugin command lists loaded plugins.
|
||||
|
||||
</programlisting>
|
||||
<command>reconnect [-all | servername [servername ...]]</command>
|
||||
<programlisting>
|
||||
reconnect to server(s)
|
||||
|
||||
-all: reconnect to all servers
|
||||
servername: server name to reconnect
|
||||
|
||||
</programlisting>
|
||||
<command>server [servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname realname] [-command command] [-autojoin channel[,channel]] ] | [del servername]</command>
|
||||
@@ -141,10 +170,22 @@ file: filename for writing config
|
||||
</programlisting>
|
||||
<command>set [option [ = value]]</command>
|
||||
<programlisting>
|
||||
set config parameters
|
||||
set config options
|
||||
|
||||
option: name of an option (if name is full and no value is given, then help is displayed on option)
|
||||
value: value for option
|
||||
value: value for option
|
||||
|
||||
Option may be: servername.server_xxx where "servername" is an internal server name and "xxx" an option for this server.
|
||||
|
||||
</programlisting>
|
||||
<command>setp [option [ = value]]</command>
|
||||
<programlisting>
|
||||
set plugin config options
|
||||
|
||||
option: name of a plugin option
|
||||
value: value for option
|
||||
|
||||
Option is format: plugin.option, example: perl.myscript.item1
|
||||
|
||||
</programlisting>
|
||||
<command>unalias alias_name</command>
|
||||
@@ -173,7 +214,7 @@ Without argument, /unignore command lists all defined ignore.
|
||||
<programlisting>
|
||||
upgrade WeeChat without disconnecting from servers
|
||||
|
||||
This command run again WeeChat binary, so it should have been compiled installed with a package manager before running this command.
|
||||
This command run again WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
|
||||
|
||||
</programlisting>
|
||||
<command>uptime [-o]</command>
|
||||
@@ -187,7 +228,7 @@ show WeeChat uptime
|
||||
<programlisting>
|
||||
manage windows
|
||||
|
||||
list: list opened windows (no parameter implies this list)
|
||||
list: list open windows (no parameter implies this list)
|
||||
-1: jump to previous window
|
||||
+1: jump to next window
|
||||
b#: jump to next window displaying buffer number #
|
||||
@@ -197,7 +238,7 @@ manage windows
|
||||
right: switch to window on the right
|
||||
splith: split current window horizontally
|
||||
splitv: split current window vertically
|
||||
resize: resize window size, new size is pct%% of parent window
|
||||
resize: resize window size, new size is <pct> pourcentage of parent window
|
||||
merge: merge window with another (all = keep only one window)
|
||||
|
||||
For splith and splitv, pct is a pourcentage 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
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
WeeChat quick start guide (english version)
|
||||
=========================
|
||||
|
||||
1. Launch weechat
|
||||
|
||||
According to choosed GUI, you have to launch:
|
||||
- weechat-curses for Curses GUI
|
||||
- weechat-gtk for Gtk GUI (under development)
|
||||
- weechat-qt for Qt GUI (not developed)
|
||||
- weechat-wxwidgets for WxWidgets GUI (not developed)
|
||||
|
||||
2. Online help / options
|
||||
|
||||
WeeChat has help for all commands, just issue /help
|
||||
To get help on a command, issue /help command
|
||||
|
||||
To set options, use /set option = value
|
||||
You can use /set option with partial name (display all options
|
||||
containg letters), or with only a full option name without value
|
||||
(to see long help for option).
|
||||
|
||||
Important note: settings are saved when WeeChat ends (or with "/save"
|
||||
command). Do NOT edit setup file while WeeChat is running, because WeeChat
|
||||
may write this file at any time, and it's not possible to reload it.
|
||||
To change any settings, use "/set" command, WeeChat immediately uses new
|
||||
settings.
|
||||
|
||||
3. Create a server
|
||||
|
||||
For example irc.quakenet.org, port 6667:
|
||||
/server quakenet irc.quakenet.org 6667
|
||||
(/help server for full command help)
|
||||
|
||||
4. Set custom server options
|
||||
|
||||
Nicks:
|
||||
/set quakenet.server_nick1 = "mynick"
|
||||
/set quakenet.server_nick2 = "mynick2"
|
||||
/set quakenet.server_nick3 = "mynick3"
|
||||
|
||||
Username/realname:
|
||||
/set quakenet.server_username = "My username"
|
||||
/set quakenet.server_realname = "My real name"
|
||||
|
||||
Auto-connect to server:
|
||||
/set quakenet.server_autoconnect = on
|
||||
|
||||
Auto-join for some channels:
|
||||
/set quakenet.server_autojoin = "#chan1,#chan2"
|
||||
|
||||
Other options:
|
||||
You can see servers options and values with /set quakenet
|
||||
To set an option, use /set quakenet.server_option = value
|
||||
|
||||
5. Connect to server and auto-join channels:
|
||||
|
||||
/connect quakenet
|
||||
|
||||
6. Join/part channels
|
||||
|
||||
Join a channel:
|
||||
/join #channel
|
||||
Part a channel:
|
||||
/part [quit message]
|
||||
Part a channel and close buffer:
|
||||
/close [quit message]
|
||||
(/close is an alias on /buffer close)
|
||||
|
||||
7. Buffer/window management
|
||||
|
||||
You can manage buffers with "/buffer" command and windows
|
||||
with "/window" command.
|
||||
For example, to split verticaly screen into a small window (1/3 width),
|
||||
and a large (2/3), use command:
|
||||
/window splitv 33
|
||||
|
||||
8. Key bindings
|
||||
|
||||
According to your keyboard and/or your needs, you can rebind any key
|
||||
with "/key" command.
|
||||
A useful key is meta-k (alt-k) to find key codes.
|
||||
|
||||
For example, to bind meta-y (alt-y) to command "/buffer close":
|
||||
/key (press meta-k) (press meta-y) /buffer close
|
||||
You'll have a command line like:
|
||||
/key meta-y /buffer close
|
||||
|
||||
9. Plugins/scripts
|
||||
|
||||
On some distros like Debian, plugins are available via a separate package
|
||||
(like weechat-plugins).
|
||||
Plugins are automatically loaded when found.
|
||||
Many plugins/scripts are available for WeeChat, please look at:
|
||||
http://weechat.flashtux.org/plugins.php
|
||||
Please look at WeeChat documentation to load/unload plugins or scripts.
|
||||
|
||||
10. More documentation
|
||||
|
||||
You can now use WeeChat and read FAQ/documentation for any other question:
|
||||
http://weechat.flashtux.org/faq.php
|
||||
http://weechat.flashtux.org/doc.php
|
||||
|
||||
Enjoy WeeChat!
|
||||
|
||||
--
|
||||
(c) 2006-05-31, written by FlashCode <flashcode@flashtux.org>
|
||||
This document is part of WeeChat and is distributed under GPL licence.
|
||||
+25
-5
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2003-2006 FlashCode <flashcode@flashtux.org>
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -18,18 +18,24 @@
|
||||
LANGCODE = fr
|
||||
BOOK = weechat.$(LANGCODE)
|
||||
BOOK_INCLUDE = weechat_commands.xml irc_commands.xml key_functions.xml config.xml
|
||||
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
|
||||
|
||||
EXTRA_DIST = $(BOOK).xml $(BOOK_INCLUDE)
|
||||
EXTRA_DIST = $(BOOK).xml $(BOOK_INCLUDE) $(QUICKSTART)
|
||||
|
||||
if DBLATEX_FOUND
|
||||
PDF = pdf-stamp
|
||||
endif
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
all-local: html-stamp
|
||||
all-local: html-stamp $(PDF)
|
||||
|
||||
# HTML output with chunks (many pages)
|
||||
|
||||
html: html-stamp
|
||||
|
||||
html-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html.xsl ../weechat-doc.css
|
||||
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
|
||||
mkdir -p html/
|
||||
xsltproc -o html/ ../weechat-html.xsl $(BOOK).xml || true
|
||||
cp ../weechat-doc.css html/
|
||||
@@ -40,20 +46,34 @@ html-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html.xsl ../weechat-doc.css
|
||||
html1: html1-stamp
|
||||
|
||||
html1-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html-one.xsl ../weechat-doc.css
|
||||
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
|
||||
mkdir -p html1/
|
||||
xsltproc -o html1/$(BOOK).html ../weechat-html-one.xsl $(BOOK).xml || true
|
||||
cp ../weechat-doc.css html1/
|
||||
touch html1-stamp
|
||||
|
||||
# PDF output
|
||||
|
||||
pdf: pdf-stamp
|
||||
|
||||
pdf-stamp: $(BOOK).xml $(BOOK_INCLUDE)
|
||||
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
|
||||
dblatex -c ../dblatex.conf $(BOOK).xml || true
|
||||
touch pdf-stamp
|
||||
|
||||
# install docs
|
||||
|
||||
install-data-hook:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)/html/$(LANGCODE)/
|
||||
$(INSTALL_DATA) html/* $(DESTDIR)$(docdir)/html/$(LANGCODE)/
|
||||
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
|
||||
if DBLATEX_FOUND
|
||||
$(INSTALL_DATA) $(BOOK).pdf $(DESTDIR)$(docdir)/
|
||||
endif
|
||||
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
-rm -f *.html *.pdf *.txt
|
||||
-rm -f $(BOOK).html $(BOOK).pdf $(BOOK).txt date.xml
|
||||
-rm -rf html/ html1/
|
||||
-rm -f html-stamp html1-stamp
|
||||
-rm -f html-stamp html1-stamp pdf-stamp
|
||||
|
||||
+135
-65
@@ -5,6 +5,13 @@
|
||||
This file is automatically built with a Perl script. DO NOT EDIT!
|
||||
-->
|
||||
|
||||
<row>
|
||||
<entry><option>look_save_on_exit</option></entry>
|
||||
<entry>booléen</entry>
|
||||
<entry>'on' ou 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>Sauvegarder la configuration en quittant</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_set_title</option></entry>
|
||||
<entry>booléen</entry>
|
||||
@@ -33,34 +40,6 @@
|
||||
<entry>'the geekest IRC client!'</entry>
|
||||
<entry>Slogan WeeChat (si vide, le slogan ne sera pas utilisé)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_charset_decode_iso</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>'ISO-8859-1'</entry>
|
||||
<entry>Jeu de caractères ISO pour décoder les messages du serveur (utilisé seulement si la locale est UTF-8) (si non renseigné, les messages ne sont pas convertis si la locale est UTF-8)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_charset_decode_utf</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>'UTF-8'</entry>
|
||||
<entry>Jeu de caractères UTF pour décoder les messages du serveur (utilisé seulement si la locale n'est pas UTF-8) (si non renseigné, les messages ne sont pas convertis si la locale n'est pas UTF-8)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_charset_encode</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Jeu de caractères pour encoder les messages envoyés au serveur, exemples: UFT-8, ISO-8859-1 (si non renseigné, les messages ne sont pas convertis)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_charset_internal</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Force le jeu de caractères interne à WeeChat (doit être vide dans la plupart des cas, ce qui signifie que le jeu de caractères détecté est utilisé)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_one_server_buffer</option></entry>
|
||||
<entry>booléen</entry>
|
||||
@@ -108,49 +87,98 @@
|
||||
<entry>booléen</entry>
|
||||
<entry>'on' ou 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>Afficher la fenêtre des utilisateurs (pour les fenêtres de canaux)</entry>
|
||||
<entry>Afficher la fenêtre des pseudos (pour les fenêtres de canaux)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nicklist_position</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>'left', 'right', 'top', 'bottom'</entry>
|
||||
<entry>'right'</entry>
|
||||
<entry>Position de la fenêtre d'utilisateurs (haut (top), gauche (left), droite (right, par défaut), bas (bottom))</entry>
|
||||
<entry>Position de la fenêtre des pseudos (haut (top), gauche (left), droite (right, par défaut), bas (bottom))</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nicklist_min_size</option></entry>
|
||||
<entry>entier</entry>
|
||||
<entry>entre 0 et 100</entry>
|
||||
<entry>0</entry>
|
||||
<entry>Taille minimum pour la fenêtre d'utilisateurs (largeur ou hauteur, selon look_nicklist_position (0 = pas de taille minimum))</entry>
|
||||
<entry>Taille minimum pour la fenêtre des pseudos (largeur ou hauteur, selon look_nicklist_position (0 = pas de taille minimum))</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nicklist_max_size</option></entry>
|
||||
<entry>entier</entry>
|
||||
<entry>entre 0 et 100</entry>
|
||||
<entry>0</entry>
|
||||
<entry>Taille maximum pour la fenêtre d'utilisateurs (largeur ou hauteur, selon look_nicklist_position (0 = pas de taille maximum; si min == max et > 0, alors la taille est fixe))</entry>
|
||||
<entry>Taille maximum pour la fenêtre des pseudos (largeur ou hauteur, selon look_nicklist_position (0 = pas de taille maximum; si min == max et > 0, alors la taille est fixe))</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nicklist_separator</option></entry>
|
||||
<entry>booléen</entry>
|
||||
<entry>'on' ou 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>Séparateur entre la discussion et la liste de pseudos</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_no_nickname</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>'-cmd-'</entry>
|
||||
<entry>Texte à afficher en lieu et place du nom d'utilisateur lorsque la connexion n'est pas active</entry>
|
||||
<entry>Texte à afficher en lieu et place du pseudo lorsque la connexion n'est pas active</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nickmode</option></entry>
|
||||
<entry>booléen</entry>
|
||||
<entry>'on' ou 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>Afficher le mode de l'utilisateur ((half)op/voice) devant chaque utilisateur</entry>
|
||||
<entry>Afficher le mode du pseudo ((half)op/voice) devant chaque utilisateur</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nickmode_empty</option></entry>
|
||||
<entry>booléen</entry>
|
||||
<entry>'on' ou 'off'</entry>
|
||||
<entry>'off'</entry>
|
||||
<entry>Afficher un espace si le mode utilisateur n'est pas (half)op/voice</entry>
|
||||
<entry>Afficher un espace si le mode du pseudo n'est pas (half)op/voice</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nick_prefix</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Texte à afficher avant le pseudo dans la fenêtre de discussion</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nick_suffix</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>' |'</entry>
|
||||
<entry>Texte à afficher après le pseudo dans la fenêtre de discussion</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_align_nick</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>'none', 'left', 'right'</entry>
|
||||
<entry>'right'</entry>
|
||||
<entry>Alignement des pseudos (taille fixe pour les pseudos dans la fenêtre de discussion (none, left, right))</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_align_other</option></entry>
|
||||
<entry>booléen</entry>
|
||||
<entry>'on' ou 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>Alignement pour les autres messages (ne commençant pas par un pseudo)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_align_size</option></entry>
|
||||
<entry>entier</entry>
|
||||
<entry>entre 8 et 64</entry>
|
||||
<entry>14</entry>
|
||||
<entry>Taille pour l'alignement des pseudos et autres messages</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_align_size_max</option></entry>
|
||||
<entry>entier</entry>
|
||||
<entry>entre 8 et 64</entry>
|
||||
<entry>20</entry>
|
||||
<entry>Taille maximum pour l'alignement des pseudos et autres messages (doit être >= à look_align_size)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nick_completor</option></entry>
|
||||
@@ -166,6 +194,13 @@
|
||||
<entry>'[]-^'</entry>
|
||||
<entry>Caractères à ignorer pour la complétion des pseudos</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nick_completion_smart</option></entry>
|
||||
<entry>booléen</entry>
|
||||
<entry>'on' ou 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>Complétion intelligente pour les pseudos (complète d'abord avec les personnes qui ont parlé récemment)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_nick_complete_first</option></entry>
|
||||
<entry>booléen</entry>
|
||||
@@ -243,6 +278,13 @@
|
||||
<entry>' '</entry>
|
||||
<entry>Utiliser un marqueur sur les serveurs/canaux pour montrer la première ligne non lue</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>look_input_format</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>'[%n(%m)] '</entry>
|
||||
<entry>Format pour l'invite de la zone de saisie ('%c' est remplacé par le canal ou serveur, '%n' par le pseudo et '%m' par les modes du pseudo)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_real_white</option></entry>
|
||||
<entry>booléen</entry>
|
||||
@@ -264,6 +306,13 @@
|
||||
<entry>'default'</entry>
|
||||
<entry>Couleur pour la barre de titre</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_title_more</option></entry>
|
||||
<entry>couleur</entry>
|
||||
<entry>couleur Curses ou Gtk</entry>
|
||||
<entry>'lightmagenta'</entry>
|
||||
<entry>Couleur pour les '+' lors du défilement du titre</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_title_bg</option></entry>
|
||||
<entry>couleur</entry>
|
||||
@@ -332,14 +381,14 @@
|
||||
<entry>couleur</entry>
|
||||
<entry>couleur Curses ou Gtk</entry>
|
||||
<entry>'lightcyan'</entry>
|
||||
<entry>Couleur pour les noms d'utilisateurs dans les actions (fenêtre de discussion)</entry>
|
||||
<entry>Couleur pour les pseudos dans les actions (fenêtre de discussion)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_chat_host</option></entry>
|
||||
<entry>couleur</entry>
|
||||
<entry>couleur Curses ou Gtk</entry>
|
||||
<entry>'cyan'</entry>
|
||||
<entry>Couleur pour les noms de machines (fenêtre de discussion)</entry>
|
||||
<entry>Couleur pour les hôtes (fenêtre de discussion)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_chat_channel</option></entry>
|
||||
@@ -481,6 +530,13 @@
|
||||
<entry>'default'</entry>
|
||||
<entry>Couleur pour le texte saisi</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_input_server</option></entry>
|
||||
<entry>couleur</entry>
|
||||
<entry>couleur Curses ou Gtk</entry>
|
||||
<entry>'brown'</entry>
|
||||
<entry>Couleur pour le texte saisi (nom du serveur)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_input_channel</option></entry>
|
||||
<entry>couleur</entry>
|
||||
@@ -502,6 +558,13 @@
|
||||
<entry>'cyan'</entry>
|
||||
<entry>Couleur pour le texte saisi (délimiteurs)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_input_text_not_found</option></entry>
|
||||
<entry>couleur</entry>
|
||||
<entry>couleur Curses ou Gtk</entry>
|
||||
<entry>'red'</entry>
|
||||
<entry>Couleur pour le texte non trouvé</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_input_bg</option></entry>
|
||||
<entry>couleur</entry>
|
||||
@@ -563,7 +626,7 @@
|
||||
<entry>couleur</entry>
|
||||
<entry>couleur Curses ou Gtk</entry>
|
||||
<entry>'lightmagenta'</entry>
|
||||
<entry>Couleur pour les '+' lors du scroll sur les pseudos</entry>
|
||||
<entry>Couleur pour les '+' lors du défilement des pseudos</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>col_nick_sep</option></entry>
|
||||
@@ -822,7 +885,7 @@
|
||||
<entry>entier</entry>
|
||||
<entry>entre 0 et 2147483647</entry>
|
||||
<entry>0</entry>
|
||||
<entry>Intervalle entre deux vérifications des absences (en minutes, 0 = ne jemais vérifier)</entry>
|
||||
<entry>Intervalle entre deux vérifications des absences (en minutes, 0 = ne jamais vérifier)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_away_check_max_nicks</option></entry>
|
||||
@@ -852,6 +915,13 @@
|
||||
<entry>5</entry>
|
||||
<entry>Déconnexion après un lag important (en minutes, 0 = ne jamais se déconnecter)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_anti_flood</option></entry>
|
||||
<entry>entier</entry>
|
||||
<entry>entre 0 et 5</entry>
|
||||
<entry>2</entry>
|
||||
<entry>Anti-flood: nombre de secondes entre deux messages utilisateur (0 = pas d'anti-flood)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_fifo_pipe</option></entry>
|
||||
<entry>booléen</entry>
|
||||
@@ -880,6 +950,13 @@
|
||||
<entry>'on'</entry>
|
||||
<entry>Autorise l'utilisateur à envoyer des couleurs avec des codes spéciaux (%B=gras, %Cxx,yy=couleur, %U=souligné, %R=inversé)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_send_unknown_commands</option></entry>
|
||||
<entry>booléen</entry>
|
||||
<entry>'on' ou 'off'</entry>
|
||||
<entry>'off'</entry>
|
||||
<entry>Envoie les commandes inconnues au serveur IRC</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>dcc_auto_accept_files</option></entry>
|
||||
<entry>booléen</entry>
|
||||
@@ -897,7 +974,7 @@
|
||||
<row>
|
||||
<entry><option>dcc_timeout</option></entry>
|
||||
<entry>entier</entry>
|
||||
<entry>entre 1 et 2147483647</entry>
|
||||
<entry>entre 5 et 2147483647</entry>
|
||||
<entry>300</entry>
|
||||
<entry>Délai d'attente pour les requêtes dcc (en secondes)</entry>
|
||||
</row>
|
||||
@@ -908,6 +985,13 @@
|
||||
<entry>65536</entry>
|
||||
<entry>Taille de bloc pour les paquets dcc en octets (défaut: 65536)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>dcc_fast_send</option></entry>
|
||||
<entry>booléen</entry>
|
||||
<entry>'on' ou 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>N'attend pas les accusés de réception lors de l'envoi de fichier</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>dcc_port_range</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
@@ -955,7 +1039,7 @@
|
||||
<entry>booléen</entry>
|
||||
<entry>'on' ou 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>Continuer automatiquement les transferts dcc si la connexion avec la machine distante a été perdue</entry>
|
||||
<entry>Continuer automatiquement les transferts dcc si la connexion avec l'hôte a été perdue</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>proxy_use</option></entry>
|
||||
@@ -983,7 +1067,7 @@
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Adresse du serveur proxy (IP ou nom)</entry>
|
||||
<entry>Adresse du serveur proxy (IP ou nom de machine)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>proxy_port</option></entry>
|
||||
@@ -1125,12 +1209,19 @@
|
||||
<entry>''</entry>
|
||||
<entry>Nom réel pour le serveur IRC</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>server_hostname</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Nom de machine/IP personnalisé pour le serveur (optionnel, si non renseigné, le nom de machine local est utilisé)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>server_command</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Commande(s) à exécuter lorsque connecté au serveur (plusieurs commandes doivent être séparées par ';', utilisez '\;' pour un point-virgule)</entry>
|
||||
<entry>Commande(s) à exécuter lorsque connecté au serveur (plusieurs commandes doivent être séparées par ';', utilisez '\;' pour un point-virgule, les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>server_command_delay</option></entry>
|
||||
@@ -1158,26 +1249,5 @@
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Liste des niveaux de notifications (séparés par des virgules) pour les canaux de ce serveur (format: #canal:1,..)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>server_charset_decode_iso</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Liste des jeux de caractères (séparés par des virgules) pour le serveur et les canaux, pour décoder l'ISO (format: server:charset,#canal:charset,..)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>server_charset_decode_utf</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Liste des jeux de caractères (séparés par des virgules) pour le serveur et les canaux, pour décoder l'UTF (format: server:charset,#canal:charset,..)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>server_charset_encode</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>''</entry>
|
||||
<entry>Liste des jeux de caractères (séparés par des virgules) pour le serveur et les canaux, pour encoder les messages (format: server:charset,#canal:charset,..)</entry>
|
||||
<entry>Liste des niveaux de notifications (séparés par des virgules) pour les canaux de ce serveur (format: #canal:1,..), un nom de canal '*' est réservé pour la notification par défaut du serveur</entry>
|
||||
</row>
|
||||
|
||||
+38
-39
@@ -36,38 +36,37 @@ message: message pour l'absence (si pas de message donn
|
||||
</programlisting>
|
||||
<command>ban [canal] [pseudo [pseudo ...]]</command>
|
||||
<programlisting>
|
||||
bannit des pseudos ou masques
|
||||
bannit des pseudos ou hôtes
|
||||
|
||||
canal: nom du canal pour le bannissement
|
||||
pseudo: pseudo ou masque pour le bannissement
|
||||
pseudo: pseudo ou hôte pour le bannissement
|
||||
|
||||
</programlisting>
|
||||
<command>ctcp pseudo type [arguments]</command>
|
||||
<command>ctcp cible type [arguments]</command>
|
||||
<programlisting>
|
||||
envoyer un message CTCP (Client-To-Client Protocol)
|
||||
|
||||
pseudo: utilisateur à qui envoyer le CTCP
|
||||
cible: pseudo à qui envoyer le CTCP
|
||||
type: type de CTCP (exemples: "version", "ping", etc...)
|
||||
arguments: arguments pour le CTCP
|
||||
|
||||
</programlisting>
|
||||
<command>dcc action [pseudo [fichier]]</command>
|
||||
<command>cycle [canal[,canal]] [message_de_fin]</command>
|
||||
<programlisting>
|
||||
démarre le DCC (fichier ou discussion) ou ferme une discussion
|
||||
quitter et rejoindre un canal
|
||||
|
||||
action: 'send' (envoi de fichier) ou 'chat' (discussion) ou 'close' (fermeture discussion)
|
||||
pseudo: pseudo pour envoyer le fichier ou discuter
|
||||
fichier: nom du fichier (sur la machine locale)
|
||||
canal: canal pour le cycle
|
||||
message_de_fin: message de fin (affiché aux autres utilisateurs)
|
||||
|
||||
</programlisting>
|
||||
<command>dehalfop [pseudo [pseudo]]</command>
|
||||
<programlisting>
|
||||
retire le statut de demi-opérateur du canal à/aux nick(s)
|
||||
retire le statut de demi-opérateur du canal à/aux pseudo(s)
|
||||
|
||||
</programlisting>
|
||||
<command>deop [pseudo [pseudo]]</command>
|
||||
<programlisting>
|
||||
retire le statut d'opérateur du canal à/aux nick(s)
|
||||
retire le statut d'opérateur du canal à/aux pseudo(s)
|
||||
|
||||
</programlisting>
|
||||
<command>devoice [pseudo [pseudo]]</command>
|
||||
@@ -82,7 +81,7 @@ arr
|
||||
</programlisting>
|
||||
<command>halfop [pseudo [pseudo]]</command>
|
||||
<programlisting>
|
||||
donner le statut de demi-opérateur à un/des utilisateur(s)
|
||||
donner le statut de demi-opérateur à un/des pseudo(s)
|
||||
|
||||
</programlisting>
|
||||
<command>info [cible]</command>
|
||||
@@ -94,15 +93,15 @@ cible: nom du serveur
|
||||
</programlisting>
|
||||
<command>invite pseudo canal</command>
|
||||
<programlisting>
|
||||
inviter un utilisateur sur un canal
|
||||
inviter un pseudo sur un canal
|
||||
|
||||
pseudo: utilisateur à inviter
|
||||
pseudo: pseudo à inviter
|
||||
channel: canal pour l'invitation
|
||||
|
||||
</programlisting>
|
||||
<command>ison pseudo [pseudo ...]</command>
|
||||
<programlisting>
|
||||
vérifier si un utilisateur est actuellement sur IRC
|
||||
vérifier si un pseudo est actuellement sur IRC
|
||||
|
||||
pseudo: pseudo
|
||||
|
||||
@@ -120,16 +119,16 @@ canal: nom du canal
|
||||
retirer par la force un utilisateur d'un canal
|
||||
|
||||
canal: canal où l'utilisateur se trouve
|
||||
pseudo: utilisateur à éliminer
|
||||
pseudo: pseudo à éliminer
|
||||
commentaire: commentaire pour l'élimination
|
||||
|
||||
</programlisting>
|
||||
<command>kickban [canal] pseudo [commentaire]</command>
|
||||
<programlisting>
|
||||
retirer par la force un utilisateur d'un canal et le bannir
|
||||
retirer par la force un pseudo d'un canal et le bannir
|
||||
|
||||
canal: canal où l'utilisateur se trouve
|
||||
pseudo: utilisateur à éliminer et bannir
|
||||
pseudo: pseudo à éliminer et bannir
|
||||
commentaire: commentaire pour l'élimination
|
||||
|
||||
</programlisting>
|
||||
@@ -137,7 +136,7 @@ commentaire: commentaire pour l'
|
||||
<programlisting>
|
||||
fermer la connexion client-serveur
|
||||
|
||||
pseudo: utilisateur
|
||||
pseudo: pseudo
|
||||
commentaire: commentaire pour la mort
|
||||
|
||||
</programlisting>
|
||||
@@ -149,11 +148,11 @@ lister tous les noms de serveurs connus du serveur qui r
|
||||
masque_serveur: liste des serveurs correspondant au masque
|
||||
|
||||
</programlisting>
|
||||
<command>list [canal[,canall] [serveur]]</command>
|
||||
<command>list [canal[,canal] [serveur]]</command>
|
||||
<programlisting>
|
||||
lister les canaux et leur sujet
|
||||
|
||||
canal: canal à lister
|
||||
canal: canal à lister (une expression régulière est acceptée)
|
||||
serveur: nom du serveur
|
||||
|
||||
</programlisting>
|
||||
@@ -172,7 +171,7 @@ envoyer une action CTCP au canal courant
|
||||
message: message à envoyer
|
||||
|
||||
</programlisting>
|
||||
<command>mode { canal {[+|-]|o|p|s|i|t|n|b|v} [limite] [utilisateur] [masque de banissement] } | { nick {[+|-]|i|w|s|o} }</command>
|
||||
<command>mode { canal {[+|-]|o|p|s|i|t|n|b|v} [limite] [utilisateur] [masque de banissement] } | { pseudo {[+|-]|i|w|s|o} }</command>
|
||||
<programlisting>
|
||||
changer le mode du canal ou de l'utilisateur
|
||||
|
||||
@@ -191,7 +190,7 @@ modes de canaux :
|
||||
v: donner/reprendre la possibilité de parler sur un canal modéré
|
||||
k: définir une clé (mot de passe) pour accéder au canal
|
||||
modes utilisateur :
|
||||
pseudo: utilisateur à modifier
|
||||
pseudo: pseudo à modifier
|
||||
i: marquer un utilisateur comme invisible
|
||||
s: marquer un utilisateur pour recevoir les notices du serveur
|
||||
w: l'utilisateur reçoit les wallops
|
||||
@@ -207,15 +206,15 @@ cible: nom du serveur
|
||||
</programlisting>
|
||||
<command>msg cible[,cible] texte</command>
|
||||
<programlisting>
|
||||
envoyer un message à un utilisateur ou canal
|
||||
envoyer un message à un pseudo ou canal
|
||||
|
||||
cible: utilisateur ou canal (peut-être un masque, '*' = canal courant)
|
||||
cible: pseudo ou canal (peut-être un masque, '*' = canal courant)
|
||||
texte: texte à envoyer
|
||||
|
||||
</programlisting>
|
||||
<command>names [canal[,canal]]</command>
|
||||
<programlisting>
|
||||
lister les utilisateurs sur des canaux
|
||||
lister les pseudos sur des canaux
|
||||
|
||||
canal: nom du canal
|
||||
|
||||
@@ -232,13 +231,13 @@ pseudo: nouveau pseudo
|
||||
<programlisting>
|
||||
envoyer un message notice à un utilisateur
|
||||
|
||||
pseudo: utilisateur cible pour la notice
|
||||
pseudo: pseudo cible pour la notice
|
||||
texte: texte à envoyer
|
||||
|
||||
</programlisting>
|
||||
<command>op pseudo [pseudo]</command>
|
||||
<programlisting>
|
||||
donner le statut opérateur à un/des utilisateur(s)
|
||||
donner le statut opérateur à un/des pseudo(s)
|
||||
|
||||
</programlisting>
|
||||
<command>oper utilisateur mot_de_passe</command>
|
||||
@@ -248,7 +247,7 @@ obtenir le statut d'op
|
||||
utilisateur/mot_de_passe: utilisé pour obtenir les privilèges sur le serveur IRC courant
|
||||
|
||||
</programlisting>
|
||||
<command>part [canal[,canall] [message_de_fin]</command>
|
||||
<command>part [canal[,canal]] [message_de_fin]</command>
|
||||
<programlisting>
|
||||
quitter un canal
|
||||
|
||||
@@ -274,9 +273,9 @@ d
|
||||
</programlisting>
|
||||
<command>query pseudo [texte]</command>
|
||||
<programlisting>
|
||||
envoyer un message privé à un utilisateur
|
||||
envoyer un message privé à un pseudo
|
||||
|
||||
pseudo: utilisateur pour la conversation privée
|
||||
pseudo: pseudo pour la conversation privée
|
||||
texte: texte à envoyer
|
||||
|
||||
</programlisting>
|
||||
@@ -377,15 +376,15 @@ cible: serveur
|
||||
</programlisting>
|
||||
<command>unban [canal] pseudo [pseudo ...]</command>
|
||||
<programlisting>
|
||||
supprime le bannissement sur des pseudos ou masques
|
||||
supprime le bannissement sur des pseudos ou hôtes
|
||||
|
||||
canal: nom du canal pour supprimer le bannissement
|
||||
pseudo: pseudo ou masque pour supprimer le bannissement
|
||||
pseudo: pseudo ou hôte pour supprimer le bannissement
|
||||
|
||||
</programlisting>
|
||||
<command>userhost pseudo [pseudo ...]</command>
|
||||
<programlisting>
|
||||
retourne une liste d'informations sur des utilisateurs
|
||||
retourne une liste d'informations sur des pseudos
|
||||
|
||||
pseudo: pseudo
|
||||
|
||||
@@ -399,15 +398,15 @@ cible: serveur
|
||||
</programlisting>
|
||||
<command>version [serveur | pseudo]</command>
|
||||
<programlisting>
|
||||
retourne la version de l'utilisateur ou du serveur (courant ou spécifié)
|
||||
retourne la version du pseudo ou du serveur (courant ou spécifié)
|
||||
|
||||
serveur: nom du serveur
|
||||
pseudo: utilisateur
|
||||
pseudo: pseudo
|
||||
|
||||
</programlisting>
|
||||
<command>voice [pseudo [pseudo]]</command>
|
||||
<programlisting>
|
||||
donne la voix à/aux utilisateur(s)
|
||||
donne la voix à/aux pseudo(s)
|
||||
|
||||
</programlisting>
|
||||
<command>wallops texte</command>
|
||||
@@ -430,12 +429,12 @@ masque: information qui correspond
|
||||
demande les informations sur le(s) utilisateur(s)
|
||||
|
||||
serveur: nom du serveur
|
||||
pseudo: utilisateur (peut être un masque)
|
||||
pseudo: pseudo (peut être un masque)
|
||||
|
||||
</programlisting>
|
||||
<command>whowas pseudo [,pseudo [,pseudo ...]] [nombre [cible]]</command>
|
||||
<programlisting>
|
||||
demander de l'information sur un nick qui n'existe plus
|
||||
demander de l'information sur un pseudo qui n'existe plus
|
||||
|
||||
pseudo: pseudo à chercher
|
||||
nombre: nombre de réponses à retourner (recherche complète si nombre négatif)
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
<entry><literal>tab</literal></entry>
|
||||
<entry>compléter le mot</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>tab_previous</literal></entry>
|
||||
<entry>trouver le mot complété précédent</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>backspace</literal></entry>
|
||||
<entry>effacer le caractère précédent</entry>
|
||||
@@ -113,6 +117,14 @@
|
||||
<entry><literal>scroll_bottom</literal></entry>
|
||||
<entry>faire défiler jusqu'à la fin du tampon</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_topic_left</literal></entry>
|
||||
<entry>faire défiler le titre vers la gauche</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_topic_right</literal></entry>
|
||||
<entry>faire défiler le titre vers la droite</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>nick_beginning</literal></entry>
|
||||
<entry>afficher le début de la liste des pseudos</entry>
|
||||
@@ -159,15 +171,15 @@
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_previous_highlight</literal></entry>
|
||||
<entry>scroller jusqu'au highlight précédent du tampon</entry>
|
||||
<entry>faire défiler jusqu'au highlight précédent du tampon</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_next_highlight</literal></entry>
|
||||
<entry>scroller jusqu'au highlight suivant du tampon</entry>
|
||||
<entry>faire défiler jusqu'au highlight suivant du tampon</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>scroll_unread</literal></entry>
|
||||
<entry>scroller jusqu'à la première ligne non lue du tampon</entry>
|
||||
<entry>faire défiler jusqu'à la première ligne non lue du tampon</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>hotlist_clear</literal></entry>
|
||||
@@ -185,3 +197,11 @@
|
||||
<entry><literal>grab_key</literal></entry>
|
||||
<entry>capturer une touche</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>insert</literal></entry>
|
||||
<entry>insérer une chaîne dans la ligne de commande</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>search_text</literal></entry>
|
||||
<entry>recherche de texte dans l'historique du tampon</entry>
|
||||
</row>
|
||||
|
||||
+2650
-89
File diff suppressed because it is too large
Load Diff
+74
-33
@@ -5,59 +5,74 @@
|
||||
This file is automatically built with a Perl script. DO NOT EDIT!
|
||||
-->
|
||||
|
||||
<command>alias [nom_alias [commande [paramètres]]</command>
|
||||
<command>alias [nom_alias [commande [paramètres]]]</command>
|
||||
<programlisting>
|
||||
créer un alias pour une commande
|
||||
|
||||
nom_alias: nom de l'alias
|
||||
commande: nom de la commande (commande WeeChat ou IRC, sans le premier '/')
|
||||
commande: nom de la commande (commande WeeChat ou IRC, plusieurs commandes peuvent être séparées par des point-virgules)
|
||||
paramètres: paramètres pour la commande
|
||||
|
||||
</programlisting>
|
||||
<command>buffer [action | nombre | [[serveur] [canal]]]</command>
|
||||
<command>est remplacé par tous les paramètres.</command>
|
||||
<programlisting>Les variables $nick, $channel et $server sont remplacées par le pseudo/canal/serveur courant.
|
||||
|
||||
</programlisting>
|
||||
<command>buffer [action [args] | nombre | [[serveur] [canal]]]</command>
|
||||
<programlisting>
|
||||
gestion des tampons
|
||||
|
||||
action: action à effectuer:
|
||||
move: déplacer le tampon dans la liste (peut être relatif, par exemple -1)
|
||||
close: fermer le tampon (pour un canal: équivalent à /part sans message de fin)
|
||||
move: déplace le tampon dans la liste (peut être relatif, par exemple -1)
|
||||
close: ferme le tampon (le paramètre optionnel est le message de fin, pour un canal)
|
||||
list: liste les tampons ouverts (pas de paramètre affiche cette liste)
|
||||
notify: fixer le niveau de notification (0=jamais, 1=highlight, 2=1+msg, 3=2+join/part)
|
||||
serveur
|
||||
canal: sauter au tampon par serveur et/ou nom de canal
|
||||
nombre: sauter au tampon qui a ce numéro
|
||||
notify: fixe le niveau de notification (0=jamais, 1=highlight, 2=1+msg, 3=2+join/part)
|
||||
(quand exécuté sur un tampon serveur, cela fixe le niveau de notification par défaut pour le serveur entier)
|
||||
serveur,
|
||||
canal: saute au tampon par serveur et/ou nom de canal
|
||||
nombre: saute au tampon qui a ce numéro
|
||||
|
||||
</programlisting>
|
||||
<command>charset [(decode_iso | decode_utf | encode) charset]</command>
|
||||
<command>builtin commande</command>
|
||||
<programlisting>
|
||||
changer le jeu de caractères pour le serveur ou le canal
|
||||
lance une commande WeeChat/IRC interne (sans regarder les gestionnaires de commandes et les alias)
|
||||
|
||||
commande: commande à exécuter (un '/' est automatiquement ajouté s'il n'est pas trouvé au début de la commande)
|
||||
|
||||
decode_iso: jeu de caractères utilisé pour décoder l'ISO
|
||||
decode_utf: jeu de caractères utilisé pour décoder l'UTF
|
||||
encode: jeu de caractères utilisé pour encoder les messages
|
||||
charset: jeu de caractères à utiliser (par exemple: ISO-8859-15, UTF-8,..)
|
||||
|
||||
</programlisting>
|
||||
<command>clear [-all]</command>
|
||||
<command>clear [-all | nombre]</command>
|
||||
<programlisting>
|
||||
effacer la/les fenêtre(s)
|
||||
|
||||
-all: effacer toutes les fenêtres
|
||||
-all: effacer tous les tampons
|
||||
nombre: effacer un tampon par son numéro
|
||||
|
||||
</programlisting>
|
||||
<command>connect [nom_serveur]</command>
|
||||
<command>connect [-all | nom_serveur [nom_serveur...]]</command>
|
||||
<programlisting>
|
||||
se connecter à un serveur
|
||||
se connecter à un/plusieurs serveur(s)
|
||||
|
||||
-all: se connecter à tous les serveurs
|
||||
nom_serveur: nom du serveur pour se connecter
|
||||
|
||||
</programlisting>
|
||||
<command>disconnect [nom_serveur]</command>
|
||||
<command>disconnect [-all | nom_serveur [nom_serveur...]]</command>
|
||||
<programlisting>
|
||||
se déconnecter d'un serveur
|
||||
se déconnecter d'un/plusieurs serveur(s)
|
||||
|
||||
-all: se déconnecter de tous les serveurs
|
||||
nom_serveur: nom du serveur pour se déconnecter
|
||||
|
||||
</programlisting>
|
||||
<command>dcc action [pseudo [fichier]]</command>
|
||||
<programlisting>
|
||||
démarre le DCC (fichier ou discussion) ou ferme une discussion
|
||||
|
||||
action: 'send' (envoi de fichier) ou 'chat' (discussion) ou 'close' (fermeture discussion)
|
||||
pseudo: pseudo pour envoyer le fichier ou discuter
|
||||
fichier: nom du fichier (sur la machine locale)
|
||||
|
||||
</programlisting>
|
||||
<command>debug dump | windows</command>
|
||||
<programlisting>
|
||||
@@ -84,9 +99,9 @@ valeur: nombre d'entr
|
||||
</programlisting>
|
||||
<command>ignore [masque [[type | commande] [canal [serveur]]]]</command>
|
||||
<programlisting>
|
||||
ignorer des messages IRC et/ou des masques
|
||||
ignorer des messages IRC et/ou des hôtes
|
||||
|
||||
masque: pseudo ou masque à ignorer
|
||||
masque: pseudo ou hôte à ignorer
|
||||
type: type de message à ignorer (action, ctcp, dcc, pv)
|
||||
commande: commande IRC
|
||||
canal: nom du canal pour le ignore
|
||||
@@ -96,23 +111,37 @@ Pour chaque param
|
||||
Sans paramètres, la commande /ignore liste les ignore définis.
|
||||
|
||||
</programlisting>
|
||||
<command>key [touche fonction/commande] [unbind touche] [functions] [reset -yes]</command>
|
||||
<command>key [touche [fonction/commande]] [unbind touche] [functions] [call fonction ["params"]] [reset -yes]</command>
|
||||
<programlisting>
|
||||
associer/libérer des touches
|
||||
|
||||
touche: associer cette touche à une fonction interne ou une commande (commençant par "/")
|
||||
touche: voir ou associer cette touche à une fonction interne ou une commande (commençant par "/")
|
||||
unbind: supprimer l'association à une touche
|
||||
functions: lister la liste des fonctions internes pour les associations de touches
|
||||
call: appeler une foonction par son nom (avec paramètres optionnels)
|
||||
reset: restaure les touches aux valeurs par défaut et supprime TOUTES les touches personnelles (utiliser avec précaution !)
|
||||
|
||||
</programlisting>
|
||||
<command>plugin [load fichier] | [autoload] | [reload] | [unload]</command>
|
||||
<command>plugin [list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]</command>
|
||||
<programlisting>
|
||||
liste/charge/décharge des extensions
|
||||
|
||||
fichier: extension WeeChat (fichier) à charger
|
||||
list: lister les extensions chargées
|
||||
listfull: lister les extensions chargées avec de l'info détaillée pour chaque extension
|
||||
load: charger une extension
|
||||
autoload: charger automatiquement les extensions dans un répertoire système ou utilisateur
|
||||
reload: recharger une extension (si pas de nom donné, décharger toutes les extensions, puis puis recharger automatiquement les extensions)
|
||||
unload: décharger une ou plusieurs exteneions
|
||||
|
||||
Sans paramètre, la commande /plugin liste toutes les extensions chargées.
|
||||
Sans paramètre, la commande /plugin liste les extensions chargées.
|
||||
|
||||
</programlisting>
|
||||
<command>reconnect [-all | nom_serveur [nom_serveur...]]</command>
|
||||
<programlisting>
|
||||
se reconnecter à un/plusieurs serveur(s)
|
||||
|
||||
-all: se reconnecter à tous les serveurs
|
||||
nom_serveur: nom du serveur pour se reconnecter
|
||||
|
||||
</programlisting>
|
||||
<command>server [nom_serveur] | [nom_serveur nom/IP port [-auto | -noauto] [-ipv6] [-ssl] [-pwd mot_de_passe] [-nicks pseudo1 pseudo2 pseudo3] [-username nom_utilisateur] [-realname nom_réel] [-command commande] [-autojoin canal[,canal]] ] | [del nom_serveur]</command>
|
||||
@@ -141,11 +170,23 @@ fichier: fichier pour sauvegarder la configuration
|
||||
</programlisting>
|
||||
<command>set [option [ = valeur]]</command>
|
||||
<programlisting>
|
||||
modifier des paramètres de configuration
|
||||
modifier des options de configuration
|
||||
|
||||
option: nom de l'option (si le nom est complet et qu'aucune valeur n'est donnée, alors l'aide sur l'option est affichée)
|
||||
valeur: valeur pour l'option
|
||||
|
||||
L'option peut être: nomserveur.server_xxx où "nomserveur" est le nom interne d'un serveur et "xxx" une option pour ce serveur.
|
||||
|
||||
</programlisting>
|
||||
<command>setp [option [ = valeur]]</command>
|
||||
<programlisting>
|
||||
modifier des options de configuration des extensions
|
||||
|
||||
option: nom d'une option d'extension
|
||||
valeur: valeur pour l'option
|
||||
|
||||
L'option est au format: extension.option, par exemple: perl.monscript.variable1
|
||||
|
||||
</programlisting>
|
||||
<command>unalias nom_alias</command>
|
||||
<programlisting>
|
||||
@@ -156,10 +197,10 @@ nom_alias: nom de l'alias
|
||||
</programlisting>
|
||||
<command>unignore [nombre | [masque [[type | commande] [canal [serveur]]]]]</command>
|
||||
<programlisting>
|
||||
supprimer le ignore des messages IRC et/ou des masques
|
||||
supprimer le ignore des messages IRC et/ou des hôtes
|
||||
|
||||
nombre: numéro de ignore à supprimer (le nombre est affiché sur la liste des ignore)
|
||||
masque: pseudo ou masque à ignorer
|
||||
masque: pseudo ou hôte à ignorer
|
||||
type: type de message à ignorer (action, ctcp, dcc, pv)
|
||||
commande: commande IRC
|
||||
canal: nom du canal pour le ignore
|
||||
@@ -190,14 +231,14 @@ gestion des fen
|
||||
list: liste les fenêtres ouvertes (pas de paramètre affiche cette liste)
|
||||
-1: saute à la fenêtre précédente
|
||||
+1: saute à la fenêtre suivante
|
||||
b#: saute à la fenêtre affichant le tampon n°#
|
||||
b#: saute à la fenêtre affichant le tampon #
|
||||
up: saute à la fenêtre au dessus
|
||||
down: saute à la fenêtre au dessous
|
||||
left: saute à la fenêtre à gauche
|
||||
right: saute à la fenêtre à droite
|
||||
splith: éclate la fenêtre en deux horizontalement
|
||||
splitv: éclate la fenêtre en deux verticalement
|
||||
resize: redimensionne une fenêtre, la nouvelle taille est pct%% de la fenêtre parent
|
||||
resize: redimensionne une fenêtre, la nouvelle taille est <pct> pourcentage de la fenêtre parent
|
||||
merge: fusionne la fenêtre avec une autre
|
||||
|
||||
Pour splith et splitv, pct est un pourcentage qui représente la taille de la nouvelle fenêtre, calculée par rapport à la taille de la fenêtre courante. Par exemple 25 signifie créer une fenêtre qui a pour taille: taille_courante / 4
|
||||
|
||||
@@ -0,0 +1,110 @@
|
||||
Guide de démarrage rapide WeeChat (version française)
|
||||
=================================
|
||||
|
||||
1. Démarrer weechat
|
||||
|
||||
Selon l'interface choisie, vous devez lancer :
|
||||
- weechat-curses pour l'interface Curses
|
||||
- weechat-gtk pour l'interface Gtk (en développement)
|
||||
- weechat-qt pour l'interface Qt (non développée)
|
||||
- weechat-wxwidgets pour l'interface WxWidgets (non développée)
|
||||
|
||||
2. Aide en ligne / options
|
||||
|
||||
WeeChat dispose d'aide pour toutes les commandes, tapez simplement /help
|
||||
Pour avoir de l'aide sur une commande, tapez /help commande
|
||||
|
||||
Pour modifier des options, utilisez /set option = valeur
|
||||
Vous pouvez utiliser /set avec un nom partiel d'option (affiche alors
|
||||
les options contenant ces lettres), ou avec un nom complet d'option
|
||||
sans valeur (pour voir l'aide complète de l'option).
|
||||
|
||||
Note importante: les options sont sauvées lorsque WeeChat quitte (ou avec
|
||||
la commande "/save"). N'éditez PAS le fichier de configuration pendant que
|
||||
WeeChat tourne, car WeeChat peut écrire ce fichier à tout moment, et il
|
||||
n'est pas possible de le recharger.
|
||||
Pour changer toute option, utilisez la commande "/set", WeeChat prend en
|
||||
compte immédiatement les nouvelles valeurs.
|
||||
|
||||
3. Créer un serveur
|
||||
|
||||
Par exemple irc.quakenet.org, port 6667:
|
||||
/server quakenet irc.quakenet.org 6667
|
||||
(/help server pour l'aide complète sur la commande)
|
||||
|
||||
4. Définir les options du serveur
|
||||
|
||||
Pseudos :
|
||||
/set quakenet.server_nick1 = "mynick"
|
||||
/set quakenet.server_nick2 = "mynick2"
|
||||
/set quakenet.server_nick3 = "mynick3"
|
||||
|
||||
Nom d'utilisateur/réel :
|
||||
/set quakenet.server_username = "Mon nom d'utilisateur"
|
||||
/set quakenet.server_realname = "Mon nom réel"
|
||||
|
||||
Connexion auto au serveur :
|
||||
/set quakenet.server_autoconnect = on
|
||||
|
||||
Rejoindre automatiquement des canaux :
|
||||
/set quakenet.server_autojoin = "#canal1,#canal2"
|
||||
|
||||
Autres options :
|
||||
Vous pouvez voir les options du serveur et les valeurs avec /set quakenet
|
||||
Pour modifier une option, utilisez /set quakenet.server_option = valeur
|
||||
|
||||
5. Se connecter au serveur et rejoindre les canaux
|
||||
|
||||
/connect quakenet
|
||||
|
||||
6. Rejoindre/quitter les canaux
|
||||
|
||||
Joindre un canal :
|
||||
/join #channel
|
||||
Quitter un canal :
|
||||
/part [message de fin]
|
||||
Quitter un canal et fermer le tampon :
|
||||
/close [message de fin]
|
||||
(/close est un alias sur /buffer close)
|
||||
|
||||
7. Gérer les tampons/fenêtres
|
||||
|
||||
Vous pouvez gérer les tampons avec la commande "/buffer" et les fenêtres
|
||||
avec la commande "/window".
|
||||
Par exemple, pour découper verticalement l'écran en une petite fenêtre
|
||||
(1/3 de la largeur) et une large (2/3 de la largeur), utilisez la commande
|
||||
/window splitv 33
|
||||
|
||||
8. Gérer les raccourcis clavier
|
||||
|
||||
Selon votre clavier et vos besoins, vous pouvez associer n'importe quelle
|
||||
touche à une commande avec la commande "/key".
|
||||
Une touche utile est meta-k (alt-k) pour trouver le code des touches.
|
||||
|
||||
Par exemple, pour associer meta-y (alt-y) à la commande "/buffer close" :
|
||||
/key (pressez meta-k) (pressez meta-y) /buffer close
|
||||
Vous aurez une ligne de commande qui ressemble à ceci :
|
||||
/key meta-y /buffer close
|
||||
|
||||
9. Extensions/scripts
|
||||
|
||||
Sur certaines distributions comme Debian, les extensions sont disponibles
|
||||
via un paquet séparé (par exemple weechat-plugins).
|
||||
Les extensions sont automatiquement chargées lorsqu'elles sont trouvées.
|
||||
Plusieurs extensions/scripts sont disponibles pour WeeChat, voir ici :
|
||||
http://weechat.flashtux.org/plugins.php
|
||||
Merci de regarder la documentation WeeChat pour charger/décharger des
|
||||
extensions ou des scripts.
|
||||
|
||||
10. Plus de documentation
|
||||
|
||||
Vous pouvez maintenant utiliser WeeChat et lire la FAQ/documentation pour
|
||||
toute autre question :
|
||||
http://weechat.flashtux.org/faq.php
|
||||
http://weechat.flashtux.org/doc.php
|
||||
|
||||
Bon WeeChat !
|
||||
|
||||
--
|
||||
(c) 2006-05-31, écrit par FlashCode <flashcode@flashtux.org>
|
||||
Ce document fait partie de WeeChat et est distribué sous license GPL.
|
||||
@@ -0,0 +1,28 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
LANGCODE = pl
|
||||
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
|
||||
|
||||
EXTRA_DIST = $(QUICKSTART)
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
# install docs
|
||||
|
||||
install-data-hook:
|
||||
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
|
||||
@@ -0,0 +1,111 @@
|
||||
Weechat szybki start (wersja polska)
|
||||
|
||||
1. Włączenie
|
||||
|
||||
Aby wybrać konkretny interfejs należy wpisać:
|
||||
- weechat-curses dla interfejsu curses
|
||||
- weechat-gtk dla interfejsu GTK (w fazie tworzenia)
|
||||
- weechat-qt dla interfejsu QT (planowany)
|
||||
- weechat-wxwidgets dla interfejsu WxWidgets (planowany)
|
||||
|
||||
|
||||
2. Pomoc online / opcje
|
||||
|
||||
Weechat posiada polecenie pomocy, którego można użyć dla każdej dostępnej opcji, wystarczy wpisać /help
|
||||
Aby otrzymać pomoc odnośnie komendy, wpisz /help <komenda>
|
||||
|
||||
Aby konfigurować opcje należy wpisać /set <opcja> = <wartość>
|
||||
Możesz wpisać /set <opcja> z nie pełną nazwą opcji (pokaże to opcje zawierające wpisany ciąg znaków),
|
||||
lub z całą nazwą opcji bez wartości (pokaże sie wtedy cała pomoc odnośnie opcji).
|
||||
|
||||
Uwaga: ustawienia są zapamiętywane podczas wyłączania WeeChata (albo po wpisaniu /save )
|
||||
NIE EDYTUJ pliku konfiguracyjnego WeeChata podczas pracy programu, ponieważ WeeChat może nadpisać
|
||||
ten plik w każdej chwili i nie będzie możliwości odzyskania ustawień.
|
||||
Aby zmienić każde z ustawień, używaj komendy "/set", WeeChat po jej użyciu od razu zacznie korzystać z nowych
|
||||
parametrów.
|
||||
|
||||
3. Dodawanie serwerów
|
||||
|
||||
Dla przykładu irc.quakenet.org, port 6667:
|
||||
/server quakenet irc.quakenet.org 6667
|
||||
(wpisz /help server dla pełnej pomocy)
|
||||
|
||||
4. Ustawianie własnych ustawień dotyczących serwera
|
||||
|
||||
Niki:
|
||||
/set quakenet.server_nick1 = "mój-nick"
|
||||
/set quakenet.server_nick2 = "mój-nick2"
|
||||
/set quakenet.server_nick3 = "mój-nick3"
|
||||
|
||||
Imię użytkownika:
|
||||
/set quakenet.server_username = "My username"
|
||||
/set quakenet.server_realname = "My real name"
|
||||
|
||||
Automatyczne łączenie do serwera przy starcie WeeChata:
|
||||
/set quakenet.server_autoconnect = on
|
||||
|
||||
Automatyczne wchodzenie na wybrane kanały po połączeniu sie do serwera:
|
||||
/set quakenet.server_autojoin = "#kanał1,#kanał2"
|
||||
|
||||
Inne opcje:
|
||||
Możesz zobaczyć inne opcje i ich właściwości po wpisaniu /set quakenet
|
||||
Aby ustawić konkretną opcję wpisz /set quakenet.server_opcja = wartość
|
||||
|
||||
|
||||
5. Łączenie do serwera i automatyczne wchodzenie na wybrane kanały:
|
||||
|
||||
/connect quakenet
|
||||
|
||||
6. Wchodzenie/wychodzenie na/z kanały/-ów
|
||||
|
||||
Wchodzenie na kanał:
|
||||
/join #kanał
|
||||
Wychodzenie z kanału:
|
||||
/part {wiadomość przy wychodzeniu}
|
||||
Wyjście z kanału i zamknięcie zakładki:
|
||||
/close {wiadomość przy wychodzeniu}
|
||||
("/close" to alias od "/bufer close")
|
||||
|
||||
7. Zarządzanie bufory/okna
|
||||
|
||||
Możesz zarządzać buforami przy pomocy polecenia "/buffer" i oknami "/windows"
|
||||
Przykład:
|
||||
-aby rozdzielić ekran w pionie na małe okno (1/3 szerokości),
|
||||
i na duże (2/3), wpisz:
|
||||
/window splthv 33
|
||||
|
||||
8. Przypisywanie funkcji do klawiszy:
|
||||
|
||||
W celu łatwiejszej pracy można przypisać dowolnym klawiszom wybrane funkcje/polecenia
|
||||
przy pomocy komendy "/key"
|
||||
Użyteczną może być funkcja meta-k (alt+k) która pozwala znaleźć przypisane klawiszom kody.
|
||||
|
||||
Przykład: aby zbindować (przypisać) meta-y (alt-y) do polecenia "/buffer close":
|
||||
/key (naciśnij meta-k) (naciśnij meta-y) /buffer close
|
||||
Otrzymujesz:
|
||||
/key meta-y /buffer close
|
||||
|
||||
|
||||
9. Wtyczki/skrypty
|
||||
|
||||
Na niektórych systemach operacyjnych, takich jak Debian, wtyczki są dostępne jako oddzielne paczki
|
||||
(np. weechat-plugins)
|
||||
Wtyczki są automatycznie ładowane przy starcie.
|
||||
Dodatkowe skrypty i wtyczki do WeeChata dostępne są na:
|
||||
http://weechat.flashtux.org/plugins.php
|
||||
Zajrzyj do dokumentacji WeeChata, aby dowiedzieć sie jak ladować i wyładować wtyczki i skrypty:
|
||||
http://weechat.flashtux.org/doc.php
|
||||
|
||||
10. Dokumentacja szczegółowa
|
||||
|
||||
Wiesz juz jak w podstawowy sposób używać WeeChata, aby dowiedzieć sie więcej poczytaj dokumentację.
|
||||
http://weechat.flashtux.org/faq.php
|
||||
http://weechat.flashtux.org/doc.php
|
||||
|
||||
Miłej pracy z WeeChatem!
|
||||
|
||||
--
|
||||
(c) 2006-05-31, written by FlashCode <flashcode@flashtux.org>
|
||||
Translated by dzik (znajdziecie mnie na irc.freenode.net)
|
||||
This document is part of WeeChat and is distributed under GPL licence.
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
LANGCODE = ru
|
||||
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
|
||||
|
||||
EXTRA_DIST = $(QUICKSTART)
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
# install docs
|
||||
|
||||
install-data-hook:
|
||||
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
|
||||
@@ -0,0 +1,110 @@
|
||||
Краткое руководство пользователя (русская версия)
|
||||
================================
|
||||
|
||||
1. Запуск WeeChat
|
||||
|
||||
В зависимости от выбранного интерфейса вы должны запустить:
|
||||
- weechat-curses для Curses интерфейса
|
||||
- weechat-gtk для GTK интерфейса (в разработке)
|
||||
- weechat-qt для Qt интерфейса (не разрабатывается)
|
||||
- weechat-wxwidgets для WxWidgets интерфейса (не разрабатывается)
|
||||
|
||||
2. Справка / настройки
|
||||
WeeChat содержит справку по всем командам, просто запустите /help
|
||||
Для получения справки по команде наберите /help команда
|
||||
|
||||
Для настройки используйте /set параметр = значение
|
||||
Вы можете использовать /set с частичным названием параметра
|
||||
(выведет все параметры с указанной фразой) или с полным названием
|
||||
(для получения подробной справки по параметру)
|
||||
|
||||
Внимание: настройки сохраняются при выходе из WeeChat (или командой
|
||||
"/save"). НЕ РЕДАКТИРУЙТЕ файл конфигурации когда WeeChat запущен,
|
||||
т.к. WeeChat может в любой момент перезаписать его. Возможности
|
||||
перезагрузить файл конфигурации нет. Для изменения любых настроек
|
||||
воспользуйтесь командой "/set", изменения вступят в силу
|
||||
незамедлительно.
|
||||
|
||||
3. Создание сервера
|
||||
|
||||
Например, irc.quakenet.org, порт 6667:
|
||||
/server quakenet irc.quakenet.org 6667
|
||||
(/help server выведет подробную справку)
|
||||
|
||||
4. Настройка сервера
|
||||
|
||||
Ники:
|
||||
/set quakenet.server_nick1 = "mynick"
|
||||
/set quakenet.server_nick2 = "mynick2"
|
||||
/set quakenet.server_nick3 = "mynick3"
|
||||
|
||||
Имя пользователя / реальное имя:
|
||||
/set quakenet.server_username = "Имя пользователя"
|
||||
/set quakenet.server_realname = "Реальное имя"
|
||||
|
||||
Автоматическое подключение к серверу:
|
||||
/set quakenet.server_autoconnect = on
|
||||
|
||||
Автоматический заход на некоторые каналы:
|
||||
/set quakenet.server_autojoin = "#chan1,#chan2"
|
||||
|
||||
Другие настройки:
|
||||
Чтобы вывести все настройки сервера наберите /set quakenet
|
||||
Для настройки наберите /set quakenet.параметр_сервера = значение
|
||||
|
||||
5. Подключение к серверу и автоматический заход на каналы:
|
||||
|
||||
/connect quakenet
|
||||
|
||||
6. Заход/покидание каналов
|
||||
|
||||
Зайти на канал:
|
||||
/join #канал
|
||||
Покинуть канал:
|
||||
/part [прощальное сообщение]
|
||||
Покинуть канал и закрыть буфер:
|
||||
/close [прощальное сообщение]
|
||||
(/close - это сокращение для /buffer close)
|
||||
|
||||
7. Управление буферами/окнами
|
||||
|
||||
Вы можете управлять буферами командой "/buffer" и окнами
|
||||
командой "/window".
|
||||
Например, чтобы разбить экран по вертикали на маленькое (треть
|
||||
экрана) и большое (2/3 экрана) окна наберите:
|
||||
/window splitv 33
|
||||
|
||||
8. Привязки клавиш
|
||||
|
||||
Вы можете переназначить любую клавишу в соответствии с вашими
|
||||
пожеланиями командой "/key".
|
||||
Полезна привязка meta-k (alt-k) для поиска нужных кодов клавиш.
|
||||
|
||||
Например, чтобы привязать meta-y (alt-y) к команде "/buffer close":
|
||||
/key (нажмите meta-k) (нажмите meta-y) /buffer close
|
||||
Вы получите команду:
|
||||
/key meta-y /buffer close
|
||||
|
||||
9. Plugins/скрипты
|
||||
|
||||
В некоторых дистрибутивах pluginы доступны отдельным пакетом
|
||||
(например, weechat-plugins).
|
||||
Pluginы загружаются автоматически.
|
||||
Для WeeChat доступны многочисленные pluginы и скрипты:
|
||||
http://weechat.flashtux.org/plugins.php
|
||||
Процесс загрузки и выгрузки pluginов и скриптов подробно описан в
|
||||
документации.
|
||||
|
||||
10. Другая документация
|
||||
|
||||
Теперь вы можете пользоваться WeeChat и почитать ЧаВо и документацию
|
||||
для поиска ответов на оставшиеся вопросы:
|
||||
http://weechat.flashtux.org/faq.php
|
||||
http://weechat.flashtux.org/doc.php
|
||||
|
||||
Наслаждайтесь WeeChat!
|
||||
|
||||
--
|
||||
(c) 2006-05-31, автор - FlashCode <flashcode@flashtux.org>
|
||||
(с) 2006-06-04, переводчик - Stalwart <stlwrt@gmail.com>
|
||||
Этот документ является частью WeeChat и распространяется по лицензии GPL.
|
||||
@@ -0,0 +1,28 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
LANGCODE = sco
|
||||
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
|
||||
|
||||
EXTRA_DIST = $(QUICKSTART)
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
# install docs
|
||||
|
||||
install-data-hook:
|
||||
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
|
||||
@@ -0,0 +1,108 @@
|
||||
WeeChat quik stairt guide (Scots version)
|
||||
=========================
|
||||
|
||||
1. Launch weechat
|
||||
|
||||
Accordin tae choosed GUI, ye hav tae launch:
|
||||
- weechat-curses fer Curses GUI
|
||||
- weechat-gtk fer Gtk GUI (under development)
|
||||
- weechat-qt fer Qt GUI (no developed)
|
||||
- weechat-wxwidgets fer WxWidgets GUI (no developed yit)
|
||||
|
||||
2. Online help / options
|
||||
|
||||
WeeChat hus help fer awl commands, jus issu /help
|
||||
Tae get help on a command, issu /help command
|
||||
|
||||
Tae set options, use eh /set option = value
|
||||
Ye can use /set option wi partial name (displ't awl options
|
||||
contain leters), or wi ownly a full option nam wi'oot value
|
||||
(tae see long help fer option).
|
||||
|
||||
Pure Important: settings are saved when WeeChat ends (or wi eh "/save"
|
||||
command). Gonnae NO(!) edit eh setup file whyle WeeChat is running, cause WeeChat
|
||||
may write eh file at 'ne time, and its nae possible tae reload it.
|
||||
Tae chainge any settins, use "/set" command, WeeChat immediately uses new
|
||||
settings.
|
||||
|
||||
3. Create a server
|
||||
|
||||
Fer example irc.quakenet.org, port 6667:
|
||||
/server quakenet irc.quakenet.org 6667
|
||||
(/help server fer ful command help)
|
||||
|
||||
4. Set custom server options
|
||||
|
||||
Nicks:
|
||||
/set quakenet.server_nick1 = "manick"
|
||||
/set quakenet.server_nick2 = "manick2"
|
||||
/set quakenet.server_nick3 = "manick3"
|
||||
|
||||
Username/realname:
|
||||
/set quakenet.server_username = "Ma username"
|
||||
/set quakenet.server_realname = "Ma real name"
|
||||
|
||||
Auto-connect tae server:
|
||||
/set quakenet.server_autoconnect = on
|
||||
|
||||
Auto-join fer sum channels:
|
||||
/set quakenet.server_autojoin = "#chan1,#chan2"
|
||||
|
||||
Other options:
|
||||
Ye can see servers options and values wi /set quakenet
|
||||
Tae set an option, use eh /set quakenet.server_option = value
|
||||
|
||||
5. Connect tae server n auto-join channels:
|
||||
|
||||
/connect quakenet
|
||||
|
||||
6. Join/part channels
|
||||
|
||||
Join a channel:
|
||||
/join #channel
|
||||
Part a channel:
|
||||
/part [quit message]
|
||||
Part a channel n close buffer:
|
||||
/close [quit message]
|
||||
(/close is an alias on /buffer close)
|
||||
|
||||
7. Buffer/window management
|
||||
|
||||
Ye can manage buffers wi "/buffer" command and windows
|
||||
with "/window" command.
|
||||
Fer example, tae split verticaly screen intae a wee windea (1/3 width),
|
||||
n a big yin (2/3), use command:
|
||||
/window splitv 33
|
||||
|
||||
8. Key bindings
|
||||
|
||||
According tae yer keyboard and/or ya needs, ye can rebind 'ne key
|
||||
wi "/key" command.
|
||||
A useful key is meta-k (alt-k) tae find key codes.
|
||||
|
||||
Fer example, tae bind meta-y (alt-y) tae command "/buffer close":
|
||||
/key (press meta-k) (press meta-y) /buffer close
|
||||
|
||||
Ye wull huv a command line like:
|
||||
/key meta-y /buffer close
|
||||
|
||||
9. Plugins/scripts
|
||||
|
||||
On som distros lyke Debian, plugins are available via a separate package
|
||||
(like weechat-plugins).
|
||||
Plugins are automatically loadet when found.
|
||||
Many plugins/scripts are available fer WeeChat, please luk at:
|
||||
http://weechat.flashtux.org/plugins.php
|
||||
Please luk at WeeChat documentation tae load/unload plugins or scripts.
|
||||
|
||||
10. Mer documentation
|
||||
|
||||
Yae can noo use WeeChat and read FAQ/documentation fer any oths questins:
|
||||
http://weechat.flashtux.org/faq.php
|
||||
http://weechat.flashtux.org/doc.php
|
||||
|
||||
Enjoy WeeChat!
|
||||
|
||||
--
|
||||
(c) 2006-05-31, written by FlashCode <flashcode@flashtux.org>, Translate't by AndrewB <andrewb@tuxhacker.org>
|
||||
This document is part of WeeChat and is distributed under GPL licence.
|
||||
@@ -1,4 +1,4 @@
|
||||
.TH WEECHAT 1 "March 2006" "FlashCode"
|
||||
.TH WEECHAT 1 "June 2007" "FlashCode"
|
||||
|
||||
.SH NAME
|
||||
weechat-curses \- Wee Enhanced Environment for Chat (Curses version)
|
||||
@@ -14,7 +14,7 @@ or
|
||||
Fast, light and extensible IRC client for many operating systems.
|
||||
.br
|
||||
Everything can be done with a keyboard. It is customizable and extensible with scripts.
|
||||
Many GUIs are available (Curses, Gtk, Qt, and text).
|
||||
Many GUIs are or will be available (Curses, Gtk and Qt).
|
||||
It is compliant with RFCs 1459, 2810, 2811, 2812, and 2813.
|
||||
|
||||
.SH OPTIONS
|
||||
@@ -85,7 +85,7 @@ WeeChat is written by FlashCode <flashcode@flashtux.org>
|
||||
.br
|
||||
WeeChat on the web:
|
||||
.UR
|
||||
http://weechat.flashtux.org
|
||||
http://weechat.flashtux.org/
|
||||
.br
|
||||
Get support there:
|
||||
.UR
|
||||
|
||||
+44
-2
@@ -12,6 +12,48 @@ table {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #000099;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #770077;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: #FFCCCC;
|
||||
}
|
||||
|
||||
.navheader {
|
||||
background-color: #E0E0FF;
|
||||
border: solid 1px #A7A7C4;
|
||||
margin: -10px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.navheader hr {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.navfooter {
|
||||
background-color: #E0E0FF;
|
||||
border: solid 1px #A7A7C4;
|
||||
margin: 20px -10px -10px -10px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.navfooter hr {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.title {
|
||||
background-color: #EBEBEB;
|
||||
border: solid 1px #CACACA;
|
||||
margin-top: 25px;
|
||||
padding: 6px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.informaltable table {
|
||||
font-size: 11px;
|
||||
font-family: Verdana;
|
||||
@@ -43,8 +85,8 @@ table {
|
||||
|
||||
pre.screen {
|
||||
font-size: 11px;
|
||||
background-color: #F5F5F5;
|
||||
border: solid 1px #CCCCCC;
|
||||
background-color: #FAFAFA;
|
||||
border: dotted 1px #CCCCCC;
|
||||
padding: 4px;
|
||||
margin: 0 40px 0 40px;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl"/>
|
||||
<xsl:import href="@DOC_XSL_PREFIX@/html/docbook.xsl"/>
|
||||
|
||||
<xsl:output indent="yes"/>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl"/>
|
||||
<xsl:import href="@DOC_XSL_PREFIX@/html/chunk.xsl"/>
|
||||
|
||||
<xsl:output indent="yes"/>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:param name="latex.hyperparam">colorlinks,linkcolor=blue</xsl:param>
|
||||
</xsl:stylesheet>
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
SET(PO_FILES
|
||||
fr.po
|
||||
es.po
|
||||
cs.po
|
||||
hu.po
|
||||
de.po
|
||||
ru.po
|
||||
)
|
||||
|
||||
SET(COPYRIGHT_HOLDER "WeeChat Team")
|
||||
SET(BUGS_ADDRESS "flashcode@flashtux.org")
|
||||
SET(POT_FILE ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pot)
|
||||
|
||||
INCLUDE(srcfiles.cmake)
|
||||
|
||||
# Looking for xgettext, msgmerge and msgfmt
|
||||
FIND_PROGRAM(XGETTEXT_EXECUTABLE xgettext)
|
||||
FIND_PROGRAM(MSGMERGE_EXECUTABLE msgmerge)
|
||||
FIND_PROGRAM(MSGFMT_EXECUTABLE msgfmt)
|
||||
|
||||
IF(XGETTEXT_EXECUTABLE AND MSGMERGE_EXECUTABLE AND MSGFMT_EXECUTABLE)
|
||||
|
||||
# Create PO template file weechat.pot
|
||||
SET(SRC_FILES)
|
||||
SET(POT_DEPENDS)
|
||||
|
||||
FOREACH(srcfile ${WEECHAT_SOURCES})
|
||||
SET(SRC_FILES ${SRC_FILES} ${srcfile})
|
||||
SET(POT_DEPENDS ${POT_DEPENDS} ${CMAKE_SOURCE_DIR}/${srcfile})
|
||||
ENDFOREACH(srcfile ${WEECHAT_SOURCES})
|
||||
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${POT_FILE}
|
||||
COMMAND ${XGETTEXT_EXECUTABLE}
|
||||
ARGS -o ${POT_FILE} --keyword='_' --keyword='N_' --directory=${CMAKE_SOURCE_DIR} --omit-header --msgid-bugs-address=${BUGS_ADDRESS} --copyright-holder=${COPYRIGHT_HOLDER} ${SRC_FILES}
|
||||
DEPENDS ${POT_DEPENDS}
|
||||
COMMENT "Generating PO template file"
|
||||
)
|
||||
|
||||
# Update .po files and compile them to binary .gmo files
|
||||
|
||||
SET(GMO_FILES)
|
||||
FOREACH(pofile ${PO_FILES})
|
||||
GET_FILENAME_COMPONENT(polang ${pofile} NAME_WE)
|
||||
|
||||
SET(gmofile ${CMAKE_CURRENT_BINARY_DIR}/${polang}.gmo)
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${gmofile}
|
||||
COMMAND ${MSGMERGE_EXECUTABLE} ARGS --quiet -s -o ${CMAKE_CURRENT_BINARY_DIR}/${pofile} ${CMAKE_CURRENT_SOURCE_DIR}/${pofile} ${POT_FILE}
|
||||
COMMAND ${MSGFMT_EXECUTABLE} ARGS -o ${gmofile} ${CMAKE_CURRENT_BINARY_DIR}/${pofile}
|
||||
DEPENDS ${POT_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/${pofile}
|
||||
COMMENT "Compiling locales (${polang})"
|
||||
)
|
||||
|
||||
INSTALL(FILES ${gmofile} DESTINATION share/locale/${polang}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo)
|
||||
SET(GMO_FILES ${GMO_FILES} ${gmofile})
|
||||
ENDFOREACH(pofile ${PO_FILES})
|
||||
ADD_CUSTOM_TARGET(translations ALL DEPENDS ${GMO_FILES})
|
||||
|
||||
ENDIF(XGETTEXT_EXECUTABLE AND MSGMERGE_EXECUTABLE AND MSGFMT_EXECUTABLE)
|
||||
+38
-4
@@ -1,3 +1,4 @@
|
||||
./src/irc/irc-mode.c
|
||||
./src/irc/irc-nick.c
|
||||
./src/irc/irc-server.c
|
||||
./src/irc/irc-channel.c
|
||||
@@ -14,14 +15,45 @@
|
||||
./src/plugins/plugins-config.h
|
||||
./src/plugins/plugins-interface.c
|
||||
./src/plugins/weechat-plugin.h
|
||||
./src/gui/curses/gui-input.c
|
||||
./src/gui/curses/gui-display.c
|
||||
./src/gui/gtk/gui-display.c
|
||||
./src/gui/gtk/gui-input.c
|
||||
./src/gui/curses/gui-curses-chat.c
|
||||
./src/gui/curses/gui-curses-color.c
|
||||
./src/gui/curses/gui-curses-infobar.c
|
||||
./src/gui/curses/gui-curses-input.c
|
||||
./src/gui/curses/gui-curses-keyboard.c
|
||||
./src/gui/curses/gui-curses-main.c
|
||||
./src/gui/curses/gui-curses-nicklist.c
|
||||
./src/gui/curses/gui-curses-panel.c
|
||||
./src/gui/curses/gui-curses-status.c
|
||||
./src/gui/curses/gui-curses-window.c
|
||||
./src/gui/curses/gui-curses.h
|
||||
./src/gui/gtk/gui-gtk-chat.c
|
||||
./src/gui/gtk/gui-gtk-color.c
|
||||
./src/gui/gtk/gui-gtk-infobar.c
|
||||
./src/gui/gtk/gui-gtk-input.c
|
||||
./src/gui/gtk/gui-gtk-keyboard.c
|
||||
./src/gui/gtk/gui-gtk-main.c
|
||||
./src/gui/gtk/gui-gtk-nicklist.c
|
||||
./src/gui/gtk/gui-gtk-panel.c
|
||||
./src/gui/gtk/gui-gtk-status.c
|
||||
./src/gui/gtk/gui-gtk-window.c
|
||||
./src/gui/gtk/gui-gtk.h
|
||||
./src/gui/gui-action.c
|
||||
./src/gui/gui-buffer.c
|
||||
./src/gui/gui-common.c
|
||||
./src/gui/gui-keyboard.c
|
||||
./src/gui/gui-log.c
|
||||
./src/gui/gui-panel.c
|
||||
./src/gui/gui-window.c
|
||||
./src/gui/gui.h
|
||||
./src/gui/gui-buffer.h
|
||||
./src/gui/gui-color.h
|
||||
./src/gui/gui-keyboard.h
|
||||
./src/gui/gui-panel.h
|
||||
./src/gui/gui-window.h
|
||||
./src/common/alias.c
|
||||
./src/common/alias.h
|
||||
./src/common/backtrace.c
|
||||
./src/common/backtrace.h
|
||||
./src/common/command.c
|
||||
./src/common/command.h
|
||||
./src/common/completion.c
|
||||
@@ -38,6 +70,8 @@
|
||||
./src/common/session.h
|
||||
./src/common/utf8.c
|
||||
./src/common/utf8.h
|
||||
./src/common/util.c
|
||||
./src/common/util.h
|
||||
./src/common/weechat.c
|
||||
./src/common/weechat.h
|
||||
./src/common/weeconfig.c
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
SET(WEECHAT_SOURCES
|
||||
src/irc/irc-mode.c
|
||||
src/irc/irc-nick.c
|
||||
src/irc/irc-server.c
|
||||
src/irc/irc-channel.c
|
||||
src/irc/irc-commands.c
|
||||
src/irc/irc-display.c
|
||||
src/irc/irc-send.c
|
||||
src/irc/irc-recv.c
|
||||
src/irc/irc-dcc.c
|
||||
src/irc/irc-ignore.c
|
||||
src/irc/irc.h
|
||||
src/plugins/plugins.c
|
||||
src/plugins/plugins.h
|
||||
src/plugins/plugins-config.c
|
||||
src/plugins/plugins-config.h
|
||||
src/plugins/plugins-interface.c
|
||||
src/plugins/weechat-plugin.h
|
||||
src/gui/curses/gui-curses-chat.c
|
||||
src/gui/curses/gui-curses-color.c
|
||||
src/gui/curses/gui-curses-infobar.c
|
||||
src/gui/curses/gui-curses-input.c
|
||||
src/gui/curses/gui-curses-keyboard.c
|
||||
src/gui/curses/gui-curses-main.c
|
||||
src/gui/curses/gui-curses-nicklist.c
|
||||
src/gui/curses/gui-curses-panel.c
|
||||
src/gui/curses/gui-curses-status.c
|
||||
src/gui/curses/gui-curses-window.c
|
||||
src/gui/curses/gui-curses.h
|
||||
src/gui/gtk/gui-gtk-chat.c
|
||||
src/gui/gtk/gui-gtk-color.c
|
||||
src/gui/gtk/gui-gtk-infobar.c
|
||||
src/gui/gtk/gui-gtk-input.c
|
||||
src/gui/gtk/gui-gtk-keyboard.c
|
||||
src/gui/gtk/gui-gtk-main.c
|
||||
src/gui/gtk/gui-gtk-nicklist.c
|
||||
src/gui/gtk/gui-gtk-panel.c
|
||||
src/gui/gtk/gui-gtk-status.c
|
||||
src/gui/gtk/gui-gtk-window.c
|
||||
src/gui/gtk/gui-gtk.h
|
||||
src/gui/gui-action.c
|
||||
src/gui/gui-buffer.c
|
||||
src/gui/gui-common.c
|
||||
src/gui/gui-keyboard.c
|
||||
src/gui/gui-log.c
|
||||
src/gui/gui-panel.c
|
||||
src/gui/gui-window.c
|
||||
src/gui/gui.h
|
||||
src/gui/gui-buffer.h
|
||||
src/gui/gui-color.h
|
||||
src/gui/gui-keyboard.h
|
||||
src/gui/gui-panel.h
|
||||
src/gui/gui-window.h
|
||||
src/common/alias.c
|
||||
src/common/alias.h
|
||||
src/common/backtrace.c
|
||||
src/common/backtrace.h
|
||||
src/common/command.c
|
||||
src/common/command.h
|
||||
src/common/completion.c
|
||||
src/common/completion.h
|
||||
src/common/fifo.c
|
||||
src/common/fifo.h
|
||||
src/common/history.c
|
||||
src/common/history.h
|
||||
src/common/hotlist.c
|
||||
src/common/hotlist.h
|
||||
src/common/log.c
|
||||
src/common/log.h
|
||||
src/common/session.c
|
||||
src/common/session.h
|
||||
src/common/utf8.c
|
||||
src/common/utf8.h
|
||||
src/common/util.c
|
||||
src/common/util.h
|
||||
src/common/weechat.c
|
||||
src/common/weechat.h
|
||||
src/common/weeconfig.c
|
||||
src/common/weeconfig.h
|
||||
src/common/weelist.c
|
||||
src/common/weelist.h
|
||||
)
|
||||
+1828
-1593
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,27 @@
|
||||
-- Author: Julien Louis <ptitlouis@sysif.net>
|
||||
-- License: GPLv2
|
||||
-- Description: This lua script prints in the infobar the machine load average
|
||||
--
|
||||
weechat.register("loadavg", "0.1", "unload", "Print the load average in infobar")
|
||||
|
||||
local refresh = weechat.get_config("loadavg_refresh")
|
||||
|
||||
if refresh == "" then
|
||||
refresh = 5
|
||||
weechat.set_config("loadavg_refresh", 5)
|
||||
end
|
||||
|
||||
weechat.add_timer_handler(refresh, "loadavg")
|
||||
|
||||
function loadavg()
|
||||
local load = io.open("/proc/loadavg"):read()
|
||||
load = string.gsub(load, "^([%w.]+) ([%w.]+) ([%w.]+).*", "%1 %2 %3")
|
||||
weechat.print_infobar(refresh, "load: "..load)
|
||||
return weechat.PLUGIN_RC_OK;
|
||||
end
|
||||
|
||||
function unload()
|
||||
weechat.remove_timer_handler("loadavg")
|
||||
return weechat.remove_infobar(1)
|
||||
end
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
#
|
||||
# Copyright (c) 2006 by DeltaS4 <deltas4@gmail.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
#
|
||||
# Changelog:
|
||||
# 0.1: first version
|
||||
# 0.2: now you don't need the Song Change plugin enabled because
|
||||
# it uses audtool --current-song to get the music name as nenolod
|
||||
# suggested (http://boards.nenolod.net/index.php?showtopic=147). :)
|
||||
#
|
||||
|
||||
#
|
||||
# /setp perl.audacious.msg = "<msg that u want before the song>"
|
||||
# example: "is playing" * YourNick is playing Artist - Title
|
||||
# "now playing:" * YourNick now playing: Artist - Title
|
||||
# "at" * YourNick at Artist - Title
|
||||
#
|
||||
|
||||
weechat::register ("audacious", "0.2", "", "audacious-weechat current song script (usage: /music)");
|
||||
weechat::add_command_handler ("music", audtool);
|
||||
|
||||
$msg = weechat::get_plugin_config("msg");
|
||||
if ($msg eq $null) { weechat::set_plugin_config("msg", "is playing"); }
|
||||
|
||||
sub audtool {
|
||||
$cs = `audtool --current-song`; chomp($cs);
|
||||
$msg = weechat::get_plugin_config("msg");
|
||||
|
||||
weechat::command("/me $msg $cs");
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
##############################################################################
|
||||
# #
|
||||
# Away highlite loger #
|
||||
# #
|
||||
# Perl script for WeeChat. #
|
||||
# #
|
||||
# Log highlite/private msg when you are away #
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
# Copyright (C) 2006 Jiri Golembiovsky <golemj@gmail.com> #
|
||||
# #
|
||||
# This program is free software; you can redistribute it and/or #
|
||||
# modify it under the terms of the GNU General Public License #
|
||||
# as published by the Free Software Foundation; either version 2 #
|
||||
# of the License, or (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program; if not, write to the Free Software #
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, #
|
||||
# MA 02110-1301, USA. #
|
||||
# #
|
||||
##############################################################################
|
||||
|
||||
weechat::register( "AwayLog", "0.4", "", "Log privmsg/highlite when you are away" );
|
||||
|
||||
weechat::add_message_handler( "PRIVMSG", "awaylog" );
|
||||
|
||||
sub test_highlight {
|
||||
$str = shift;
|
||||
$irc_highlight = weechat::get_config( "irc_highlight" );
|
||||
@arr = split( ",", $irc_highlight );
|
||||
$b = 0;
|
||||
$str = lc( $str );
|
||||
while( $item = pop( @arr ) ) {
|
||||
$item = lc( $item );
|
||||
if( substr( $item, 0, 1 ) eq '*' ) { $item = '.' . $item; }
|
||||
if( substr( $item, length( $item ) - 1, 1 ) eq '*' ) { $item = substr( $item, , 0, length( $item ) - 1 ) . ".*"; }
|
||||
if( $str =~ /$item/ ) { $b++; }
|
||||
}
|
||||
return $b;
|
||||
}
|
||||
|
||||
sub awaylog {
|
||||
if( weechat::get_info( "away", $_[0] ) == 1 ) {
|
||||
$i = index( $_[1], " PRIVMSG " );
|
||||
$hostmask = substr( $_[1], 0, $i );
|
||||
$str = substr( $_[1], $i + 9 );
|
||||
$i = index( $str, ":" );
|
||||
$channel = substr( $str, 0, $i - 1 );
|
||||
$message = substr( $str, $i + 1 );
|
||||
if( substr( $hostmask, 0, 1 ) eq ":" ) {
|
||||
$hostmask = substr( $hostmask, 1 );
|
||||
}
|
||||
($nick, $host) = split( "!", $hostmask );
|
||||
$mynick = weechat::get_info( "nick", $_[0] );
|
||||
if( ( index( $message, $mynick ) != -1 ) || ( $channel eq $mynick ) || ( test_highlight( $message ) > 0 ) ) {
|
||||
weechat::print( "$channel -- $nick :: $message", "", $_[0] );
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
#
|
||||
# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
#
|
||||
# Speaker beep on highlight/private msg.
|
||||
#
|
||||
# History:
|
||||
#
|
||||
# 2006-09-02, FlashCode <flashcode@flashtux.org>:
|
||||
# initial release
|
||||
#
|
||||
|
||||
use strict;
|
||||
|
||||
my $version = "0.1";
|
||||
my $beep_command = "echo -n \a";
|
||||
|
||||
# default values in setup file (~/.weechat/plugins.rc)
|
||||
my $default_beep_highlight = "on";
|
||||
my $default_beep_pv = "on";
|
||||
|
||||
weechat::register("Beep", $version, "", "Speaker beep on highlight/private msg");
|
||||
weechat::set_plugin_config("beep_highlight", $default_beep_highlight) if (weechat::get_plugin_config("beep_highlight") eq "");
|
||||
weechat::set_plugin_config("beep_pv", $default_beep_pv) if (weechat::get_plugin_config("beep_pv") eq "");
|
||||
|
||||
weechat::add_message_handler("weechat_highlight", "highlight");
|
||||
weechat::add_message_handler("weechat_pv", "pv");
|
||||
|
||||
sub highlight
|
||||
{
|
||||
my $beep = weechat::get_plugin_config("beep_highlight");
|
||||
system($beep_command) if ($beep eq "on");
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
sub pv
|
||||
{
|
||||
my $beep = weechat::get_plugin_config("beep_pv");
|
||||
system($beep_command) if ($beep eq "on");
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
#
|
||||
# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
#
|
||||
# Save current buffer to a file.
|
||||
#
|
||||
# History:
|
||||
#
|
||||
# 2006-10-27, FlashCode <flashcode@flashtux.org>:
|
||||
# initial release
|
||||
#
|
||||
|
||||
use strict;
|
||||
|
||||
my $version = "0.1";
|
||||
|
||||
weechat::register("bufsave", $version, "", "Save buffer content to a file");
|
||||
weechat::add_command_handler("bufsave", "bufsave_cmd",
|
||||
"save current buffer to a file",
|
||||
"filename",
|
||||
"filename: target file (must not exist)",
|
||||
"");
|
||||
|
||||
sub bufsave_cmd
|
||||
{
|
||||
if ($#_ == 1)
|
||||
{
|
||||
my $server = shift;
|
||||
my $filename = shift;
|
||||
|
||||
return weechat::PLUGIN_RC_OK if (! $filename);
|
||||
|
||||
if (-e $filename)
|
||||
{
|
||||
weechat::print("Error: target file already exists!");
|
||||
return weechat::PLUGIN_RC_KO;
|
||||
}
|
||||
|
||||
my $channel = weechat::get_info("channel");
|
||||
my @bc = weechat::get_buffer_data($server, $channel);
|
||||
if (@bc)
|
||||
{
|
||||
if (! open(FILE, ">$filename"))
|
||||
{
|
||||
weechat::print("Error writing to target file!");
|
||||
return weechat::PLUGIN_RC_KO;
|
||||
}
|
||||
foreach my $line (reverse(@bc))
|
||||
{
|
||||
my %l = %$line;
|
||||
print FILE "$l{date} " if ($l{date});
|
||||
print FILE "\<$l{nick}\> " if ($l{nick});
|
||||
print FILE "$l{data}\n";
|
||||
}
|
||||
close(FILE);
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat::print("Error: no buffer data");
|
||||
return weechat::PLUGIN_RC_KO;
|
||||
}
|
||||
}
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
##############################################################################
|
||||
# #
|
||||
# Exec #
|
||||
# #
|
||||
# Perl script for WeeChat. #
|
||||
# #
|
||||
# Execute the command and print it to the actual buffer or server #
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
# Copyright (C) 2006 Jiri Golembiovsky <golemj@gmail.com> #
|
||||
# #
|
||||
# This program is free software; you can redistribute it and/or #
|
||||
# modify it under the terms of the GNU General Public License #
|
||||
# as published by the Free Software Foundation; either version 2 #
|
||||
# of the License, or (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program; if not, write to the Free Software #
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, #
|
||||
# MA 02110-1301, USA. #
|
||||
# #
|
||||
##############################################################################
|
||||
|
||||
use Config;
|
||||
|
||||
$Config{usethreads} or die( "Recompile Perl with threads to run this script." );
|
||||
|
||||
use Thread;
|
||||
|
||||
my $registred = 0;
|
||||
weechat::register( "Exec", "0.2", "", "Execute the command and print it to some buffer" );
|
||||
|
||||
weechat::add_command_handler(
|
||||
"exec",
|
||||
execute,
|
||||
"Execute the command and print it to some buffer",
|
||||
"[-o][ -win server:::channel] <cmd line>",
|
||||
" -o print as msg\n".
|
||||
" -win server:::channel print the output to the specific buffer",
|
||||
""
|
||||
);
|
||||
|
||||
sub execute {
|
||||
if( !$registred ) { return; }
|
||||
my $i = 0;
|
||||
my $cmd = "";
|
||||
my $msg = 0;
|
||||
my $win = "";
|
||||
my @arr = split( ' ', $_[1] );
|
||||
my $cmdStart = 0;
|
||||
if( $#arr < 0 ) { return; }
|
||||
for( $i = 0; $i <= $#arr; $i++ ) {
|
||||
if( @arr[$i] eq "-win" ) {
|
||||
$i++;
|
||||
$win = @arr[$i];
|
||||
$cmdStart = $i + 1;
|
||||
}
|
||||
if( @arr[$i] eq "-o" ) {
|
||||
$msg = 1;
|
||||
$cmdStart = $i + 1;
|
||||
}
|
||||
}
|
||||
for( $i = $cmdStart; $i <= $#arr; $i++ ) {
|
||||
if( length( $cmd ) ) { $cmd = $cmd . ' '; }
|
||||
$cmd = $cmd . @arr[$i];
|
||||
}
|
||||
|
||||
my $thr = new Thread \&func_execute, $cmd, $msg, $win;
|
||||
}
|
||||
|
||||
sub func_execute {
|
||||
my $command = shift;
|
||||
my $msg = shift;
|
||||
my $win = shift;
|
||||
my $c = 1;
|
||||
my $char = '';
|
||||
my $date = `date +%Y%m%d%H%M%S%N`;
|
||||
my $out = "";
|
||||
|
||||
if( !length( $command ) ) {
|
||||
weechat::print( "No command to execute (try -? for help)" );
|
||||
return;
|
||||
}
|
||||
|
||||
if( substr( $date, length( $date ) - 1, 1 ) eq "\n" ) { $date = substr( $date, 0, length( $date ) - 1 ); }
|
||||
|
||||
if( length( $command ) ) { system( $command . " > /tmp/weechat_" . $date . " 2>&1" ); }
|
||||
|
||||
open( FD, '<', "/tmp/weechat_" . $date ) or weechat::print( "/tmp/weechat_" . $date . ": $!" );
|
||||
do {
|
||||
$c = read( FD, $char, 1 );
|
||||
$out = $out . $char;
|
||||
} while( $c );
|
||||
close( FD );
|
||||
system( "rm -f /tmp/weechat_" . $date );
|
||||
my $j = index( $win, ':::' );
|
||||
if( length( $win ) && ( $j >= 0 ) ) {
|
||||
if( $msg ) {
|
||||
my $win1 = substr( $win, $j + 3 );
|
||||
my $win2 = substr( $win, 0, $j );
|
||||
my @its = split( "\n", $out );
|
||||
for( $j = 0; $j <= $#its; $j++ ) {
|
||||
weechat::command( $its[$j], $win1, $win2 );
|
||||
}
|
||||
} else {
|
||||
weechat::print( $out, substr( $win, $j + 3 ), substr( $win, 0, $j ) );
|
||||
}
|
||||
} else {
|
||||
if( $msg ) {
|
||||
my $win1 = substr( $win, $j + 3 );
|
||||
my $win2 = substr( $win, 0, $j );
|
||||
my @its = split( "\n", $out );
|
||||
for( $j = 0; $j <= $#its; $j++ ) {
|
||||
weechat::command( $its[$j], $win1, $win2 );
|
||||
}
|
||||
} else {
|
||||
weechat::print( $out );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$registred = 1;
|
||||
|
||||
@@ -0,0 +1,163 @@
|
||||
# =============================================================================
|
||||
# Copyright (c) 2003-2005 by FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# fete.pl (c) Décembre 2003 par FlashCode <flashcode@flashtux.org>
|
||||
# Mis à jour le 04/06/2005, FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# Gestion des fêtes du calendrier français avec la commande "/fete"
|
||||
# Syntaxe: /fete - affiche la fête du jour et du lendemain
|
||||
# /fete prenom - cherche un prénom dans le calendrier
|
||||
# =============================================================================
|
||||
|
||||
use locale;
|
||||
|
||||
my $version = "0.4";
|
||||
weechat::register ("Fete", $version, "", "Gestion des fêtes du calendrier français");
|
||||
weechat::print ("Script 'Fete' $version chargé");
|
||||
weechat::add_command_handler ("fete", fete);
|
||||
|
||||
@noms_jours = qw(Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi);
|
||||
@noms_mois = qw(Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre);
|
||||
@fetes = (
|
||||
# janvier
|
||||
[ '!Marie - JOUR de l\'AN', '&Basile', '!Geneviève', '&Odilon', '&Edouard',
|
||||
'&Mélaine', '&Raymond', '&Lucien', '!Alix', '&Guillaume', '&Paulin',
|
||||
'!Tatiana', '!Yvette', '!Nina', '&Rémi', '&Marcel', '!Roseline',
|
||||
'!Prisca', '&Marius', '&Sébastien', '!Agnès', '&Vincent', '&Barnard',
|
||||
'&François de Sales', '-Conversion de St Paul', '!Paule', '!Angèle',
|
||||
'&Thomas d\'Aquin', '&Gildas', '!Martine', '!Marcelle' ],
|
||||
# février
|
||||
[ '!Ella', '-Présentation', '&Blaise', '!Véronique', '!Agathe',
|
||||
'&Gaston', '!Eugénie', '!Jacqueline', '!Apolline', '&Arnaud',
|
||||
'-Notre-Dame de Lourdes', '&Félix', '!Béatrice', '&Valentin', '&Claude',
|
||||
'!Julienne', '&Alexis', '!Bernadette', '&Gabin', '!Aimée',
|
||||
'&Pierre Damien', '!Isabelle', '&Lazare', '&Modeste', '&Roméo', '&Nestor',
|
||||
'!Honorine', '&Romain', '&Auguste' ],
|
||||
# mars
|
||||
[ '&Aubin', '&Charles le Bon', '&Guénolé', '&Casimir', '&Olive', '&Colette',
|
||||
'!Félicité', '&Jean de Dieu', '!Françoise', '&Vivien', '!Rosine',
|
||||
'!Justine', '&Rodrigue', '!Mathilde', '!Louise de Marillac', '!Bénédicte',
|
||||
'&Patrice', '&Cyrille', '&Joseph', '&Herbert', '!Clémence', '!Léa',
|
||||
'&Victorien', '!Catherine de Suède', '-Annonciation', '!Larissa',
|
||||
'&Habib', '&Gontran', '!Gwladys', '&Amédée', '&Benjamin' ],
|
||||
# avril
|
||||
[ '&Hugues', '!Sandrine', '&Richard', '&Isodore', '!Irène', '&Marcellin',
|
||||
'&Jean-Baptiste de la Salle', '!Julie', '&Gautier', '&Fulbert',
|
||||
'&Stanislas', '&Jules', '!Ida', '&Maxime', '&Paterne',
|
||||
'&Benoît-Joseph Labre', '&Anicet', '&Parfait', '!Emma', '!Odette',
|
||||
'&Anselme', '&Alexandre', '&Georges', '&Fidèle', '&Marc', '!Alida',
|
||||
'!Zita', '!Valérie', '!Catherine de Sienne', '&Robert' ],
|
||||
# mai
|
||||
[ '&Jérémie - FETE du TRAVAIL', '&Boris', '&Philippe / Jacques', '&Sylvain',
|
||||
'!Judith', '!Prudence', '!Gisèle', '&Désiré - ANNIVERSAIRE 1945',
|
||||
'&Pacôme', '!Solange', '!Estelle', '&Achille', '!Rolande', '&Mathias',
|
||||
'!Denise', '&Honoré', '&Pascal', '&Eric', '&Yves', '&Bernardin',
|
||||
'&Constantin', '&Emile', '&Didier', '&Donatien', '!Sophie', '&Bérenger',
|
||||
'&Augustin', '&Germain', '&Aymar', '&Ferdinand', '-Visitation' ],
|
||||
# juin
|
||||
[ '&Justin', '!Blandine', '&Kévin', '!Clotilde', '&Igor', '&Norbert',
|
||||
'&Gilbert', '&Médard', '!Diane', '&Landry', '&Barnabé', '&Guy',
|
||||
'&Antoine de Padoue', '&Elisée', '!Germaine', '&Jean-François Régis',
|
||||
'&Hervé', '&Léonce', '&Romuald', '&Silvère', '&Rodolphe', '&Alban',
|
||||
'!Audrey', '&Jean-Baptiste', '&Salomon', '&Anthelme', '&Fernand',
|
||||
'&Irénée', '&Pierre / Paul', '&Martial' ],
|
||||
# juillet
|
||||
[ '&Thierry', '&Martinien', '&Thomas', '&Florent', '&Antoine', '!Mariette',
|
||||
'&Raoul', '&Thibaut', '!Amandine', '&Ulrich', '&Benoît', '&Olivier',
|
||||
'&Henri / Joël', '!Camille - FETE NATIONALE', '&Donald',
|
||||
'-N.D. du Mont Carmel', '!Charlotte', '&Frédéric', '&Arsène', '!Marina',
|
||||
'&Victor', '!Marie-Madeleine', '!Brigitte', '!Christine', '&Jacques',
|
||||
'&Anne', '!Nathalie', '&Samson', '!Marthe', '!Juliette',
|
||||
'&Ignace de Loyola' ],
|
||||
# août
|
||||
[ '&Alphonse', '&Julien', '!Lydie', '&Jean-Marie Vianney', '&Abel',
|
||||
'-Transfiguration', '&Gaëtan', '&Dominique', '&Amour', '&Laurent',
|
||||
'!Claire', '!Clarisse', '&Hippolyte', '&Evrard',
|
||||
'!Marie - ASSOMPTION', '&Armel', '&Hyacinthe', '!Hélène', '&Jean Eudes',
|
||||
'&Bernard', '&Christophe', '&Fabrice', '!Rose de Lima', '&Barthélémy',
|
||||
'&Louis', '!Natacha', '!Monique', '&Augustin', '!Sabine', '&Fiacre',
|
||||
'&Aristide' ],
|
||||
# septembre
|
||||
[ '&Gilles', '!Ingrid', '&Grégoire', '!Rosalie', '!Raïssa', '&Bertrand',
|
||||
'!Reine', '-Nativité de Marie', '&Alain', '!Inès', '&Adelphe',
|
||||
'&Apollinaire', '&Aimé', '-La Ste Croix', '&Roland', '!Edith', '&Renaud',
|
||||
'!Nadège', '!Emilie', '&Davy', '&Matthieu', '&Maurice', '&Constant',
|
||||
'!Thècle', '&Hermann', '&Côme / Damien', '&Vincent de Paul', '&Venceslas',
|
||||
'&Michel / Gabriel', '&Jérôme' ],
|
||||
# octobre
|
||||
[ '!Thérèse de l\'Enfant Jésus', '&Léger', '&Gérard', '&François d\'Assise',
|
||||
'!Fleur', '&Bruno', '&Serge', '!Pélagie', '&Denis', '&Ghislain', '&Firmin',
|
||||
'&Wilfried', '&Géraud', '&Juste', '!Thérèse d\'Avila', '!Edwige',
|
||||
'&Baudouin', '&Luc', '&René', '!Adeline', '!Céline', '!Elodie',
|
||||
'&Jean de Capistran', '&Florentin', '&Crépin', '&Dimitri', '!Emeline',
|
||||
'&Simon / Jude', '&Narcisse', '!Bienvenue', '&Quentin' ],
|
||||
# novembre
|
||||
[ '&Harold - TOUSSAINT', '-Défunts', '&Hubert', '&Charles', '!Sylvie',
|
||||
'!Bertille', '!Carine', '&Geoffroy', '&Théodore', '&Léon',
|
||||
'&Martin - ARMISTICE 1918', '&Christian', '&Brice', '&Sidoine', '&Albert',
|
||||
'!Marguerite', '!Elisabeth', '!Aude', '&Tanguy', '&Edmond',
|
||||
'-Présentation de Marie', '!Cécile', '&Clément', '!Flora', '!Catherine',
|
||||
'!Delphine', '&Séverin', '&Jacques de la Marche', '&Saturnin', '&André' ],
|
||||
# décembre
|
||||
[ '!Florence', '!Viviane', '&Xavier', '!Barbara', '&Gérald', '&Nicolas',
|
||||
'&Ambroise', '-Immaculée Conception', '&Pierre Fourier', '&Romaric',
|
||||
'&Daniel', '!Jeanne de Chantal', '!Lucie', '!Odile', '!Ninon', '!Alice',
|
||||
'&Gaël', '&Gatien', '&Urbain', '&Abraham', '&Pierre Canisius',
|
||||
'!Françoise-Xavier', '&Armand', '!Adèle', '&Emmanuel - NOEL', '&Etienne',
|
||||
'&Jean', '-Sts Innocents', '&David', '&Roger', '&Sylvestre' ],
|
||||
);
|
||||
|
||||
sub fete_jour
|
||||
{
|
||||
my ($sec, $min, $heure, $mjour, $mois, $annee, $sjour, $ajour, $est_dst) = localtime ($_[0]);
|
||||
my $fete = $fetes[$mois][$mjour-1];
|
||||
$fete =~ s/^!/Ste /;
|
||||
$fete =~ s/^&/St /;
|
||||
$fete =~ s/^-//;
|
||||
$fete;
|
||||
}
|
||||
|
||||
sub fete
|
||||
{
|
||||
if ($#_ == 1)
|
||||
{
|
||||
my @params = split " ", @_[1];
|
||||
for $arg (@params)
|
||||
{
|
||||
for (my $mois = 0; $mois <= $#fetes; $mois++)
|
||||
{
|
||||
for (my $jour = 0; $jour < 31; $jour++)
|
||||
{
|
||||
if (uc ($fetes[$mois][$jour]) =~ /\U$arg/)
|
||||
{
|
||||
weechat::print (($jour + 1)." ".$noms_mois[$mois].": ".substr ($fetes[$mois][$jour], 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
my $time_now = time;
|
||||
my ($fete1, $fete2) = (fete_jour ($time_now), fete_jour ($time_now + (3600 * 24)));
|
||||
my ($mjour, $mois, $sjour) = (localtime ($time_now))[3, 4, 6];
|
||||
weechat::print_infobar (0, "$fete1 (demain: $fete2)");
|
||||
}
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
fete ();
|
||||
@@ -0,0 +1,57 @@
|
||||
# This script is a port from the original fortune.pl irssi script written by
|
||||
# Ivo Marino <eim@cpan.org>. This script is in the public domain
|
||||
#
|
||||
# Author: Julien Louis <ptitlouis@sysif.net>
|
||||
|
||||
weechat::register("fortune", "0.1", "", "Send a random fortune cookie to a specified nick");
|
||||
|
||||
weechat::add_command_handler ("fortune", fortune, "Send a random fortune cookie to a specified nick",
|
||||
"<nick> [lang]",
|
||||
"<nick> The nickname to send the fortune cookie\n" .
|
||||
" [lang] The cookie language (Default: en)\n",
|
||||
"%n %-");
|
||||
|
||||
sub fortune {
|
||||
|
||||
my ($server, $param) = @_;
|
||||
my $return = weechat::PLUGIN_RC_OK;
|
||||
my $cookie = '';
|
||||
|
||||
if ($param) {
|
||||
|
||||
if ($server) {
|
||||
(my $nick, my $lang) = split (' ', $param);
|
||||
$lang = 'en' unless ($lang eq 'de'|| $lang eq 'it' || $lang eq
|
||||
'en' || $lang eq 'fr' );
|
||||
weechat::print ("Nick: " . $nick . ", Lang: \"" . $lang . "\"");
|
||||
|
||||
if ($lang eq 'de') {
|
||||
$cookie = `fortune -x`;
|
||||
} elsif ($lang eq 'it') {
|
||||
$cookie = `fortune -a italia`;
|
||||
} else {
|
||||
$cookie = `fortune -a fortunes literature riddles`;
|
||||
}
|
||||
|
||||
$cookie =~ s/\s*\n\s*/ /g;
|
||||
if ($cookie) {
|
||||
$channel = weechat::get_info("channel");
|
||||
if ($channel) {
|
||||
weechat::command($nick . ": " . $cookie, $channel);
|
||||
}
|
||||
} else {
|
||||
weechat::print ("No cookie.");
|
||||
$return = weechat::PLUGIN_RC_KO;
|
||||
}
|
||||
} else {
|
||||
weechat::print ("Not connected to server");
|
||||
$return = weechat::PLUGIN_RC_KO;
|
||||
}
|
||||
} else {
|
||||
weechat::print ("Usage: /fortune <nick> [language]");
|
||||
$return = weechat::PLUGIN_RC_KO;
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
# This script is a port from the hello.pl irssi script written by
|
||||
# Cybertinus <cybertinus@cybertinus.nl>
|
||||
#
|
||||
# Licensed under the GPL v2
|
||||
#
|
||||
# Author: Julien Louis <ptitlouis@sysif.net>
|
||||
|
||||
weechat::register("hello" ,"0.1", "", "Display greetings depending the time");
|
||||
|
||||
weechat::add_command_handler("hello", hello, "", "Send greetings to the current buffer");
|
||||
|
||||
weechat::set_plugin_config("evening_message", "good evening");
|
||||
weechat::set_plugin_config("afternoon_message", "good afternoon");
|
||||
weechat::set_plugin_config("morning_message", "good morning");
|
||||
weechat::set_plugin_config("night_message", "good night");
|
||||
|
||||
|
||||
sub hello {
|
||||
my ($server,$data) = @_;
|
||||
|
||||
$time = (localtime(time))[2];
|
||||
if ($time >= 18) {
|
||||
$text = weechat::get_plugin_config("evening_message");
|
||||
} elsif ($time >= 12) {
|
||||
$text = weechat::get_plugin_config("afternoon_message");
|
||||
} elsif ($time >= 6) {
|
||||
$text = weechat::get_plugin_config("morning_message");
|
||||
} elsif ($time >= 0) {
|
||||
$text = weechat::get_plugin_config("night_message");
|
||||
}
|
||||
weechat::command("$text $data");
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
#
|
||||
# This script is mostly a copy/paste from kernel.pl irssi script
|
||||
# This script is in the public domain.
|
||||
#
|
||||
# Julien Louis <ptitlouis@sysif.net>
|
||||
|
||||
use IO::Socket;
|
||||
|
||||
weechat::register("kernel", "0.1", "", "Return latest kernel versions from kernel.org" );
|
||||
|
||||
weechat::add_command_handler("kernel_version", kernel_version);
|
||||
|
||||
sub finger($$) {
|
||||
# Yes, Net::Finger is already done and i'm reinventing the wheel.
|
||||
my ($user, $host) = @_;
|
||||
my $buffer;
|
||||
if (my $socket = IO::Socket::INET->new(
|
||||
PeerHost => $host,
|
||||
PeerPort => 'finger(79)',
|
||||
Proto => 'tcp',
|
||||
))
|
||||
{
|
||||
if (syswrite $socket, "$user\n") {
|
||||
unless (sysread $socket, $buffer, 1024) {
|
||||
# Should i use $! here?
|
||||
weechat::print("Unable to read from the socket: $!");
|
||||
}
|
||||
} else {
|
||||
# ..and here?
|
||||
weechat::print("Unable to write to the socket: $!");
|
||||
}
|
||||
} else {
|
||||
weechat::print("Connection to $host failed: $!");
|
||||
}
|
||||
return $buffer;
|
||||
}
|
||||
|
||||
sub kernel_version {
|
||||
my @version;
|
||||
if (my $finger = finger("", "finger.kernel.org")) {
|
||||
# The magic of the regexps :)
|
||||
@version = $finger =~ /:\s*(\S+)\s*$/gm;
|
||||
# Modify this to do whatever you want.
|
||||
|
||||
my %branches = (
|
||||
26 => "",
|
||||
24 => "",
|
||||
22 => "",
|
||||
20 => "",
|
||||
);
|
||||
|
||||
foreach my $kernel (@version) {
|
||||
if($kernel =~ /2\.6/) {
|
||||
$branches{26} .= " $kernel";
|
||||
} elsif($kernel =~ /2\.4/) {
|
||||
$branches{24} .= " $kernel";
|
||||
} elsif ($kernel =~ /2\.2/) {
|
||||
$branches{22} .= " $kernel";
|
||||
} elsif ($kernel =~ /2\.0/) {
|
||||
$branches{20} .= " $kernel";
|
||||
}
|
||||
}
|
||||
|
||||
my @keys = sort(keys(%branches));
|
||||
foreach my $key (@keys) {
|
||||
weechat::print("branche " . join('.', split(//, $key)));
|
||||
weechat::print("$branches{$key}");
|
||||
}
|
||||
|
||||
# weechat::print("@version");
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
#
|
||||
# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
#
|
||||
# Search for text in WeeChat disk log files.
|
||||
#
|
||||
# History:
|
||||
# 2006-04-17, FlashCode <flashcode@flashtux.org>:
|
||||
# initial release
|
||||
#
|
||||
|
||||
use strict;
|
||||
|
||||
# default values in setup file (~/.weechat/plugins.rc)
|
||||
my $default_max = "8";
|
||||
my $default_server = "off";
|
||||
my $default_grep_options = "-i";
|
||||
|
||||
# init script
|
||||
weechat::register("logsearch", "0.1", "", "Search for text in WeeChat disk log files");
|
||||
weechat::set_plugin_config("max", $default_max) if (weechat::get_plugin_config("max") eq "");
|
||||
weechat::set_plugin_config("server", $default_server) if (weechat::get_plugin_config("server") eq "");
|
||||
weechat::set_plugin_config("grep_options", $default_grep_options) if (weechat::get_plugin_config("grep_options") eq "");
|
||||
|
||||
# add command handler /logsearch
|
||||
weechat::add_command_handler("logsearch", "logsearch",
|
||||
"search for text in WeeChat disk log files",
|
||||
"[-n#] text",
|
||||
"-n#: max number or lines to display\n"
|
||||
."text: regular expression (used by grep)\n\n"
|
||||
."Plugins options (set with /setp):\n"
|
||||
." - perl.logsearch.max: max number of lines displayed by default\n"
|
||||
." - perl.logsearch.server: display result on server "
|
||||
."buffer (if on), otherwise on current buffer\n"
|
||||
." - perl.logsearch.grep_options: options to give to grep program",
|
||||
"");
|
||||
|
||||
# /logsearch command
|
||||
sub logsearch
|
||||
{
|
||||
my $server = shift;
|
||||
my $args = shift;
|
||||
if ($args ne "")
|
||||
{
|
||||
# read settings
|
||||
my $conf_max = weechat::get_plugin_config("max");
|
||||
$conf_max = $default_max if ($conf_max eq "");
|
||||
my $conf_server = weechat::get_plugin_config("server");
|
||||
$conf_server = $default_server if ($conf_server eq "");
|
||||
my $output_server = "";
|
||||
$output_server = $server if (lc($conf_server) eq "on");
|
||||
my $grep_options = weechat::get_plugin_config("grep_options");
|
||||
|
||||
# build log filename
|
||||
my $buffer = weechat::get_info("channel", "");
|
||||
$buffer = ".".$buffer if ($buffer ne "");
|
||||
my $log_path = weechat::get_config("log_path");
|
||||
$log_path =~ s/%h/~\/.weechat/g;
|
||||
my $file = $log_path.$server.$buffer.".weechatlog";
|
||||
|
||||
# run grep in log file
|
||||
if ($args =~ /-n([0-9]+) (.*)/)
|
||||
{
|
||||
$conf_max = $1;
|
||||
$args = $2;
|
||||
}
|
||||
my $command = "grep ".$grep_options." '".$args."' ".$file." 2>/dev/null | tail -n".$conf_max;
|
||||
my $result = `$command`;
|
||||
|
||||
# display result
|
||||
if ($result eq "")
|
||||
{
|
||||
weechat::print("Text not found in $file", "", $output_server);
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
my @result_array = split(/\n/, $result);
|
||||
weechat::print($_, "", $output_server) foreach(@result_array);
|
||||
}
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
# perl
|
||||
# Logs URLs to a p5-DBI-MySQL database.
|
||||
# This script is BSD licensed.
|
||||
# Hacked together by Karlis "Hagabard" Loen in Feb 2007
|
||||
# hagabard AT gmail DOT com
|
||||
# Table format: (ircurls is default table name in script)
|
||||
#+-----------+---------------+------+-----+---------+-------+
|
||||
#| Field | Type | Null | Key | Default | Extra |
|
||||
#+-----------+---------------+------+-----+---------+-------+
|
||||
#| timestamp | timestamp(14) | YES | | NULL | |
|
||||
#| hostmask | text(255) | YES | | NULL | |
|
||||
#| target | text(255) | YES | | NULL | |
|
||||
#| url | text(255) | YES | | NULL | |
|
||||
#+-----------+---------------+------+-----+---------+-------+
|
||||
# In the future I hope to get around to adding stuff like:
|
||||
#+-----------+---------------+------+-----+---------+-------+
|
||||
#| httptitle | text(255) | YES | | NULL | |
|
||||
#| httpdinfo | text(255) | YES | | NULL | |
|
||||
#| tinyurl | text(255) | YES | | NULL | |
|
||||
#+-----------+---------------+------+-----+---------+-------+
|
||||
# Test other DBI types, maybe /setp perl.logurlsql.dbtype="Pg" works?
|
||||
|
||||
# Tested with p5-DBI-Mysql, others untested
|
||||
use DBI;
|
||||
|
||||
weechat::register("logurlsql", "0.2", "", "WeeChat p5-DBI script to log URLs to a SQL Database.");
|
||||
|
||||
weechat::add_message_handler("*", "cmd_logurl");
|
||||
|
||||
# Setup Database connection, now with /setp for your configuration pleasure
|
||||
weechat::set_plugin_config("dbtype", "mysql") if (weechat::get_plugin_config("dbtype") eq "");
|
||||
weechat::set_plugin_config("dbhost", "localhost") if (weechat::get_plugin_config("dbhost") eq "");
|
||||
weechat::set_plugin_config("dbname", "weechat") if (weechat::get_plugin_config("dbname") eq "");
|
||||
weechat::set_plugin_config("dbtable", "ircurls") if (weechat::get_plugin_config("dbtable") eq "");
|
||||
weechat::set_plugin_config("dbuser", "irc") if (weechat::get_plugin_config("dbuser") eq "");
|
||||
weechat::set_plugin_config("dbpass", "forever") if (weechat::get_plugin_config("dbpass") eq "");
|
||||
|
||||
# Regexps
|
||||
sub URL_SCHEME_REGEX() { '(http|ftp|https|news|irc)' }
|
||||
sub URL_GUESS_REGEX() { '(www|ftp)' }
|
||||
sub URL_BASE_REGEX() { '[a-z0-9_\-+\\/:?%.&!~;,=\#<]' }
|
||||
|
||||
# This sub borrowed from the BSD licensed urlplot.pl irssi script by bwolf.
|
||||
sub scan_url {
|
||||
my $rawtext = shift;
|
||||
return $1 if $rawtext =~ m|(@{[ URL_SCHEME_REGEX ]}://@{[ URL_BASE_REGEX ]}+)|io;
|
||||
# The URL misses a scheme, try to be smart
|
||||
if ($rawtext =~ m|@{[ URL_GUESS_REGEX ]}\.@{[ URL_BASE_REGEX ]}+|io) {
|
||||
my $preserve = $&;
|
||||
return "http://$preserve" if $1 =~ /^www/;
|
||||
return "ftp://$preserve" if $1 =~ /^ftp/;
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
|
||||
sub cmd_logurl {
|
||||
($null, $target, $data) = split ":",$_[1],3;
|
||||
($hostmask, $null, $target) = split " ", $target;
|
||||
if (defined($url = scan_url($data))) {
|
||||
#weechat::print("hostmask=$hostmask, target=$target, url=$url");
|
||||
db_insert($hostmask, $target, $url);
|
||||
}
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
sub db_insert {
|
||||
my ($hostmask, $target, $url)=@_;
|
||||
my $dbh = DBI->connect( "DBI:". weechat::get_plugin_config(dbtype) .":". weechat::get_plugin_config(dbname) .":". weechat::get_plugin_config(dbhost), weechat::get_plugin_config(dbuser), weechat::get_plugin_config(dbpass));
|
||||
my $sql="insert into ". weechat::get_plugin_config(dbtable) ." (timestamp, hostmask, target, url) values (NOW()".",". $dbh->quote($hostmask) ."," . $dbh->quote($target) ."," . $dbh->quote($url) .")";
|
||||
my $sth = $dbh->do($sql);
|
||||
$dbh->disconnect();
|
||||
}
|
||||
@@ -0,0 +1,166 @@
|
||||
##############################################################################
|
||||
# #
|
||||
# MOC #
|
||||
# #
|
||||
# Perl script for WeeChat. #
|
||||
# #
|
||||
# Show info about current song in moc #
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
# Copyright (C) 2006 Jiri Golembiovsky <golemj@gmail.com> #
|
||||
# #
|
||||
# This program is free software; you can redistribute it and/or #
|
||||
# modify it under the terms of the GNU General Public License #
|
||||
# as published by the Free Software Foundation; either version 2 #
|
||||
# of the License, or (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program; if not, write to the Free Software #
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, #
|
||||
# MA 02110-1301, USA. #
|
||||
# #
|
||||
##############################################################################
|
||||
|
||||
weechat::register( "MOCP", "0.2", "", "Show info about current song in moc" );
|
||||
weechat::add_command_handler(
|
||||
"moc",
|
||||
moc,
|
||||
"Show info about current song in moc",
|
||||
"[[-i][-o][-ot]]",
|
||||
"-i show info about current song (default parameter if no other is given)\n" .
|
||||
"-o print results to the current channel as /msg\n" .
|
||||
"-ot print results to the current channel as /me, this parameter overide -o parameter\n" .
|
||||
"To set output format use moc_set_format command.\n" .
|
||||
"To set another default output type than -i use moc_set_output command.\n",
|
||||
"-i|-o|-ot"
|
||||
);
|
||||
|
||||
weechat::add_command_handler(
|
||||
"moc_set_format",
|
||||
mocSetFormat,
|
||||
"Set output format for moc command",
|
||||
"format_string",
|
||||
"Following combinations will be replaced by apropriate text:\n".
|
||||
" %A - artist\n" .
|
||||
" %B - album\n" .
|
||||
" %F - file name with path\n" .
|
||||
" %H - file name without path\n" .
|
||||
" %J - total time\n" .
|
||||
" %K - current time\n" .
|
||||
" %L - time left\n" .
|
||||
" %M - total seconds\n" .
|
||||
" %N - current seconds\n" .
|
||||
" %S - state\n" .
|
||||
" %T - title\n" .
|
||||
" %U - song title\n" .
|
||||
" %Y - biterate\n" .
|
||||
" %Z - rate\n" .
|
||||
"When no format string is setted then current format string is printed.",
|
||||
""
|
||||
);
|
||||
|
||||
weechat::add_command_handler(
|
||||
"moc_set_output",
|
||||
mocSetOutput,
|
||||
"Set default output for moc command",
|
||||
"i|o|ot",
|
||||
"For more info see help of moc command",
|
||||
"i|o|ot"
|
||||
);
|
||||
|
||||
sub info {
|
||||
my $i;
|
||||
my $res = "";
|
||||
my $sout = `mocp -i`;
|
||||
my @out = split( "\n", $sout );
|
||||
my $format = weechat::get_plugin_config( "outputFormat" );
|
||||
if( length( $format ) == 0 ) { $format = "is listening to %T ::: %H"; }
|
||||
if( $#out < 2 ) { return ""; }
|
||||
for( $i = 0; $i <= $#out; $i++ ) {
|
||||
if( ( index( @out[$i], ' ' ) == -1 ) ||
|
||||
( index( @out[$i], ' ' ) == ( length( @out[$i] ) - 1 ) )
|
||||
) {
|
||||
@out[$i] = "";
|
||||
} else {
|
||||
@out[$i] = substr( @out[$i], index( @out[$i], ' ' ) + 1 );
|
||||
}
|
||||
}
|
||||
$i = 0;
|
||||
while( $i < length( $format ) ) {
|
||||
if( substr( $format, $i, 1 ) eq '%' ) {
|
||||
$i++;
|
||||
if( substr( $format, $i, 1 ) eq 'A' ) { $res = $res . @out[3]; }
|
||||
if( substr( $format, $i, 1 ) eq 'B' ) { $res = $res . @out[5]; }
|
||||
if( substr( $format, $i, 1 ) eq 'F' ) { $res = $res . @out[1]; }
|
||||
if( substr( $format, $i, 1 ) eq 'H' ) {
|
||||
if( index( @out[1], "://" ) > 0 ) {
|
||||
$res = $res . @out[1];
|
||||
} else {
|
||||
$res = $res . substr( @out[1], rindex( @out[1], '/' ) + 1 );
|
||||
}
|
||||
}
|
||||
if( substr( $format, $i, 1 ) eq 'J' ) { $res = $res . @out[6]; }
|
||||
if( substr( $format, $i, 1 ) eq 'K' ) { $res = $res . @out[9]; }
|
||||
if( substr( $format, $i, 1 ) eq 'L' ) { $res = $res . @out[7]; }
|
||||
if( substr( $format, $i, 1 ) eq 'M' ) { $res = $res . @out[8]; }
|
||||
if( substr( $format, $i, 1 ) eq 'N' ) { $res = $res . @out[10]; }
|
||||
if( substr( $format, $i, 1 ) eq 'S' ) { $res = $res . @out[0]; }
|
||||
if( substr( $format, $i, 1 ) eq 'T' ) { $res = $res . @out[2]; }
|
||||
if( substr( $format, $i, 1 ) eq 'U' ) { $res = $res . @out[4]; }
|
||||
if( substr( $format, $i, 1 ) eq 'Y' ) { $res = $res . @out[11]; }
|
||||
if( substr( $format, $i, 1 ) eq 'Z' ) { $res = $res . @out[12]; }
|
||||
} else {
|
||||
$res = $res . substr( $format, $i, 1 );
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
return $res;
|
||||
}
|
||||
|
||||
sub moc {
|
||||
my $out;
|
||||
my $outType = weechat::get_plugin_config( "outputType" );
|
||||
if( length( $outType ) == 0 ) { $outType = 'i'; }
|
||||
if( length( $_[1] ) ) { $outType = $_[1]; }
|
||||
if( ( $outType ne 'i' ) && ( $outType ne 'o' ) && ( $outType ne 'ot' ) ) {
|
||||
weechat::print( "Bad parameter or default output type" );
|
||||
}
|
||||
$out = info();
|
||||
if( $outType eq 'i' ) { weechat::print( $out ); }
|
||||
if( $outType eq 'o' ) { weechat::command( $out ); }
|
||||
if( $outType eq 'ot' ) { weechat::command( "/me " . $out ); }
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
sub mocSetFormat {
|
||||
if( length( $_[1] ) ) {
|
||||
weechat::set_plugin_config( "outputFormat", $_[1] );
|
||||
} else {
|
||||
my $format = weechat::get_plugin_config( "outputFormat" );
|
||||
if( length( $format ) == 0 ) { $format = "is listening to %T ::: %H"; }
|
||||
weechat::print( "Current format is \"$format\"" );
|
||||
}
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
sub mocSetOutput {
|
||||
if( length( $_[1] ) ) {
|
||||
if( ( $_[1] eq 'i' ) || ( $_[1] eq 'o' ) || ( $_[1] eq 'ot' ) ) {
|
||||
weechat::set_plugin_config( "outputType", $_[1] );
|
||||
} else {
|
||||
weechat::print( "moc_set_command: bad parameter" );
|
||||
}
|
||||
} else {
|
||||
my $out = weechat::get_plugin_config( "outputType" );
|
||||
if( length( $out ) == 0 ) { $out = 'i'; }
|
||||
weechat::print( "Default output: $out" );
|
||||
}
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,241 @@
|
||||
#
|
||||
# Copyright (c) 2007 by FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
#
|
||||
# Display old topics for a channel.
|
||||
#
|
||||
# History:
|
||||
# 2007-03-29, FlashCode <flashcode@flashtux.org>:
|
||||
# initial release
|
||||
#
|
||||
|
||||
use strict;
|
||||
|
||||
my $version = "0.1";
|
||||
|
||||
my $plugin_help_options = "Plugins options (set with /setp):\n"
|
||||
." - perl.oldtopic.log_server: if on, displays all topic changes on server buffer\n"
|
||||
." - perl.oldtopic.max_topics: number of topics to keep for each channel "
|
||||
."(0 = do not keep any topics)";
|
||||
|
||||
# default values in setup file (~/.weechat/plugins.rc)
|
||||
my $default_log_server = "off";
|
||||
my $default_max_topics = "10";
|
||||
|
||||
# init script
|
||||
weechat::register("oldtopic", $version, "", "Display old topics for a channel");
|
||||
weechat::set_plugin_config("log_server", $default_log_server) if (weechat::get_plugin_config("log_server") eq "");
|
||||
weechat::set_plugin_config("max_topics", $default_max_topics) if (weechat::get_plugin_config("max_topics") eq "");
|
||||
|
||||
# message and command handlers
|
||||
weechat::add_message_handler("topic", "topic_msg");
|
||||
weechat::add_message_handler("332", "topic_332_msg");
|
||||
weechat::add_message_handler("333", "topic_333_msg");
|
||||
weechat::add_command_handler ("lasttopic", "lasttopic_cmd",
|
||||
"Display last topic for a channel (topic before current one)",
|
||||
"[channel]",
|
||||
"channel: channel name (default: current channel)\n\n"
|
||||
.$plugin_help_options,
|
||||
"%C");
|
||||
weechat::add_command_handler ("oldtopic", "oldtopic_cmd",
|
||||
"Display old topics for a channel",
|
||||
"[channel]",
|
||||
"channel: channel name (default: current channel)\n\n"
|
||||
.$plugin_help_options,
|
||||
"%C");
|
||||
|
||||
my %oldtopic;
|
||||
undef %oldtopic;
|
||||
|
||||
my %msg_332_topic;
|
||||
undef %msg_332_topic;
|
||||
|
||||
sub get_config
|
||||
{
|
||||
my $conf_log_server = weechat::get_plugin_config("log_server");
|
||||
$conf_log_server = $default_log_server if ($conf_log_server eq "");
|
||||
|
||||
my $conf_max = weechat::get_plugin_config("max_topics");
|
||||
$conf_max = $default_max_topics if ($conf_max eq "");
|
||||
$conf_max = 0 if ($conf_max < 0);
|
||||
|
||||
return ($conf_log_server, $conf_max);
|
||||
}
|
||||
|
||||
sub add_topic
|
||||
{
|
||||
my ($server, $channel, $nick, $topic, $topicdate, $conf_max) =
|
||||
($_[0], $_[1], $_[2], $_[3], $_[4], $_[5]);
|
||||
|
||||
my $time = $topicdate;
|
||||
$time = time() if ($time eq "");
|
||||
|
||||
$oldtopic{$server}{$channel}{$time}{"nick"} = $nick;
|
||||
$oldtopic{$server}{$channel}{$time}{"topic"} = $topic;
|
||||
my $numchan = scalar(keys(%{$oldtopic{$server}{$channel}}));
|
||||
if ($numchan > $conf_max)
|
||||
{
|
||||
my $diff = $numchan - $conf_max;
|
||||
my $count = 0;
|
||||
foreach my $date (sort keys %{$oldtopic{$server}{$channel}})
|
||||
{
|
||||
delete($oldtopic{$server}{$channel}{$date});
|
||||
$count++;
|
||||
last if ($count >= $diff);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# received when someone changes topic on a channel
|
||||
sub topic_msg
|
||||
{
|
||||
my $server = $_[0];
|
||||
my ($conf_log_server, $conf_max) = get_config();
|
||||
|
||||
if ($_[1] =~ /(.*) TOPIC (.*)/)
|
||||
{
|
||||
my $nick = $1;
|
||||
my $args = $2;
|
||||
my $nick = $1 if ($nick =~ /:?([^!]+)(!?.*)/);
|
||||
if ($args =~ /([\#\&\+\!][^ ]*) (.*)/)
|
||||
{
|
||||
my $channel = $1;
|
||||
my $topic = $2;
|
||||
$topic = $1 if ($topic =~ /:(.*)/);
|
||||
|
||||
if ($conf_log_server eq "on")
|
||||
{
|
||||
weechat::print("Topic on $channel changed by ${nick} to: \"${topic}\x0F\"",
|
||||
"", $server);
|
||||
}
|
||||
|
||||
if ($conf_max > 0)
|
||||
{
|
||||
add_topic($server, $channel, $nick, $topic, "", $conf_max);
|
||||
}
|
||||
else
|
||||
{
|
||||
delete($oldtopic{$server}{$channel});
|
||||
}
|
||||
}
|
||||
}
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
# topic for a channel (when joining channel)
|
||||
sub topic_332_msg
|
||||
{
|
||||
my $server = $_[0];
|
||||
|
||||
if ($_[1] =~ /(.*) 332 (.*)/)
|
||||
{
|
||||
my $args = $2;
|
||||
if ($args =~ /([\#\&\+\!][^ ]*) (.*)/)
|
||||
{
|
||||
my $channel = $1;
|
||||
my $topic = $2;
|
||||
$topic = $1 if ($topic =~ /:(.*)/);
|
||||
$msg_332_topic{$server}{$channel} = $topic;
|
||||
}
|
||||
}
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
# nick/date for topic (when joining channel, received after 332)
|
||||
sub topic_333_msg
|
||||
{
|
||||
my $server = $_[0];
|
||||
|
||||
if ($_[1] =~ /.* 333 .* ([\#\&\+\!][^ ]*) (.*) ([0-9]+)/)
|
||||
{
|
||||
my $channel = $1;
|
||||
my $nick = $2;
|
||||
my $date = $3;
|
||||
my ($conf_log_server, $conf_max) = get_config();
|
||||
add_topic($server, $channel, $nick,
|
||||
$msg_332_topic{$server}{$channel},
|
||||
$date, $conf_max);
|
||||
}
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
sub lasttopic_cmd
|
||||
{
|
||||
my $server = weechat::get_info("server");
|
||||
my $channel = weechat::get_info("channel");
|
||||
$channel = $_[1] if ($_[1] ne "");
|
||||
|
||||
if ($channel ne "")
|
||||
{
|
||||
my ($conf_log_server, $conf_max) = get_config();
|
||||
|
||||
delete($oldtopic{$server}{$channel}) if ($conf_max == 0);
|
||||
|
||||
my $count = 0;
|
||||
my $found = 0;
|
||||
foreach my $date (sort { $b <=> $a } keys %{$oldtopic{$server}{$channel}})
|
||||
{
|
||||
$count++;
|
||||
if ($count > 1)
|
||||
{
|
||||
$found = 1;
|
||||
weechat::print("Last topic for ${server}/${channel}: on ".localtime($date)." by ".
|
||||
$oldtopic{$server}{$channel}{$date}{"nick"}.": \"".
|
||||
$oldtopic{$server}{$channel}{$date}{"topic"}."\x0F\"");
|
||||
last;
|
||||
}
|
||||
}
|
||||
weechat::print("Last topic not found for channel ${server}/${channel}.") if ($found == 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat::print("Error: this buffer is not a channel.");
|
||||
}
|
||||
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
sub oldtopic_cmd
|
||||
{
|
||||
my $server = weechat::get_info("server");
|
||||
my $channel = weechat::get_info("channel");
|
||||
$channel = $_[1] if ($_[1] ne "");
|
||||
|
||||
if ($channel ne "")
|
||||
{
|
||||
my ($conf_log_server, $conf_max) = get_config();
|
||||
|
||||
delete($oldtopic{$server}{$channel}) if ($conf_max == 0);
|
||||
|
||||
my $found = 0;
|
||||
foreach my $date (sort keys %{$oldtopic{$server}{$channel}})
|
||||
{
|
||||
$found = 1;
|
||||
weechat::print("Topic for ${server}/${channel} on ".localtime($date)." by ".
|
||||
$oldtopic{$server}{$channel}{$date}{"nick"}.": \"".
|
||||
$oldtopic{$server}{$channel}{$date}{"topic"}."\x0F\"");
|
||||
}
|
||||
weechat::print("No old topic for channel ${server}/${channel}.") if ($found == 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat::print("Error: this buffer is not a channel.");
|
||||
}
|
||||
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
#
|
||||
# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
#
|
||||
# Play a sound when highlighted/private msg, or for ctcp sound event.
|
||||
#
|
||||
# History:
|
||||
#
|
||||
# 2006-05-30, FlashCode <flashcode@flashtux.org>:
|
||||
# added plugin options for commands
|
||||
# 2004-10-01, FlashCode <flashcode@flashtux.org>:
|
||||
# initial release
|
||||
#
|
||||
|
||||
use strict;
|
||||
|
||||
my $version = "0.3";
|
||||
my $command_suffix = " >/dev/null 2>&1 &";
|
||||
|
||||
# default values in setup file (~/.weechat/plugins.rc)
|
||||
my $default_cmd_highlight = "alsaplay -i text ~/sound_highlight.wav";
|
||||
my $default_cmd_pv = "alsaplay -i text ~/sound_pv.wav";
|
||||
my $default_cmd_ctcp = "alsaplay -i text \$filename";
|
||||
|
||||
weechat::register("Sound", $version, "", "Sound for highlights/privates & CTCP sound events");
|
||||
weechat::set_plugin_config("cmd_highlight", $default_cmd_highlight) if (weechat::get_plugin_config("cmd_highlight") eq "");
|
||||
weechat::set_plugin_config("cmd_pv", $default_cmd_pv) if (weechat::get_plugin_config("cmd_pv") eq "");
|
||||
weechat::set_plugin_config("cmd_ctcp", $default_cmd_ctcp) if (weechat::get_plugin_config("cmd_ctcp") eq "");
|
||||
|
||||
weechat::add_message_handler("PRIVMSG", "sound");
|
||||
weechat::add_message_handler("weechat_highlight", "highlight");
|
||||
weechat::add_message_handler("weechat_pv", "pv");
|
||||
weechat::add_command_handler("sound", "sound_cmd");
|
||||
|
||||
sub sound
|
||||
{
|
||||
my $server = $_[0];
|
||||
if ($_[1] =~ /(.*) PRIVMSG (.*)/)
|
||||
{
|
||||
my ($host, $msg) = ($1, $2);
|
||||
if ($host ne "localhost")
|
||||
{
|
||||
if ($msg =~ /\001SOUND ([^ ]*)\001/)
|
||||
{
|
||||
my $filename = $1;
|
||||
my $command = weechat::get_plugin_config("cmd_ctcp");
|
||||
$command =~ s/(\$\w+)/$1/gee;
|
||||
system($command.$command_suffix);
|
||||
}
|
||||
}
|
||||
}
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
sub highlight
|
||||
{
|
||||
my $command = weechat::get_plugin_config("cmd_highlight");
|
||||
system($command.$command_suffix);
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
sub pv
|
||||
{
|
||||
my $command = weechat::get_plugin_config("cmd_pv");
|
||||
system($command.$command_suffix);
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
|
||||
sub sound_cmd
|
||||
{
|
||||
if ($#_ == 1)
|
||||
{
|
||||
my $filename = $_[1].".wav";
|
||||
my $command = weechat::get_plugin_config("cmd_ctcp");
|
||||
$command =~ s/(\$\w+)/$1/gee;
|
||||
system($command.$command_suffix);
|
||||
weechat::command("/quote PRIVMSG ".weechat::get_info("channel")." :\001SOUND $filename\001") if (@_);
|
||||
}
|
||||
return weechat::PLUGIN_RC_OK;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user