mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 03:46:39 +02:00
Compare commits
64 Commits
v0.3.0-rc2
...
v0.3.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 70916a0342 | |||
| 40f7bbd590 | |||
| ca3114d2bb | |||
| b907f6b3b1 | |||
| 03ea436639 | |||
| ae047756eb | |||
| 0ef168d29d | |||
| babf5a8c9b | |||
| d8886cdbe6 | |||
| 2bf4163617 | |||
| 07d490f045 | |||
| aca9eb02c3 | |||
| 23f0d7eda7 | |||
| a83dd82c90 | |||
| 005bf6d311 | |||
| 8359a09727 | |||
| 5c4077f184 | |||
| 6a327227ce | |||
| f9b0a50aea | |||
| b0fe6e7f21 | |||
| 6b9cb34a09 | |||
| d2ec2482d6 | |||
| 88b65fe3c2 | |||
| d0b3d4fffe | |||
| db4f20c1f1 | |||
| 02763ca7e7 | |||
| ec124e90c7 | |||
| 4d002bb4b7 | |||
| 77fa0c4b9e | |||
| 2487d8a58e | |||
| 6fd5448a52 | |||
| a14815bbab | |||
| 25b9f1d714 | |||
| 24432e78e0 | |||
| a7d037d384 | |||
| 4b0b0869a4 | |||
| 17a66da648 | |||
| 1691b3060c | |||
| 14966acaf2 | |||
| 508398f7c5 | |||
| 36b870f32a | |||
| 9508953b8e | |||
| 859f6db87b | |||
| acef147775 | |||
| 7d0e5edc9a | |||
| 9038aef953 | |||
| 7d25b62665 | |||
| ffdba5b248 | |||
| b7b4a7093e | |||
| 7e94691333 | |||
| 3562143b51 | |||
| 5563924363 | |||
| 5139fdcf2a | |||
| 232804f293 | |||
| 57064f4b1c | |||
| 9839d030a1 | |||
| c9e6b1bb83 | |||
| a854e28c3d | |||
| 87e9c6476b | |||
| 00ca4f0d36 | |||
| 05deb6356a | |||
| 12a5b5f82b | |||
| c7ec4233a0 | |||
| 9000bac5b5 |
@@ -7,7 +7,7 @@ Developers
|
||||
* General code
|
||||
|
||||
** FlashCode <flashcode@flashtux.org>
|
||||
*** Web: http://weechat.flashtux.org/
|
||||
*** Web: http://www.weechat.org/
|
||||
*** IRC: 'FlashCode' on irc.freenode.net
|
||||
|
||||
|
||||
|
||||
+5
-2
@@ -28,7 +28,7 @@ ENDIF(PREFIX)
|
||||
|
||||
SET(VERSION_MAJOR "0")
|
||||
SET(VERSION_MINOR "3")
|
||||
SET(VERSION_PATCH "0-rc2")
|
||||
SET(VERSION_PATCH "0")
|
||||
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
||||
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
|
||||
@@ -59,7 +59,10 @@ OPTION(DISABLE_TCL "Disable Tcl scripting language")
|
||||
OPTION(DISABLE_XFER "Disable Xfer plugin (file transfer and direct chat)")
|
||||
OPTION(DISABLE_DOC "Disable Doc")
|
||||
|
||||
ADD_SUBDIRECTORY( po )
|
||||
IF(NOT DISABLE_NLS)
|
||||
ADD_SUBDIRECTORY( po )
|
||||
ENDIF(NOT DISABLE_NLS)
|
||||
|
||||
ADD_SUBDIRECTORY( src )
|
||||
ADD_SUBDIRECTORY( doc )
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
v0.3.0-dev, 2009-06-14
|
||||
v0.3.0, 2009-09-06
|
||||
|
||||
|
||||
Version 0.3.0 (under dev!)
|
||||
Version 0.3.0 (2009-09-06)
|
||||
--------------------------
|
||||
|
||||
* irc: add irc plugin (replaces old IRC code in core) (task #6217)
|
||||
|
||||
+4
-1
@@ -38,9 +38,12 @@ EXTRA_DIST = CMakeLists.txt \
|
||||
cmake/FindSourcehighlight.cmake \
|
||||
cmake/FindTCL.cmake \
|
||||
cmake/makedist.sh.in \
|
||||
po/CMakeLists.txt \
|
||||
po/srcfiles.cmake \
|
||||
weechat.spec \
|
||||
weechat_icon_32.png \
|
||||
weechat.pc.in
|
||||
weechat.pc.in \
|
||||
UPGRADE_0.3
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
WeeChat News
|
||||
============
|
||||
|
||||
FlashCode, 2009-09-06::
|
||||
WeeChat 0.3.0 released.
|
||||
+
|
||||
This version brings major changes, especially for configuration files
|
||||
and plugin API.
|
||||
+
|
||||
For more information about this version, please read file UPGRADE_0.3.
|
||||
|
||||
FlashCode, 2009-06-13::
|
||||
WeeChat 0.2.6.3 released.
|
||||
+
|
||||
|
||||
@@ -13,7 +13,7 @@ Features
|
||||
* chat client with multi-protocols/servers connection
|
||||
* many GUI (curses, Gtk, Qt) (1)
|
||||
* small, fast and very light
|
||||
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua)
|
||||
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl)
|
||||
* compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813
|
||||
* developed from scratch
|
||||
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other) (2)
|
||||
|
||||
+83
@@ -0,0 +1,83 @@
|
||||
WeeChat Upgrade to 0.3.x
|
||||
========================
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
v0.3.0, 2009-09-06
|
||||
|
||||
|
||||
This document lists major changes introduced in version 0.3.0 and not compatible
|
||||
with versions 0.2.x.
|
||||
|
||||
|
||||
Upgrade to version 0.3.x
|
||||
------------------------
|
||||
|
||||
It is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x.
|
||||
You have to quit your old WeeChat, then run new version.
|
||||
|
||||
Of course, command `/upgrade` is working fine once you'll be with 0.3.x to
|
||||
upgrade to another 0.3.x (unless this command is broken again, please look
|
||||
at release notes (file 'NEWS') for version you're currently installing).
|
||||
|
||||
|
||||
Configuration files
|
||||
-------------------
|
||||
|
||||
Changes with previous versions
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
New configuration files (`*.conf`) are not compatible with old files (`*.rc`).
|
||||
|
||||
Name of options is similar to old versions, but there is now one configuration
|
||||
file by plugin, and one file for WeeChat core.
|
||||
|
||||
There is *no automatic conversion* for your old options to new configuration files,
|
||||
so you'll have to setup again your IRC servers and all other options.
|
||||
|
||||
In WeeChat, option names are now with format: `plugin.section.option` (for
|
||||
WeeChat core, `plugin` is `weechat`).
|
||||
|
||||
Examples:
|
||||
|
||||
* WeeChat options: `weechat.xxx.yyy`
|
||||
* IRC options: `irc.xxx.yyy`
|
||||
|
||||
You should read quickstart guide to be familiar with basic commands and syntax
|
||||
(some commands like `/server` have changed): http://www.weechat.org/doc
|
||||
|
||||
|
||||
List of configuration files
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* Old configuration files:
|
||||
** weechat.rc
|
||||
** plugins.rc
|
||||
* New configuration files are now (with default plugins):
|
||||
** weechat.conf
|
||||
** alias.conf
|
||||
** aspell.conf
|
||||
** charset.conf
|
||||
** irc.conf
|
||||
** jabber.conf
|
||||
** logger.conf
|
||||
** plugins.conf
|
||||
** relay.conf
|
||||
** xfer.conf
|
||||
|
||||
|
||||
Plugin API
|
||||
----------
|
||||
|
||||
Plugin API has been rewritten and is not compatible with previous versions.
|
||||
Accordingly, scripts and plugins must have been designed for version 0.3.x to
|
||||
be loaded into WeeChat.
|
||||
|
||||
There is no migration script today to convert old script to new API.
|
||||
Therefore, if you plan to use old script, you'll have to wait for new version
|
||||
or you can convert script yourself and send us new version ;)
|
||||
|
||||
You can download scripts for new API on plugins page:
|
||||
http://www.weechat.org/plugins
|
||||
|
||||
More information about new API is available on wiki:
|
||||
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
|
||||
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
|
||||
+30
-46
@@ -18,10 +18,10 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.56)
|
||||
AC_INIT(WeeChat, 0.3.0-rc2, flashcode@flashtux.org)
|
||||
AC_INIT(WeeChat, 0.3.0, flashcode@flashtux.org)
|
||||
AC_CONFIG_SRCDIR([src/core/weechat.c])
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AM_INIT_AUTOMAKE([weechat], [0.3.0-rc2])
|
||||
AM_INIT_AUTOMAKE([weechat], [0.3.0])
|
||||
|
||||
# Checks for programs
|
||||
AC_PROG_CC
|
||||
@@ -155,7 +155,7 @@ if test "$LIBDL_FOUND" != "yes"; then
|
||||
fi
|
||||
if test "$LIBDL_FOUND" != "yes"; then
|
||||
AC_MSG_ERROR([
|
||||
*** "dl" library (dynamic library loader) couldn't be found in your system.
|
||||
*** "dl" library (dynamic library loader) couldn't be found on your system.
|
||||
*** Try to install it with your software package manager.])
|
||||
fi
|
||||
AC_SUBST(PLUGINS_LFLAGS)
|
||||
@@ -266,7 +266,7 @@ fi
|
||||
|
||||
if test "x$iconv_found" = "xno" ; then
|
||||
AC_MSG_ERROR([
|
||||
*** Iconv headers and/or libraries couldn't be found in your system.
|
||||
*** Iconv headers and/or libraries couldn't be found on your system.
|
||||
*** Try to install them with your software package manager.
|
||||
*** WeeChat can't be built without Iconv support.])
|
||||
fi
|
||||
@@ -308,7 +308,7 @@ if test "x$enable_aspell" = "xyes" ; then
|
||||
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.
|
||||
*** Aspell headers and/or libraries couldn't be found on your system.
|
||||
*** Try to install them with your software package manager.
|
||||
*** WeeChat will be built without Aspell support.])
|
||||
enable_aspell="no"
|
||||
@@ -424,7 +424,7 @@ if test "x$enable_perl" = "xyes" ; then
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
AC_MSG_WARN([
|
||||
*** Perl library couldn't be found in your system.
|
||||
*** Perl library couldn't be found on your system.
|
||||
*** Try to install it with your software package manager.
|
||||
*** WeeChat will be built without Perl support.])
|
||||
enable_perl="no"
|
||||
@@ -432,7 +432,7 @@ if test "x$enable_perl" = "xyes" ; then
|
||||
fi
|
||||
else
|
||||
AC_MSG_WARN([
|
||||
*** Perl headers couldn't be found in your system.
|
||||
*** Perl headers couldn't be found on your system.
|
||||
*** Try to install it with your software package manager.
|
||||
*** WeeChat will be built without Perl support.])
|
||||
enable_perl="no"
|
||||
@@ -485,7 +485,7 @@ if test "x$enable_python" = "xyes" ; then
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
AC_MSG_WARN([
|
||||
*** Python library couldn't be found in your system.
|
||||
*** Python library couldn't be found on your system.
|
||||
*** Try to install it with your software package manager.
|
||||
*** WeeChat will be built without Python support.])
|
||||
enable_python="no"
|
||||
@@ -493,7 +493,7 @@ if test "x$enable_python" = "xyes" ; then
|
||||
fi
|
||||
else
|
||||
AC_MSG_WARN([
|
||||
*** Python header files couldn't be found in your system.
|
||||
*** Python header files couldn't be found on your system.
|
||||
*** Try to install them with your software package manager.
|
||||
*** WeeChat will be built without Python support.])
|
||||
enable_python="no"
|
||||
@@ -531,7 +531,7 @@ if test "x$enable_ruby" = "xyes" ; then
|
||||
RUBY_CFLAGS="-I$RUBY_INCLUDE"
|
||||
else
|
||||
AC_MSG_WARN([
|
||||
*** Ruby header files couldn't be found in your system.
|
||||
*** Ruby header files couldn't be found on your system.
|
||||
*** Try to install them with your software package manager.
|
||||
*** WeeChat will be built without Ruby support.])
|
||||
enable_ruby="no"
|
||||
@@ -650,7 +650,7 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
if test "x$LUA_TEST" != "x0" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** Lua (>=5.0) headers and/or librairies couldn't be found in your system.
|
||||
*** Lua (>=5.0) headers and/or librairies couldn't be found on 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"
|
||||
@@ -673,49 +673,31 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
fi
|
||||
|
||||
# --------------------------------- tcl -------------------------------------
|
||||
|
||||
TCL_VERSION=
|
||||
|
||||
if test "x$enable_tcl" = "xyes" ; then
|
||||
enable_plugins="yes"
|
||||
|
||||
AC_PATH_PROGS(TCL, tclsh tclsh8.5 tclsh8.4)
|
||||
if test -z $TCL ; then
|
||||
AC_MSG_CHECKING(for tclConfig.sh)
|
||||
tcl_found="no"
|
||||
tcl_dirs="/lib /usr/lib /usr/tcl/lib /usr/lib/tcl8.5 /usr/lib/tcl8.4 /usr/lib/tcl8.3 /usr/local/lib /usr/local/tcl-8.5/lib /usr/local/tcl-8.4/lib /usr/local/tcl-8.3/lib /usr/local/tcl/lib /opt/lib"
|
||||
for tcl_dir in $tcl_dirs ; do
|
||||
if test -f ${tcl_dir}/tclConfig.sh ; then
|
||||
. ${tcl_dir}/tclConfig.sh
|
||||
TCL_CFLAGS="-I${TCL_PREFIX}/include $TCL_INCLUDE_SPEC"
|
||||
TCL_LFLAGS="$TCL_LIB_SPEC $TCL_LIBS"
|
||||
tcl_found="yes"
|
||||
AC_MSG_RESULT(${tcl_dir}/tclConfig.sh)
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test "x$tcl_found" = "xno" ; then
|
||||
AC_MSG_WARN([
|
||||
*** Tcl must be installed on your system but tcl interpreter couldn't be found in path.
|
||||
*** Please check that tclsh is in path, or install it with your software package manager.
|
||||
*** Script tclConfig.sh couldn't be found on your system.
|
||||
*** WeeChat will be built without Tcl support.])
|
||||
enable_tcl="no"
|
||||
not_found="$not_found tcl"
|
||||
else
|
||||
TCL_VERSION=`echo 'puts $tcl_version' | $TCL`
|
||||
TCL_PATCHLEVEL=`echo 'puts $tcl_patchLevel' | $TCL`
|
||||
|
||||
AC_MSG_CHECKING(for Tcl headers files)
|
||||
TCL_HEADER_TEST=`TT=tcltest.c ; echo "#include <tcl.h>" > $TT; echo "int main() { return 0; }" >> $TT ; $CC -Wall $TT -o $TT.out 1>/dev/null 2>&1; echo $?; rm -f $TT $TT.out 1>/dev/null 2>&1`
|
||||
if test "x$TCL_HEADER_TEST" = "x0" ; then
|
||||
TCL_CFLAGS="-fPIC"
|
||||
AC_MSG_RESULT(found)
|
||||
AC_MSG_CHECKING(for Tcl library)
|
||||
TCL_LIB_TEST=`TT=tcltest.c ; echo "int main() { return 0; }" > $TT ; $CC -Wall $TT -o $TT.out -ltcl$TCL_VERSION 1>/dev/null 2>&1; echo $?; rm -f $TT $TT.out 1>/dev/null 2>&1`
|
||||
if test "x$TCL_LIB_TEST" = "x0" ; then
|
||||
TCL_LFLAGS="-ltcl$TCL_VERSION -ldl -export-dynamic"
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
AC_MSG_WARN([
|
||||
*** Tcl library couldn't be found in your system.
|
||||
*** Try to install it with your software package manager.
|
||||
*** WeeChat will be built without Tcl support.])
|
||||
enable_tcl="no"
|
||||
not_found="$not_found tcl"
|
||||
fi
|
||||
else
|
||||
AC_MSG_WARN([
|
||||
*** Tcl headers couldn't be found in your system.
|
||||
*** Try to install it with your software package manager.
|
||||
*** WeeChat will be built without Tcl support.])
|
||||
enable_tcl="no"
|
||||
not_found="$not_found tcl"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -957,6 +939,8 @@ AC_OUTPUT([Makefile
|
||||
doc/Makefile
|
||||
doc/en/Makefile
|
||||
doc/fr/Makefile
|
||||
doc/pl/Makefile
|
||||
doc/de/Makefile
|
||||
src/Makefile
|
||||
src/core/Makefile
|
||||
src/plugins/Makefile
|
||||
@@ -1045,7 +1029,7 @@ if test "x$enable_lua" = "xyes"; then
|
||||
listplugins="$listplugins lua($LUA_VERSION)"
|
||||
fi
|
||||
if test "x$enable_tcl" = "xyes"; then
|
||||
listplugins="$listplugins tcl($TCL_PATCHLEVEL)"
|
||||
listplugins="$listplugins tcl($TCL_VERSION)"
|
||||
fi
|
||||
if test "x$enable_xfer" = "xyes"; then
|
||||
listplugins="$listplugins xfer"
|
||||
|
||||
Vendored
+7
-5
@@ -1,7 +1,9 @@
|
||||
weechat (0.1.6-1) unstable; urgency=low
|
||||
weechat (0.3.0~rc3-1) experimental; urgency=low
|
||||
|
||||
* This release introduces some incompatible changes with old scripts
|
||||
and locale support, you can read the upstream NEWS file for more
|
||||
information.
|
||||
This release introduces major changes. Large part of code was
|
||||
rewritten without keeping compatibility with older versions.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Fri, 11 Nov 2005 20:45:46 +0100
|
||||
Please refer to the file /usr/share/doc/weechat-core/UPGRADE_0.3
|
||||
for more informations on upgrade from a version 0.2.x to 0.3.x.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 09 Aug 2009 14:38:50 +0000
|
||||
|
||||
Vendored
+56
-12
@@ -1,20 +1,64 @@
|
||||
weechat (0.3.0-1) experimental; urgency=low
|
||||
weechat (0.3.0~rc3-1) experimental; urgency=low
|
||||
|
||||
* New (major) upstream release.
|
||||
- Fix the excessive number of wakeups (Closes: #461945)
|
||||
* Remove patches (merged upstream).
|
||||
* Update debian/copyright: add new copyright holder.
|
||||
* Packaging changes:
|
||||
- Drop weechat-common
|
||||
- Add weechat-doc (Documentation)
|
||||
- Add weechat-core (locales files, essential plugins)
|
||||
- Add weechat-dbg (gdb debugging symbols)
|
||||
- Add weechat-dev (plugins developement files)
|
||||
* Adjust Build-Depends for new tcl plugin (update debian/copyright).
|
||||
* Remove quilt from Build-Depends (patches merged upstream).
|
||||
* Switch packaging from cdbs to plain debhelper.
|
||||
- Drop weechat-common
|
||||
- Add weechat-doc (Documentation)
|
||||
- Add weechat-core (locales files, essential plugins)
|
||||
- Add weechat-dev (plugins development files)
|
||||
- Add weechat-dbg (gdb debugging symbols)
|
||||
* Switch packaging from cdbs to debhelper 7.
|
||||
* Update packages descriptions.
|
||||
* Add a lintian-override against manpage line wrapping error.
|
||||
* Update Standards-Version to 3.8.2.
|
||||
* Add file UPGRADE_0.3 to doc files.
|
||||
* Update debian/NEWS about major changes in this release.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Fri, 08 May 2009 13:36:39 +0000
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 09 Aug 2009 06:42:45 +0000
|
||||
|
||||
weechat (0.2.6.3-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
- drop the usage of the deprecated libgnutls-config script to detect
|
||||
gnutls (Closes: #529912).
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sat, 13 Jun 2009 21:47:56 +0000
|
||||
|
||||
weechat (0.2.6.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Add a patch which fix typos in aspell plugin.
|
||||
* Refresh patch multiple_ip_servers according to the new upstream release.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 19 Apr 2009 10:23:26 +0000
|
||||
|
||||
weechat (0.2.6.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release which includes a fix against a possible remote
|
||||
Denial of Service (crash) while receiving messages with special chars
|
||||
(Closes: #519940).
|
||||
* Refresh patch multiple_ip_servers according to the new upstream release.
|
||||
* Update Standards-Version to 3.8.1.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Mon, 16 Mar 2009 13:18:29 +0000
|
||||
|
||||
weechat (0.2.6-3) unstable; urgency=low
|
||||
|
||||
* Add a patch to make weechat try to connect other server IPs
|
||||
when the first one failed. Thanks to Lionel Elie Mamane for
|
||||
his patch (Closes: #498610).
|
||||
* Rename patch 01_perlembed_init_macros to perlembed_init_macros.
|
||||
* Update debian/control:
|
||||
- add ${misc:Depends}
|
||||
- update descriptions
|
||||
* Update debian/copyright about debian packaging.
|
||||
* Add Vcs-Browser and Vcs-Git fields in debian/control.
|
||||
* Add DM-Upload-Allowed field.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sat, 21 Feb 2009 18:34:08 +0000
|
||||
|
||||
weechat (0.2.6-2) unstable; urgency=low
|
||||
|
||||
@@ -28,14 +72,14 @@ weechat (0.2.6-2) unstable; urgency=low
|
||||
* Reformat NEWS file to avoid lintian warnings.
|
||||
* Fix typos in control file.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 30 Nov 2008 16:38:54 +0100
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 07 Sep 2008 19:39:42 +0000
|
||||
|
||||
weechat (0.2.6-1) unstable; urgency=low
|
||||
|
||||
* New Upstream Version
|
||||
* Switch to GPLv3 (update copyright)
|
||||
* Update menu entry
|
||||
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Thu, 06 Sep 2007 20:10:26 +0200
|
||||
|
||||
weechat (0.2.5-1) unstable; urgency=low
|
||||
|
||||
Vendored
+15
-11
@@ -2,12 +2,15 @@ Source: weechat
|
||||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: Emmanuel Bouthenot <kolter@openics.org>
|
||||
Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml
|
||||
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
|
||||
ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
|
||||
tcl-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config
|
||||
Standards-Version: 3.8.1
|
||||
Homepage: http://weechat.flashtux.org/
|
||||
tcl-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config, asciidoc (>= 8.4),
|
||||
source-highlight
|
||||
Standards-Version: 3.8.2
|
||||
Homepage: http://www.weechat.org/
|
||||
Vcs-Git: git://git.debian.org/users/kolter-guest/weechat.git
|
||||
Vcs-Browser: http://git.debian.org/git/users/kolter-guest/weechat.git
|
||||
DM-Upload-Allowed: yes
|
||||
|
||||
Package: weechat
|
||||
Architecture: all
|
||||
@@ -27,6 +30,7 @@ Description: Fast, light and extensible chat client
|
||||
Package: weechat-curses
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-core (= ${binary:Version})
|
||||
Conflicts: weechat-common
|
||||
Recommends: weechat-plugins (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - console client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
@@ -45,30 +49,30 @@ Description: Fast, light and extensible chat client - console client
|
||||
Package: weechat-core
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Replaces: weechat-common, weechat-plugins (<< 0.3.0)
|
||||
Suggests: weechat-doc (= ${source:Version})
|
||||
Conflicts: weechat-common, weechat-plugins (<< 0.3.0)
|
||||
Description: Fast, light and extensible chat client - core files
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides core plugins and locales files for WeeChat. It
|
||||
currently ships the following plugins: xfer, notify, irc, charset and
|
||||
currently ships the following plugins: alias, xfer, irc, charset and
|
||||
logger. It is useless without weechat-curses.
|
||||
|
||||
Package: weechat-plugins
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
||||
Suggests: weechat-scripts
|
||||
Breaks: weechat-scripts (<= 20090221-1)
|
||||
Suggests: weechat-scripts (>> 20090221-1)
|
||||
Description: Fast, light and extensible chat client - plugins
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides some plugins to enhance WeeChat. It currently
|
||||
ships the following plugins:
|
||||
- Perl, Python, Ruby, Lua, and Tcl scripting.
|
||||
- Spell checking (thanks to aspell).
|
||||
- Charsets management
|
||||
- And many others (Relay, Fifo, ...)
|
||||
- Perl, Python, Ruby, Lua, and Tcl scripting
|
||||
- Spell checking (thanks to aspell)
|
||||
- And many others (Fifo, ...)
|
||||
|
||||
Package: weechat-doc
|
||||
Section: doc
|
||||
|
||||
Vendored
+8
-5
@@ -1,13 +1,12 @@
|
||||
This package was debianized by FlashCode <flashcode@flashtux.org> on
|
||||
Sat, 21 May 2005 08:00:00 +0200.
|
||||
|
||||
It was downloaded from http://weechat.flashtux.org/download
|
||||
It was downloaded from http://www.weechat.org/files/src/
|
||||
|
||||
Copyright:
|
||||
(2003) FlashCode <flashcode@flashtux.org>
|
||||
Emmanuel Bouthenot <kolter@openics.org>
|
||||
(2008) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
|
||||
|
||||
Copyright (C) (2003-2009) FlashCode <flashcode@flashtux.org>
|
||||
Copyright (C) (2005-2009) Emmanuel Bouthenot <kolter@openics.org>
|
||||
Copyright (C) (2008-2009) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
|
||||
|
||||
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
|
||||
@@ -17,3 +16,7 @@ your option) any later version.
|
||||
On Debian systems, the complete text of the GNU General Public
|
||||
License, Version 3 can be found in the file
|
||||
/usr/share/common-licenses/GPL-3
|
||||
|
||||
Debian packaging (licenced under the GPLv3):
|
||||
Copyright(C) 2005-2008, Julien Louis <ptitlouis@sysif.net>
|
||||
Copyright(C) 2008-2009, Emmanuel Bouthenot <kolter@openics.org>
|
||||
|
||||
Vendored
+6
-6
@@ -4,12 +4,12 @@ builddir/Makefile:
|
||||
mkdir -p builddir
|
||||
cd builddir && \
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_C_FLAGS="$(CFLAGS)" \
|
||||
-DCMAKE_LD_FLAGS="-Wl,-z,defs" \
|
||||
-DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON
|
||||
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
|
||||
-DCMAKE_C_FLAGS:STRING="$(CFLAGS)" \
|
||||
-DCMAKE_LD_FLAGS:STRING="-Wl,-z,defs" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$(CXXFLAGS)" \
|
||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||
|
||||
build: build-stamp
|
||||
build-stamp: builddir/Makefile
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
version=2
|
||||
http://weechat.flashtux.org/download/weechat-(\d.*)\.tar\.bz2
|
||||
http://www.weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
AUTHORS
|
||||
NEWS
|
||||
README
|
||||
UPGRADE_0.3
|
||||
|
||||
@@ -21,6 +21,8 @@ IF(NOT DISABLE_DOC)
|
||||
IF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
|
||||
ADD_SUBDIRECTORY( en )
|
||||
ADD_SUBDIRECTORY( fr )
|
||||
ADD_SUBDIRECTORY( pl )
|
||||
ADD_SUBDIRECTORY( de )
|
||||
ENDIF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
|
||||
|
||||
ENDIF(NOT DISABLE_DOC)
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
SUBDIRS = . en fr
|
||||
SUBDIRS = . en fr pl de
|
||||
|
||||
man_MANS = weechat-curses.1
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
# Copyright (c) 2003-2009 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 3 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, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# quickstart
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc_title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
|
||||
COMMENT "Building weechat_quickstart.de.html"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION share/doc/${PROJECT_NAME})
|
||||
@@ -0,0 +1,37 @@
|
||||
# Copyright (c) 2003-2009 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 3 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, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_quickstart.de.txt
|
||||
|
||||
all-local: weechat_quickstart.de.html
|
||||
|
||||
# quickstart
|
||||
weechat_quickstart.de.html: weechat_quickstart.de.txt
|
||||
$(ASCIIDOC) -a toc -a toc_title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_quickstart.de.html weechat_quickstart.de.txt
|
||||
|
||||
# install docs
|
||||
|
||||
install-data-hook:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)/
|
||||
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
|
||||
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
-rm -f *.html
|
||||
@@ -0,0 +1,265 @@
|
||||
WeeChat Quick Start Guide
|
||||
=========================
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
|
||||
|
||||
[[start]]
|
||||
Start von WeeChat
|
||||
-----------------
|
||||
|
||||
Der bevorzugte Terminal-Emulator für X (aber nicht obligatorisch) ist
|
||||
rxvt-unicode (er hat eine gute Unterstützung für UTF-8 und keine Probleme mit der
|
||||
Standard Tastaturbelegung).
|
||||
|
||||
Starte "weechat-curses" aus Deiner shell.
|
||||
|
||||
|
||||
[[help_options]]
|
||||
Online-Hilfe / Optionen
|
||||
-----------------------
|
||||
|
||||
WeeChat enthält Hilfetexte für alle Befehle, erreichbar über `/help`.
|
||||
Um Hilfe zu einen bestimmten Befehl zu bekommen kann man einfach `/help Befehl`
|
||||
ausführen.
|
||||
|
||||
Um Optionen zu setzen benutzt man `/set config.section.option value`.
|
||||
(dabei ist 'config' der Konfigurationsname ('weechat' für den Kern von weechat,
|
||||
oder ein Plugin-Name), 'section' ein Abschnitt dieser Konfiguration und 'option'
|
||||
der Name der Option).
|
||||
|
||||
WeeChat benutzt den neuen Wert sofort (*Niemals* muss WeeChat neu gestartet
|
||||
werden nach dem die Konfiguration geändert wurde).
|
||||
|
||||
Du kannst die Option `/set` mit teilweise ausgeschriebenen Namen und dem
|
||||
Platzhalter "*" am Beginn oder Ende verwenden um alle Optionen anzuzeigen, die
|
||||
die Zeichenkette enthalten.
|
||||
|
||||
Zum Beispiel:
|
||||
|
||||
`/set`::
|
||||
Anzeige aller Optionen (WeeChat und Plugins)
|
||||
|
||||
`/set weechat.*`::
|
||||
Anzeige der WeeChat Optionen
|
||||
|
||||
`/set irc.*`::
|
||||
Anzeige der Optionen des IRC-Plugins
|
||||
|
||||
Du kannst mit `/help` Hilfe für Optionen auflisten lassen, z.B.:
|
||||
`/help weechat.look.highlight`.
|
||||
|
||||
Beim beenden von WeeChat werden alle Einstellungen gespeichert (mittels `/save`
|
||||
kann das Schreiben der Optionen erzwungen werden).
|
||||
|
||||
Konfigurations-Dateien (*.conf) können auch per Hand editiert und mit dem Befehl
|
||||
`/reload` neu eingelesen werden (falls man z.B. den `/set` Befehl nicht
|
||||
verwenden möchte).
|
||||
|
||||
|
||||
[[core_vs_plugins]]
|
||||
Kern (Core) vs Plugins
|
||||
----------------------
|
||||
|
||||
Der Kern (core) von WeeChat ist ausschließlich dazu da, Daten auf dem Bildschirm
|
||||
darzustellen um mit dem Benutzer zu interagieren, dies bedeutet, WeeChat an sich
|
||||
-also nur WeeChat core- ohne jegliche Plugins ist unbrauchbar.
|
||||
(an die treuen User: IRC war ein Teil des Kerns bei Versionen <= 0.2.6)
|
||||
|
||||
Alle Netzwerkprotokolle, z.B. IRC, werden als separates Plugin bereit gestellt.
|
||||
|
||||
Benutze den Befehl `/plugin` um alle Plugins aufzulisten, "irc" sowie andere
|
||||
Plugins sollten aufgelistet werden.
|
||||
|
||||
|
||||
[[create_irc_server]]
|
||||
Einen IRC-Server erstellen
|
||||
--------------------------
|
||||
|
||||
Du kannst einen IRC-Server mit dem Befehl `/server` hinzufügen, z.B.:
|
||||
|
||||
/server add oftc irc.oftc.org/6667
|
||||
|
||||
Wie immer, wenn Du nicht mehr weiter weißt, kannst Du mit `/help server` Hilfe
|
||||
erlangen.
|
||||
|
||||
|
||||
[[irc_server_options]]
|
||||
Setzen eigener IRC-Server Optionen
|
||||
----------------------------------
|
||||
|
||||
WeeChat verwendet Vorgabewerte für alle Server (so genannte "fall backs") falls
|
||||
Du keine eigenen Werte für entsprechende Server-Optionen bestimmst.
|
||||
Diese Vorgabeoptionen sind "irc.server_default.*".
|
||||
|
||||
Für jede Server-Option benutzt WeeChat den entsprechend gesetzten Wert - falls
|
||||
definiert (nicht "null"). Andernfalls verwendet WeeChat Vorgabewerte
|
||||
("irc.server_default.xxx").
|
||||
|
||||
Als Beispiel erwähnt seien die Vorgabe (default) nicks, die auf dem Un*x Login
|
||||
basieren. Diese können nun für oftc-Server mittels folgendem Befehl
|
||||
überschrieben werden:
|
||||
|
||||
/set irc.server.oftc.nicks "mynick1,mynick2,mynick3,mynick4,mynick5"
|
||||
|
||||
Um den User-Namen und wirklichen Namen zu setzen:
|
||||
|
||||
/set irc.server.oftc.username "Mein User-Name"
|
||||
/set irc.server.oftc.realname "Mein wirklicher Name"
|
||||
|
||||
Aktivieren des automatischen Verbindens mit dem Server beim Start von WeeChat:
|
||||
|
||||
/set irc.server.oftc.autoconnect on
|
||||
|
||||
Um einen Befehl nach der Verbindung zum Server auszuführen, z.B. identifizieren
|
||||
beim nickserv:
|
||||
|
||||
/set irc.server.oftc.command "/msg nickserv identify xxxxxx"
|
||||
|
||||
Hinweis: Mehrere Befehle können mittels ';' (Semikolon) getrennt werden.
|
||||
|
||||
Um ein auto-join (automatisches 'betreten') von Channels (Räumen) nach der
|
||||
Verbindung zum Server zu erreichen:
|
||||
|
||||
/set irc.server.oftc.autojoin "#channel1,#channel2"
|
||||
|
||||
Um einen Wert der Server-Optionen zu entfernen und stattdessen wieder den
|
||||
Vorgabewert (default) zu nutzen, z.B. Nutzung der Vorgabe-Nicks
|
||||
(irc.server_default.nicks):
|
||||
|
||||
/set irc.server.oftc.nicks null
|
||||
|
||||
Andere Optionen: Du kannst andere Optionen mit folgendem Befehl setzen ("xxx"
|
||||
ist der Optionsname):
|
||||
|
||||
/set irc.server.oftc.xxx value
|
||||
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
Verbinden mit dem IRC-Server und auto-join der Channel
|
||||
------------------------------------------------------
|
||||
|
||||
/connect oftc
|
||||
|
||||
[NOTE]
|
||||
Dieser Befehl kann dazu benutzt werden um einen neuen Server zu erstellen und
|
||||
sich mit ihm zu verbinden ohne den Befehl `/server` zu benutzen (sollte ich
|
||||
wiederholen, dass Du die Hilfe zu diesem Befehl mit `/help connect` aufrufen
|
||||
kannst?).
|
||||
|
||||
Generell werden die Server-Puffer und der Puffer des Kerns von WeeChat -der
|
||||
core-Puffer- zusammengelegt. Um zwischen den core-Puffer und den Server-Puffern
|
||||
umzuschalten kannst Du ctrl-X benutzen.
|
||||
|
||||
Es ist möglich das automatische Zusammenlegen der Server-Puffer zu deaktivieren
|
||||
um eigenständig Puffer zu haben:
|
||||
|
||||
/set irc.look.server_buffer independent
|
||||
|
||||
|
||||
[[join_part_irc_channels]]
|
||||
Betreten/verlassen der IRC-Channel
|
||||
----------------------------------
|
||||
|
||||
`/join #channel`::
|
||||
Einen Channel betreten
|
||||
|
||||
`/part [quit message]`::
|
||||
Einen Channel verlassen (der Puffer bleibt geöffnet)
|
||||
|
||||
`/close [quit message]`::
|
||||
Schließen eines Server- oder Channel-Puffers (`/close` ist ein Alias für `/buffer close`)
|
||||
|
||||
|
||||
[[buffer_window]]
|
||||
Puffer/Fenster Verwaltung
|
||||
-------------------------
|
||||
|
||||
Ein Puffer ist eine, zu einem Plugin mit einer Nummer, einer Kategorie und einem
|
||||
Namen, verbundene Komponente. Ein Puffer beinhaltet die auf dem Bildschirm
|
||||
dargestellten Daten.
|
||||
|
||||
Ein Fenster ist die Ansicht eines Puffers. Standard ist ein Fenster, das einen
|
||||
Puffer darstellt. Wenn Du den Bildschirm aufteilst, wirst Du mehrere Fenster mit
|
||||
mehreren Puffer gleichzeitig sehen.
|
||||
|
||||
Befehle, welche Puffer und Fenster verwalten:
|
||||
|
||||
/buffer
|
||||
/window
|
||||
|
||||
(Ich will jetzt nicht wiederholen, dass Du zu diesen Befehlen Hilfe mit /help
|
||||
erhalten kannst)
|
||||
|
||||
Ein Beispiel, um Deinen Bildschirm vertikal in ein kleines Fenster (1/3 Höhe)
|
||||
und ein großes Fenster (2/3 Höhe) aufzuteilen, benutze diesen Befehl:
|
||||
|
||||
/window splitv 33
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
Tastaturbelegung
|
||||
----------------
|
||||
|
||||
WeeChat verwendet viele Standardtasten. Alle diese Belegungen sind in der
|
||||
Dokumentation beschrieben, doch solltest Du mindestens einige wesentliche
|
||||
Belegungen kennen:
|
||||
|
||||
- 'alt + linker/rechter Pfeil' (oder 'F5'/'F6'): umschalten zum
|
||||
vorherigen/nächsten Puffer
|
||||
- 'F7'/'F8': umschalten zum vorherigen/nächsten Fenster (falls der Bildschirm
|
||||
aufgeteilt ist)
|
||||
- 'F9'/'F10': scrolle die Titleleiste
|
||||
- 'F11'/'F12': scrolle die Liste der Nicks
|
||||
- 'tab': komplettiere den Text in der Eingabeleiste, ähnlich Deiner shell
|
||||
- 'Seite rauf/runter': scrolle den Text im aktiven Puffer
|
||||
- 'alt + A': springe zum Puffer mit Aktivität (aus der Hotlist)
|
||||
|
||||
Gemäß Deiner Tastatur und/oder Deinen Bedürfnissen kannst Du jede Taste mittels
|
||||
des Befehls `/key` neu mit einem Befehl belegen.
|
||||
Eine nützliche Tastenkombination um Tastencodes zu ermitteln ist meta-k (alt-k).
|
||||
|
||||
Beispiel, Belegung von meta-y (alt-y) mit dem Befehl `/buffer close`:
|
||||
|
||||
/key bind (drücke meta-k) (drücke meta-y) /buffer close
|
||||
|
||||
Du wirst folgende Befehlszeile erhalten:
|
||||
|
||||
/key bind meta-y /buffer close
|
||||
|
||||
Entfernen der Belegung:
|
||||
|
||||
/key unbind meta-y
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
Plugins/Scripte
|
||||
---------------
|
||||
|
||||
Bei einige Distributionen wie Debian, sind Plugins über separate Pakete
|
||||
erhältlich (z.B. weechat-plugins).
|
||||
Plugins werden -falls gefunden- automatisch geladen (Bitte beachte die
|
||||
Dokumentation zum Laden/Entladen von Plugins oder Skripten).
|
||||
|
||||
Einige Plugins ermöglichen die Verwendung von Scripten in WeeChat (in mehreren
|
||||
Sprachen wie Perl, Python, Ruby, Lua und TCL). Diese Plugins müssen mit dem
|
||||
Befehl `/plugin` geladen werden und verfügen ihrerseits über Befehle wie z.B.
|
||||
`/perl` um Scripte zu laden.
|
||||
|
||||
Viele externe Plugins/Scripte (der Mitarbeitenden) sind für WeeChat verfügbar,
|
||||
siehe: http://www.weechat.org/plugins
|
||||
|
||||
Der einfachste Weg um Scripte zu installieren ist die verwendung von 'weeget.py':
|
||||
|
||||
. herunterladen und kopieren von 'weeget.py' nach ~/.weechat/python/autoload/
|
||||
. laden des Scriptes: `/python autoload`
|
||||
. Liste der Scripte: `/weeget list` (Hilfe mit: `/help weeget`)
|
||||
|
||||
|
||||
[[more_doc]]
|
||||
Weitere Dokumentation
|
||||
---------------------
|
||||
|
||||
Nun kannst Du WeeChat nutzen, für weitere Fragen lese die FAQ/Dokumentation:
|
||||
http://www.weechat.org/doc
|
||||
|
||||
Viel Spass mit WeeChat!
|
||||
@@ -11,20 +11,24 @@
|
||||
|
||||
| irc | irc_channel_topic | topic of current IRC channel
|
||||
|
||||
| irc | irc_channels | IRC channels (on all servers)
|
||||
| irc | irc_channels | channels on all IRC servers
|
||||
|
||||
| irc | irc_ignores_numbers | numbers for defined ignores
|
||||
|
||||
| irc | irc_msg_part | default part message for IRC channel
|
||||
|
||||
| irc | irc_privates | IRC privates (on all servers)
|
||||
| irc | irc_privates | privates on all IRC servers
|
||||
|
||||
| irc | irc_server | current IRC server
|
||||
|
||||
| irc | irc_server_channels | channels on current IRC server
|
||||
|
||||
| irc | irc_server_nick | nick on current IRC server
|
||||
|
||||
| irc | irc_server_nicks | nicks on all channels of current IRC server
|
||||
|
||||
| irc | irc_server_privates | privates on current IRC server
|
||||
|
||||
| irc | irc_servers | IRC servers (internal names)
|
||||
|
||||
| irc | nick | nicks of current IRC channel
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
** values: any string (default value: "ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic")
|
||||
|
||||
* *aspell.check.default_dict*
|
||||
** description: default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable aspell on buffers for which you didn't explicitely enabled it)
|
||||
** description: default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable aspell on buffers for which you didn't explicitly enabled it)
|
||||
** type: string
|
||||
** values: any string (default value: "")
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
** values: 0 .. 2147483647 (default value: 2)
|
||||
|
||||
* *aspell.look.color*
|
||||
** description: color used for mispelled words
|
||||
** description: color used for misspelled words
|
||||
** type: color
|
||||
** values: a color name (default value: lightred)
|
||||
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
nickname: nickname
|
||||
........................................
|
||||
|
||||
• *`/join`* `channel[,channel] [key[,key]]`::
|
||||
• *`/join`* `[channel[,channel] [key[,key]]]`::
|
||||
|
||||
........................................
|
||||
join a channel
|
||||
|
||||
@@ -23,6 +23,11 @@
|
||||
** type: string
|
||||
** values: any string (default value: "%h/logs/")
|
||||
|
||||
* *logger.file.replacement_char*
|
||||
** description: replacement char for special chars in filename built with mask (like directory delimiter)
|
||||
** type: string
|
||||
** values: any string (default value: "_")
|
||||
|
||||
* *logger.file.time_format*
|
||||
** description: timestamp used in log files (see man strftime for date/time specifiers)
|
||||
** type: string
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/lua`* `[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
• *`/lua`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
|
||||
........................................
|
||||
list/load/unload scripts
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/perl`* `[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
• *`/perl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
|
||||
........................................
|
||||
list/load/unload scripts
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/python`* `[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
• *`/python`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
|
||||
........................................
|
||||
list/load/unload scripts
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/ruby`* `[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
• *`/ruby`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
|
||||
........................................
|
||||
list/load/unload scripts
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/tcl`* `[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
• *`/tcl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
|
||||
........................................
|
||||
list/load/unload scripts
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
add: add a new bar
|
||||
barname: name of bar (must be unique)
|
||||
type: root: outside windows),
|
||||
type: root: outside windows,
|
||||
window: inside windows, with optional conditions (see below)
|
||||
cond1,...: condition(s) for displaying bar (only for type "window"):
|
||||
active: on active window
|
||||
@@ -13,7 +13,6 @@
|
||||
nicklist: on windows with nicklist
|
||||
without condition, bar is always displayed
|
||||
position: bottom, top, left or right
|
||||
filling: horizontal, vertical, columns_horizontal or columns_vertical
|
||||
size: size of bar (in chars)
|
||||
separator: 1 for using separator (line), 0 or nothing means no separator
|
||||
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
|
||||
@@ -120,7 +119,7 @@
|
||||
-all: delete all filters
|
||||
plugin.buffer: plugin and buffer where filter is active ("*" for all buffers)
|
||||
tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit"
|
||||
regex: regular expression to search in line (use \t to separate prefix from message)
|
||||
regex: regular expression to search in line (use \t to separate prefix from message, special chars like '|' must be escaped: '\|')
|
||||
|
||||
The default key alt+'=' toggles filtering on/off.
|
||||
|
||||
|
||||
@@ -193,11 +193,6 @@
|
||||
** type: color
|
||||
** values: a color name (default value: lightgreen)
|
||||
|
||||
* *weechat.color.input_nick*
|
||||
** description: text color for nick name in input line
|
||||
** type: color
|
||||
** values: a color name (default value: lightcyan)
|
||||
|
||||
* *weechat.color.input_text_not_found*
|
||||
** description: text color for unsucessful text search in input line
|
||||
** type: color
|
||||
@@ -243,11 +238,6 @@
|
||||
** type: color
|
||||
** values: a color name (default value: brown)
|
||||
|
||||
* *weechat.color.nicklist_separator*
|
||||
** description: text color for nicklist separator
|
||||
** type: color
|
||||
** values: a color name (default value: blue)
|
||||
|
||||
* *weechat.color.separator*
|
||||
** description: background color for window separators (when split)
|
||||
** type: color
|
||||
@@ -471,13 +461,28 @@
|
||||
* *weechat.look.prefix_align_max*
|
||||
** description: max size for prefix (0 = no max size)
|
||||
** type: integer
|
||||
** values: 0 .. 64 (default value: 0)
|
||||
** values: 0 .. 128 (default value: 0)
|
||||
|
||||
* *weechat.look.prefix_align_more*
|
||||
** description: display '+' if prefix is truncated
|
||||
** type: boolean
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *weechat.look.prefix_buffer_align*
|
||||
** description: prefix alignment for buffer name, when many buffers are merged with same number (none, left, right (default))
|
||||
** type: integer
|
||||
** values: none, left, right (default value: right)
|
||||
|
||||
* *weechat.look.prefix_buffer_align_max*
|
||||
** description: max size for buffer name, when many buffers are merged with same number (0 = no max size)
|
||||
** type: integer
|
||||
** values: 0 .. 128 (default value: 0)
|
||||
|
||||
* *weechat.look.prefix_buffer_align_more*
|
||||
** description: display '+' if buffer name is truncated (when many buffers are merged with same number)
|
||||
** type: boolean
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *weechat.look.prefix_error*
|
||||
** description: prefix for error messages
|
||||
** type: string
|
||||
@@ -528,6 +533,11 @@
|
||||
** type: integer
|
||||
** values: 1 .. 100 (default value: 100)
|
||||
|
||||
* *weechat.look.search_text_not_found_alert*
|
||||
** description: alert user when text sought is not found in buffer
|
||||
** type: boolean
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *weechat.look.set_title*
|
||||
** description: set title for window (terminal for Curses GUI) with name and version
|
||||
** type: boolean
|
||||
|
||||
+26
-19
@@ -31,8 +31,7 @@ Some features (version > = 0.3.x):
|
||||
* multi-platform
|
||||
* 100% GPL and free
|
||||
|
||||
More info on this page:
|
||||
http://weechat.flashtux.org/features.php
|
||||
More info on this page: http://www.weechat.org/features
|
||||
|
||||
|
||||
Compilation / install
|
||||
@@ -97,6 +96,8 @@ window) or displayed by one or more windows.
|
||||
I don't see some chars with accents, what can I do?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
It's common issue, please read carefully and check *ALL* solutions below.
|
||||
|
||||
For versions < 0.2.3, please upgrade to the latest stable version.
|
||||
|
||||
For versions > = 0.2.3:
|
||||
@@ -170,8 +171,10 @@ Under OpenBSD, plugin filenames end with ".so.0.0" (".so" for Linux).
|
||||
|
||||
You must set that up:
|
||||
|
||||
* with WeeChat < = 0.2.6: `/set plugins_extension = ".so.0.0"`
|
||||
* with WeeChat > = 0.3.x: `/set weechat.plugin.extension ".so.0.0"`
|
||||
* with WeeChat < = 0.2.6: +
|
||||
`/set plugins_extension = ".so.0.0"`
|
||||
* with WeeChat > = 0.3.x: +
|
||||
`/set weechat.plugin.extension ".so.0.0"`
|
||||
|
||||
Then: `/plugin autoload`.
|
||||
|
||||
@@ -211,28 +214,33 @@ With the Curses GUI, how can I copy/paste text without pasting nicklist?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You can use a terminal with rectangular selection (like rxvt-unicode,
|
||||
konsole, ...). Key is usually ctrl + alt + mouse selection.
|
||||
konsole, gnome-terminal, ...). Key is usually ctrl + alt + mouse selection.
|
||||
|
||||
Another solution is to move nicklist to top or bottom, for example:
|
||||
|
||||
* with WeeChat < = 0.2.6: `set look_nicklist_position = top`
|
||||
* with WeeChat > = 0.3.x: `/bar set nicklist position top`
|
||||
* with WeeChat < = 0.2.6: +
|
||||
`set look_nicklist_position = top`
|
||||
* with WeeChat > = 0.3.x: +
|
||||
`/bar set nicklist position top`
|
||||
|
||||
|
||||
[[highlight_notification]]
|
||||
How can I be warned when someone highlights me on a channel?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You can use the script 'sound.pl' (available on scripts page), and then setup a
|
||||
system command (to play sound, display message, ..) with this command:
|
||||
According to WeeChat version:
|
||||
|
||||
* with WeeChat < = 0.2.6:
|
||||
`/setp perl.sound.cmd_highlight = "/path/command arguments"`
|
||||
* with WeeChat > = 0.3.x:
|
||||
`/set plugins.var.perl.sound.cmd_highlight "/path/command arguments"`
|
||||
* with WeeChat < = 0.2.6: use script 'sound.pl' (available on scripts page),
|
||||
and then setup a system command (to play sound, display message, ..) with
|
||||
this command: +
|
||||
`/setp perl.sound.cmd_highlight = "/path/to/command arguments"`
|
||||
* with WeeChat > = 0.3.x: use script 'launcher.pl' (available on scripts page),
|
||||
and then setup a system command (to play sound, display message, ..) with
|
||||
this command: +
|
||||
`/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"`
|
||||
|
||||
Many other scripts exist for notification, please look at plugins/scripts page:
|
||||
http://weechat.flashtux.org/plugins.php
|
||||
http://www.weechat.org/plugins
|
||||
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
@@ -293,7 +301,7 @@ There are 3 ways:
|
||||
* request a new feature: https://savannah.nongnu.org/task/?group=weechat
|
||||
* send a patch: https://savannah.nongnu.org/patch/?group=weechat
|
||||
. you can mail developers, look at support page for developer's mails:
|
||||
http://weechat.flashtux.org/support.php
|
||||
http://www.weechat.org/about
|
||||
(you can subscribe and send to "support" mailing list)
|
||||
|
||||
|
||||
@@ -301,8 +309,7 @@ There are 3 ways:
|
||||
What is the list of supported platforms for WeeChat? Will it be ported to other operating systems?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The full list is on this page:
|
||||
http://weechat.flashtux.org/download.php?view=supported_os
|
||||
The full list is on this page: http://www.weechat.org/download
|
||||
|
||||
We do our best to run on as many platforms as possible. Help is welcome for
|
||||
some OS' we don't have, to test WeeChat.
|
||||
@@ -315,7 +322,7 @@ I want to help WeeChat developers. What can I do?
|
||||
There's many tasks to do (testing, code, documentation, ...)
|
||||
|
||||
Please contact us via IRC or mail, look at support page:
|
||||
http://weechat.flashtux.org/support.php
|
||||
http://www.weechat.org/about
|
||||
|
||||
|
||||
[[donate]]
|
||||
@@ -323,4 +330,4 @@ Can I give money or other things to WeeChat developers?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You can give us money to help development.
|
||||
Details on http://weechat.flashtux.org/donate.php
|
||||
Details on http://www.weechat.org/donate
|
||||
|
||||
@@ -6,7 +6,7 @@ FlashCode <flashcode@flashtux.org>
|
||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||
|
||||
Latest version of this document can be found on this page:
|
||||
http://weechat.flashtux.org/doc.php
|
||||
http://www.weechat.org/doc
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -4046,8 +4046,8 @@ struct t_hook *weechat_hook_process (const char *command,
|
||||
int (*callback)(void *data,
|
||||
const char *command,
|
||||
int return_code,
|
||||
const char *stdout,
|
||||
const char *stderr),
|
||||
const char *out,
|
||||
const char *err),
|
||||
void *callback_data);
|
||||
----------------------------------------
|
||||
|
||||
@@ -4065,8 +4065,8 @@ Arguments:
|
||||
*** '>= 0': child command return code
|
||||
*** '< 0': 'WEECHAT_HOOK_PROCESS_OK_RUNNING' (data available, but child still
|
||||
running) or 'WEECHAT_HOOK_PROCESS_ERROR' (error when launching command)
|
||||
** 'stdout': standard output of command
|
||||
** 'stderr': error output of command
|
||||
** 'out': standard output of command (stdout)
|
||||
** 'err': error output of command (stderr)
|
||||
* 'callback_data': pointer given to callback when it is called by WeeChat
|
||||
|
||||
Return value:
|
||||
@@ -4079,7 +4079,7 @@ Example:
|
||||
----------------------------------------
|
||||
int
|
||||
my_process_cb (void *data, const char *command, int return_code,
|
||||
const char *stdout, const char *stderr)
|
||||
const char *out, const char *err)
|
||||
{
|
||||
if (return_code == WEECHAT_HOOK_PROCESS_ERROR)
|
||||
{
|
||||
@@ -4092,14 +4092,14 @@ my_process_cb (void *data, const char *command, int return_code,
|
||||
weechat_printf (NULL, "return_code = %d", return_code);
|
||||
}
|
||||
|
||||
if (stdout)
|
||||
if (out)
|
||||
{
|
||||
weechat_printf (NULL, "stdout: %s", stdout);
|
||||
weechat_printf (NULL, "stdout: %s", out);
|
||||
}
|
||||
|
||||
if (stderr)
|
||||
if (err)
|
||||
{
|
||||
weechat_printf (NULL, "stderr: %s", stderr);
|
||||
weechat_printf (NULL, "stderr: %s", err);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
@@ -6051,7 +6051,7 @@ Prototype:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_gui_bar_item *weechat_bar_search (const char *name);
|
||||
struct t_gui_bar *weechat_bar_search (const char *name);
|
||||
----------------------------------------
|
||||
|
||||
Arguments:
|
||||
|
||||
@@ -129,9 +129,18 @@ Connect to IRC server and auto-join channels
|
||||
|
||||
/connect oftc
|
||||
|
||||
Note: this command can be used to create and connect to a new server
|
||||
without using `/server` command (should I repeat you can see help for
|
||||
this command with `/help connect` ? ;)
|
||||
[NOTE]
|
||||
This command can be used to create and connect to a new server without using
|
||||
`/server` command (should I repeat you can see help for this command with
|
||||
`/help connect` ?).
|
||||
|
||||
By default, server buffers are merged with WeeChat 'core' buffer. To switch
|
||||
between 'core' buffer and server buffers, you can use ctrl-X.
|
||||
|
||||
It is possible to disable auto merge of server buffers to have independent
|
||||
server buffers:
|
||||
|
||||
/set irc.look.server_buffer independent
|
||||
|
||||
|
||||
[[join_part_irc_channels]]
|
||||
@@ -210,16 +219,21 @@ Plugins/scripts
|
||||
|
||||
On some distros like Debian, plugins are available via a separate package
|
||||
(like weechat-plugins).
|
||||
Plugins are automatically loaded when found.
|
||||
Plugins are automatically loaded when found (please look at the WeeChat
|
||||
documentation to load/unload plugins or scripts).
|
||||
|
||||
Some plugins let you use scripts in WeeChat (in many languages like Perl,
|
||||
Python, Ruby, Lua and Tcl). These plugins must be loaded with the `/plugin`
|
||||
command and they provide commands like `/perl`, used to load scripts.
|
||||
|
||||
Many external plugins/scripts (from contributors) are available for
|
||||
WeeChat: http://weechat.flashtux.org/plugins.php
|
||||
WeeChat: http://www.weechat.org/plugins
|
||||
|
||||
Please look at the WeeChat documentation to load/unload plugins or scripts.
|
||||
Easiest way to install scripts is to use script 'weeget.py':
|
||||
|
||||
. download and copy 'weeget.py' to ~/.weechat/python/autoload/
|
||||
. load script: `/python autoload`
|
||||
. scripts list: `/weeget list` (for help: `/help weeget`)
|
||||
|
||||
|
||||
[[more_doc]]
|
||||
@@ -227,6 +241,6 @@ More documentation
|
||||
------------------
|
||||
|
||||
You can now use WeeChat and read FAQ/documentation for any other questions:
|
||||
http://weechat.flashtux.org/doc.php
|
||||
http://www.weechat.org/doc
|
||||
|
||||
Enjoy using WeeChat!
|
||||
|
||||
@@ -6,7 +6,7 @@ FlashCode <flashcode@flashtux.org>
|
||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||
|
||||
Latest version of this document can be found on this page:
|
||||
http://weechat.flashtux.org/doc.php
|
||||
http://www.weechat.org/doc
|
||||
|
||||
|
||||
[[introduction]]
|
||||
|
||||
@@ -76,7 +76,7 @@ the latest updates.
|
||||
Otherwise you can download and unpack 'devel' package:
|
||||
|
||||
-----------------------------------------------------------------
|
||||
$ wget http://weechat.flashtux.org/download/weechat-devel.tar.bz2
|
||||
$ wget http://www.weechat.org/files/src/weechat-devel.tar.bz2
|
||||
$ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
-----------------------------------------------------------------
|
||||
@@ -107,7 +107,7 @@ Install binary package
|
||||
According to your Linux distribution:
|
||||
|
||||
* Debian: http://debian.flashtux.org/
|
||||
* Gentoo: http://weechat.flashtux.org/download.php
|
||||
* Gentoo: http://www.weechat.org/download
|
||||
* ArchLinux: PKGBUILD from http://aur.archlinux.org/
|
||||
* other: we don't know! Eheh.
|
||||
|
||||
|
||||
+16
-10
@@ -6,7 +6,7 @@ FlashCode <flashcode@flashtux.org>
|
||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||
|
||||
Latest version of this document can be found on this page:
|
||||
http://weechat.flashtux.org/doc.php
|
||||
http://www.weechat.org/doc
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -35,7 +35,7 @@ Main features are:
|
||||
* multi-platform (GNU/Linux, *BSD, MacOS X, Windows and other)
|
||||
* 100% GPL, free software
|
||||
|
||||
WeeChat homepage is here: http://weechat.flashtux.org/
|
||||
WeeChat homepage is here: http://www.weechat.org/
|
||||
|
||||
[[pre-requisites]]
|
||||
Pre-requisites
|
||||
@@ -1116,8 +1116,7 @@ These plugins can load, execute and unload scripts for these languages.
|
||||
For more information about how to write scripts, or WeeChat API for
|
||||
scripts, please read 'WeeChat Scripting Guide'.
|
||||
|
||||
You can find some scripts for WeeChat here:
|
||||
http://weechat.flashtux.org/plugins.php
|
||||
You can find some scripts for WeeChat here: http://www.weechat.org/plugins
|
||||
|
||||
Perl commands
|
||||
^^^^^^^^^^^^^
|
||||
@@ -1176,24 +1175,31 @@ Developers
|
||||
FlashCode (Sébastien Helleu)::
|
||||
main developer
|
||||
|
||||
Kolter (Emmanuel Bouthenot)::
|
||||
developer, debian packager
|
||||
|
||||
[[contributors]]
|
||||
Contributors
|
||||
~~~~~~~~~~~~
|
||||
|
||||
Kolter (Emmanuel Bouthenot)::
|
||||
debian packager
|
||||
|
||||
Ptitlouis::
|
||||
first debian packager
|
||||
old debian packager
|
||||
|
||||
Jiri Golembiovsky::
|
||||
czech translation, patches
|
||||
|
||||
soltys::
|
||||
polish translation
|
||||
|
||||
rettub::
|
||||
Frank Zacharias::
|
||||
german translation
|
||||
|
||||
Pavel Shevchuk::
|
||||
russian translation
|
||||
|
||||
Frank Zacharias::
|
||||
german translation
|
||||
m4v::
|
||||
spanish translation
|
||||
|
||||
Voroskoi::
|
||||
hungarian translation
|
||||
|
||||
@@ -11,20 +11,24 @@
|
||||
|
||||
| irc | irc_channel_topic | titre du canal IRC courant
|
||||
|
||||
| irc | irc_channels | canaux IRC (sur tous les serveurs)
|
||||
| irc | irc_channels | canaux sur tous les serveurs IRC
|
||||
|
||||
| irc | irc_ignores_numbers | numéros pour les ignores définis
|
||||
|
||||
| irc | irc_msg_part | message de fin par défaut pour le canal IRC
|
||||
|
||||
| irc | irc_privates | canaux IRC (sur tous les serveurs)
|
||||
| irc | irc_privates | privés sur tous les serveurs IRC
|
||||
|
||||
| irc | irc_server | serveur IRC courant
|
||||
|
||||
| irc | irc_server_channels | canaux sur le serveur IRC courant
|
||||
|
||||
| irc | irc_server_nick | pseudo sur le serveur IRC courant
|
||||
|
||||
| irc | irc_server_nicks | pseudos sur tous les canaux du serveur IRC courant
|
||||
|
||||
| irc | irc_server_privates | privés sur le serveur IRC courant
|
||||
|
||||
| irc | irc_servers | serveurs IRC (noms internes)
|
||||
|
||||
| irc | nick | pseudos du canal IRC courant
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
pseudo: pseudo
|
||||
........................................
|
||||
|
||||
• *`/join`* `canal[,canal] [clé[,clé]]`::
|
||||
• *`/join`* `[canal[,canal] [clé[,clé]]]`::
|
||||
|
||||
........................................
|
||||
joindre un canal
|
||||
|
||||
@@ -23,6 +23,11 @@
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: "%h/logs/")
|
||||
|
||||
* *logger.file.replacement_char*
|
||||
** description: caractère de remplacement dans le nom de fichier construit avec le masque (comme le délimiteur de répertoire)
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: "_")
|
||||
|
||||
* *logger.file.time_format*
|
||||
** description: format de date/heure utilisé dans les fichiers log (voir strftime(3) pour le format de date/heure)
|
||||
** type: chaîne
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
nicklist: sue les fenêtres avec liste de pseudos
|
||||
sans condition, la barre est toujours affichée
|
||||
position: bottom (bas), top (haut), left (gauche) ou right (droite)
|
||||
remplissage: horizontal, vertical, columns_horizontal ou columns_vertical
|
||||
taille: taille de la barre (en caractères)
|
||||
séparateur: 1 pour utiliser un séparateur (ligne), 0 ou rien signifie sans séparateur
|
||||
objet1,...: objets pour cette barre (les objets peuvent être séparés par une virgule (espace entre les objets) ou "+" (objets collés))
|
||||
@@ -120,7 +119,7 @@
|
||||
-all: supprime tous les filtres
|
||||
extension.tampon: extension et tampon où le filtre est actif ("*" pour tous les tampons)
|
||||
tags: liste de tags, séparés par des virgules, par exemple: "irc_join,irc_part,irc_quit"
|
||||
regex: expressoin régulière à rechercher dans la ligne (utiliser \t pour séparer le préfixe du message)
|
||||
regex: expressoin régulière à rechercher dans la ligne (utiliser \t pour séparer le préfixe du message, les caractères spéciaux comme '|' doivent être échappés: '\|')
|
||||
|
||||
La touche par défaut alt+'=' active/désactive le filtrage.
|
||||
|
||||
|
||||
@@ -193,11 +193,6 @@
|
||||
** type: couleur
|
||||
** valeurs: un nom de couleur (valeur par défaut: lightgreen)
|
||||
|
||||
* *weechat.color.input_nick*
|
||||
** description: couleur du texte pour le pseudo dans la ligne de saisie
|
||||
** type: couleur
|
||||
** valeurs: un nom de couleur (valeur par défaut: lightcyan)
|
||||
|
||||
* *weechat.color.input_text_not_found*
|
||||
** description: couleur du texte pour la recherche infructueuse de texte dans la ligne de saisie
|
||||
** type: couleur
|
||||
@@ -243,11 +238,6 @@
|
||||
** type: couleur
|
||||
** valeurs: un nom de couleur (valeur par défaut: brown)
|
||||
|
||||
* *weechat.color.nicklist_separator*
|
||||
** description: couleur du texte pour le séparateur de la liste des pseudos
|
||||
** type: couleur
|
||||
** valeurs: un nom de couleur (valeur par défaut: blue)
|
||||
|
||||
* *weechat.color.separator*
|
||||
** description: couleur du fond pour les séparateurs de fenêtres (quand divisé)
|
||||
** type: couleur
|
||||
@@ -319,7 +309,7 @@
|
||||
** valeurs: toute chaîne (valeur par défaut: "[]-^")
|
||||
|
||||
* *weechat.completion.partial_completion_alert*
|
||||
** description: alterte de l'utilisateur lorsqu'une complétion partielle survient
|
||||
** description: alterte l'utilisateur lorsqu'une complétion partielle survient
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
@@ -471,13 +461,28 @@
|
||||
* *weechat.look.prefix_align_max*
|
||||
** description: taille maximum pour le préfixe (0 = pas de taille maximum)
|
||||
** type: entier
|
||||
** valeurs: 0 .. 64 (valeur par défaut: 0)
|
||||
** valeurs: 0 .. 128 (valeur par défaut: 0)
|
||||
|
||||
* *weechat.look.prefix_align_more*
|
||||
** description: afficher '+' si le préfixe est tronqué
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
* *weechat.look.prefix_buffer_align*
|
||||
** description: alignement de préfixe pour le nom du tampon, quand plusieurs tampons sont mélangés avec le même numéro (none, left, right (par défaut))
|
||||
** type: entier
|
||||
** valeurs: none, left, right (valeur par défaut: right)
|
||||
|
||||
* *weechat.look.prefix_buffer_align_max*
|
||||
** description: taille maximum pour le nom du tampon, quand plusieurs tampons sont mélangés avec le même numéro (0 = pas de taille maximum)
|
||||
** type: entier
|
||||
** valeurs: 0 .. 128 (valeur par défaut: 0)
|
||||
|
||||
* *weechat.look.prefix_buffer_align_more*
|
||||
** description: afficher '+' si le nom du tampon est tronqué (quand plusieurs tampons sont mélangés avec le même numéro)
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
* *weechat.look.prefix_error*
|
||||
** description: préfixe pour les messages d'erreur
|
||||
** type: chaîne
|
||||
@@ -528,6 +533,11 @@
|
||||
** type: entier
|
||||
** valeurs: 1 .. 100 (valeur par défaut: 100)
|
||||
|
||||
* *weechat.look.search_text_not_found_alert*
|
||||
** description: alterte l'utilisateur lorsque le texte cherché n'est pas trouvé dans le tampon
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
* *weechat.look.set_title*
|
||||
** description: définit le titre de la fenêtre (terminal pour l'interface Curses) avec le nom et la version
|
||||
** type: booléen
|
||||
|
||||
+29
-25
@@ -31,8 +31,7 @@ Quelques fonctionnalités (version > = 0.3.x) :
|
||||
* multi-platformes
|
||||
* 100% GPL et libre
|
||||
|
||||
Plus d'infos sur cette page :
|
||||
http://weechat.flashtux.org/features.php
|
||||
Plus d'infos sur cette page : http://www.weechat.org/features
|
||||
|
||||
|
||||
Compilation / installation
|
||||
@@ -100,6 +99,9 @@ aucune fenêtre) ou affiché par une ou plusieurs fenêtres.
|
||||
Je ne vois pas bien certains accents dans WeeChat, que faire ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
C'est un problème courant, merci de lire attentivement et vérifier *TOUS* les
|
||||
points ci-dessous.
|
||||
|
||||
Pour les versions < 0.2.3, merci d'installer la dernière version stable.
|
||||
|
||||
Pour les versions > = 0.2.3 :
|
||||
@@ -120,7 +122,7 @@ Pour les versions > = 0.2.3 :
|
||||
** vérifiez que votre terminal est compatible UTF-8
|
||||
(un terminal conseillé pour l'UTF-8 est rxvt-unicode)
|
||||
** si vous utilisez screen, vérifiez qu'il est lancé en mode UTF-8
|
||||
("`defutf8 on`" dans ~/.screnrc ou `screen -U` pour lancer screen)
|
||||
("`defutf8 on`" dans ~/.screenrc ou `screen -U` pour lancer screen)
|
||||
|
||||
[NOTE]
|
||||
La locale UTF-8 est recommandée pour WeeChat. Si vous utilisez ISO ou une autre
|
||||
@@ -176,8 +178,10 @@ Linux).
|
||||
|
||||
Vous devez configurer ça :
|
||||
|
||||
* avec WeeChat < = 0.2.6 : `/set plugins_extension = ".so.0.0"`
|
||||
* avec WeeChat > = 0.3.x : `/set weechat.plugin.extension ".so.0.0"`
|
||||
* avec WeeChat < = 0.2.6 : +
|
||||
`/set plugins_extension = ".so.0.0"`
|
||||
* avec WeeChat > = 0.3.x : +
|
||||
`/set weechat.plugin.extension ".so.0.0"`
|
||||
|
||||
Puis: `/plugin autoload`.
|
||||
|
||||
@@ -217,32 +221,35 @@ Avec l'interface Curses, comment puis-je copier/coller du texte sans coller la l
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Vous pouvez utiliser un terminal qui propose la sélection rectangulaire (comme
|
||||
rxvt-unicode, konsole, etc...). La touche est habituellement ctrl + alt +
|
||||
sélection à la souris.
|
||||
rxvt-unicode, konsole, gnome-terminal, etc...). La touche est habituellement
|
||||
ctrl + alt + sélection à la souris.
|
||||
|
||||
Une autre solution est de déplacer la liste des pseudos en haut ou en bas, par
|
||||
exemple :
|
||||
|
||||
* avec WeeChat < = 0.2.6 : `/set look_nicklist_position = top`
|
||||
* avec WeeChat > = 0.3.x : `/bar set nicklist position top`
|
||||
* avec WeeChat < = 0.2.6 : +
|
||||
`/set look_nicklist_position = top`
|
||||
* avec WeeChat > = 0.3.x : +
|
||||
`/bar set nicklist position top`
|
||||
|
||||
|
||||
[[highlight_notification]]
|
||||
Comment être averti lorsque quelqu'un prononce mon pseudo sur un canal ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Vous pouvez utiliser le script 'sound.pl' (disponible sur la page des scripts),
|
||||
puis configurer une commande système (jouant un son, affichant un message à
|
||||
l'écran, etc...) comme ceci :
|
||||
Selon la version de WeeChat :
|
||||
|
||||
* avec WeeChat < = 0.2.6 :
|
||||
`/setp perl.sound.cmd_highlight = "/chemin/commande parametres"`
|
||||
* avec WeeChat > = 0.3.x :
|
||||
`/set plugins.var.perl.sound.cmd_highlight "/chemin/commande parametres"`
|
||||
* avec WeeChat < = 0.2.6 : utilisez le script 'sound.pl' (disponible sur la
|
||||
page des scripts), puis configurez une commande système (jouant un son,
|
||||
affichant un message à l'écran, etc...) comme ceci : +
|
||||
`/setp perl.sound.cmd_highlight = "/chemin/vers/commande parametres"`
|
||||
* avec WeeChat > = 0.3.x : utilisez le script 'launcher.pl' (disponible sur la
|
||||
page des scripts), puis configurez une commande système (jouant un son,
|
||||
affichant un message à l'écran, etc...) comme ceci : +
|
||||
`/set plugins.var.perl.launcher.signal.weechat_highlight "/chemin/vers/commande parametres"`
|
||||
|
||||
De nombreux autres scripts de notification existent, merci de consulter la
|
||||
liste des extensions/scripts :
|
||||
http://weechat.flashtux.org/plugins.php
|
||||
liste des extensions/scripts : http://www.weechat.org/plugins
|
||||
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
@@ -306,8 +313,7 @@ Il y a 3 possibilités :
|
||||
* demander une nouvelle fonctionnalité: https://savannah.nongnu.org/task/?group=weechat
|
||||
* envoyer un patch: https://savannah.nongnu.org/patch/?group=weechat
|
||||
. vous pouvez envoyer un mail aux développeurs, consultez la page support
|
||||
pour les mails des développeurs :
|
||||
http://weechat.flashtux.org/support.php
|
||||
pour les mails des développeurs : http://www.weechat.org/about
|
||||
(vous pouvez souscrire et envoyer à la liste de diffusion nommée "support")
|
||||
|
||||
|
||||
@@ -315,8 +321,7 @@ Il y a 3 possibilités :
|
||||
Quelle est la liste des plate-formes supportées par WeeChat ? Sera-t-il porté sur d'autres systèmes d'exploitation ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
La liste complète est sur cette page :
|
||||
http://weechat.flashtux.org/download.php?view=supported_os
|
||||
La liste complète est sur cette page : http://www.weechat.org/download
|
||||
|
||||
Nous faisons le maximum pour supporter le plus de plate-formes possible.
|
||||
Toute aide est la bienvenue pour les systèmes que nous n'avons pas, pous y
|
||||
@@ -330,8 +335,7 @@ Je souhaiterai aider les développeurs WeeChat. Que puis-je faire ?
|
||||
Il y a plusieurs choses à faire (test, code, documentation, etc...)
|
||||
|
||||
Merci de prendre contact avec nous par IRC ou mail, consultez la page
|
||||
support :
|
||||
http://weechat.flashtux.org/support.php
|
||||
support : http://www.weechat.org/about
|
||||
|
||||
|
||||
[[donate]]
|
||||
@@ -339,4 +343,4 @@ Puis-je donner de l'argent ou d'autres choses aux développeurs WeeChat ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Vous pouvez donner de l'argent pour aider le développement.
|
||||
Plus de détails sur http://weechat.flashtux.org/donate.php
|
||||
Plus de détails sur http://www.weechat.org/donate
|
||||
|
||||
@@ -7,7 +7,7 @@ Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
||||
partie de WeeChat.
|
||||
|
||||
La dernière version de ce document peut être téléchargée sur cette page :
|
||||
http://weechat.flashtux.org/doc.php
|
||||
http://www.weechat.org/doc
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -4112,8 +4112,8 @@ struct t_hook *weechat_hook_process (const char *command,
|
||||
int (*callback)(void *data,
|
||||
const char *command,
|
||||
int return_code,
|
||||
const char *stdout,
|
||||
const char *stderr),
|
||||
const char *out,
|
||||
const char *err),
|
||||
void *callback_data);
|
||||
----------------------------------------
|
||||
|
||||
@@ -4132,8 +4132,8 @@ Paramètres :
|
||||
*** '< 0' : 'WEECHAT_HOOK_PROCESS_OK_RUNNING' (données disponibles, mais le
|
||||
fils tourne toujours) ou 'WEECHAT_HOOK_PROCESS_ERROR' (erreur en lançant
|
||||
la commande)
|
||||
** 'stdout' : sortie standard de la commande
|
||||
** 'stderr' : erreurs de la commande
|
||||
** 'out' : sortie standard de la commande (stdout)
|
||||
** 'err' : erreurs de la commande (stderr)
|
||||
* 'callback_data' : pointeur donné au "callback" lorsqu'il est appelé par
|
||||
WeeChat
|
||||
|
||||
@@ -4147,7 +4147,7 @@ Exemple :
|
||||
----------------------------------------
|
||||
int
|
||||
mon_processus_cb (void *data, const char *command, int return_code,
|
||||
const char *stdout, const char *stderr)
|
||||
const char *out, const char *err)
|
||||
{
|
||||
if (return_code == WEECHAT_HOOK_PROCESS_ERROR)
|
||||
{
|
||||
@@ -4160,14 +4160,14 @@ mon_processus_cb (void *data, const char *command, int return_code,
|
||||
weechat_printf (NULL, "return_code = %d", return_code);
|
||||
}
|
||||
|
||||
if (stdout)
|
||||
if (out)
|
||||
{
|
||||
weechat_printf (NULL, "stdout : %s", stdout);
|
||||
weechat_printf (NULL, "stdout : %s", out);
|
||||
}
|
||||
|
||||
if (stderr)
|
||||
if (err)
|
||||
{
|
||||
weechat_printf (NULL, "stderr : %s", stderr);
|
||||
weechat_printf (NULL, "stderr : %s", err);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
@@ -6165,7 +6165,7 @@ Prototype :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_gui_bar_item *weechat_bar_search (const char *name);
|
||||
struct t_gui_bar *weechat_bar_search (const char *name);
|
||||
----------------------------------------
|
||||
|
||||
Paramètres :
|
||||
|
||||
@@ -136,9 +136,19 @@ Se connecter au serveur IRC et rejoindre les canaux
|
||||
|
||||
/connect oftc
|
||||
|
||||
Note : cette commande peut aussi être utilisée pour créer et se connecter
|
||||
au serveur sans utiliser la commande `/server` (devrais-je répéter que vous
|
||||
pouvez voir l'aide pour cette commande avec `/help connect` ? ;)
|
||||
[NOTE]
|
||||
Cette commande peut aussi être utilisée pour créer et se connecter au serveur
|
||||
sans utiliser la commande `/server` (devrais-je répéter que vous pouvez voir
|
||||
l'aide pour cette commande avec `/help connect` ?).
|
||||
|
||||
Par défaut, les tampons des serveurs sont mélangés avec le tampon 'core'
|
||||
WeeChat. Pour basculer entre le tampon 'core' et les tampons des serveurs, il
|
||||
faut utiliser la touche ctrl-X.
|
||||
|
||||
Il est possible de désactiver le mélange des tampons serveurs pour avoir un
|
||||
tampon distinct par serveur :
|
||||
|
||||
/set irc.look.server_buffer independent
|
||||
|
||||
|
||||
[[join_part_irc_channels]]
|
||||
@@ -220,7 +230,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.
|
||||
Les extensions sont automatiquement chargées lorsqu'elles sont trouvées
|
||||
(merci de regarder la documentation WeeChat pour charger/décharger des
|
||||
extensions ou des scripts).
|
||||
|
||||
Des extensions permettent d'utiliser des scripts dans WeeChat (dans
|
||||
différent langages comme Perl, Python, Ruby, Lua et Tcl). Ces extensions
|
||||
@@ -228,10 +240,14 @@ doivent être chargées avec la commande `/plugin` et elles fournissent des
|
||||
commandes telles que `/perl`, utilisées pour charger les scripts.
|
||||
|
||||
Plusieurs extensions/scripts (de contributeurs) sont disponibles pour
|
||||
WeeChat : http://weechat.flashtux.org/plugins.php
|
||||
WeeChat : http://www.weechat.org/plugins
|
||||
|
||||
Merci de regarder la documentation WeeChat pour charger/décharger des
|
||||
extensions ou des scripts.
|
||||
La manière la plus simple pour installer des scripts consiste à utiliser le
|
||||
script 'weeget.py' :
|
||||
|
||||
. téléchargez et copiez 'weeget.py' dans ~/.weechat/python/autoload/
|
||||
. chargez le script : `/python autoload`
|
||||
. liste des scripts : `/weeget list` (pour l'aide: `/help weeget`)
|
||||
|
||||
|
||||
[[more_doc]]
|
||||
@@ -239,6 +255,6 @@ Plus de documentation
|
||||
---------------------
|
||||
|
||||
Vous pouvez maintenant utiliser WeeChat et lire la FAQ/documentation pour
|
||||
toute autre question : http://weechat.flashtux.org/doc.php
|
||||
toute autre question : http://www.weechat.org/doc
|
||||
|
||||
Bon WeeChat !
|
||||
|
||||
@@ -7,7 +7,7 @@ Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
||||
partie de WeeChat.
|
||||
|
||||
La dernière version de ce document peut être téléchargée sur cette page :
|
||||
http://weechat.flashtux.org/doc.php
|
||||
http://www.weechat.org/doc
|
||||
|
||||
|
||||
[[introduction]]
|
||||
|
||||
@@ -80,7 +80,7 @@ pour obtenir juste les deltas avec la version d'aujourd'hui.
|
||||
Sinon vous pouvez installer le paquet 'devel' :
|
||||
|
||||
-----------------------------------------------------------------
|
||||
$ wget http://weechat.flashtux.org/download/weechat-devel.tar.bz2
|
||||
$ wget http://www.weechat.org/files/src/weechat-devel.tar.bz2
|
||||
$ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
-----------------------------------------------------------------
|
||||
@@ -111,7 +111,7 @@ Obtenir un paquet binaire
|
||||
Selon votre distribution Linux :
|
||||
|
||||
* Debian: http://debian.flashtux.org/
|
||||
* Gentoo: http://weechat.flashtux.org/download.php
|
||||
* Gentoo: http://www.weechat.org/download
|
||||
* ArchLinux: PKGBUILD depuis http://aur.archlinux.org/
|
||||
* autre: nous ne savons pas ! Eheh.
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
||||
partie de WeeChat.
|
||||
|
||||
La dernière version de ce document peut être téléchargée sur cette page :
|
||||
http://weechat.flashtux.org/doc.php
|
||||
http://www.weechat.org/doc
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -36,7 +36,7 @@ Ses principales fonctionnalités sont les suivantes :
|
||||
* multi plates-formes (GNU/Linux, *BSD, MacOS X, Windows et d'autres systèmes)
|
||||
* 100% GPL, logiciel libre
|
||||
|
||||
La page d'accueil de WeeChat est ici : http://weechat.flashtux.org/
|
||||
La page d'accueil de WeeChat est ici : http://www.weechat.org/
|
||||
|
||||
[[pre-requisites]]
|
||||
Pré-requis
|
||||
@@ -1154,7 +1154,7 @@ Pour plus d'informations sur comment écrire des scripts, ou sur l'API
|
||||
WeeChat pour les scripts, merci de lire le 'Le Guide pour Scripts WeeChat'.
|
||||
|
||||
Vous pouvez trouver des scripts pour WeeChat ici :
|
||||
http://weechat.flashtux.org/plugins.php
|
||||
http://www.weechat.org/plugins
|
||||
|
||||
Commandes Perl
|
||||
^^^^^^^^^^^^^^
|
||||
@@ -1213,24 +1213,31 @@ Développeurs
|
||||
FlashCode (Sébastien Helleu)::
|
||||
développeur principal
|
||||
|
||||
Kolter (Emmanuel Bouthenot)::
|
||||
développeur, empaqueteur debian
|
||||
|
||||
[[contributors]]
|
||||
Contributeurs
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
Kolter (Emmanuel Bouthenot)::
|
||||
empaqueteur debian
|
||||
|
||||
Ptitlouis::
|
||||
premier empaqueteur debian
|
||||
ancien empaqueteur debian
|
||||
|
||||
Jiri Golembiovsky::
|
||||
traduction en tchèque, patchs
|
||||
|
||||
soltys::
|
||||
traduction en polonais
|
||||
|
||||
rettub::
|
||||
Frank Zacharias::
|
||||
traduction en allemand
|
||||
|
||||
Pavel Shevchuk::
|
||||
traduction en russe
|
||||
|
||||
Frank Zacharias::
|
||||
traduction en allemand
|
||||
m4v::
|
||||
traduction en espagnol
|
||||
|
||||
Voroskoi::
|
||||
traduction en hongrois
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
# Copyright (c) 2003-2009 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 3 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, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# FAQ
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.pl.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc_title='Spis treści' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.pl.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.pl.txt
|
||||
COMMENT "Building weechat_faq.pl.html"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-faq-pl ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.pl.html)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.pl.html DESTINATION share/doc/${PROJECT_NAME})
|
||||
|
||||
# quickstart
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.pl.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc_title='Spis treści' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.pl.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.pl.txt
|
||||
COMMENT "Building weechat_quickstart.pl.html"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-quickstart-pl ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.pl.html)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.pl.html DESTINATION share/doc/${PROJECT_NAME})
|
||||
|
||||
# tester's guide
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.pl.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc_title='Spis treści' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.pl.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.pl.txt
|
||||
COMMENT "Building weechat_tester.pl.html"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-tester-pl ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.pl.html)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.pl.html DESTINATION share/doc/${PROJECT_NAME})
|
||||
@@ -0,0 +1,49 @@
|
||||
# Copyright (c) 2003-2009 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 3 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, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_faq.pl.txt \
|
||||
weechat_quickstart.pl.txt \
|
||||
weechat_tester.pl.txt
|
||||
|
||||
all-local: weechat_faq.pl.html \
|
||||
weechat_quickstart.pl.html \
|
||||
weechat_tester.pl.html
|
||||
|
||||
# FAQ
|
||||
weechat_faq.pl.html: weechat_faq.pl.txt
|
||||
$(ASCIIDOC) -a toc -a toc_title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_faq.pl.html weechat_faq.pl.txt
|
||||
|
||||
# quickstart
|
||||
weechat_quickstart.pl.html: weechat_quickstart.pl.txt
|
||||
$(ASCIIDOC) -a toc -a toc_title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_quickstart.pl.html weechat_quickstart.pl.txt
|
||||
|
||||
# tester's guide
|
||||
weechat_tester.pl.html: weechat_tester.pl.txt
|
||||
$(ASCIIDOC) -a toc -a toc_title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_tester.pl.html weechat_tester.pl.txt
|
||||
|
||||
# install docs
|
||||
|
||||
install-data-hook:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)/
|
||||
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
|
||||
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
-rm -f *.html
|
||||
@@ -0,0 +1,332 @@
|
||||
WeeChat FAQ (Często zadawane pytania)
|
||||
=====================================
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
|
||||
|
||||
Ogólne
|
||||
------
|
||||
|
||||
|
||||
[[why_choose_weechat]]
|
||||
Dlaczego wybrać WeeChat? X-Chat i Irssi są takie dobre...
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Ponieważ WeeChat jest lekki i posiada wiele nowych możliwości.
|
||||
Niektóre cechy (wersja > = 0.3.x):
|
||||
|
||||
* wsparcie dla wielu protokołów dzięki wtyczką (IRC, Jabber)
|
||||
* wiele zdalnych GUI w dodatku do Courses (już niedługo)
|
||||
* dostępny w wielu językach
|
||||
* rozszerzalny dzięki wtyczką (C, Perl, Python, Ruby, Lua, Tcl)
|
||||
* bufory z wolną zawartością
|
||||
* filtrowanie po tagach i wyrażeniach regularnych
|
||||
* poziome i pionowe dzielenie okien
|
||||
* paski które możemy tworzyć i dostosowywać do własnych potrzeb
|
||||
* lista nicków dostępna w każdym GUI
|
||||
* przyrostowe wyszukiwanie tekstu w buforach, przeskakiwanie do podświetleń
|
||||
* strumień FIFO do zdalnej kontroli
|
||||
* wsparcie dla aspell
|
||||
* podwójny zestaw znaków (kodowanie/dekodowanie)
|
||||
* tworzony od podstaw (nie bazuje na żadnym innym kliencie)
|
||||
* wielo platformowy
|
||||
* 100% GPL i wolny
|
||||
|
||||
Więcej informacji na stronie: http://www.weechat.org/features
|
||||
|
||||
|
||||
Kompilacja / instalacja
|
||||
-----------------------
|
||||
|
||||
|
||||
[[gui]]
|
||||
Słyszałem o wielu GUI dla WeeChat. Jak moge je skompilować/użyć?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Obecnie dostępne jest tylko GUI Courses.
|
||||
|
||||
Pozostałe będą dostępne jeko zdalne klienty (obecnie rozwijane).
|
||||
|
||||
|
||||
[[compile_git]]
|
||||
Nie mogę skompilować WeeChat po sklonowaniu repozytorium git, dlaczego?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Zalecaną metodą kompilacji WeeChat jest użycie cmake.
|
||||
|
||||
Jeśli kompilujesz używając autotools (nie cmake), upewnij się, że posiadasz
|
||||
najnowszą wersję autoconf i automake (WeeChat jest rozwijany z użyciem autoconf 2.61
|
||||
oraz automake 1.10.1).
|
||||
|
||||
Innym sposobem jest zainstalowanie "paczki deweloperskiej", która wymaga mniej
|
||||
zależności. Ten pakiet jest budowany prawie codziennie z użyciem repozytorium
|
||||
git. Ten pakiet może odpowiadać dokładnie wersji z gita i jest mniej wygodny
|
||||
przy aktualizowaniu jak klonowanie z gita.
|
||||
|
||||
|
||||
Używanie WeeChat
|
||||
----------------
|
||||
|
||||
|
||||
[[lost]]
|
||||
Uruchomiłem WeeChat, ale czuję się zagubiony, co robić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Dla pomocy wpisz `/help`. Aby uzyskać pomoc dla komendy wpisz `/help komenda`.
|
||||
Klawisze i komendy są wypisane w dokumentacji.
|
||||
|
||||
Nowym użytkowniką zaleca się przeczytanie quickstart (szybki start)
|
||||
(zobacz stronę z dokumentacją na stronie www).
|
||||
|
||||
|
||||
[[buffer_vs_window]]
|
||||
Słyszałem o "buforach" i "oknach", jaka jest między nimi różnica?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
'bufor' jest określany przez numer, nazwę, wyświetlane linie (i trochę innych
|
||||
danych).
|
||||
|
||||
'okno' jest to obszar ekranu wyświetlający bufor. Możliwe jest podzielenie
|
||||
ekranu na wiele okien.
|
||||
|
||||
Każde okno wyświetla jeden bufor. Bufor może być ukryty (nie wyświetlany przez
|
||||
okno) lub wyświetlany w jednym lub więcej oknach.
|
||||
|
||||
|
||||
[[charset]]
|
||||
Nie widzę niektórych znaków diakrytycznych, co mogę zrobić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Jest to częsty problem, przeczytaj i sprawdź *WSZYSTKIE* poniższe rozwiązania.
|
||||
|
||||
Dla wersji < 0.2.3, zaleca się uaktualnienie do najnowszej stabilnej wersji.
|
||||
|
||||
Dla wersji > = 0.2.3:
|
||||
|
||||
* sprawdź czy weechat-curses jest zlinkowany z libncursesw (uwaga: wymagane na
|
||||
więkrzości dystrybucji ale nie wszystkich): `ldd /path/to/weechat-curses`
|
||||
* sprawdź czy wtyczka "Charset" jest załadowana za pomocą komendy `/plugin`
|
||||
(jeśli nie jest, to najprawdopodbniej potrzebujesz pakietu "weechat-plugins")
|
||||
* sprawdź ustawienia kodowania (w buforze serwera). Powinieneś ujrzeć 'ISO-XXXXXX'
|
||||
lub 'UTF-8' dla kodowania terminala. Jeśli zobaczysz 'ANSI_X3.4-1968' lub inna
|
||||
wartość to twoje locale są prawdopodobnie złe.
|
||||
* ustaw globalną wartość dekodowania, na przykład:
|
||||
** w WeeChat < = 0.2.6: `/setp charset.global.decode = ISO-8859-2`
|
||||
** w WeeChat > = 0.3.x: `/set charset.default.decode "ISO-8859-2"`
|
||||
* jeślu kożystasz z UTF-8:
|
||||
** sprawdź czy twój terminal jest przystosowany dla UTF-8 (zalecanym terminalem
|
||||
dla UTF-8 jest rxvt-unicode)
|
||||
** jeśli kożystasz ze screena, sprawdź czy jest uruchomiony z trybem UTF-8
|
||||
("`defutf8 on`" w ~/.screenrc lub `screen -U` uruchamiając screena)
|
||||
|
||||
[NOTE]
|
||||
UTF-8 jest zalecany dla WeeChat. Jeśli kożystasz z locali ISO lub innych,
|
||||
sprawdź czy *wszystkie* twoje ustawienia (terminal, screen, ..) są ISO,
|
||||
a *nie* UTF-8.
|
||||
|
||||
|
||||
[[bars_background]]
|
||||
Paski jak tytuł i status nie są filtrowane, kolor tła zatrzymuje się po tekście, czemu?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Może to być spowodowane złą wartośćią zmiennej środowiskowej TERM (spójrz na
|
||||
wynik `echo $TERM` w terminalu).
|
||||
|
||||
W zależności, gdzie uruchamiasz WeeChat, powinieneś uzyskać:
|
||||
|
||||
* jeśli WeeChat jest uruchomiony lokalnie lub na zdalnej maszynie bez screena,
|
||||
zależy od używanego terminala: 'xterm', 'rxvt', ..
|
||||
* jeśli WeeChat działa pod screenem, powinieneś mieć 'screen'.
|
||||
|
||||
W razie potrzeby, popraw zmienna TERM: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[screen_weird_chars]]
|
||||
Kiedy używam weechat pod screenem, dostaje dziwne losowe znaki, jak to naprawić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Może to być spowodowane przez złą wartość zmiennej środowiskowej TERM (spójrz na
|
||||
wynik `echo $TERM` w terminalu).
|
||||
|
||||
Na przykład, 'xterm-color' może wyświetlać takie dziwne znaki, możesz użyc 'xterm',
|
||||
który działa dobrze (jak wiele innych wartości).
|
||||
|
||||
W razie potrzeby, popraw zmienna TERM: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
Jak mogę zmienić przypisania klawiszy?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Przypisania klawiszy mozna dostosować za pomocą komendy /key.
|
||||
|
||||
Domyślnie Meta-k (zazwyczaj Alt-k) pozwala pobrać kod klawiszy i umieścić
|
||||
go w wierszu poleceń.
|
||||
|
||||
|
||||
[[openbsd_plugins]]
|
||||
Używam OpenBSD, WeeChat nie ładuje żadnych pluginów, co jest nie tak?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Pod OpenBSD, nazwy wtyczek kończą się ".so.0.0" (".so" dla Linuksa).
|
||||
|
||||
Musisz ustawić:
|
||||
|
||||
* dla WeeChat < = 0.2.6: +
|
||||
`/set plugins_extension = ".so.0.0"`
|
||||
* dla WeeChat > = 0.3.x: +
|
||||
`/set weechat.plugin.extension ".so.0.0"`
|
||||
|
||||
Następnie: `/plugin autoload`.
|
||||
|
||||
|
||||
[[scripts]]
|
||||
Jak załadować skrypty Perl/Python/Ruby/Lua/Tcl? Czy skrypty są kompatybilne z innymi klientami IRC?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Możesz użyć komend `/perl`, `/python`, `/ruby`, `/lua` oraz `/tcl`, aby załadować
|
||||
skrypt (domyślna lokalizacja skryptów to '~/.weechat/<język>/').
|
||||
|
||||
Skrypty nie są kompatybilne z innymi klientami IRC.
|
||||
|
||||
Uwagi:
|
||||
|
||||
* skrypty w '~/.weechat/<język>/autoload/' są automatycznie ładowane przy
|
||||
uruchomieniu WeeChat.
|
||||
* wtyczka 'tcl' jest dostępna dla wersji > = 0.3.x.
|
||||
|
||||
|
||||
[[change_locale_without_quit]]
|
||||
Chcę zmienić język komunikatów wyświetlanych przez WeeChat, ale bez jego zamykania, czy jest to możliwe?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Tak,musisz użyć pythonowego skryptu shell.py (dostępny na stronie programu),
|
||||
oraz użyć tych komend po załadowaniu skryptu:
|
||||
|
||||
/shell setenv LANG=pl_PL.UTF-8
|
||||
/upgrade
|
||||
|
||||
Aby otrzymać polskie komunikaty dla kodowania UTF-8 w terminalu, osóby
|
||||
używające ISO, moga wykonać: `/shell setenv LANG=pl_PL`.
|
||||
|
||||
|
||||
[[terminal_copy_paste]]
|
||||
Jak mogę kopiować/wklejać tekst bez wklejania listy nicków w interfejsie Courses?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Możesz użyć terminala z prostokątnym zaznaczaniem (jak rxvt-unicode,
|
||||
konsole, gnome-terminal, ...). Klawisze to zazwyczaj ctrl + alt + zaznaczenie myszką.
|
||||
|
||||
Innym rozwiązaniem jest przesunięcie listy nicków na górę lub dół, na przykład:
|
||||
|
||||
* dla WeeChat < = 0.2.6: +
|
||||
`set look_nicklist_position = top`
|
||||
* dla WeeChat > = 0.3.x: +
|
||||
`/bar set nicklist position top`
|
||||
|
||||
|
||||
[[highlight_notification]]
|
||||
Jak mogę zostać powiadomiony, jeśli ktoś będzię chciał przyciągnąć moją uwagę na kanale?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
W zależnośći od wersji WeeChat:
|
||||
|
||||
* dla WeeChat < = 0.2.6: użyj skryptu 'sound.pl' (dostępny na stronie ze
|
||||
skryptami), następnie ustawienie komendy systemowej (do odtworzenia dźwięku,
|
||||
wyświetlenia wiadomości, ..) za pomocą komendy: +
|
||||
`/setp perl.sound.cmd_highlight = "/ścieżka/do/komendy argumenty"`
|
||||
* dla WeeChat > = 0.3.x: użyj skryptu 'launcher.pl' (dostępny na stronie ze
|
||||
skryptami), następnie ustawienie komendy systemowej (do odtworzenia dźwięku,
|
||||
wyświetlenia wiadomości, ..) za pomocą komendy: +
|
||||
`/set plugins.var.perl.launcher.signal.weechat_highlight "/ścieżka/do/komendy argumenty"`
|
||||
|
||||
Istnieje wiele innych skryptów do powiadomień, zajrzyj na stronę wtyczek/skryptów:
|
||||
http://www.weechat.org/plugins
|
||||
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
Jak moge filtrować wiadomości o wejściu/opuszczeniu/wyjściu na kanałach IRC?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
W zależności od wersji WeeChat:
|
||||
|
||||
* dla WeeChat < = 0.2.6: +
|
||||
`/ignore * join #weechat freenode` +
|
||||
`/ignore * part #weechat freenode` +
|
||||
`/ignore * quit #weechat freenode` +
|
||||
(kanał i/lib serwer mogą być "*", `/help ignore` dla pomocy)
|
||||
|
||||
* dla WeeChat > = 0.3.x:
|
||||
|
||||
** inteligentny filtr (pokazuje te informacje tylko od osób ostatnio aktywnych): +
|
||||
`/set irc.look.smart_filter on` +
|
||||
`/filter add irc_smart * irc_smart_filter *` +
|
||||
(`/help irc.look.smart_filter` oraz `/help filter` dla pomocy)
|
||||
|
||||
** globalny filtr (ukrywa *wszystkie* wejścia/opuszczenia/wyjścia): +
|
||||
`/filter add jpk * irc_join,irc_part,irc_quit *` +
|
||||
(`/help filter` dla pomocy)
|
||||
|
||||
|
||||
[[ignore_vs_filter]]
|
||||
Jaka jest różnica między komendami/ignore i /filter ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Komenda `/ignore` jest komendą IRC, zatem odnosi się tylko do buforów IRC
|
||||
(serwery i kanały).
|
||||
Pozwala ignorować niektóre nicki lub hosty użytkowników serwera lub kanału
|
||||
(komendy nie stotuje się do treści wiadomości).
|
||||
Pasujące wiadomości są usuwane przez wtyczkę IRC przed wyświetleniem (nigdy
|
||||
ich nie zobaczysz).
|
||||
|
||||
Komenda `/filter` jest komenda rdzenia, zatem odnosi się do dowolnego bufora.
|
||||
Pozwala filtrować niektóre linie w buforach za pomocą tagów lub wyrażeń
|
||||
regularnych dla przedrostków i zawartości lini.
|
||||
Filtrowane linie są tylko ukrywane, nie usuwane, można je zobaczyć wyłączając
|
||||
filtry (domyślnie alt + "=" zmienia stan filtrów).
|
||||
|
||||
|
||||
Rozwój
|
||||
------
|
||||
|
||||
|
||||
[[bug_task_patch]]
|
||||
Jak zgłaszać błędy, prosić o nowe możliwości lub wysyłać patche?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Są 3 możliwości:
|
||||
|
||||
. możesz dołączyć do nas na IRC: 'irc.freenode.net', kanał '#weechat'
|
||||
. możesz użyć strony www savannah:
|
||||
* zgłosić błąd: https://savannah.nongnu.org/bugs/?group=weechat
|
||||
* poprosić o nową możliwość: https://savannah.nongnu.org/task/?group=weechat
|
||||
* wysłać patch: https://savannah.nongnu.org/patch/?group=weechat
|
||||
. możesz napisać do deweloperów, na stronie wsparcia możesz znaleźć ich maile:
|
||||
http://www.weechat.org/about
|
||||
(możesz się zapisać na listę mailingową "support" i na niej pisać)
|
||||
|
||||
|
||||
[[supported_os]]
|
||||
Jaka jest lista platform wspieranych przez WeeChat? Czy będzie przeportowany na inne systemy operacyjne?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Pełną listę można znaleźć na stronie: http://www.weechat.org/download
|
||||
|
||||
Robimy co w naszej mocy, aby WeeChat działał na tylu platformach ile to tylko
|
||||
możliwe. Mile widziana jest pomoc w testowaniu dla systemów, których nie mamy.
|
||||
|
||||
|
||||
[[help_developers]]
|
||||
Chcę pomóc programistą WeeChat. Co mogę zrobić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Jest wiele zadań do zrobienia (testowanie, kod, dokumentacja, ...)
|
||||
|
||||
Skontaktuj się z nami na IRC lub mailowo, szczegóły:
|
||||
http://www.weechat.org/about
|
||||
|
||||
[[donate]]
|
||||
Czy mogę dac pieniądze albo inne rzeczy deweloperą WeeChat?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Tak możesz dać nam pieniądze, aby wspomóc rozwój.
|
||||
Szczegóły na http://www.weechat.org/donate
|
||||
@@ -0,0 +1,246 @@
|
||||
WeeChat szybki start
|
||||
====================
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
|
||||
|
||||
[[start]]
|
||||
Uruchamianie WeeChat
|
||||
--------------------
|
||||
|
||||
Zalecanym emulatorem terminala dla X (ale nieobowiązkowym) jest rxvt-unicode
|
||||
(posiada dobre wsparcie UTF-8, oraz nie ma problemów z domyślnymi skrótami
|
||||
klawiszowymi).
|
||||
|
||||
Wywołaj "weechat-curses" z terminala.
|
||||
|
||||
|
||||
[[help_options]]
|
||||
Pomoc online / opcje
|
||||
--------------------
|
||||
|
||||
WeeChat posiada pomoc dla wszystkich komend, wystarczy wywołać /help
|
||||
Aby otrzymać pomoc dla konkretnej komendy wpisz `/help command`
|
||||
|
||||
Do ustawiania opcji służy `/set config.sekcja.opcja wartość`
|
||||
(gdzie `config` jest nazwą konfiguracyjną (`weechat` dla rdzenia, lub nazwa
|
||||
wtyczki), `sekcja` sekcja pliku konfiguracyjnego, oraz `opcja` nazwa opcji).
|
||||
|
||||
WeeChat natychmiast używa nowej wartości (*nigdy* nie musisz restartoweać WeeChat
|
||||
po zmianach w ustawieniach).
|
||||
|
||||
Możesz użyć `/set` z częściową nazwą zmiennej oraz dziką kartą "*" na początku
|
||||
lub końcu, aby wyświetlić wszystkie opcje zawierające te litery.
|
||||
Na przykład:
|
||||
|
||||
`/set`::
|
||||
wyświetli wszystkie opcje (WeeChat oraz wtyczek)
|
||||
|
||||
`/set weechat.*`::
|
||||
wyświetli opcje WeeChat
|
||||
|
||||
`/set irc.*`::
|
||||
wyświetli opcje wtyczki IRC
|
||||
|
||||
Możesz wyświetlić pomoc dla opcji dzięki `/help`, na przykład:
|
||||
`/help weechat.look.highlight`.
|
||||
|
||||
Wszystkie ustawienia są zapisywane podczas wyjścia z WeeChat (lub za pomocą
|
||||
komendy `/save`, która wymusza zapisanie opcji).
|
||||
|
||||
Możesz edytować ręcznie pliki konfiguracyjne (*.conf) i przeładować je za pomocą
|
||||
komendy `/reload`, jeśli nie chcesz użyć komendy `/set`.
|
||||
|
||||
|
||||
[[core_vs_plugins]]
|
||||
Rdzeń vs wtyczki
|
||||
----------------
|
||||
|
||||
"Rdzeń" WeeChat jest używany tylko do wyświetlania danych na ekranie oraz
|
||||
interakcji z użytkownikiem, oznacza to, że rdzeń weechat bez wtyczek jest
|
||||
bezużyteczny (wierni użytkownicy: IRC był częścią rdzenia dla wersji < = 0.2.6).
|
||||
|
||||
Wszystkie protokoły sieciowe jak IRC są dostarczane w oddzielnych pluginach.
|
||||
|
||||
Użyj komendy `/plugin` do wyświetlenia załadowanych wtyczek, powinieneś zobaczyć
|
||||
na liście "irc" oraz inne wtyczki.
|
||||
|
||||
|
||||
[[create_irc_server]]
|
||||
Tworzenie serwera IRC
|
||||
---------------------
|
||||
|
||||
Możesz dodać serwer IRC za pomocą komendy `/server`, na przykład:
|
||||
|
||||
/server add oftc irc.oftc.org/6667
|
||||
|
||||
Jak zawsze w razie wątpliwości dostępna jest pomoc: `/help server`
|
||||
|
||||
|
||||
[[irc_server_options]]
|
||||
Ustawianie własnych opcji dla serwerów IRC
|
||||
------------------------------------------
|
||||
|
||||
WeeChat używa domyślnych wartości dla wszystkich serwerów ("fall backs"), jeśli
|
||||
nie określisz konkretnej wartości dla opcji serwera.
|
||||
Te domyślne opcje to "irc.server_default.*".
|
||||
|
||||
Dla każdej opcji serwera WeeChat używa jej wartości jeśli jest zdefiniowana (nie
|
||||
"null"). W przeciwnym przypadku WeeChat używa wartości domyślnych ("irc.server_default.xxx").
|
||||
|
||||
Na przykład znajdują się tam domyślne nicki (bazujące na Twoim loginie un*x),
|
||||
możesz je zmienić dla serwera oftc następującą komendą:
|
||||
|
||||
/set irc.server.oftc.nicks "mójnick1,mójnick2,mójnick3,mójnick4,mójnick5"
|
||||
|
||||
Ustawienie nazwy użytkownika i imienia:
|
||||
|
||||
/set irc.server.oftc.username "Moja nazwa użytkownika"
|
||||
/set irc.server.oftc.realname "Moje imię"
|
||||
|
||||
Aby włączyć automatyczne łączenie się z serwerem przy starcie:
|
||||
|
||||
/set irc.server.oftc.autoconnect on
|
||||
|
||||
Aby wykonać komendę po połączeniu z serwerem, na przykład zidentyfikować się
|
||||
w nickserv:
|
||||
|
||||
/set irc.server.oftc.command "/msg nickserv identify xxxxxx"
|
||||
|
||||
Przypis: wiele komend może być oddzielonych ';' (średnik)
|
||||
|
||||
Aby automatycznie wejść na kanały po połączeniu z serwerem:
|
||||
|
||||
/set irc.server.oftc.autojoin "#kanał1,#kanał2"
|
||||
|
||||
Aby usunąć wartość dla opcji serwera, używając w zamian wartości domyślnej,
|
||||
na przykład, aby używać domyślnych nicków (irc.server_default.nicks):
|
||||
|
||||
/set irc.server.oftc.nicks null
|
||||
|
||||
Inne opcje: możesz ustawić pozostałe opcje za pomocą komendy ("xxx" to
|
||||
nazwa opcji):
|
||||
|
||||
/set irc.server.oftc.xxx wartość
|
||||
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
Łączenie się z serwerem IRC i automatyczne wchodzenie na kanały
|
||||
---------------------------------------------------------------
|
||||
|
||||
/connect oftc
|
||||
|
||||
[NOTE]
|
||||
Ta komenda może być użyta do utworzenia i połączenia sie z nowym serwerem bez
|
||||
użycia komendy `/server` (czy mam powtarzać, że pomoc dla tej komendy można
|
||||
uzyskać dzięki `/help connect` ?).
|
||||
|
||||
Domyślnie bufory serwerów są połączone z buforem WeeChat 'core'. Aby przełączać
|
||||
się pomiędzy biforem 'core' a buforami serwerów możesz użyć ctrl-X.
|
||||
|
||||
Jest możliwe wyłączenie automatycznego łączenia buforów serwerów, aby mieć
|
||||
oddzielne bufory dla serwerów:
|
||||
|
||||
/set irc.look.server_buffer independent
|
||||
|
||||
|
||||
[[join_part_irc_channels]]
|
||||
Wchodzenie/wychodzenie z kanałów IRC
|
||||
------------------------------------
|
||||
|
||||
`/join #kanał`::
|
||||
wejście na kanał
|
||||
|
||||
`/part [wiadomość pożegnalna]`::
|
||||
wyjście z kanału (zostawiając otwarty bufor)
|
||||
|
||||
`/close [wiadomość pożegnalna]`::
|
||||
zamknięcie bufora serwera lub kanału (`/close` jest aliasem `/buffer close`)
|
||||
|
||||
|
||||
[[buffer_window]]
|
||||
Zarządzanie buforami/oknami
|
||||
---------------------------
|
||||
|
||||
Bufor jest to element łączący wtyczkę z numerem, kategorią,
|
||||
oraz nazwą. Zawiera on dane wyświetlane na ekranie.
|
||||
|
||||
Okno jest widokiem na bufor. Domyślnie jedno okno wyświetla jeden bufor.
|
||||
Jeśli podzielisz ekran, ujrzysz wiele okien z wieloma buforami jednocześnie.
|
||||
|
||||
Komendy do zarządzania buforami i oknami:
|
||||
|
||||
/buffer
|
||||
/window
|
||||
|
||||
(Nie będę powtarzać, że możesz uzyskać pomoc za pomocą /help na tych komendach)
|
||||
|
||||
Na przykład, aby pionowo podzielić ekran na małe okno (1/3 szerokości),
|
||||
oraz duże okno (2/3), użyj komendy:
|
||||
|
||||
/window splitv 33
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
Skróty klawiszowe
|
||||
-----------------
|
||||
|
||||
WeeChat używa domyślnie wiele klawiszy. Wszystie z nich są w dokumentacji,
|
||||
ale powinieneś znać przynajmniej kilka najprzydatniejszych:
|
||||
|
||||
- 'alt + strzałki lewo/prawo' (lub 'F5'/'F6'): przełącza na poprzedni/następny bufor
|
||||
- 'F7'/'F8': przełącza na poprzednie/następne okno (jeśli ekran jest podzielony)
|
||||
- 'F9'/'F10': przewija pasek z tematem kanału
|
||||
- 'F11'/'F12': przewija listę z nickami
|
||||
- 'tab': dopełnia tekst w pasku danych wejściowych, dokładnie jak w terminalu
|
||||
- 'page up/down': przewija tekst w obecnym buforze
|
||||
- 'alt + A': skocz do bufora z aktywnością (w hotliście)
|
||||
|
||||
Zgodnie z Twoją klawiaturą i/lub potrzebami, możesz zmienić przypisanie
|
||||
dowolnego klawisza do komendy używajac komendy `/key`.
|
||||
Przydatnym skrótem jest meta-k (alt-k) do odnajdywania kodów klawiszy.
|
||||
|
||||
Na przykład, aby przypisać meta-y (alt-y) do komendy `/buffer close`:
|
||||
|
||||
/key bind (wciśnij meta-k) (wciśnij meta-y) /buffer close
|
||||
|
||||
Otrzymasz w lini poleceń:
|
||||
|
||||
/key bind meta-y /buffer close
|
||||
|
||||
Aby usunąć klawisz:
|
||||
|
||||
/key unbind meta-y
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
Wtyczki/skrypty
|
||||
---------------
|
||||
|
||||
W niektórych dystrybucjach, jak np Debian, wtyczki są dostarczane jako oddzielne
|
||||
pakiety (jak weechat-plugins).
|
||||
Wtyczki są automatycznie ładowane, kiedy zostaną wykryte (proszę spojrzeć do
|
||||
dokumentacji WeeChat, aby się dowiedzieć jak ładowac/wyładowywać wtyczki lub
|
||||
skrypty).
|
||||
|
||||
Niektóre pluginy pozwalają na używanie skryptów w WeeChat (w wielu językach jak Perl,
|
||||
Python, Ruby, Lua oraz Tcl). Te wtyczki muszą być załadowane za pomoca komendy
|
||||
`/plugin`, dostarczają one komendy jak `/perl`, używane do ładowania skryptów.
|
||||
|
||||
Wiele zewnętrznych wtyczek/skryptów (od społeczności) jest dostępnych dla
|
||||
WeeChat: http://www.weechat.org/plugins
|
||||
|
||||
Najprostrzym sposobem na instalowanie skryptów jest użycie skryptu 'weeget.py':
|
||||
|
||||
. ściągnij i skopiuj 'weeget.py' do ~/.weechat/python/autoload/
|
||||
. załaduj skrypt: `/python autoload`
|
||||
. lista skryptów: `/weeget list` (dla pomocy: `/help weeget`)
|
||||
|
||||
|
||||
[[more_doc]]
|
||||
Więcej dokumentacji
|
||||
-------------------
|
||||
|
||||
Możesz teraz używać WeeChat oraz przeczytać FAQ/dokumentację w razie innych pytań:
|
||||
http://www.weechat.org/doc
|
||||
|
||||
Miłej pracy z WeeChat!
|
||||
@@ -0,0 +1,142 @@
|
||||
Poradnik testera WeeChat
|
||||
========================
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
|
||||
|
||||
[[purpose]]
|
||||
Cel
|
||||
---
|
||||
|
||||
Wielu wdzięcznych użytkowników pyta nas jak mogą pomóc w rozwoju WeeChat.
|
||||
Najłatwiejszym (a zarazem najtrudniejszym) sposobem jest testowanie!
|
||||
|
||||
Testowanie jest bardzo ważną częścią rozwoju oprogramowania i nie powinno być
|
||||
niedoceniane. Kiedy nowe funkcje są implementowane, powinny zostać przetestowane,
|
||||
ale dla wielu z nich jest za dużo możliwości użycia lub nie są łątwe do
|
||||
zasymulowania dlatego programiści nie są wstanie sprawdzić ich wszystkich.
|
||||
|
||||
Na przykład: Powszechnie znana wtyczka od kodowania została wprowadzona w
|
||||
WeeChat 0.2.2: żaden z nas (programistów, współpracowników, testerów) nie
|
||||
używał kanałów ze znakami narodowymi w nazwach, kiedy wersja 0.2.2 została
|
||||
wypuszczona zostaliśmy zalani użytkownikami z Rosji obwiniającymi nas.
|
||||
Gdy będziemy mieli więcej testrów taka sytuacja nie powinna się już zdarzyć
|
||||
w przyszłości.
|
||||
|
||||
Testowanie stabilenj wersji WeeChat jest bezcelowe, ponieważ programiści są
|
||||
zajęci cały czas implementowaniem nowych rzeczy (oraz poprawianiem błędów).
|
||||
|
||||
|
||||
[[prepare_system]]
|
||||
Przygotuj swój system
|
||||
---------------------
|
||||
|
||||
Bardzo nam pomoże, jeśli włączysz linuksowe pliki 'core': jeśli WeeChat zawiesi,
|
||||
się Linuks zapisze plik zwany 'core'. Plik ten zawiera uzyteczne informacje
|
||||
pozwalające dokładnie zlokalizować bład w WeeChat.
|
||||
|
||||
Jeśli korzystasz z powłoki 'bash', dodaj następującą linijkę do `~/.bashrc`:
|
||||
|
||||
ulimit -c unlimited
|
||||
|
||||
|
||||
[[download]]
|
||||
Pobieranie wersji rozwojowej
|
||||
----------------------------
|
||||
|
||||
Świerzy kod (z najnowszymi błędami i funkcjami) przechowywany jest w repozytorium GIT.
|
||||
|
||||
Możesz się zdecydować na własnoręczne zbudowanie (zalecana metoda):
|
||||
|
||||
* wersja z GIT może być zbudowana i zainstalowana równolegle z wersją stabulną,
|
||||
* nie potrzebujesz uprawnień administratora, oraz nie musisz poświęcać stabilnej
|
||||
wersji WeeChat.
|
||||
|
||||
[[get_sources]]
|
||||
Pobierz i zbuduj źródła
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Najpierw stwórz katalog, na przykład 'weechat-git':
|
||||
|
||||
---------------------
|
||||
$ mkdir ~/weechat-git
|
||||
$ cd ~/weechat-git
|
||||
---------------------
|
||||
|
||||
Jeśli masz zainstalowanego gita, po prostu zklonuj repozytorium (zalecana
|
||||
metoda):
|
||||
|
||||
--------------------------------------------
|
||||
$ git clone git://git.sv.gnu.org/weechat.git
|
||||
$ cd weechat
|
||||
--------------------------------------------
|
||||
|
||||
UWAGA: Później możesz wykonać w tym katalogu "`git pull`", aby pobrać najnowsze
|
||||
poprawki.
|
||||
|
||||
Oczywiście możesz pobrać paczke oznaczoną jako 'devel':
|
||||
|
||||
-----------------------------------------------------------------
|
||||
$ wget http://www.weechat.org/files/src/weechat-devel.tar.bz2
|
||||
$ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
-----------------------------------------------------------------
|
||||
|
||||
Do zbudowania źródeł zaleca się cmake:
|
||||
|
||||
--------------------------------------------------------------
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DPREFIX=$HOME/weechat-git -DCMAKE_BUILD_TYPE=Debug
|
||||
$ make
|
||||
$ make install
|
||||
--------------------------------------------------------------
|
||||
|
||||
Jeśli nie posiadasz cmake, nadal jest możliwe użycie autotools:
|
||||
|
||||
----------------------------------------------------------
|
||||
$ ./autogen.sh # (only if you cloned git repository)
|
||||
$ ./configure --prefix=$HOME/weechat-git
|
||||
$ make
|
||||
$ make install
|
||||
----------------------------------------------------------
|
||||
|
||||
[[install_binary_package]]
|
||||
Instalowanie pakietów binarnych
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
W zależności od dystrybucji Linuksa:
|
||||
|
||||
* Debian: http://debian.flashtux.org/
|
||||
* Gentoo: http://www.weechat.org/download
|
||||
* ArchLinux: PKGBUILD z http://aur.archlinux.org/
|
||||
* inne: nie mamy pojęcia! Eheh.
|
||||
|
||||
|
||||
[[run]]
|
||||
Uruchomienie WeeChat
|
||||
--------------------
|
||||
|
||||
Zalca się uruchomianie WeeChat z innym katalogiem (różnym od wersji stabilnej),
|
||||
za pomocą opcji `--dir`.
|
||||
|
||||
Komenda to:
|
||||
|
||||
~/weechat-git/bin/weechat-curses --dir ~/.weechat-dev
|
||||
|
||||
Jeśli nadal nie śpisz powinieneś ujrzeć znajomy interfejs i chwalić się
|
||||
z posiadania najnowszej możliwej wersji WeeChat. ;)
|
||||
|
||||
Teraz jeśli zaobserwujesz dziwne zachowanie (może sprawiać problemy, ulec awari
|
||||
lub zagotować Twoje piwo) nie wachaj się wejść na kanał `#weechat` na serwerze
|
||||
`irc.freenode.net` i nam o tym opowiedzieć.
|
||||
|
||||
Jeśli wszystko będzie w porządku - też nam o tym powiedz, potrzebujemy Twojej opinii!
|
||||
|
||||
|
||||
[[links]]
|
||||
Przydatne linki
|
||||
---------------
|
||||
|
||||
* Repozytorium GIT: http://git.savannah.gnu.org/gitweb/?p=weechat.git
|
||||
* System śledzenia błędów: https://savannah.nongnu.org/bugs/?group=weechat
|
||||
* Kanał RSS dokonywanych poprawek: http://git.savannah.gnu.org/gitweb/?p=weechat.git;a=rss
|
||||
@@ -1,4 +1,4 @@
|
||||
.TH WEECHAT 1 "May 2009" "FlashCode"
|
||||
.TH WEECHAT 1 "September 2009" "FlashCode"
|
||||
|
||||
.SH NAME
|
||||
weechat-curses \- Wee Enhanced Environment for Chat (Curses version)
|
||||
@@ -107,4 +107,4 @@ WeeChat is written by FlashCode <flashcode@flashtux.org>
|
||||
.br
|
||||
Web:
|
||||
.UR
|
||||
http://weechat.flashtux.org/
|
||||
http://www.weechat.org/
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Project-Id-Version: WeeChat 0.3.0\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-06-25 10:20+0200\n"
|
||||
"PO-Revision-Date: 2009-06-25 10:20+0200\n"
|
||||
"POT-Creation-Date: 2009-09-04 10:38+0200\n"
|
||||
"PO-Revision-Date: 2009-09-06 10:02+0200\n"
|
||||
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -724,7 +724,7 @@ msgstr ""
|
||||
msgid ""
|
||||
" add: add a new bar\n"
|
||||
" barname: name of bar (must be unique)\n"
|
||||
" type: root: outside windows),\n"
|
||||
" type: root: outside windows,\n"
|
||||
" window: inside windows, with optional conditions (see below)\n"
|
||||
" cond1,...: condition(s) for displaying bar (only for type \"window\"):\n"
|
||||
" active: on active window\n"
|
||||
@@ -732,7 +732,6 @@ msgid ""
|
||||
" nicklist: on windows with nicklist\n"
|
||||
" without condition, bar is always displayed\n"
|
||||
" position: bottom, top, left or right\n"
|
||||
" filling: horizontal, vertical, columns_horizontal or columns_vertical\n"
|
||||
" size: size of bar (in chars)\n"
|
||||
" separator: 1 for using separator (line), 0 or nothing means no "
|
||||
"separator\n"
|
||||
@@ -782,7 +781,6 @@ msgstr ""
|
||||
" nicklist: sue les fenêtres avec liste de pseudos\n"
|
||||
" sans condition, la barre est toujours affichée\n"
|
||||
" position: bottom (bas), top (haut), left (gauche) ou right (droite)\n"
|
||||
" remplissage: horizontal, vertical, columns_horizontal ou columns_vertical\n"
|
||||
" taille: taille de la barre (en caractères)\n"
|
||||
" séparateur: 1 pour utiliser un séparateur (ligne), 0 ou rien signifie "
|
||||
"sans séparateur\n"
|
||||
@@ -977,7 +975,7 @@ msgid ""
|
||||
" tags: comma separated list of tags, for example: \"irc_join,"
|
||||
"irc_part,irc_quit\"\n"
|
||||
" regex: regular expression to search in line (use \\t to separate "
|
||||
"prefix from message)\n"
|
||||
"prefix from message, special chars like '|' must be escaped: '\\|')\n"
|
||||
"\n"
|
||||
"The default key alt+'=' toggles filtering on/off.\n"
|
||||
"\n"
|
||||
@@ -1006,7 +1004,8 @@ msgstr ""
|
||||
" tags: liste de tags, séparés par des virgules, par exemple: "
|
||||
"\"irc_join,irc_part,irc_quit\"\n"
|
||||
" regex: expressoin régulière à rechercher dans la ligne (utiliser "
|
||||
"\\t pour séparer le préfixe du message)\n"
|
||||
"\\t pour séparer le préfixe du message, les caractères spéciaux comme '|' "
|
||||
"doivent être échappés: '\\|')\n"
|
||||
"\n"
|
||||
"La touche par défaut alt+'=' active/désactive le filtrage.\n"
|
||||
"\n"
|
||||
@@ -1616,6 +1615,9 @@ msgstr "alignement de préfixe (none, left, right (par défaut))"
|
||||
msgid "max size for prefix (0 = no max size)"
|
||||
msgstr "taille maximum pour le préfixe (0 = pas de taille maximum)"
|
||||
|
||||
msgid "display '+' if prefix is truncated"
|
||||
msgstr "afficher '+' si le préfixe est tronqué"
|
||||
|
||||
msgid ""
|
||||
"prefix alignment for buffer name, when many buffers are merged with same "
|
||||
"number (none, left, right (default))"
|
||||
@@ -1623,6 +1625,20 @@ msgstr ""
|
||||
"alignement de préfixe pour le nom du tampon, quand plusieurs tampons sont "
|
||||
"mélangés avec le même numéro (none, left, right (par défaut))"
|
||||
|
||||
msgid ""
|
||||
"max size for buffer name, when many buffers are merged with same number (0 = "
|
||||
"no max size)"
|
||||
msgstr ""
|
||||
"taille maximum pour le nom du tampon, quand plusieurs tampons sont mélangés "
|
||||
"avec le même numéro (0 = pas de taille maximum)"
|
||||
|
||||
msgid ""
|
||||
"display '+' if buffer name is truncated (when many buffers are merged with "
|
||||
"same number)"
|
||||
msgstr ""
|
||||
"afficher '+' si le nom du tampon est tronqué (quand plusieurs tampons sont "
|
||||
"mélangés avec le même numéro)"
|
||||
|
||||
msgid "string displayed after prefix"
|
||||
msgstr "chaîne affichée après le préfixe"
|
||||
|
||||
@@ -1647,6 +1663,11 @@ msgstr ""
|
||||
"pourcentage de l'écran à faire défiler lors du défilement avec page "
|
||||
"précédente ou suivante (par exemple 100 signifie une page, 50 une demi-page)"
|
||||
|
||||
msgid "alert user when text sought is not found in buffer"
|
||||
msgstr ""
|
||||
"alterte l'utilisateur lorsque le texte cherché n'est pas trouvé dans le "
|
||||
"tampon"
|
||||
|
||||
msgid "set title for window (terminal for Curses GUI) with name and version"
|
||||
msgstr ""
|
||||
"définit le titre de la fenêtre (terminal pour l'interface Curses) avec le "
|
||||
@@ -1807,9 +1828,6 @@ msgid "text color for buffer with new data (status bar)"
|
||||
msgstr ""
|
||||
"couleur du texte pour un tampon avec des nouvelles données (barre de statut)"
|
||||
|
||||
msgid "text color for nick name in input line"
|
||||
msgstr "couleur du texte pour le pseudo dans la ligne de saisie"
|
||||
|
||||
msgid "text color for unsucessful text search in input line"
|
||||
msgstr ""
|
||||
"couleur du texte pour la recherche infructueuse de texte dans la ligne de "
|
||||
@@ -1844,9 +1862,6 @@ msgstr ""
|
||||
"couleur du texte pour les '+' lors du défilement des pseudos dans la liste "
|
||||
"des pseudos"
|
||||
|
||||
msgid "text color for nicklist separator"
|
||||
msgstr "couleur du texte pour le séparateur de la liste des pseudos"
|
||||
|
||||
msgid ""
|
||||
"default completion template (please see documentation for template codes and "
|
||||
"values)"
|
||||
@@ -1870,7 +1885,7 @@ msgid "chars ignored for nick completion"
|
||||
msgstr "caractères à ignorer pour la complétion des pseudos"
|
||||
|
||||
msgid "alert user when a partial completion occurs"
|
||||
msgstr "alterte de l'utilisateur lorsqu'une complétion partielle survient"
|
||||
msgstr "alterte l'utilisateur lorsqu'une complétion partielle survient"
|
||||
|
||||
msgid ""
|
||||
"partially complete command names (stop when many commands found begin with "
|
||||
@@ -2493,7 +2508,7 @@ msgstr ""
|
||||
msgid "%s%s: error creating aspell dictionary \"%s\" => \"%s\""
|
||||
msgstr "%s%s: erreur en création du dictionnaire aspell \"%s\" => \"%s\""
|
||||
|
||||
msgid "color used for mispelled words"
|
||||
msgid "color used for misspelled words"
|
||||
msgstr "couleur utilisée pour les mots mal orthographiés"
|
||||
|
||||
msgid ""
|
||||
@@ -2507,7 +2522,7 @@ msgstr ""
|
||||
msgid ""
|
||||
"default dictionary (or comma separated list of dictionaries) to use when "
|
||||
"buffer has no dictionary defined (leave blank to disable aspell on buffers "
|
||||
"for which you didn't explicitely enabled it)"
|
||||
"for which you didn't explicitly enabled it)"
|
||||
msgstr ""
|
||||
"dictionnaire par défaut (ou liste de dictionnaires séparés par une virgule) "
|
||||
"à utiliser quand le tampon courant n'a pas de dictionnaire défini (laissez "
|
||||
@@ -3188,8 +3203,8 @@ msgstr "pseudo: pseudo"
|
||||
msgid "join a channel"
|
||||
msgstr "joindre un canal"
|
||||
|
||||
msgid "channel[,channel] [key[,key]]"
|
||||
msgstr "canal[,canal] [clé[,clé]]"
|
||||
msgid "[channel[,channel] [key[,key]]]"
|
||||
msgstr "[canal[,canal] [clé[,clé]]]"
|
||||
|
||||
msgid ""
|
||||
"channel: channel name to join\n"
|
||||
@@ -3784,6 +3799,12 @@ msgstr "serveur IRC courant"
|
||||
msgid "nick on current IRC server"
|
||||
msgstr "pseudo sur le serveur IRC courant"
|
||||
|
||||
msgid "channels on current IRC server"
|
||||
msgstr "canaux sur le serveur IRC courant"
|
||||
|
||||
msgid "privates on current IRC server"
|
||||
msgstr "privés sur le serveur IRC courant"
|
||||
|
||||
msgid "nicks on all channels of current IRC server"
|
||||
msgstr "pseudos sur tous les canaux du serveur IRC courant"
|
||||
|
||||
@@ -3802,11 +3823,11 @@ msgstr "pseudos et noms d'hôtes du canal IRC courant"
|
||||
msgid "topic of current IRC channel"
|
||||
msgstr "titre du canal IRC courant"
|
||||
|
||||
msgid "IRC channels (on all servers)"
|
||||
msgstr "canaux IRC (sur tous les serveurs)"
|
||||
msgid "channels on all IRC servers"
|
||||
msgstr "canaux sur tous les serveurs IRC"
|
||||
|
||||
msgid "IRC privates (on all servers)"
|
||||
msgstr "canaux IRC (sur tous les serveurs)"
|
||||
msgid "privates on all IRC servers"
|
||||
msgstr "privés sur tous les serveurs IRC"
|
||||
|
||||
msgid "default part message for IRC channel"
|
||||
msgstr "message de fin par défaut pour le canal IRC"
|
||||
@@ -4310,7 +4331,7 @@ msgid "%sTopic for %s%s%s set by %s%s%s on %s"
|
||||
msgstr "%sTitre pour %s%s%s défini par %s%s%s le %s"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s%s%s has invited %s%s%s on %s%s"
|
||||
msgid "%s%s%s%s has invited %s%s%s to %s%s"
|
||||
msgstr "%s%s%s%s a invité %s%s%s sur %s%s"
|
||||
|
||||
#, c-format
|
||||
@@ -4617,7 +4638,7 @@ msgstr ""
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: unable to start logging for buffer \"%s\": filename \"%s\" is already "
|
||||
"user by another buffer (check your log settings)"
|
||||
"used by another buffer (check your log settings)"
|
||||
msgstr ""
|
||||
"%s%s: impossible de démarrer l'enregistrement pour le tampon \"%s\": le nom "
|
||||
"de fichier \"%s\" est déjà utilisé par un autre tampon (vérifiez vos options "
|
||||
@@ -4772,6 +4793,13 @@ msgstr ""
|
||||
"l'option \"path\" est utilisée pour construire le chemin complet vers le "
|
||||
"fichier); les variables locales du tampon sont permises"
|
||||
|
||||
msgid ""
|
||||
"replacement char for special chars in filename built with mask (like "
|
||||
"directory delimiter)"
|
||||
msgstr ""
|
||||
"caractère de remplacement dans le nom de fichier construit avec le masque "
|
||||
"(comme le délimiteur de répertoire)"
|
||||
|
||||
msgid "write information line in log file when log starts or ends for a buffer"
|
||||
msgstr ""
|
||||
"écrire une ligne d'information dans le fichier log quand le log démarre ou "
|
||||
@@ -4864,6 +4892,14 @@ msgstr "liste des fenêtres"
|
||||
msgid "%sError: unable to load plugin \"%s\": %s"
|
||||
msgstr "%sErreur: impossible de charger l'extension \"%s\": %s"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%sIf you're trying to load a script and not a C plugin, try command to load "
|
||||
"scripts (/perl, /python, ...)"
|
||||
msgstr ""
|
||||
"%sSi vous essayez de charger un script et non une extension C, essayez la "
|
||||
"commande pour charger les scripts (/perl, /python, ...)"
|
||||
|
||||
#, c-format
|
||||
msgid "%sError: symbol \"%s\" not found in plugin \"%s\", failed to load"
|
||||
msgstr ""
|
||||
@@ -5242,8 +5278,8 @@ msgid "list/load/unload scripts"
|
||||
msgstr "liste/charge/décharge des scripts"
|
||||
|
||||
msgid ""
|
||||
"[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | "
|
||||
"[unload [name]]"
|
||||
"[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] "
|
||||
"| [unload [name]]"
|
||||
msgstr ""
|
||||
"[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload] | "
|
||||
"[unload [nom]]"
|
||||
@@ -5683,3 +5719,12 @@ msgstr "%s%s: impossible de positionner l'option \"nonblock\" pour la socket"
|
||||
#, c-format
|
||||
msgid "%s%s: timeout for \"%s\" with %s"
|
||||
msgstr "%s%s: délai d'attente dépassé pour \"%s\" avec %s"
|
||||
|
||||
#~ msgid "display '+' if buffer name is truncated"
|
||||
#~ msgstr "afficher '+' si le nom du tampon est tronqué"
|
||||
|
||||
#~ msgid "text color for nick name in input line"
|
||||
#~ msgstr "couleur du texte pour le pseudo dans la ligne de saisie"
|
||||
|
||||
#~ msgid "text color for nicklist separator"
|
||||
#~ msgstr "couleur du texte pour le séparateur de la liste des pseudos"
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Project-Id-Version: WeeChat 0.3.0\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-06-25 10:20+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"POT-Creation-Date: 2009-09-04 10:38+0200\n"
|
||||
"PO-Revision-Date: 2009-09-06 10:02+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -777,7 +777,7 @@ msgstr ""
|
||||
msgid ""
|
||||
" add: add a new bar\n"
|
||||
" barname: name of bar (must be unique)\n"
|
||||
" type: root: outside windows),\n"
|
||||
" type: root: outside windows,\n"
|
||||
" window: inside windows, with optional conditions (see below)\n"
|
||||
" cond1,...: condition(s) for displaying bar (only for type \"window\"):\n"
|
||||
" active: on active window\n"
|
||||
@@ -785,7 +785,6 @@ msgid ""
|
||||
" nicklist: on windows with nicklist\n"
|
||||
" without condition, bar is always displayed\n"
|
||||
" position: bottom, top, left or right\n"
|
||||
" filling: horizontal, vertical, columns_horizontal or columns_vertical\n"
|
||||
" size: size of bar (in chars)\n"
|
||||
" separator: 1 for using separator (line), 0 or nothing means no "
|
||||
"separator\n"
|
||||
@@ -959,7 +958,7 @@ msgid ""
|
||||
" tags: comma separated list of tags, for example: \"irc_join,"
|
||||
"irc_part,irc_quit\"\n"
|
||||
" regex: regular expression to search in line (use \\t to separate "
|
||||
"prefix from message)\n"
|
||||
"prefix from message, special chars like '|' must be escaped: '\\|')\n"
|
||||
"\n"
|
||||
"The default key alt+'=' toggles filtering on/off.\n"
|
||||
"\n"
|
||||
@@ -1467,11 +1466,24 @@ msgstr "névlista helye (top, left, right (alapértelmezett), bottom)"
|
||||
msgid "max size for prefix (0 = no max size)"
|
||||
msgstr ""
|
||||
|
||||
msgid "display '+' if prefix is truncated"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"prefix alignment for buffer name, when many buffers are merged with same "
|
||||
"number (none, left, right (default))"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"max size for buffer name, when many buffers are merged with same number (0 = "
|
||||
"no max size)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"display '+' if buffer name is truncated (when many buffers are merged with "
|
||||
"same number)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "string displayed after prefix"
|
||||
msgstr "névkiegészítés után beszúrt szöveg"
|
||||
@@ -1495,6 +1507,9 @@ msgid ""
|
||||
"100 means one page, 50 half-page)"
|
||||
msgstr ""
|
||||
|
||||
msgid "alert user when text sought is not found in buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "set title for window (terminal for Curses GUI) with name and version"
|
||||
msgstr ""
|
||||
"ablak címsorának beállítása (Curses GUI esetén a terminálé) a program nevére "
|
||||
@@ -1689,10 +1704,6 @@ msgstr "új adatot tartalmazó ablak színe (nem üzenetek) (státuszsor)"
|
||||
msgid "text color for buffer with new data (status bar)"
|
||||
msgstr "új adatot tartalmazó ablak színe (státuszsor)"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for nick name in input line"
|
||||
msgstr "nevek színe"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for unsucessful text search in input line"
|
||||
msgstr "információs pult határolóinak színe"
|
||||
@@ -1733,10 +1744,6 @@ msgstr "név színe"
|
||||
msgid "text color for '+' when scrolling nicks in nicklist"
|
||||
msgstr "a '+' jel színe névlista görgetésekor"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for nicklist separator"
|
||||
msgstr "névelválasztó színe"
|
||||
|
||||
msgid ""
|
||||
"default completion template (please see documentation for template codes and "
|
||||
"values)"
|
||||
@@ -2383,7 +2390,7 @@ msgstr ""
|
||||
msgid "%s%s: error creating aspell dictionary \"%s\" => \"%s\""
|
||||
msgstr "%s nincs elég memória az információs pult üzenethez\n"
|
||||
|
||||
msgid "color used for mispelled words"
|
||||
msgid "color used for misspelled words"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -2394,7 +2401,7 @@ msgstr ""
|
||||
msgid ""
|
||||
"default dictionary (or comma separated list of dictionaries) to use when "
|
||||
"buffer has no dictionary defined (leave blank to disable aspell on buffers "
|
||||
"for which you didn't explicitely enabled it)"
|
||||
"for which you didn't explicitly enabled it)"
|
||||
msgstr ""
|
||||
|
||||
msgid "check words during text search in buffer"
|
||||
@@ -3043,7 +3050,8 @@ msgstr "név: név"
|
||||
msgid "join a channel"
|
||||
msgstr "belépés egy szobába"
|
||||
|
||||
msgid "channel[,channel] [key[,key]]"
|
||||
#, fuzzy
|
||||
msgid "[channel[,channel] [key[,key]]]"
|
||||
msgstr "szoba[,szoba] [kulcs[,kulcs]]"
|
||||
|
||||
msgid ""
|
||||
@@ -3647,6 +3655,14 @@ msgstr "csatlakozás a szerver(ek)hez"
|
||||
msgid "nick on current IRC server"
|
||||
msgstr "csatlakozás a szerver(ek)hez"
|
||||
|
||||
#, fuzzy
|
||||
msgid "channels on current IRC server"
|
||||
msgstr "szobák listája ahová be akarunk lépni csatlakozás után"
|
||||
|
||||
#, fuzzy
|
||||
msgid "privates on current IRC server"
|
||||
msgstr "szobák listája ahová be akarunk lépni csatlakozás után"
|
||||
|
||||
#, fuzzy
|
||||
msgid "nicks on all channels of current IRC server"
|
||||
msgstr "szobák listája ahová be akarunk lépni csatlakozás után"
|
||||
@@ -3671,11 +3687,11 @@ msgid "topic of current IRC channel"
|
||||
msgstr "felhasználók listája a szobában"
|
||||
|
||||
#, fuzzy
|
||||
msgid "IRC channels (on all servers)"
|
||||
msgid "channels on all IRC servers"
|
||||
msgstr "szobák listája ahová be akarunk lépni csatlakozás után"
|
||||
|
||||
#, fuzzy
|
||||
msgid "IRC privates (on all servers)"
|
||||
msgid "privates on all IRC servers"
|
||||
msgstr "szobák listája ahová be akarunk lépni csatlakozás után"
|
||||
|
||||
#, fuzzy
|
||||
@@ -4182,7 +4198,7 @@ msgid "%sTopic for %s%s%s set by %s%s%s on %s"
|
||||
msgstr "A témát beállította: %s%s%s, %s"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s%s%s has invited %s%s%s on %s%s"
|
||||
msgid "%s%s%s%s has invited %s%s%s to %s%s"
|
||||
msgstr "%s%s%s meghívta %s%s%s-t %s%s-kor\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
@@ -4475,7 +4491,7 @@ msgstr ""
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: unable to start logging for buffer \"%s\": filename \"%s\" is already "
|
||||
"user by another buffer (check your log settings)"
|
||||
"used by another buffer (check your log settings)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
@@ -4591,6 +4607,11 @@ msgid ""
|
||||
"complete path to file); local buffer variables are permitted"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"replacement char for special chars in filename built with mask (like "
|
||||
"directory delimiter)"
|
||||
msgstr ""
|
||||
|
||||
msgid "write information line in log file when log starts or ends for a buffer"
|
||||
msgstr ""
|
||||
|
||||
@@ -4701,6 +4722,12 @@ msgstr "Mellőzések listája:\n"
|
||||
msgid "%sError: unable to load plugin \"%s\": %s"
|
||||
msgstr "%s nem sikerült a modult betölteni \"%s\": %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%sIf you're trying to load a script and not a C plugin, try command to load "
|
||||
"scripts (/perl, /python, ...)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sError: symbol \"%s\" not found in plugin \"%s\", failed to load"
|
||||
msgstr ""
|
||||
@@ -5076,8 +5103,8 @@ msgstr "modulok listázása/betöltése/eltávolítása"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | "
|
||||
"[unload [name]]"
|
||||
"[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] "
|
||||
"| [unload [name]]"
|
||||
msgstr ""
|
||||
"[list [név]] | [listfull [név]] | [load fájlnév] | [autoload] | [reload "
|
||||
"[név]] | [unload [név]]"
|
||||
@@ -5518,6 +5545,14 @@ msgstr "%s DCC: nem sikerült 'nonblock' opciót beállítani a csatornán\n"
|
||||
msgid "%s%s: timeout for \"%s\" with %s"
|
||||
msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "text color for nick name in input line"
|
||||
#~ msgstr "nevek színe"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "text color for nicklist separator"
|
||||
#~ msgstr "névelválasztó színe"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "servers"
|
||||
#~ msgstr "szerver"
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Project-Id-Version: WeeChat 0.3.0\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-06-25 10:20+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"POT-Creation-Date: 2009-09-04 10:38+0200\n"
|
||||
"PO-Revision-Date: 2009-09-06 10:02+0200\n"
|
||||
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -771,7 +771,7 @@ msgstr ""
|
||||
msgid ""
|
||||
" add: add a new bar\n"
|
||||
" barname: name of bar (must be unique)\n"
|
||||
" type: root: outside windows),\n"
|
||||
" type: root: outside windows,\n"
|
||||
" window: inside windows, with optional conditions (see below)\n"
|
||||
" cond1,...: condition(s) for displaying bar (only for type \"window\"):\n"
|
||||
" active: on active window\n"
|
||||
@@ -779,7 +779,6 @@ msgid ""
|
||||
" nicklist: on windows with nicklist\n"
|
||||
" without condition, bar is always displayed\n"
|
||||
" position: bottom, top, left or right\n"
|
||||
" filling: horizontal, vertical, columns_horizontal or columns_vertical\n"
|
||||
" size: size of bar (in chars)\n"
|
||||
" separator: 1 for using separator (line), 0 or nothing means no "
|
||||
"separator\n"
|
||||
@@ -954,7 +953,7 @@ msgid ""
|
||||
" tags: comma separated list of tags, for example: \"irc_join,"
|
||||
"irc_part,irc_quit\"\n"
|
||||
" regex: regular expression to search in line (use \\t to separate "
|
||||
"prefix from message)\n"
|
||||
"prefix from message, special chars like '|' must be escaped: '\\|')\n"
|
||||
"\n"
|
||||
"The default key alt+'=' toggles filtering on/off.\n"
|
||||
"\n"
|
||||
@@ -1470,11 +1469,24 @@ msgstr ""
|
||||
msgid "max size for prefix (0 = no max size)"
|
||||
msgstr ""
|
||||
|
||||
msgid "display '+' if prefix is truncated"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"prefix alignment for buffer name, when many buffers are merged with same "
|
||||
"number (none, left, right (default))"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"max size for buffer name, when many buffers are merged with same number (0 = "
|
||||
"no max size)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"display '+' if buffer name is truncated (when many buffers are merged with "
|
||||
"same number)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "string displayed after prefix"
|
||||
msgstr "строка, вставляемая после автодополнения ника"
|
||||
@@ -1498,6 +1510,9 @@ msgid ""
|
||||
"100 means one page, 50 half-page)"
|
||||
msgstr ""
|
||||
|
||||
msgid "alert user when text sought is not found in buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "set title for window (terminal for Curses GUI) with name and version"
|
||||
msgstr ""
|
||||
"устанавливать заголовок окна (терминала при интерфейсе Curses) с именем и "
|
||||
@@ -1692,10 +1707,6 @@ msgstr "цвет окна с новыми данными (но не сообще
|
||||
msgid "text color for buffer with new data (status bar)"
|
||||
msgstr "цвет окна с новыми данными (в строке состояния)"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for nick name in input line"
|
||||
msgstr "цвет ников"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for unsucessful text search in input line"
|
||||
msgstr "цвет разделителей информационной панели"
|
||||
@@ -1736,10 +1747,6 @@ msgstr "цвет ника"
|
||||
msgid "text color for '+' when scrolling nicks in nicklist"
|
||||
msgstr "цвет '+' при прокрутке ников"
|
||||
|
||||
#, fuzzy
|
||||
msgid "text color for nicklist separator"
|
||||
msgstr "цвет разделителя ников"
|
||||
|
||||
msgid ""
|
||||
"default completion template (please see documentation for template codes and "
|
||||
"values)"
|
||||
@@ -2386,7 +2393,7 @@ msgstr ""
|
||||
msgid "%s%s: error creating aspell dictionary \"%s\" => \"%s\""
|
||||
msgstr "%s недостаточно памяти для сообщения в строке информации\n"
|
||||
|
||||
msgid "color used for mispelled words"
|
||||
msgid "color used for misspelled words"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -2397,7 +2404,7 @@ msgstr ""
|
||||
msgid ""
|
||||
"default dictionary (or comma separated list of dictionaries) to use when "
|
||||
"buffer has no dictionary defined (leave blank to disable aspell on buffers "
|
||||
"for which you didn't explicitely enabled it)"
|
||||
"for which you didn't explicitly enabled it)"
|
||||
msgstr ""
|
||||
|
||||
msgid "check words during text search in buffer"
|
||||
@@ -3045,7 +3052,8 @@ msgstr "ник: ник"
|
||||
msgid "join a channel"
|
||||
msgstr "зайти на канал"
|
||||
|
||||
msgid "channel[,channel] [key[,key]]"
|
||||
#, fuzzy
|
||||
msgid "[channel[,channel] [key[,key]]]"
|
||||
msgstr "канал[,канал] [ключ[,ключ]]"
|
||||
|
||||
msgid ""
|
||||
@@ -3639,6 +3647,14 @@ msgstr "подключиться к серверу(-ам)"
|
||||
msgid "nick on current IRC server"
|
||||
msgstr "подключиться к серверу(-ам)"
|
||||
|
||||
#, fuzzy
|
||||
msgid "channels on current IRC server"
|
||||
msgstr "Список каналов, на которые заходить при соединении с сервером"
|
||||
|
||||
#, fuzzy
|
||||
msgid "privates on current IRC server"
|
||||
msgstr "Список каналов, на которые заходить при соединении с сервером"
|
||||
|
||||
#, fuzzy
|
||||
msgid "nicks on all channels of current IRC server"
|
||||
msgstr "Список каналов, на которые заходить при соединении с сервером"
|
||||
@@ -3663,11 +3679,11 @@ msgid "topic of current IRC channel"
|
||||
msgstr "список ников на канале"
|
||||
|
||||
#, fuzzy
|
||||
msgid "IRC channels (on all servers)"
|
||||
msgid "channels on all IRC servers"
|
||||
msgstr "Список каналов, на которые заходить при соединении с сервером"
|
||||
|
||||
#, fuzzy
|
||||
msgid "IRC privates (on all servers)"
|
||||
msgid "privates on all IRC servers"
|
||||
msgstr "Список каналов, на которые заходить при соединении с сервером"
|
||||
|
||||
#, fuzzy
|
||||
@@ -4174,7 +4190,7 @@ msgid "%sTopic for %s%s%s set by %s%s%s on %s"
|
||||
msgstr "Тема установлена пользователем %s%s%s, %s"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s%s%s has invited %s%s%s on %s%s"
|
||||
msgid "%s%s%s%s has invited %s%s%s to %s%s"
|
||||
msgstr "%s%s%s пригласил %s%s%s на канал %s%s\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
@@ -4461,7 +4477,7 @@ msgstr ""
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: unable to start logging for buffer \"%s\": filename \"%s\" is already "
|
||||
"user by another buffer (check your log settings)"
|
||||
"used by another buffer (check your log settings)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
@@ -4576,6 +4592,11 @@ msgid ""
|
||||
"complete path to file); local buffer variables are permitted"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"replacement char for special chars in filename built with mask (like "
|
||||
"directory delimiter)"
|
||||
msgstr ""
|
||||
|
||||
msgid "write information line in log file when log starts or ends for a buffer"
|
||||
msgstr ""
|
||||
|
||||
@@ -4686,6 +4707,12 @@ msgstr "Список игнорирования:\n"
|
||||
msgid "%sError: unable to load plugin \"%s\": %s"
|
||||
msgstr "%s не могу загрузить plugin \"%s\": %s\n"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%sIf you're trying to load a script and not a C plugin, try command to load "
|
||||
"scripts (/perl, /python, ...)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sError: symbol \"%s\" not found in plugin \"%s\", failed to load"
|
||||
msgstr ""
|
||||
@@ -5060,8 +5087,8 @@ msgstr "перечислить/загрузить/выгрузить plugin'ы"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | "
|
||||
"[unload [name]]"
|
||||
"[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] "
|
||||
"| [unload [name]]"
|
||||
msgstr ""
|
||||
"[list [имя]] | [listfull [имя]] | [load имя_файла] | [autoload] | [reload "
|
||||
"[имя]] | [unload [имя]]"
|
||||
@@ -5497,6 +5524,14 @@ msgstr "%s DCC: не могу установить неблокирующий р
|
||||
msgid "%s%s: timeout for \"%s\" with %s"
|
||||
msgstr "%s нет аргумента для параметра \"%s\"\n"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "text color for nick name in input line"
|
||||
#~ msgstr "цвет ников"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "text color for nicklist separator"
|
||||
#~ msgstr "цвет разделителя ников"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "servers"
|
||||
#~ msgstr "сервер"
|
||||
|
||||
+45
-19
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-06-25 10:20+0200\n"
|
||||
"POT-Creation-Date: 2009-09-04 10:38+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -687,7 +687,7 @@ msgstr ""
|
||||
msgid ""
|
||||
" add: add a new bar\n"
|
||||
" barname: name of bar (must be unique)\n"
|
||||
" type: root: outside windows),\n"
|
||||
" type: root: outside windows,\n"
|
||||
" window: inside windows, with optional conditions (see below)\n"
|
||||
" cond1,...: condition(s) for displaying bar (only for type \"window\"):\n"
|
||||
" active: on active window\n"
|
||||
@@ -695,7 +695,6 @@ msgid ""
|
||||
" nicklist: on windows with nicklist\n"
|
||||
" without condition, bar is always displayed\n"
|
||||
" position: bottom, top, left or right\n"
|
||||
" filling: horizontal, vertical, columns_horizontal or columns_vertical\n"
|
||||
" size: size of bar (in chars)\n"
|
||||
" separator: 1 for using separator (line), 0 or nothing means no "
|
||||
"separator\n"
|
||||
@@ -832,7 +831,7 @@ msgid ""
|
||||
" tags: comma separated list of tags, for example: \"irc_join,"
|
||||
"irc_part,irc_quit\"\n"
|
||||
" regex: regular expression to search in line (use \\t to separate "
|
||||
"prefix from message)\n"
|
||||
"prefix from message, special chars like '|' must be escaped: '\\|')\n"
|
||||
"\n"
|
||||
"The default key alt+'=' toggles filtering on/off.\n"
|
||||
"\n"
|
||||
@@ -1258,11 +1257,24 @@ msgstr ""
|
||||
msgid "max size for prefix (0 = no max size)"
|
||||
msgstr ""
|
||||
|
||||
msgid "display '+' if prefix is truncated"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"prefix alignment for buffer name, when many buffers are merged with same "
|
||||
"number (none, left, right (default))"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"max size for buffer name, when many buffers are merged with same number (0 = "
|
||||
"no max size)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"display '+' if buffer name is truncated (when many buffers are merged with "
|
||||
"same number)"
|
||||
msgstr ""
|
||||
|
||||
msgid "string displayed after prefix"
|
||||
msgstr ""
|
||||
|
||||
@@ -1283,6 +1295,9 @@ msgid ""
|
||||
"100 means one page, 50 half-page)"
|
||||
msgstr ""
|
||||
|
||||
msgid "alert user when text sought is not found in buffer"
|
||||
msgstr ""
|
||||
|
||||
msgid "set title for window (terminal for Curses GUI) with name and version"
|
||||
msgstr ""
|
||||
|
||||
@@ -1429,9 +1444,6 @@ msgstr ""
|
||||
msgid "text color for buffer with new data (status bar)"
|
||||
msgstr ""
|
||||
|
||||
msgid "text color for nick name in input line"
|
||||
msgstr ""
|
||||
|
||||
msgid "text color for unsucessful text search in input line"
|
||||
msgstr ""
|
||||
|
||||
@@ -1462,9 +1474,6 @@ msgstr ""
|
||||
msgid "text color for '+' when scrolling nicks in nicklist"
|
||||
msgstr ""
|
||||
|
||||
msgid "text color for nicklist separator"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"default completion template (please see documentation for template codes and "
|
||||
"values)"
|
||||
@@ -2035,7 +2044,7 @@ msgstr ""
|
||||
msgid "%s%s: error creating aspell dictionary \"%s\" => \"%s\""
|
||||
msgstr ""
|
||||
|
||||
msgid "color used for mispelled words"
|
||||
msgid "color used for misspelled words"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -2046,7 +2055,7 @@ msgstr ""
|
||||
msgid ""
|
||||
"default dictionary (or comma separated list of dictionaries) to use when "
|
||||
"buffer has no dictionary defined (leave blank to disable aspell on buffers "
|
||||
"for which you didn't explicitely enabled it)"
|
||||
"for which you didn't explicitly enabled it)"
|
||||
msgstr ""
|
||||
|
||||
msgid "check words during text search in buffer"
|
||||
@@ -2642,7 +2651,7 @@ msgstr ""
|
||||
msgid "join a channel"
|
||||
msgstr ""
|
||||
|
||||
msgid "channel[,channel] [key[,key]]"
|
||||
msgid "[channel[,channel] [key[,key]]]"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -3103,6 +3112,12 @@ msgstr ""
|
||||
msgid "nick on current IRC server"
|
||||
msgstr ""
|
||||
|
||||
msgid "channels on current IRC server"
|
||||
msgstr ""
|
||||
|
||||
msgid "privates on current IRC server"
|
||||
msgstr ""
|
||||
|
||||
msgid "nicks on all channels of current IRC server"
|
||||
msgstr ""
|
||||
|
||||
@@ -3121,10 +3136,10 @@ msgstr ""
|
||||
msgid "topic of current IRC channel"
|
||||
msgstr ""
|
||||
|
||||
msgid "IRC channels (on all servers)"
|
||||
msgid "channels on all IRC servers"
|
||||
msgstr ""
|
||||
|
||||
msgid "IRC privates (on all servers)"
|
||||
msgid "privates on all IRC servers"
|
||||
msgstr ""
|
||||
|
||||
msgid "default part message for IRC channel"
|
||||
@@ -3579,7 +3594,7 @@ msgid "%sTopic for %s%s%s set by %s%s%s on %s"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s%s%s has invited %s%s%s on %s%s"
|
||||
msgid "%s%s%s%s has invited %s%s%s to %s%s"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
@@ -3859,7 +3874,7 @@ msgstr ""
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: unable to start logging for buffer \"%s\": filename \"%s\" is already "
|
||||
"user by another buffer (check your log settings)"
|
||||
"used by another buffer (check your log settings)"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
@@ -3968,6 +3983,11 @@ msgid ""
|
||||
"complete path to file); local buffer variables are permitted"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"replacement char for special chars in filename built with mask (like "
|
||||
"directory delimiter)"
|
||||
msgstr ""
|
||||
|
||||
msgid "write information line in log file when log starts or ends for a buffer"
|
||||
msgstr ""
|
||||
|
||||
@@ -4056,6 +4076,12 @@ msgstr ""
|
||||
msgid "%sError: unable to load plugin \"%s\": %s"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%sIf you're trying to load a script and not a C plugin, try command to load "
|
||||
"scripts (/perl, /python, ...)"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sError: symbol \"%s\" not found in plugin \"%s\", failed to load"
|
||||
msgstr ""
|
||||
@@ -4402,8 +4428,8 @@ msgid "list/load/unload scripts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | "
|
||||
"[unload [name]]"
|
||||
"[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] "
|
||||
"| [unload [name]]"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
|
||||
@@ -3914,7 +3914,7 @@ command_init ()
|
||||
"scroll_value] | [list] | [listfull] | [listitems]"),
|
||||
N_(" add: add a new bar\n"
|
||||
" barname: name of bar (must be unique)\n"
|
||||
" type: root: outside windows),\n"
|
||||
" type: root: outside windows,\n"
|
||||
" window: inside windows, with optional "
|
||||
"conditions (see below)\n"
|
||||
" cond1,...: condition(s) for displaying bar (only for "
|
||||
@@ -3924,8 +3924,6 @@ command_init ()
|
||||
" nicklist: on windows with nicklist\n"
|
||||
" without condition, bar is always displayed\n"
|
||||
" position: bottom, top, left or right\n"
|
||||
" filling: horizontal, vertical, columns_horizontal "
|
||||
"or columns_vertical\n"
|
||||
" size: size of bar (in chars)\n"
|
||||
" separator: 1 for using separator (line), 0 or nothing "
|
||||
"means no separator\n"
|
||||
@@ -4075,7 +4073,8 @@ command_init ()
|
||||
" tags: comma separated list of tags, for "
|
||||
"example: \"irc_join,irc_part,irc_quit\"\n"
|
||||
" regex: regular expression to search in "
|
||||
"line (use \\t to separate prefix from message)\n\n"
|
||||
"line (use \\t to separate prefix from message, special "
|
||||
"chars like '|' must be escaped: '\\|')\n\n"
|
||||
"The default key alt+'=' toggles filtering on/off.\n\n"
|
||||
"Examples:\n"
|
||||
" use IRC smart filter for join/part/quit messages:\n"
|
||||
|
||||
@@ -2043,7 +2043,7 @@ config_file_read_internal (struct t_config_file *config_file, int reload)
|
||||
&& (ptr_line[0] != '\n'))
|
||||
{
|
||||
/* beginning of section */
|
||||
if (ptr_line[0] == '[')
|
||||
if ((ptr_line[0] == '[') && !strchr (ptr_line, '='))
|
||||
{
|
||||
pos = strchr (line, ']');
|
||||
if (!pos)
|
||||
|
||||
+27
-15
@@ -92,13 +92,17 @@ struct t_config_option *config_look_paste_max_lines;
|
||||
struct t_config_option *config_look_prefix[GUI_CHAT_NUM_PREFIXES];
|
||||
struct t_config_option *config_look_prefix_align;
|
||||
struct t_config_option *config_look_prefix_align_max;
|
||||
struct t_config_option *config_look_prefix_align_more;
|
||||
struct t_config_option *config_look_prefix_buffer_align;
|
||||
struct t_config_option *config_look_prefix_buffer_align_max;
|
||||
struct t_config_option *config_look_prefix_buffer_align_more;
|
||||
struct t_config_option *config_look_prefix_suffix;
|
||||
struct t_config_option *config_look_read_marker;
|
||||
struct t_config_option *config_look_save_config_on_exit;
|
||||
struct t_config_option *config_look_save_layout_on_exit;
|
||||
struct t_config_option *config_look_scroll_amount;
|
||||
struct t_config_option *config_look_scroll_page_percent;
|
||||
struct t_config_option *config_look_search_text_not_found_alert;
|
||||
struct t_config_option *config_look_set_title;
|
||||
|
||||
/* config, colors section */
|
||||
@@ -137,7 +141,6 @@ struct t_config_option *config_color_status_data_private;
|
||||
struct t_config_option *config_color_status_data_highlight;
|
||||
struct t_config_option *config_color_status_data_other;
|
||||
struct t_config_option *config_color_status_more;
|
||||
struct t_config_option *config_color_input_nick;
|
||||
struct t_config_option *config_color_input_text_not_found;
|
||||
struct t_config_option *config_color_input_actions;
|
||||
struct t_config_option *config_color_nicklist_group;
|
||||
@@ -148,7 +151,6 @@ struct t_config_option *config_color_nicklist_prefix3;
|
||||
struct t_config_option *config_color_nicklist_prefix4;
|
||||
struct t_config_option *config_color_nicklist_prefix5;
|
||||
struct t_config_option *config_color_nicklist_more;
|
||||
struct t_config_option *config_color_nicklist_separator;
|
||||
|
||||
/* config, completion section */
|
||||
|
||||
@@ -1370,13 +1372,30 @@ config_weechat_init_options ()
|
||||
weechat_config_file, ptr_section,
|
||||
"prefix_align_max", "integer",
|
||||
N_("max size for prefix (0 = no max size)"),
|
||||
NULL, 0, 64, "0", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL);
|
||||
NULL, 0, 128, "0", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL);
|
||||
config_look_prefix_align_more = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"prefix_align_more", "boolean",
|
||||
N_("display '+' if prefix is truncated"),
|
||||
NULL, 0, 0, "on", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL);
|
||||
config_look_prefix_buffer_align = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"prefix_buffer_align", "integer",
|
||||
N_("prefix alignment for buffer name, when many buffers are merged "
|
||||
"with same number (none, left, right (default))"),
|
||||
"none|left|right", 0, 0, "right", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL);
|
||||
config_look_prefix_buffer_align_max = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"prefix_buffer_align_max", "integer",
|
||||
N_("max size for buffer name, when many buffers are merged with same "
|
||||
"number (0 = no max size)"),
|
||||
NULL, 0, 128, "0", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL);
|
||||
config_look_prefix_buffer_align_more = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"prefix_buffer_align_more", "boolean",
|
||||
N_("display '+' if buffer name is truncated (when many buffers are "
|
||||
"merged with same number)"),
|
||||
NULL, 0, 0, "on", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL);
|
||||
config_look_prefix_suffix = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"prefix_suffix", "string",
|
||||
@@ -1410,6 +1429,11 @@ config_weechat_init_options ()
|
||||
N_("percent of screen to scroll when scrolling one page up or down "
|
||||
"(for example 100 means one page, 50 half-page)"),
|
||||
NULL, 1, 100, "100", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_look_search_text_not_found_alert = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"search_text_not_found_alert", "boolean",
|
||||
N_("alert user when text sought is not found in buffer"),
|
||||
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_look_set_title = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"set_title", "boolean",
|
||||
@@ -1717,12 +1741,6 @@ config_weechat_init_options ()
|
||||
NULL, -1, 0, "yellow", NULL, 0,
|
||||
NULL, NULL, &config_change_color, NULL, NULL, NULL);
|
||||
/* input window */
|
||||
config_color_input_nick = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"input_nick", "color",
|
||||
N_("text color for nick name in input line"),
|
||||
NULL, -1, 0, "lightcyan", NULL, 0,
|
||||
NULL, NULL, &config_change_color, NULL, NULL, NULL);
|
||||
config_color_input_text_not_found = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"input_text_not_found", "color",
|
||||
@@ -1784,12 +1802,6 @@ config_weechat_init_options ()
|
||||
N_("text color for '+' when scrolling nicks in nicklist"),
|
||||
NULL, -1, 0, "lightmagenta", NULL, 0,
|
||||
NULL, NULL, &config_change_color, NULL, NULL, NULL);
|
||||
config_color_nicklist_separator = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"nicklist_separator", "color",
|
||||
N_("text color for nicklist separator"),
|
||||
NULL, -1, 0, "blue", NULL, 0,
|
||||
NULL, NULL, &config_change_color, NULL, NULL, NULL);
|
||||
|
||||
/* completion */
|
||||
ptr_section = config_file_new_section (weechat_config_file, "completion",
|
||||
|
||||
@@ -107,13 +107,17 @@ extern struct t_config_option *config_look_paste_max_lines;
|
||||
extern struct t_config_option *config_look_prefix[];
|
||||
extern struct t_config_option *config_look_prefix_align;
|
||||
extern struct t_config_option *config_look_prefix_align_max;
|
||||
extern struct t_config_option *config_look_prefix_align_more;
|
||||
extern struct t_config_option *config_look_prefix_buffer_align;
|
||||
extern struct t_config_option *config_look_prefix_buffer_align_max;
|
||||
extern struct t_config_option *config_look_prefix_buffer_align_more;
|
||||
extern struct t_config_option *config_look_prefix_suffix;
|
||||
extern struct t_config_option *config_look_read_marker;
|
||||
extern struct t_config_option *config_look_save_config_on_exit;
|
||||
extern struct t_config_option *config_look_save_layout_on_exit;
|
||||
extern struct t_config_option *config_look_scroll_amount;
|
||||
extern struct t_config_option *config_look_scroll_page_percent;
|
||||
extern struct t_config_option *config_look_search_text_not_found_alert;
|
||||
extern struct t_config_option *config_look_set_title;
|
||||
|
||||
extern struct t_config_option *config_color_separator;
|
||||
@@ -150,7 +154,6 @@ extern struct t_config_option *config_color_status_data_private;
|
||||
extern struct t_config_option *config_color_status_data_highlight;
|
||||
extern struct t_config_option *config_color_status_data_other;
|
||||
extern struct t_config_option *config_color_status_more;
|
||||
extern struct t_config_option *config_color_input_nick;
|
||||
extern struct t_config_option *config_color_input_text_not_found;
|
||||
extern struct t_config_option *config_color_input_actions;
|
||||
extern struct t_config_option *config_color_nicklist_group;
|
||||
@@ -161,7 +164,6 @@ extern struct t_config_option *config_color_nicklist_prefix3;
|
||||
extern struct t_config_option *config_color_nicklist_prefix4;
|
||||
extern struct t_config_option *config_color_nicklist_prefix5;
|
||||
extern struct t_config_option *config_color_nicklist_more;
|
||||
extern struct t_config_option *config_color_nicklist_separator;
|
||||
|
||||
extern struct t_config_option *config_completion_default_template;
|
||||
extern struct t_config_option *config_completion_nick_add_space;
|
||||
|
||||
+3
-3
@@ -1231,7 +1231,7 @@ hook_process_child (struct t_hook *hook_process)
|
||||
|
||||
void
|
||||
hook_process_child_read (struct t_hook *hook_process, int fd,
|
||||
int stdout, struct t_hook **hook_fd)
|
||||
int out, struct t_hook **hook_fd)
|
||||
{
|
||||
char buffer[4096];
|
||||
int num_read;
|
||||
@@ -1244,8 +1244,8 @@ hook_process_child_read (struct t_hook *hook_process, int fd,
|
||||
(hook_process->callback_data,
|
||||
HOOK_PROCESS(hook_process, command),
|
||||
WEECHAT_HOOK_PROCESS_RUNNING,
|
||||
(stdout) ? buffer : NULL,
|
||||
(stdout) ? NULL : buffer);
|
||||
(out) ? buffer : NULL,
|
||||
(out) ? NULL : buffer);
|
||||
}
|
||||
else if (num_read == 0)
|
||||
{
|
||||
|
||||
+2
-2
@@ -160,8 +160,8 @@ struct t_hook_fd
|
||||
/* hook process */
|
||||
|
||||
typedef int (t_hook_callback_process)(void *data, const char *command,
|
||||
int return_code, const char *stdout,
|
||||
const char *stderr);
|
||||
int return_code, const char *out,
|
||||
const char *err);
|
||||
|
||||
struct t_hook_process
|
||||
{
|
||||
|
||||
+4
-2
@@ -457,10 +457,12 @@ utf8_charcasecmp (const char *string1, const char *string2)
|
||||
return (string1) ? 1 : ((string2) ? -1 : 0);
|
||||
|
||||
wchar1 = utf8_wide_char (string1);
|
||||
wchar1 = towlower (wchar1);
|
||||
if ((wchar1 >= 'A') && (wchar1 <= 'Z'))
|
||||
wchar1 += ('a' - 'A');
|
||||
|
||||
wchar2 = utf8_wide_char (string2);
|
||||
wchar2 = towlower (wchar2);
|
||||
if ((wchar2 >= 'A') && (wchar2 <= 'Z'))
|
||||
wchar2 += ('a' - 'A');
|
||||
|
||||
return (wchar1 < wchar2) ? -1 : ((wchar1 == wchar2) ? 0 : 1);
|
||||
}
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
* ## ##
|
||||
* ## By FlashCode <flashcode@flashtux.org> ##
|
||||
* ## ##
|
||||
* ## http://weechat.flashtux.org/ ##
|
||||
* ## http://www.weechat.org/ ##
|
||||
* ## ##
|
||||
* ##########################################################################
|
||||
*
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@
|
||||
|
||||
|
||||
#define WEECHAT_COPYRIGHT_DATE "(c) 2003-2009"
|
||||
#define WEECHAT_WEBSITE "http://weechat.flashtux.org/"
|
||||
#define WEECHAT_WEBSITE "http://www.weechat.org/"
|
||||
|
||||
/* log file */
|
||||
|
||||
|
||||
@@ -607,7 +607,7 @@ gui_bar_window_draw (struct t_gui_bar_window *bar_window,
|
||||
|
||||
/* move cursor if it was asked in an item content (input_text does that
|
||||
to move cursor in user input text) */
|
||||
if (window && (gui_current_window == window)
|
||||
if ((!window || (gui_current_window == window))
|
||||
&& (bar_window->cursor_x >= 0) && (bar_window->cursor_y >= 0))
|
||||
{
|
||||
move (bar_window->cursor_y, bar_window->cursor_x);
|
||||
|
||||
@@ -579,8 +579,18 @@ gui_chat_display_time_and_prefix (struct t_gui_window *window,
|
||||
GUI_COLOR_CHAT_PREFIX_BUFFER);
|
||||
}
|
||||
|
||||
if ((CONFIG_INTEGER(config_look_prefix_buffer_align_max) > 0)
|
||||
&& (CONFIG_INTEGER(config_look_prefix_buffer_align) != CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE))
|
||||
{
|
||||
length_allowed =
|
||||
(mixed_lines->buffer_max_length <= CONFIG_INTEGER(config_look_prefix_buffer_align_max)) ?
|
||||
mixed_lines->buffer_max_length : CONFIG_INTEGER(config_look_prefix_buffer_align_max);
|
||||
}
|
||||
else
|
||||
length_allowed = mixed_lines->buffer_max_length;
|
||||
|
||||
length = gui_chat_strlen_screen (line->data->buffer->short_name);
|
||||
num_spaces = mixed_lines->buffer_max_length - length;
|
||||
num_spaces = length_allowed - length;
|
||||
|
||||
if (CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_RIGHT)
|
||||
{
|
||||
@@ -592,26 +602,60 @@ gui_chat_display_time_and_prefix (struct t_gui_window *window,
|
||||
}
|
||||
}
|
||||
|
||||
gui_chat_display_word (window, line,
|
||||
line->data->buffer->short_name,
|
||||
NULL, 1, num_lines, count, lines_displayed,
|
||||
simulate);
|
||||
|
||||
if ((CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_LEFT)
|
||||
|| ((CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
|
||||
&& (CONFIG_INTEGER(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)))
|
||||
/* not enough space to display full buffer name? => truncate it! */
|
||||
if ((CONFIG_INTEGER(config_look_prefix_buffer_align) != CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
|
||||
&& (num_spaces < 0))
|
||||
{
|
||||
for (i = 0; i < num_spaces; i++)
|
||||
gui_chat_display_word (window, line,
|
||||
line->data->buffer->short_name,
|
||||
line->data->buffer->short_name +
|
||||
gui_chat_string_real_pos (line->data->buffer->short_name,
|
||||
length_allowed),
|
||||
1, num_lines, count, lines_displayed,
|
||||
simulate);
|
||||
}
|
||||
else
|
||||
{
|
||||
gui_chat_display_word (window, line,
|
||||
line->data->buffer->short_name,
|
||||
NULL, 1, num_lines, count, lines_displayed,
|
||||
simulate);
|
||||
}
|
||||
|
||||
if ((CONFIG_INTEGER(config_look_prefix_buffer_align) != CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
|
||||
&& (num_spaces < 0))
|
||||
{
|
||||
if (!simulate)
|
||||
{
|
||||
gui_window_set_weechat_color (GUI_WINDOW_OBJECTS(window)->win_chat,
|
||||
GUI_COLOR_CHAT_PREFIX_MORE);
|
||||
}
|
||||
gui_chat_display_word (window, line,
|
||||
(CONFIG_BOOLEAN(config_look_prefix_buffer_align_more)) ?
|
||||
str_plus : str_space,
|
||||
NULL, 1, num_lines, count, lines_displayed,
|
||||
simulate);
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_LEFT)
|
||||
|| ((CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
|
||||
&& (CONFIG_INTEGER(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)))
|
||||
{
|
||||
for (i = 0; i < num_spaces; i++)
|
||||
{
|
||||
gui_chat_display_word (window, line, str_space,
|
||||
NULL, 1, num_lines, count, lines_displayed,
|
||||
simulate);
|
||||
}
|
||||
}
|
||||
if (mixed_lines->buffer_max_length > 0)
|
||||
{
|
||||
gui_chat_display_word (window, line, str_space,
|
||||
NULL, 1, num_lines, count, lines_displayed,
|
||||
simulate);
|
||||
}
|
||||
}
|
||||
|
||||
gui_chat_display_word (window, line, str_space,
|
||||
NULL, 1, num_lines, count, lines_displayed,
|
||||
simulate);
|
||||
}
|
||||
|
||||
/* display prefix */
|
||||
@@ -657,7 +701,7 @@ gui_chat_display_time_and_prefix (struct t_gui_window *window,
|
||||
}
|
||||
}
|
||||
|
||||
/* not enough space to display full prefix ? => truncate it! */
|
||||
/* not enough space to display full prefix? => truncate it! */
|
||||
if ((CONFIG_INTEGER(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)
|
||||
&& (num_spaces < 0))
|
||||
{
|
||||
@@ -702,7 +746,9 @@ gui_chat_display_time_and_prefix (struct t_gui_window *window,
|
||||
gui_window_set_weechat_color (GUI_WINDOW_OBJECTS(window)->win_chat,
|
||||
GUI_COLOR_CHAT_PREFIX_MORE);
|
||||
}
|
||||
gui_chat_display_word (window, line, str_plus,
|
||||
gui_chat_display_word (window, line,
|
||||
(CONFIG_BOOLEAN(config_look_prefix_align_more)) ?
|
||||
str_plus : str_space,
|
||||
NULL, 1, num_lines, count, lines_displayed,
|
||||
simulate);
|
||||
}
|
||||
|
||||
@@ -125,8 +125,8 @@ gui_main_init ()
|
||||
|
||||
/* set title for core buffer */
|
||||
gui_buffer_set_title (ptr_buffer,
|
||||
"WeeChat " WEECHAT_COPYRIGHT_DATE
|
||||
" - " WEECHAT_WEBSITE);
|
||||
"WeeChat " PACKAGE_VERSION " "
|
||||
WEECHAT_COPYRIGHT_DATE " - " WEECHAT_WEBSITE);
|
||||
|
||||
/* create main window (using full space) */
|
||||
if (gui_window_new (NULL, ptr_buffer, 0, 0,
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <libgen.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
|
||||
+29
-1
@@ -1122,6 +1122,30 @@ gui_buffer_set_pointer (struct t_gui_buffer *buffer, const char *property,
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* gui_buffer_compute_num_displayed: compute "num_displayed" for all buffers
|
||||
*/
|
||||
|
||||
void
|
||||
gui_buffer_compute_num_displayed ()
|
||||
{
|
||||
struct t_gui_buffer *ptr_buffer;
|
||||
struct t_gui_window *ptr_window;
|
||||
|
||||
for (ptr_buffer = gui_buffers; ptr_buffer;
|
||||
ptr_buffer = ptr_buffer->next_buffer)
|
||||
{
|
||||
ptr_buffer->num_displayed = 0;
|
||||
}
|
||||
|
||||
for (ptr_window = gui_windows; ptr_window;
|
||||
ptr_window = ptr_window->next_window)
|
||||
{
|
||||
if (ptr_window->buffer)
|
||||
ptr_window->buffer->num_displayed++;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* gui_buffer_add_value_num_displayed: add value to "num_displayed" variable
|
||||
* for a buffer (value can be negative)
|
||||
@@ -1449,7 +1473,7 @@ gui_buffer_close (struct t_gui_buffer *buffer)
|
||||
{
|
||||
(void)(buffer->close_callback) (buffer->close_callback_data, buffer);
|
||||
}
|
||||
|
||||
|
||||
/* first unmerge buffer if it is merged to at least one other buffer */
|
||||
if (gui_buffer_count_merged_buffers (buffer->number) > 1)
|
||||
gui_buffer_unmerge (buffer, -1);
|
||||
@@ -1839,6 +1863,8 @@ gui_buffer_merge (struct t_gui_buffer *buffer,
|
||||
ptr_buffer->number--;
|
||||
}
|
||||
|
||||
gui_buffer_compute_num_displayed ();
|
||||
|
||||
gui_window_ask_refresh (1);
|
||||
|
||||
hook_signal_send ("buffer_merged",
|
||||
@@ -1949,6 +1975,8 @@ gui_buffer_unmerge (struct t_gui_buffer *buffer, int number)
|
||||
ptr_buffer->number++;
|
||||
}
|
||||
|
||||
gui_buffer_compute_num_displayed ();
|
||||
|
||||
gui_window_ask_refresh (1);
|
||||
|
||||
hook_signal_send ("buffer_unmerged",
|
||||
|
||||
@@ -1536,7 +1536,7 @@ gui_completion_find_context (struct t_gui_completion *completion,
|
||||
/* look for context */
|
||||
gui_completion_free_data (completion);
|
||||
gui_completion_buffer_init (completion, completion->buffer);
|
||||
command = ((data[0] == '/') && (data[1] != '/')) ? 1 : 0;
|
||||
command = (data[0] == '/') ? 1 : 0;
|
||||
command_arg = 0;
|
||||
i = 0;
|
||||
while (i < pos)
|
||||
@@ -1545,7 +1545,10 @@ gui_completion_find_context (struct t_gui_completion *completion,
|
||||
{
|
||||
command_arg++;
|
||||
i++;
|
||||
while ((i < pos) && (data[i] == ' ')) i++;
|
||||
while ((i < pos) && (data[i] == ' '))
|
||||
{
|
||||
i++;
|
||||
}
|
||||
if (!completion->args)
|
||||
completion->args = strdup (data + i);
|
||||
}
|
||||
@@ -1582,23 +1585,33 @@ gui_completion_find_context (struct t_gui_completion *completion,
|
||||
{
|
||||
i--;
|
||||
while ((i >= 0) && (data[i] != ' '))
|
||||
{
|
||||
i--;
|
||||
}
|
||||
pos_start = i + 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
while ((i >= 0) && (data[i] != ' '))
|
||||
{
|
||||
i--;
|
||||
}
|
||||
pos_start = i + 1;
|
||||
}
|
||||
i = pos;
|
||||
while ((i < size) && (data[i] != ' '))
|
||||
{
|
||||
i++;
|
||||
}
|
||||
pos_end = i - 1;
|
||||
|
||||
if (completion->context == GUI_COMPLETION_COMMAND)
|
||||
{
|
||||
pos_start++;
|
||||
if (data[pos_start] == '/')
|
||||
pos_start++;
|
||||
}
|
||||
|
||||
completion->base_word_pos = pos_start;
|
||||
|
||||
@@ -1607,7 +1620,9 @@ gui_completion_find_context (struct t_gui_completion *completion,
|
||||
completion->position_replace = pos_start;
|
||||
completion->base_word = malloc (pos_end - pos_start + 2);
|
||||
for (i = pos_start; i <= pos_end; i++)
|
||||
{
|
||||
completion->base_word[i - pos_start] = data[i];
|
||||
}
|
||||
completion->base_word[pos_end - pos_start + 1] = '\0';
|
||||
}
|
||||
}
|
||||
@@ -1620,19 +1635,27 @@ gui_completion_find_context (struct t_gui_completion *completion,
|
||||
{
|
||||
pos_start = 0;
|
||||
while ((pos_start < size) && (data[pos_start] != '/'))
|
||||
{
|
||||
pos_start++;
|
||||
}
|
||||
if (data[pos_start] == '/')
|
||||
{
|
||||
pos_start++;
|
||||
if (data[pos_start] == '/')
|
||||
pos_start++;
|
||||
pos_end = pos_start;
|
||||
while ((pos_end < size) && (data[pos_end] != ' '))
|
||||
{
|
||||
pos_end++;
|
||||
}
|
||||
if (data[pos_end] == ' ')
|
||||
pos_end--;
|
||||
|
||||
completion->base_command = malloc (pos_end - pos_start + 2);
|
||||
for (i = pos_start; i <= pos_end; i++)
|
||||
{
|
||||
completion->base_command[i - pos_start] = data[i];
|
||||
}
|
||||
completion->base_command[pos_end - pos_start + 1] = '\0';
|
||||
gui_completion_build_list (completion);
|
||||
}
|
||||
|
||||
+16
-6
@@ -93,15 +93,25 @@ gui_line_get_align (struct t_gui_buffer *buffer, struct t_gui_line *line,
|
||||
/* length of buffer name (when many buffers are merged) */
|
||||
if (buffer->mixed_lines)
|
||||
{
|
||||
length_buffer = ((CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_ALIGN_NONE)
|
||||
&& (CONFIG_INTEGER(config_look_prefix_align) == CONFIG_LOOK_PREFIX_ALIGN_NONE)) ?
|
||||
gui_chat_strlen_screen (buffer->short_name) + 1 : buffer->mixed_lines->buffer_max_length + 1;
|
||||
if ((CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
|
||||
&& (CONFIG_INTEGER(config_look_prefix_align) == CONFIG_LOOK_PREFIX_ALIGN_NONE))
|
||||
length_buffer = gui_chat_strlen_screen (buffer->short_name) + 1;
|
||||
else
|
||||
{
|
||||
if (CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
|
||||
length_buffer = buffer->mixed_lines->buffer_max_length + 1;
|
||||
else
|
||||
length_buffer = ((CONFIG_INTEGER(config_look_prefix_buffer_align_max) > 0)
|
||||
&& (buffer->mixed_lines->buffer_max_length > CONFIG_INTEGER(config_look_prefix_buffer_align_max))) ?
|
||||
CONFIG_INTEGER(config_look_prefix_buffer_align_max) + 1 : buffer->mixed_lines->buffer_max_length + 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
length_buffer = 0;
|
||||
|
||||
if (CONFIG_INTEGER(config_look_prefix_align) == CONFIG_LOOK_PREFIX_ALIGN_NONE)
|
||||
return length_time + 1 + length_buffer + line->data->prefix_length + 2;
|
||||
return length_time + 1 + length_buffer + line->data->prefix_length
|
||||
+ ((line->data->prefix_length > 0) ? 1 : 0);
|
||||
|
||||
length_suffix = 0;
|
||||
if (with_suffix)
|
||||
@@ -1067,8 +1077,8 @@ gui_lines_print_log (struct t_gui_lines *lines)
|
||||
log_printf (" first_line . . . . . : 0x%lx", lines->first_line);
|
||||
log_printf (" last_line. . . . . . : 0x%lx", lines->last_line);
|
||||
log_printf (" last_read_line . . . : 0x%lx", lines->last_read_line);
|
||||
log_printf (" lines_count. . . . . . : %d", lines->lines_count);
|
||||
log_printf (" first_line_not_read. . : %d", lines->first_line_not_read);
|
||||
log_printf (" lines_count. . . . . : %d", lines->lines_count);
|
||||
log_printf (" first_line_not_read. : %d", lines->first_line_not_read);
|
||||
log_printf (" lines_hidden . . . . : %d", lines->lines_hidden);
|
||||
log_printf (" buffer_max_length. . : %d", lines->buffer_max_length);
|
||||
log_printf (" prefix_max_length. . : %d", lines->prefix_max_length);
|
||||
|
||||
@@ -889,7 +889,14 @@ gui_window_search_restart (struct t_gui_window *window)
|
||||
if (gui_window_search_text (window))
|
||||
window->buffer->text_search_found = 1;
|
||||
else
|
||||
{
|
||||
if (CONFIG_BOOLEAN(config_look_search_text_not_found_alert)
|
||||
&& window->buffer->input_buffer && window->buffer->input_buffer[0])
|
||||
{
|
||||
printf ("\a");
|
||||
}
|
||||
gui_buffer_ask_chat_refresh (window->buffer, 2);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -13,3 +13,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
EXTRA_DIST = gui-qt.c \
|
||||
gui-qt.h
|
||||
|
||||
@@ -273,7 +273,7 @@ weechat_aspell_config_init ()
|
||||
weechat_aspell_config_look_color = weechat_config_new_option (
|
||||
weechat_aspell_config_file, ptr_section,
|
||||
"color", "color",
|
||||
N_("color used for mispelled words"),
|
||||
N_("color used for misspelled words"),
|
||||
NULL, 0, 0, "lightred", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
|
||||
/* check */
|
||||
@@ -302,7 +302,7 @@ weechat_aspell_config_init ()
|
||||
"default_dict", "string",
|
||||
N_("default dictionary (or comma separated list of dictionaries) to "
|
||||
"use when buffer has no dictionary defined (leave blank to disable "
|
||||
"aspell on buffers for which you didn't explicitely enabled it)"),
|
||||
"aspell on buffers for which you didn't explicitly enabled it)"),
|
||||
NULL, 0, 0, "", NULL, 0,
|
||||
NULL, NULL, &weechat_aspell_config_change_default_dict, NULL, NULL, NULL);
|
||||
weechat_aspell_config_check_during_search = weechat_config_new_option (
|
||||
|
||||
@@ -608,7 +608,7 @@ weechat_aspell_string_is_simili_number (const char *word)
|
||||
|
||||
/*
|
||||
* weechat_aspell_check_word: spell check a word
|
||||
* return 1 if word is ok, 0 if word is mispelled
|
||||
* return 1 if word is ok, 0 if word is misspelled
|
||||
*/
|
||||
|
||||
int
|
||||
@@ -814,7 +814,7 @@ weechat_aspell_modifier_cb (void *data, const char *modifier,
|
||||
strcpy (result + index_result, ptr_string);
|
||||
index_result += length_word;
|
||||
|
||||
/* add normal color (after mispelled word) */
|
||||
/* add normal color (after misspelled word) */
|
||||
if (!word_ok)
|
||||
{
|
||||
strcpy (result + index_result, color_normal);
|
||||
|
||||
@@ -116,14 +116,22 @@ irc_channel_move_near_server (struct t_irc_server *server, int channel_type,
|
||||
number_found = number_last_channel + 1;
|
||||
break;
|
||||
}
|
||||
|
||||
/* switch to number found */
|
||||
if ((number_found >= 1) && (number_found != number))
|
||||
}
|
||||
else
|
||||
{
|
||||
if (weechat_config_integer (irc_config_look_server_buffer) ==
|
||||
IRC_CONFIG_LOOK_SERVER_BUFFER_INDEPENDENT)
|
||||
{
|
||||
snprintf (str_number, sizeof (str_number), "%d", number_found);
|
||||
weechat_buffer_set (buffer, "number", str_number);
|
||||
number_found = weechat_buffer_get_integer (server->buffer, "number") + 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* switch to number found */
|
||||
if ((number_found >= 1) && (number_found != number))
|
||||
{
|
||||
snprintf (str_number, sizeof (str_number), "%d", number_found);
|
||||
weechat_buffer_set (buffer, "number", str_number);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -1545,7 +1545,7 @@ int
|
||||
irc_command_join (void *data, struct t_gui_buffer *buffer, int argc,
|
||||
char **argv, char **argv_eol)
|
||||
{
|
||||
IRC_GET_SERVER(buffer);
|
||||
IRC_GET_SERVER_CHANNEL(buffer);
|
||||
IRC_COMMAND_CHECK_SERVER("join", 1);
|
||||
|
||||
/* make C compiler happy */
|
||||
@@ -1556,7 +1556,15 @@ irc_command_join (void *data, struct t_gui_buffer *buffer, int argc,
|
||||
irc_command_join_server (ptr_server, argv_eol[1]);
|
||||
else
|
||||
{
|
||||
IRC_COMMAND_TOO_FEW_ARGUMENTS(ptr_server->buffer, "join");
|
||||
if (ptr_channel && (ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL)
|
||||
&& !ptr_channel->nicks)
|
||||
{
|
||||
irc_command_join_server (ptr_server, ptr_channel->name);
|
||||
}
|
||||
else
|
||||
{
|
||||
IRC_COMMAND_TOO_FEW_ARGUMENTS(ptr_server->buffer, "join");
|
||||
}
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
@@ -3814,7 +3822,7 @@ irc_command_init ()
|
||||
N_("nickname channel"),
|
||||
N_("nickname: nick to invite\n"
|
||||
" channel: channel to invite"),
|
||||
"%(nicks) %(irc_channel)", &irc_command_invite, NULL);
|
||||
"%(nicks) %(irc_server_channels)", &irc_command_invite, NULL);
|
||||
weechat_hook_command ("ison",
|
||||
N_("check if a nickname is currently on IRC"),
|
||||
N_("nickname [nickname ...]"),
|
||||
@@ -3822,7 +3830,7 @@ irc_command_init ()
|
||||
"%(nicks)|%*", &irc_command_ison, NULL);
|
||||
weechat_hook_command ("join",
|
||||
N_("join a channel"),
|
||||
N_("channel[,channel] [key[,key]]"),
|
||||
N_("[channel[,channel] [key[,key]]]"),
|
||||
N_("channel: channel name to join\n"
|
||||
" key: key to join the channel"),
|
||||
"%(irc_channels)", &irc_command_join, NULL);
|
||||
|
||||
@@ -84,6 +84,76 @@ irc_completion_server_nick_cb (void *data, const char *completion_item,
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* irc_completion_server_channels_cb: callback for completion with channels
|
||||
* of current server
|
||||
*/
|
||||
|
||||
int
|
||||
irc_completion_server_channels_cb (void *data, const char *completion_item,
|
||||
struct t_gui_buffer *buffer,
|
||||
struct t_gui_completion *completion)
|
||||
{
|
||||
struct t_irc_channel *ptr_channel;
|
||||
|
||||
IRC_GET_SERVER(buffer);
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
(void) completion_item;
|
||||
(void) buffer;
|
||||
|
||||
if (ptr_server)
|
||||
{
|
||||
for (ptr_channel = ptr_server->channels; ptr_channel;
|
||||
ptr_channel = ptr_channel->next_channel)
|
||||
{
|
||||
if (ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL)
|
||||
{
|
||||
weechat_hook_completion_list_add (completion, ptr_channel->name,
|
||||
0, WEECHAT_LIST_POS_SORT);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* irc_completion_server_privates_cb: callback for completion with privates
|
||||
* of current server
|
||||
*/
|
||||
|
||||
int
|
||||
irc_completion_server_privates_cb (void *data, const char *completion_item,
|
||||
struct t_gui_buffer *buffer,
|
||||
struct t_gui_completion *completion)
|
||||
{
|
||||
struct t_irc_channel *ptr_channel;
|
||||
|
||||
IRC_GET_SERVER(buffer);
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
(void) completion_item;
|
||||
(void) buffer;
|
||||
|
||||
if (ptr_server)
|
||||
{
|
||||
for (ptr_channel = ptr_server->channels; ptr_channel;
|
||||
ptr_channel = ptr_channel->next_channel)
|
||||
{
|
||||
if (ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE)
|
||||
{
|
||||
weechat_hook_completion_list_add (completion, ptr_channel->name,
|
||||
0, WEECHAT_LIST_POS_SORT);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* irc_completion_server_nicks_cb: callback for completion with nicks
|
||||
* of current server
|
||||
@@ -368,6 +438,7 @@ irc_completion_channel_topic_cb (void *data, const char *completion_item,
|
||||
|
||||
/*
|
||||
* irc_completion_channels_cb: callback for completion with channels
|
||||
* of all servers
|
||||
*/
|
||||
|
||||
int
|
||||
@@ -401,7 +472,8 @@ irc_completion_channels_cb (void *data, const char *completion_item,
|
||||
}
|
||||
|
||||
/*
|
||||
* irc_completion_privates_cb: callback for completion with channels
|
||||
* irc_completion_privates_cb: callback for completion with privates
|
||||
* of all servers
|
||||
*/
|
||||
|
||||
int
|
||||
@@ -501,6 +573,12 @@ irc_completion_init ()
|
||||
weechat_hook_completion ("irc_server_nick",
|
||||
N_("nick on current IRC server"),
|
||||
&irc_completion_server_nick_cb, NULL);
|
||||
weechat_hook_completion ("irc_server_channels",
|
||||
N_("channels on current IRC server"),
|
||||
&irc_completion_server_channels_cb, NULL);
|
||||
weechat_hook_completion ("irc_server_privates",
|
||||
N_("privates on current IRC server"),
|
||||
&irc_completion_server_privates_cb, NULL);
|
||||
weechat_hook_completion ("irc_server_nicks",
|
||||
N_("nicks on all channels of current IRC server"),
|
||||
&irc_completion_server_nicks_cb, NULL);
|
||||
@@ -520,10 +598,10 @@ irc_completion_init ()
|
||||
N_("topic of current IRC channel"),
|
||||
&irc_completion_channel_topic_cb, NULL);
|
||||
weechat_hook_completion ("irc_channels",
|
||||
N_("IRC channels (on all servers)"),
|
||||
N_("channels on all IRC servers"),
|
||||
&irc_completion_channels_cb, NULL);
|
||||
weechat_hook_completion ("irc_privates",
|
||||
N_("IRC privates (on all servers)"),
|
||||
N_("privates on all IRC servers"),
|
||||
&irc_completion_privates_cb, NULL);
|
||||
weechat_hook_completion ("irc_msg_part",
|
||||
N_("default part message for IRC channel"),
|
||||
|
||||
@@ -40,10 +40,11 @@
|
||||
void
|
||||
irc_display_hide_password (char *string, int look_for_nickserv)
|
||||
{
|
||||
char *pos_nickserv, *pos, *pos_pwd;
|
||||
|
||||
char *pos_nickserv, *pos, *pos_pwd, *pos_space;
|
||||
int char_size;
|
||||
|
||||
pos = string;
|
||||
while (1)
|
||||
while (pos)
|
||||
{
|
||||
if (look_for_nickserv)
|
||||
{
|
||||
@@ -52,9 +53,23 @@ irc_display_hide_password (char *string, int look_for_nickserv)
|
||||
return;
|
||||
pos = pos_nickserv + 9;
|
||||
while (pos[0] == ' ')
|
||||
{
|
||||
pos++;
|
||||
if ((strncmp (pos, "identify ", 9) == 0)
|
||||
|| (strncmp (pos, "register ", 9) == 0))
|
||||
}
|
||||
if (strncmp (pos, "identify ", 9) == 0)
|
||||
{
|
||||
pos_pwd = pos + 9;
|
||||
pos_space = strchr (pos_pwd, ' ');
|
||||
if (pos_space)
|
||||
{
|
||||
pos_pwd = pos_space + 1;
|
||||
while (pos_pwd[0] == ' ')
|
||||
{
|
||||
pos_pwd++;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (strncmp (pos, "register ", 9) == 0)
|
||||
pos_pwd = pos + 9;
|
||||
else
|
||||
pos_pwd = NULL;
|
||||
@@ -62,24 +77,43 @@ irc_display_hide_password (char *string, int look_for_nickserv)
|
||||
else
|
||||
{
|
||||
pos_pwd = strstr (pos, "identify ");
|
||||
if (!pos_pwd)
|
||||
if (pos_pwd)
|
||||
{
|
||||
pos_pwd += 9;
|
||||
pos_space = strchr (pos_pwd, ' ');
|
||||
if (pos_space)
|
||||
{
|
||||
pos_pwd = pos_space + 1;
|
||||
while (pos_pwd[0] == ' ')
|
||||
{
|
||||
pos_pwd++;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
pos_pwd = strstr (pos, "register ");
|
||||
if (pos_pwd)
|
||||
pos_pwd += 9;
|
||||
}
|
||||
if (!pos_pwd)
|
||||
return;
|
||||
pos_pwd += 9;
|
||||
}
|
||||
|
||||
if (pos_pwd)
|
||||
{
|
||||
while (pos_pwd[0] == ' ')
|
||||
pos_pwd++;
|
||||
|
||||
while (pos_pwd[0] && (pos_pwd[0] != ';') && (pos_pwd[0] != ' ')
|
||||
&& (pos_pwd[0] != '"'))
|
||||
{
|
||||
pos_pwd[0] = '*';
|
||||
pos_pwd++;
|
||||
}
|
||||
|
||||
while (pos_pwd && pos_pwd[0] && (pos_pwd[0] != ' '))
|
||||
{
|
||||
char_size = weechat_utf8_char_size (pos_pwd);
|
||||
if (char_size > 0)
|
||||
memset (pos_pwd, '*', char_size);
|
||||
pos_pwd = weechat_utf8_next_char (pos_pwd);
|
||||
}
|
||||
pos = pos_pwd;
|
||||
}
|
||||
}
|
||||
@@ -90,7 +124,8 @@ irc_display_hide_password (char *string, int look_for_nickserv)
|
||||
*/
|
||||
|
||||
void
|
||||
irc_display_away (struct t_irc_server *server, const char *string1, const char *string2)
|
||||
irc_display_away (struct t_irc_server *server, const char *string1,
|
||||
const char *string2)
|
||||
{
|
||||
struct t_irc_channel *ptr_channel;
|
||||
|
||||
@@ -99,15 +134,16 @@ irc_display_away (struct t_irc_server *server, const char *string1, const char *
|
||||
{
|
||||
if (ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL)
|
||||
{
|
||||
weechat_printf (ptr_channel->buffer,
|
||||
"%s[%s%s%s %s: %s%s]",
|
||||
IRC_COLOR_CHAT_DELIMITERS,
|
||||
IRC_COLOR_CHAT_NICK,
|
||||
server->nick,
|
||||
IRC_COLOR_CHAT,
|
||||
string1,
|
||||
string2,
|
||||
IRC_COLOR_CHAT_DELIMITERS);
|
||||
weechat_printf_tags (ptr_channel->buffer,
|
||||
"away_info",
|
||||
"%s[%s%s%s %s: %s%s]",
|
||||
IRC_COLOR_CHAT_DELIMITERS,
|
||||
IRC_COLOR_CHAT_NICK,
|
||||
server->nick,
|
||||
IRC_COLOR_CHAT,
|
||||
string1,
|
||||
string2,
|
||||
IRC_COLOR_CHAT_DELIMITERS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+47
-32
@@ -183,7 +183,8 @@ irc_info_get_infolist_cb (void *data, const char *infolist_name,
|
||||
struct t_irc_channel *ptr_channel;
|
||||
struct t_irc_nick *ptr_nick;
|
||||
struct t_irc_ignore *ptr_ignore;
|
||||
char *pos_comma, *server_name;
|
||||
char **argv;
|
||||
int argc;
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
@@ -277,53 +278,67 @@ irc_info_get_infolist_cb (void *data, const char *infolist_name,
|
||||
{
|
||||
ptr_server = NULL;
|
||||
ptr_channel = NULL;
|
||||
pos_comma = strchr (arguments, ',');
|
||||
if (pos_comma)
|
||||
argv = weechat_string_split (arguments, ",", 0, 0, &argc);
|
||||
if (argv)
|
||||
{
|
||||
server_name = weechat_strndup (arguments, pos_comma - arguments);
|
||||
if (server_name)
|
||||
if (argc >= 2)
|
||||
{
|
||||
ptr_server = irc_server_search (server_name);
|
||||
if (ptr_server)
|
||||
ptr_server = irc_server_search (argv[0]);
|
||||
if (!ptr_server)
|
||||
{
|
||||
ptr_channel = irc_channel_search (ptr_server,
|
||||
pos_comma + 1);
|
||||
weechat_string_free_split (argv);
|
||||
return NULL;
|
||||
}
|
||||
free (server_name);
|
||||
}
|
||||
}
|
||||
if (ptr_server && ptr_channel)
|
||||
{
|
||||
if (pointer && !irc_nick_valid (ptr_channel, pointer))
|
||||
return NULL;
|
||||
|
||||
ptr_infolist = weechat_infolist_new ();
|
||||
if (ptr_infolist)
|
||||
{
|
||||
if (pointer)
|
||||
ptr_channel = irc_channel_search (ptr_server, argv[1]);
|
||||
if (!ptr_channel)
|
||||
{
|
||||
/* build list with only one nick */
|
||||
if (!irc_nick_add_to_infolist (ptr_infolist, pointer))
|
||||
weechat_string_free_split (argv);
|
||||
return NULL;
|
||||
}
|
||||
if (!pointer && (argc >= 3))
|
||||
{
|
||||
pointer = irc_nick_search (ptr_channel, argv[2]);
|
||||
if (!pointer)
|
||||
{
|
||||
weechat_infolist_free (ptr_infolist);
|
||||
weechat_string_free_split (argv);
|
||||
return NULL;
|
||||
}
|
||||
return ptr_infolist;
|
||||
}
|
||||
else
|
||||
}
|
||||
weechat_string_free_split (argv);
|
||||
if (ptr_server && ptr_channel)
|
||||
{
|
||||
if (pointer && !irc_nick_valid (ptr_channel, pointer))
|
||||
return NULL;
|
||||
|
||||
ptr_infolist = weechat_infolist_new ();
|
||||
if (ptr_infolist)
|
||||
{
|
||||
/* build list with all nicks of channel */
|
||||
for (ptr_nick = ptr_channel->nicks; ptr_nick;
|
||||
ptr_nick = ptr_nick->next_nick)
|
||||
if (pointer)
|
||||
{
|
||||
if (!irc_nick_add_to_infolist (ptr_infolist,
|
||||
ptr_nick))
|
||||
/* build list with only one nick */
|
||||
if (!irc_nick_add_to_infolist (ptr_infolist, pointer))
|
||||
{
|
||||
weechat_infolist_free (ptr_infolist);
|
||||
return NULL;
|
||||
}
|
||||
return ptr_infolist;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* build list with all nicks of channel */
|
||||
for (ptr_nick = ptr_channel->nicks; ptr_nick;
|
||||
ptr_nick = ptr_nick->next_nick)
|
||||
{
|
||||
if (!irc_nick_add_to_infolist (ptr_infolist,
|
||||
ptr_nick))
|
||||
{
|
||||
weechat_infolist_free (ptr_infolist);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
return ptr_infolist;
|
||||
}
|
||||
return ptr_infolist;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -834,7 +834,7 @@ irc_protocol_cmd_notice (struct t_irc_server *server, const char *command,
|
||||
ptr_channel = irc_channel_search (server, pos_target);
|
||||
ptr_nick = irc_nick_search (ptr_channel, nick);
|
||||
weechat_printf_tags ((ptr_channel) ? ptr_channel->buffer : server->buffer,
|
||||
irc_protocol_tags (command, NULL),
|
||||
irc_protocol_tags (command, "notify_message"),
|
||||
"%s%sNotice%s(%s%s%s)%s: %s",
|
||||
weechat_prefix ("network"),
|
||||
IRC_COLOR_NOTICE,
|
||||
@@ -3456,7 +3456,7 @@ irc_protocol_cmd_341 (struct t_irc_server *server, const char *command,
|
||||
|
||||
weechat_printf_tags (server->buffer,
|
||||
irc_protocol_tags (command, "irc_numeric"),
|
||||
_("%s%s%s%s has invited %s%s%s on %s%s"),
|
||||
_("%s%s%s%s has invited %s%s%s to %s%s"),
|
||||
weechat_prefix ("network"),
|
||||
IRC_COLOR_CHAT_NICK,
|
||||
argv[2],
|
||||
|
||||
@@ -965,7 +965,10 @@ irc_server_parse_message (const char *message, char **nick, char **host,
|
||||
*channel = NULL;
|
||||
if (arguments)
|
||||
*arguments = NULL;
|
||||
|
||||
|
||||
/* we'll use this message as example:
|
||||
:FlashCode!n=FlashCod@host.com PRIVMSG #channel :hello!
|
||||
*/
|
||||
if (message[0] == ':')
|
||||
{
|
||||
pos2 = strchr (message, '!');
|
||||
@@ -991,7 +994,8 @@ irc_server_parse_message (const char *message, char **nick, char **host,
|
||||
}
|
||||
else
|
||||
pos = message;
|
||||
|
||||
|
||||
/* pos is pointer on PRIVMSG #channel :hello! */
|
||||
if (pos && pos[0])
|
||||
{
|
||||
while (pos[0] == ' ')
|
||||
@@ -1001,6 +1005,7 @@ irc_server_parse_message (const char *message, char **nick, char **host,
|
||||
pos2 = strchr (pos, ' ');
|
||||
if (pos2)
|
||||
{
|
||||
/* pos2 is pointer on #channel :hello! */
|
||||
if (command)
|
||||
*command = weechat_strndup (pos, pos2 - pos);
|
||||
pos2++;
|
||||
@@ -1028,13 +1033,10 @@ irc_server_parse_message (const char *message, char **nick, char **host,
|
||||
pos3 = strchr (pos2, ' ');
|
||||
if (nick && !*nick)
|
||||
{
|
||||
if (nick)
|
||||
{
|
||||
if (pos3)
|
||||
*nick = weechat_strndup (pos2, pos3 - pos2);
|
||||
else
|
||||
*nick = strdup (pos2);
|
||||
}
|
||||
if (pos3)
|
||||
*nick = weechat_strndup (pos2, pos3 - pos2);
|
||||
else
|
||||
*nick = strdup (pos2);
|
||||
}
|
||||
if (pos3)
|
||||
{
|
||||
@@ -1382,7 +1384,7 @@ irc_server_msgq_flush ()
|
||||
char *ptr_data, *new_msg, *ptr_msg, *pos;
|
||||
char *nick, *host, *command, *channel;
|
||||
char *msg_decoded, *msg_decoded_without_color;
|
||||
char str_modifier[64], modifier_data[256], *ptr_chan_nick;
|
||||
char str_modifier[64], modifier_data[256];
|
||||
|
||||
while (irc_recv_msgq)
|
||||
{
|
||||
@@ -1437,22 +1439,31 @@ irc_server_msgq_flush ()
|
||||
NULL);
|
||||
|
||||
/* convert charset for message */
|
||||
ptr_chan_nick = (channel) ? channel : nick;
|
||||
if (ptr_chan_nick
|
||||
&& (!nick || !host || (strcmp (nick, host) != 0)))
|
||||
if (channel)
|
||||
{
|
||||
snprintf (modifier_data, sizeof (modifier_data),
|
||||
"%s.%s.%s",
|
||||
weechat_plugin->name,
|
||||
irc_recv_msgq->server->name,
|
||||
ptr_chan_nick);
|
||||
channel);
|
||||
}
|
||||
else
|
||||
{
|
||||
snprintf (modifier_data, sizeof (modifier_data),
|
||||
"%s.%s",
|
||||
weechat_plugin->name,
|
||||
irc_recv_msgq->server->name);
|
||||
if (nick && (!host || (strcmp (nick, host) != 0)))
|
||||
{
|
||||
snprintf (modifier_data, sizeof (modifier_data),
|
||||
"%s.%s.%s",
|
||||
weechat_plugin->name,
|
||||
irc_recv_msgq->server->name,
|
||||
nick);
|
||||
}
|
||||
else
|
||||
{
|
||||
snprintf (modifier_data, sizeof (modifier_data),
|
||||
"%s.%s",
|
||||
weechat_plugin->name,
|
||||
irc_recv_msgq->server->name);
|
||||
}
|
||||
}
|
||||
msg_decoded = weechat_hook_modifier_exec ("charset_decode",
|
||||
modifier_data,
|
||||
|
||||
@@ -43,6 +43,7 @@ struct t_config_option *logger_config_file_auto_log;
|
||||
struct t_config_option *logger_config_file_name_lower_case;
|
||||
struct t_config_option *logger_config_file_path;
|
||||
struct t_config_option *logger_config_file_mask;
|
||||
struct t_config_option *logger_config_file_replacement_char;
|
||||
struct t_config_option *logger_config_file_info_lines;
|
||||
struct t_config_option *logger_config_file_time_format;
|
||||
|
||||
@@ -381,6 +382,13 @@ logger_config_init ()
|
||||
"buffer variables are permitted"),
|
||||
NULL, 0, 0, "$plugin.$name.weechatlog", NULL, 0, NULL, NULL,
|
||||
&logger_config_change_file_option_restart_log, NULL, NULL, NULL);
|
||||
logger_config_file_replacement_char = weechat_config_new_option (
|
||||
logger_config_file, ptr_section,
|
||||
"replacement_char", "string",
|
||||
N_("replacement char for special chars in filename built with mask "
|
||||
"(like directory delimiter)"),
|
||||
NULL, 0, 0, "_", NULL, 0, NULL, NULL,
|
||||
&logger_config_change_file_option_restart_log, NULL, NULL, NULL);
|
||||
logger_config_file_info_lines = weechat_config_new_option (
|
||||
logger_config_file, ptr_section,
|
||||
"info_lines", "boolean",
|
||||
|
||||
@@ -29,6 +29,7 @@ extern struct t_config_option *logger_config_file_auto_log;
|
||||
extern struct t_config_option *logger_config_file_name_lower_case;
|
||||
extern struct t_config_option *logger_config_file_path;
|
||||
extern struct t_config_option *logger_config_file_mask;
|
||||
extern struct t_config_option *logger_config_file_replacement_char;
|
||||
extern struct t_config_option *logger_config_file_info_lines;
|
||||
extern struct t_config_option *logger_config_file_time_format;
|
||||
|
||||
|
||||
+43
-12
@@ -244,13 +244,22 @@ logger_get_mask_for_buffer (struct t_gui_buffer *buffer)
|
||||
char *
|
||||
logger_get_filename (struct t_gui_buffer *buffer)
|
||||
{
|
||||
char *res, *mask_decoded;
|
||||
char *res, *mask2, *mask_decoded, *mask_decoded2, *mask_decoded3;
|
||||
const char *mask;
|
||||
const char *dir_separator, *weechat_dir;
|
||||
char *log_path, *log_path2, *pos_last_sep;
|
||||
int length;
|
||||
|
||||
res = NULL;
|
||||
mask2 = NULL;
|
||||
mask_decoded = NULL;
|
||||
mask_decoded2 = NULL;
|
||||
mask_decoded3 = NULL;
|
||||
log_path = NULL;
|
||||
log_path2 = NULL;
|
||||
|
||||
dir_separator = weechat_info_get ("dir_separator", "");
|
||||
weechat_dir = weechat_info_get ("weechat_dir", "");
|
||||
|
||||
/* get filename mask for buffer */
|
||||
mask = logger_get_mask_for_buffer (buffer);
|
||||
@@ -263,9 +272,25 @@ logger_get_filename (struct t_gui_buffer *buffer)
|
||||
weechat_buffer_get_string (buffer, "name"));
|
||||
return NULL;
|
||||
}
|
||||
mask_decoded = weechat_buffer_string_replace_local_var (buffer, mask);
|
||||
|
||||
mask2 = weechat_string_replace (mask, dir_separator, "\01");
|
||||
if (!mask2)
|
||||
goto end;
|
||||
|
||||
mask_decoded = weechat_buffer_string_replace_local_var (buffer, mask2);
|
||||
if (!mask_decoded)
|
||||
return NULL;
|
||||
goto end;
|
||||
|
||||
mask_decoded2 = weechat_string_replace (mask_decoded,
|
||||
dir_separator,
|
||||
weechat_config_string (logger_config_file_replacement_char));
|
||||
if (!mask_decoded2)
|
||||
goto end;
|
||||
|
||||
mask_decoded3 = weechat_string_replace (mask_decoded2,
|
||||
"\01", dir_separator);
|
||||
if (!mask_decoded3)
|
||||
goto end;
|
||||
|
||||
if (weechat_logger_plugin->debug)
|
||||
{
|
||||
@@ -274,25 +299,23 @@ logger_get_filename (struct t_gui_buffer *buffer)
|
||||
"decoded mask = \"%s\"",
|
||||
LOGGER_PLUGIN_NAME,
|
||||
weechat_buffer_get_string (buffer, "name"),
|
||||
mask, mask_decoded);
|
||||
mask, mask_decoded3);
|
||||
}
|
||||
|
||||
if (weechat_config_boolean (logger_config_file_name_lower_case))
|
||||
weechat_string_tolower (mask_decoded);
|
||||
weechat_string_tolower (mask_decoded3);
|
||||
|
||||
dir_separator = weechat_info_get ("dir_separator", "");
|
||||
weechat_dir = weechat_info_get ("weechat_dir", "");
|
||||
log_path = weechat_string_replace (weechat_config_string (logger_config_file_path),
|
||||
"~", getenv ("HOME"));
|
||||
log_path2 = weechat_string_replace (log_path, "%h", weechat_dir);
|
||||
|
||||
if (dir_separator && weechat_dir && log_path && log_path2)
|
||||
{
|
||||
length = strlen (log_path2) + strlen (mask_decoded) + 1;
|
||||
length = strlen (log_path2) + strlen (mask_decoded3) + 1;
|
||||
res = malloc (length);
|
||||
if (res)
|
||||
{
|
||||
snprintf (res, length, "%s%s", log_path2, mask_decoded);
|
||||
snprintf (res, length, "%s%s", log_path2, mask_decoded3);
|
||||
pos_last_sep = strrchr (res, dir_separator[0]);
|
||||
if (pos_last_sep)
|
||||
pos_last_sep[0] = '\0';
|
||||
@@ -301,12 +324,20 @@ logger_get_filename (struct t_gui_buffer *buffer)
|
||||
pos_last_sep[0] = dir_separator[0];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
end:
|
||||
if (log_path)
|
||||
free (log_path);
|
||||
if (log_path2)
|
||||
free (log_path2);
|
||||
free (mask_decoded);
|
||||
if (mask2)
|
||||
free (mask2);
|
||||
if (mask_decoded)
|
||||
free (mask_decoded);
|
||||
if (mask_decoded2)
|
||||
free (mask_decoded2);
|
||||
if (mask_decoded3)
|
||||
free (mask_decoded3);
|
||||
|
||||
return res;
|
||||
}
|
||||
@@ -336,7 +367,7 @@ logger_set_log_filename (struct t_logger_buffer *logger_buffer)
|
||||
{
|
||||
weechat_printf (NULL,
|
||||
_("%s%s: unable to start logging for buffer "
|
||||
"\"%s\": filename \"%s\" is already user by "
|
||||
"\"%s\": filename \"%s\" is already used by "
|
||||
"another buffer (check your log settings)"),
|
||||
weechat_prefix ("error"),
|
||||
LOGGER_PLUGIN_NAME,
|
||||
|
||||
@@ -88,6 +88,10 @@ plugin_api_gettext (const char *string)
|
||||
const char *
|
||||
plugin_api_ngettext (const char *single, const char *plural, int count)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) single;
|
||||
(void) count;
|
||||
|
||||
return NG_(single, plural, count);
|
||||
}
|
||||
|
||||
|
||||
@@ -187,6 +187,11 @@ plugin_load (const char *filename)
|
||||
_("%sError: unable to load plugin \"%s\": %s"),
|
||||
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
|
||||
full_name, dlerror());
|
||||
gui_chat_printf (NULL,
|
||||
_("%sIf you're trying to load a script and not a C "
|
||||
"plugin, try command to load scripts (/perl, "
|
||||
"/python, ...)"),
|
||||
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
|
||||
free (full_name);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -3432,7 +3432,7 @@ weechat_lua_api_hook_fd (lua_State *L)
|
||||
int
|
||||
weechat_lua_api_hook_process_cb (void *data,
|
||||
const char *command, int return_code,
|
||||
const char *stdout, const char *stderr)
|
||||
const char *out, const char *err)
|
||||
{
|
||||
struct t_script_callback *script_callback;
|
||||
char *lua_argv[6], str_rc[32], empty_arg[1] = { '\0' };
|
||||
@@ -3447,8 +3447,8 @@ weechat_lua_api_hook_process_cb (void *data,
|
||||
lua_argv[0] = (script_callback->data) ? script_callback->data : empty_arg;
|
||||
lua_argv[1] = (command) ? (char *)command : empty_arg;
|
||||
lua_argv[2] = str_rc;
|
||||
lua_argv[3] = (stdout) ? (char *)stdout : empty_arg;
|
||||
lua_argv[4] = (stderr) ? (char *)stderr : empty_arg;
|
||||
lua_argv[3] = (out) ? (char *)out : empty_arg;
|
||||
lua_argv[4] = (err) ? (char *)err : empty_arg;
|
||||
lua_argv[5] = NULL;
|
||||
|
||||
rc = (int *) weechat_lua_exec (script_callback->script,
|
||||
|
||||
@@ -2886,7 +2886,7 @@ static XS (XS_weechat_api_hook_fd)
|
||||
int
|
||||
weechat_perl_api_hook_process_cb (void *data,
|
||||
const char *command, int return_code,
|
||||
const char *stdout, const char *stderr)
|
||||
const char *out, const char *err)
|
||||
{
|
||||
struct t_script_callback *script_callback;
|
||||
char *perl_argv[6], str_rc[32], empty_arg[1] = { '\0' };
|
||||
@@ -2901,8 +2901,8 @@ weechat_perl_api_hook_process_cb (void *data,
|
||||
perl_argv[0] = (script_callback->data) ? script_callback->data : empty_arg;
|
||||
perl_argv[1] = (command) ? (char *)command : empty_arg;
|
||||
perl_argv[2] = str_rc;
|
||||
perl_argv[3] = (stdout) ? (char *)stdout : empty_arg;
|
||||
perl_argv[4] = (stderr) ? (char *)stderr : empty_arg;
|
||||
perl_argv[3] = (out) ? (char *)out : empty_arg;
|
||||
perl_argv[4] = (err) ? (char *)err : empty_arg;
|
||||
perl_argv[5] = NULL;
|
||||
|
||||
rc = (int *) weechat_perl_exec (script_callback->script,
|
||||
|
||||
@@ -3050,7 +3050,7 @@ weechat_python_api_hook_fd (PyObject *self, PyObject *args)
|
||||
int
|
||||
weechat_python_api_hook_process_cb (void *data,
|
||||
const char *command, int return_code,
|
||||
const char *stdout, const char *stderr)
|
||||
const char *out, const char *err)
|
||||
{
|
||||
struct t_script_callback *script_callback;
|
||||
char *python_argv[6], str_rc[32], empty_arg[1] = { '\0' };
|
||||
@@ -3065,8 +3065,8 @@ weechat_python_api_hook_process_cb (void *data,
|
||||
python_argv[0] = (script_callback->data) ? script_callback->data : empty_arg;
|
||||
python_argv[1] = (command) ? (char *)command : empty_arg;
|
||||
python_argv[2] = str_rc;
|
||||
python_argv[3] = (stdout) ? (char *)stdout : empty_arg;
|
||||
python_argv[4] = (stderr) ? (char *)stderr : empty_arg;
|
||||
python_argv[3] = (out) ? (char *)out : empty_arg;
|
||||
python_argv[4] = (err) ? (char *)err : empty_arg;
|
||||
python_argv[5] = NULL;
|
||||
|
||||
rc = (int *) weechat_python_exec (script_callback->script,
|
||||
|
||||
@@ -3524,7 +3524,7 @@ weechat_ruby_api_hook_fd (VALUE class, VALUE fd, VALUE read, VALUE write,
|
||||
int
|
||||
weechat_ruby_api_hook_process_cb (void *data,
|
||||
const char *command, int return_code,
|
||||
const char *stdout, const char *stderr)
|
||||
const char *out, const char *err)
|
||||
{
|
||||
struct t_script_callback *script_callback;
|
||||
char *ruby_argv[6], str_rc[32], empty_arg[1] = { '\0' };
|
||||
@@ -3539,8 +3539,8 @@ weechat_ruby_api_hook_process_cb (void *data,
|
||||
ruby_argv[0] = (script_callback->data) ? script_callback->data : empty_arg;
|
||||
ruby_argv[1] = (command) ? (char *)command : empty_arg;
|
||||
ruby_argv[2] = str_rc;
|
||||
ruby_argv[3] = (stdout) ? (char *)stdout : empty_arg;
|
||||
ruby_argv[4] = (stderr) ? (char *)stderr : empty_arg;
|
||||
ruby_argv[3] = (out) ? (char *)out : empty_arg;
|
||||
ruby_argv[4] = (err) ? (char *)err : empty_arg;
|
||||
ruby_argv[5] = NULL;
|
||||
|
||||
rc = (int *) weechat_ruby_exec (script_callback->script,
|
||||
|
||||
@@ -887,8 +887,8 @@ script_api_hook_process (struct t_weechat_plugin *weechat_plugin,
|
||||
int (*callback)(void *data,
|
||||
const char *command,
|
||||
int return_code,
|
||||
const char *stdout,
|
||||
const char *stderr),
|
||||
const char *out,
|
||||
const char *err),
|
||||
const char *function,
|
||||
const char *data)
|
||||
{
|
||||
|
||||
@@ -158,8 +158,8 @@ extern struct t_hook *script_api_hook_process (struct t_weechat_plugin *weechat_
|
||||
int (*callback)(void *data,
|
||||
const char *command,
|
||||
int return_code,
|
||||
const char *stdout,
|
||||
const char *stderr),
|
||||
const char *out,
|
||||
const char *err),
|
||||
const char *function,
|
||||
const char *data);
|
||||
extern struct t_hook *script_api_hook_connect (struct t_weechat_plugin *weechat_plugin,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user