mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 03:33:12 +02:00
core: rename binary and man page from "weechat-curses" to "weechat" (task #11027)
A symbolic link weechat-curses -> weechat is now created (by both cmake and configure), so that the /upgrade will work from an old version. However, if you upgrade from an old version, it is recommended to force the use of the new binary name with the command: `/upgrade /path/to/weechat` (replace the path accordingly).
This commit is contained in:
@@ -20,15 +20,15 @@
|
||||
IF (ENABLE_MAN)
|
||||
# man page
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1
|
||||
COMMAND ${A2X_EXECUTABLE} ARGS -a lang=de -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1.de.txt
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
|
||||
COMMAND ${A2X_EXECUTABLE} ARGS -a lang=de -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1.de.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.txt
|
||||
COMMENT "Building weechat-curses.1 (de)"
|
||||
COMMENT "Building weechat.1 (de)"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-man-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1 DESTINATION ${MANDIR}/de/man1)
|
||||
ADD_CUSTOM_TARGET(doc-man-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/de/man1)
|
||||
ENDIF (ENABLE_MAN)
|
||||
|
||||
IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
|
||||
|
||||
+6
-6
@@ -21,7 +21,7 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat-curses.1.de.txt \
|
||||
weechat.1.de.txt \
|
||||
cmdline_options.de.txt \
|
||||
weechat_user.de.txt \
|
||||
weechat_scripting.de.txt \
|
||||
@@ -31,7 +31,7 @@ EXTRA_DIST = CMakeLists.txt \
|
||||
$(wildcard autogen/user/*.txt)
|
||||
|
||||
if MAN
|
||||
man_targets = weechat-curses.1
|
||||
man_targets = weechat.1
|
||||
man_install = install-man
|
||||
man_uninstall = uninstall-man
|
||||
endif
|
||||
@@ -47,8 +47,8 @@ endif
|
||||
all-local: $(man_targets) $(doc_targets)
|
||||
|
||||
# man page
|
||||
weechat-curses.1: weechat-curses.1.de.txt cmdline_options.de.txt
|
||||
$(A2X) -a lang=de -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/de/weechat-curses.1.de.txt
|
||||
weechat.1: weechat.1.de.txt cmdline_options.de.txt
|
||||
$(A2X) -a lang=de -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/de/weechat.1.de.txt
|
||||
|
||||
# user's guide
|
||||
weechat_user.de.html: weechat_user.de.txt cmdline_options.de.txt $(wildcard autogen/user/*.txt)
|
||||
@@ -87,7 +87,7 @@ install-doc:
|
||||
uninstall-hook: $(man_uninstall) $(doc_uninstall)
|
||||
|
||||
uninstall-man:
|
||||
$(RM) $(DESTDIR)$(mandir)/de/man1/weechat-curses.1
|
||||
$(RM) $(DESTDIR)$(mandir)/de/man1/weechat.1
|
||||
-rmdir $(DESTDIR)$(mandir)/de/man1
|
||||
|
||||
uninstall-doc:
|
||||
@@ -97,5 +97,5 @@ uninstall-doc:
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
-rm -f weechat-curses.1
|
||||
-rm -f weechat.1
|
||||
-rm -f *.html
|
||||
|
||||
@@ -680,7 +680,7 @@ With option "-quit", the process is slightly different:
|
||||
3. unload all plugins
|
||||
4. save WeeChat configuration
|
||||
5. quit WeeChat
|
||||
Then later you can restore session with command: weechat-curses --upgrade
|
||||
Then later you can restore session with command: weechat --upgrade
|
||||
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
|
||||
It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat".
|
||||
........................................
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
WEECHAT-CURSES(1)
|
||||
=================
|
||||
WEECHAT(1)
|
||||
==========
|
||||
:doctype: manpage
|
||||
|
||||
NAME
|
||||
----
|
||||
|
||||
weechat-curses - der erweiterbare Chat Client (Curses Version)
|
||||
weechat - der erweiterbare Chat Client
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
|
||||
[verse]
|
||||
'weechat-curses' [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
'weechat-curses' [-c|--colors]
|
||||
'weechat-curses' [-h|--help]
|
||||
'weechat-curses' [-k|--keys]
|
||||
'weechat-curses' [-l|--license]
|
||||
'weechat-curses' [-v|--version]
|
||||
'weechat' [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
'weechat' [-c|--colors]
|
||||
'weechat' [-h|--help]
|
||||
'weechat' [-k|--keys]
|
||||
'weechat' [-l|--license]
|
||||
'weechat' [-v|--version]
|
||||
|
||||
BESCHREIBUNG
|
||||
------------
|
||||
@@ -87,8 +87,8 @@ Dies ist ein bekanntes Problem. Aus diesem Grund sollten die folgenden Punkte
|
||||
sorgfältig durchgelesen und *alle* aufgezeigten Lösungsmöglichkeiten überprüft
|
||||
werden:
|
||||
|
||||
* überprüfe, ob weechat-curses mit libncursesw verlinkt ist (Warnung: Dies ist bei den
|
||||
meisten Distributionen nötig - jedoch nicht bei allen): `ldd /path/to/weechat-curses`
|
||||
* überprüfe, ob weechat mit libncursesw verlinkt ist (Warnung: Dies ist bei den
|
||||
meisten Distributionen nötig - jedoch nicht bei allen): `ldd /path/to/weechat`
|
||||
* prüfe mit dem Befehl `/plugin`, ob die "Charset" Erweiterung geladen ist (falls
|
||||
dies nicht der Fall sein sollte benötigst Du wahrscheinlich noch das Paket "weechat-plugins")
|
||||
* überprüfe die Ausgabe des `/charset` Befehls (im Server-Buffer). Du solltest
|
||||
@@ -788,7 +788,7 @@ Wenn man WeeChat in gdb startet kann ein Thread-Fehler auftreten. Was beudeutet
|
||||
Falls man WeeChat in gdb ausführt kann folgende Fehlermeldung erscheinen:
|
||||
|
||||
----------------------------------------
|
||||
$ gdb /Pfad/zu/weechat-curses
|
||||
$ gdb /Pfad/zu/weechat
|
||||
(gdb) run
|
||||
[Thread debugging using libthread_db enabled]
|
||||
Cannot find new threads: generic error
|
||||
@@ -798,7 +798,7 @@ Um diesen Fehler zu beheben sollte man gdb wie folgt aufrufen (der Pfad zu
|
||||
libpthread und WeeChat muss natürlich an das eigene System angepasst werden):
|
||||
|
||||
----------------------------------------
|
||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat-curses
|
||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat
|
||||
(gdb) run
|
||||
----------------------------------------
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ Probleme mit der Standard Tastaturbelegung).
|
||||
Starte aus Deiner shell:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
$ weechat
|
||||
----------------------------------------
|
||||
|
||||
|
||||
|
||||
@@ -41,7 +41,9 @@ zu lokalisieren.
|
||||
Falls Du die 'bash' als shell benutzt, dann ergänze Deine `~/.bashrc` durch folgende
|
||||
Zeile:
|
||||
|
||||
ulimit -c unlimited
|
||||
----------------------------------------
|
||||
ulimit -c unlimited
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[download]]
|
||||
@@ -64,47 +66,47 @@ Beschaffe und baue die Quellen
|
||||
|
||||
Erstelle zuerst einen neuen Ordner, z.B. 'weechat-git':
|
||||
|
||||
---------------------
|
||||
----------------------------------------
|
||||
$ mkdir ~/weechat-git
|
||||
$ cd ~/weechat-git
|
||||
---------------------
|
||||
----------------------------------------
|
||||
|
||||
Falls Du git installiert hast, clone das git Repository (empfohlen):
|
||||
|
||||
--------------------------------------------
|
||||
----------------------------------------
|
||||
$ git clone git://git.sv.gnu.org/weechat.git
|
||||
$ cd weechat
|
||||
--------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
NOTE: Um auf den aktuellen Stand zu kommen verwendest Du z.B. "`git pull`" in
|
||||
diesem Ordner.
|
||||
|
||||
Ansonsten kannst Du das 'Entwickler-Paket' herunterladen und entpacken:
|
||||
|
||||
-----------------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ wget http://www.weechat.org/files/src/weechat-devel.tar.bz2
|
||||
$ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
-----------------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
Um die Quellen zu übersetzen, wird cmake empfohlen:
|
||||
|
||||
--------------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DPREFIX=$HOME/weechat-git -DCMAKE_BUILD_TYPE=Debug
|
||||
$ cmake .. -DPREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
|
||||
$ make
|
||||
$ make install
|
||||
--------------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
Falls Du cmake nicht hast, ist es auch möglich die autotools zu nutzen:
|
||||
|
||||
----------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=$HOME/weechat-git
|
||||
$ ./configure --prefix=$HOME/weechat-git WEECHAT_HOME=~/.weechat-dev
|
||||
$ make
|
||||
$ make install
|
||||
----------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
[[install_binary_package]]
|
||||
Installieren des Programm-Paketes
|
||||
@@ -126,7 +128,9 @@ starten (nicht mit dem Ordner der stabilen Version).
|
||||
|
||||
Die Befehlszeile lautet:
|
||||
|
||||
~/weechat-git/bin/weechat-curses --dir ~/.weechat-dev
|
||||
----------------------------------------
|
||||
$ ~/weechat-git/bin/weechat
|
||||
----------------------------------------
|
||||
|
||||
Immer noch munter? Dann solltest Du jetzt das bekannte Interface sehen und nun
|
||||
prahle vor Anderen, dass Du die neueste WeeChat-Version verwendest :)
|
||||
|
||||
@@ -372,16 +372,16 @@ Falls WeeChat abstürzen sollte wird auf Ihrem System eine 'core' bzw. 'core.123
|
||||
Diese Datei wird in dem Verzeichnis erzeugt aus welchem Sie WeeChat gestartet haben (dies
|
||||
ist *nicht* das Verzeichnis in welchem sich WeeChat befindet!).
|
||||
|
||||
Beispiel: 'weechat-curses' ist installiert in '/usr/bin/' und die 'core' Datei befindet sich
|
||||
Beispiel: 'weechat' ist installiert in '/usr/bin/' und die 'core' Datei befindet sich
|
||||
in '/home/xxx/'. Nun wird gdb mit folgendem Befehl aufgerufen:
|
||||
|
||||
----------------------------------------
|
||||
gdb /usr/bin/weechat-curses /home/xxx/core
|
||||
gdb /usr/bin/weechat /home/xxx/core
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Ist das Binärpaket 'weechat-dbg' (z.B. Debian) installiert dann sollte dieser Pfad zum
|
||||
starten von WeeChat genutzt werden: '/usr/lib/debug/usr/bin/weechat-curses'
|
||||
starten von WeeChat genutzt werden: '/usr/lib/debug/usr/bin/weechat'
|
||||
|
||||
Nun startet man 'gdb' und führt den Befehl `bt full` innerhalb gdb aus um die Fehlermeldung
|
||||
auszugeben. Eine Fehlermeldung von gdb sieht z.B. wie folgt aus:
|
||||
@@ -422,10 +422,10 @@ Eine laufende Session von WeeChat debuggen
|
||||
|
||||
Um eine laufende Session von WeeChat zu debuggen (zum Beispiel wenn WeeChat nicht
|
||||
mehr reagieren sollte) sollte man gdb mit der Prozess-ID starten ('12345' muss durch
|
||||
die PID des laufenden weechat-curses Prozesses ersetzt werden):
|
||||
die PID des laufenden weechat Prozesses ersetzt werden):
|
||||
|
||||
----------------------------------------
|
||||
gdb /usr/bin/weechat-curses 12345
|
||||
gdb /usr/bin/weechat 12345
|
||||
----------------------------------------
|
||||
|
||||
Sollte WeeChat abgestürzt sein, muss der Befehl `bt full` genutzt werden:
|
||||
@@ -449,7 +449,7 @@ include::cmdline_options.de.txt[]
|
||||
Um WeeChat zu starten muss folgender Befehl ausgeführt werden:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
$ weechat
|
||||
----------------------------------------
|
||||
|
||||
Wird WeeChat zum ersten mal gestartet wird eine Konfigurationsdatei
|
||||
@@ -1364,7 +1364,7 @@ was die Farbdarstellung in WeeChat betrifft:
|
||||
können lediglich 256 Farbpaare durch WeeChat genutzt werden, dies ist eine Einschränkung
|
||||
von ncurses.
|
||||
|
||||
Mittels `weechat-curses --colors` oder dem internen WeeChat-Befehl `/color` kann man sich
|
||||
Mittels `weechat --colors` oder dem internen WeeChat-Befehl `/color` kann man sich
|
||||
die Einschränkungen für die jeweilige Umgebungsvariable anzeigen lassen.
|
||||
|
||||
Folgende Werte sind für die 'TERM'-Umgebungsvariable zu empfehlen, sofern man 256 Farben
|
||||
@@ -1840,7 +1840,7 @@ Beispiel: Anmelden beim Server 'irc.freenode.net' mit dem Nick 'nono' und betret
|
||||
der Channels '#weechat' und '#toto' (Standardport (6667) wird genutzt):
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses irc://nono@irc.freenode.net/#weechat,#toto
|
||||
$ weechat irc://nono@irc.freenode.net/#weechat,#toto
|
||||
----------------------------------------
|
||||
|
||||
[[irc_options]]
|
||||
|
||||
@@ -20,15 +20,15 @@
|
||||
IF(ENABLE_MAN)
|
||||
# man page
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1
|
||||
COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1.en.txt
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
|
||||
COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1.en.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.txt
|
||||
COMMENT "Building weechat-curses.1 (en)"
|
||||
COMMENT "Building weechat.1 (en)"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-man-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1 DESTINATION ${MANDIR}/man1)
|
||||
ADD_CUSTOM_TARGET(doc-man-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/man1)
|
||||
ENDIF(ENABLE_MAN)
|
||||
|
||||
IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
|
||||
|
||||
+6
-6
@@ -21,7 +21,7 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat-curses.1.en.txt \
|
||||
weechat.1.en.txt \
|
||||
cmdline_options.en.txt \
|
||||
weechat_user.en.txt \
|
||||
weechat_plugin_api.en.txt \
|
||||
@@ -35,7 +35,7 @@ EXTRA_DIST = CMakeLists.txt \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
|
||||
if MAN
|
||||
man_targets = weechat-curses.1
|
||||
man_targets = weechat.1
|
||||
man_install = install-man
|
||||
man_uninstall = uninstall-man
|
||||
endif
|
||||
@@ -54,8 +54,8 @@ endif
|
||||
all-local: $(man_targets) $(doc_targets)
|
||||
|
||||
# man page
|
||||
weechat-curses.1: weechat-curses.1.en.txt cmdline_options.en.txt
|
||||
$(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/en/weechat-curses.1.en.txt
|
||||
weechat.1: weechat.1.en.txt cmdline_options.en.txt
|
||||
$(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/en/weechat.1.en.txt
|
||||
|
||||
# user's guide
|
||||
weechat_user.en.html: weechat_user.en.txt cmdline_options.en.txt $(wildcard autogen/user/*.txt)
|
||||
@@ -106,7 +106,7 @@ install-doc:
|
||||
uninstall-hook: $(man_uninstall) $(doc_uninstall)
|
||||
|
||||
uninstall-man:
|
||||
$(RM) $(DESTDIR)$(mandir)/man1/weechat-curses.1
|
||||
$(RM) $(DESTDIR)$(mandir)/man1/weechat.1
|
||||
-rmdir $(DESTDIR)$(mandir)/man1
|
||||
|
||||
uninstall-doc:
|
||||
@@ -116,5 +116,5 @@ uninstall-doc:
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
-rm -f weechat-curses.1
|
||||
-rm -f weechat.1
|
||||
-rm -f *.html
|
||||
|
||||
@@ -680,7 +680,7 @@ With option "-quit", the process is slightly different:
|
||||
3. unload all plugins
|
||||
4. save WeeChat configuration
|
||||
5. quit WeeChat
|
||||
Then later you can restore session with command: weechat-curses --upgrade
|
||||
Then later you can restore session with command: weechat --upgrade
|
||||
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
|
||||
It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat".
|
||||
........................................
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
WEECHAT-CURSES(1)
|
||||
=================
|
||||
WEECHAT(1)
|
||||
==========
|
||||
:doctype: manpage
|
||||
|
||||
NAME
|
||||
----
|
||||
|
||||
weechat-curses - the extensible chat client (Curses version)
|
||||
weechat - the extensible chat client
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
|
||||
[verse]
|
||||
'weechat-curses' [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
'weechat-curses' [-c|--colors]
|
||||
'weechat-curses' [-h|--help]
|
||||
'weechat-curses' [-k|--keys]
|
||||
'weechat-curses' [-l|--license]
|
||||
'weechat-curses' [-v|--version]
|
||||
'weechat' [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
'weechat' [-c|--colors]
|
||||
'weechat' [-h|--help]
|
||||
'weechat' [-k|--keys]
|
||||
'weechat' [-l|--license]
|
||||
'weechat' [-v|--version]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
@@ -289,9 +289,8 @@ Documentation files:
|
||||
| asciidoc.conf | Asciidoc configuration file (some macros)
|
||||
| asciidoc.css | Asciidoc style
|
||||
| docgen.py | Python script to build files in "autogen/" directory (see below)
|
||||
| weechat-curses.1 | Weechat man page
|
||||
| XX/ | Documentation for language XX (languages: en, fr, de, it, ...)
|
||||
| weechat-curses.1.XX.txt | Man page
|
||||
| weechat.1.XX.txt | Man page
|
||||
| weechat_quickstart.XX.txt | Quickstart guide
|
||||
| weechat_user.XX.txt | User's guide
|
||||
| weechat_faq.XX.txt | FAQ
|
||||
|
||||
@@ -79,8 +79,8 @@ I don't see some chars with accents, what can I do?
|
||||
|
||||
It's common issue, please read carefully and check *ALL* solutions below:
|
||||
|
||||
* check that weechat-curses is linked to libncursesw (warning: needed on most
|
||||
distributions but not all): `ldd /path/to/weechat-curses`
|
||||
* check that weechat is linked to libncursesw (warning: needed on most
|
||||
distributions but not all): `ldd /path/to/weechat`
|
||||
* check that the "Charset" plugin is loaded with `/plugin` command (if it is
|
||||
not, then you probably need the "weechat-plugins" package)
|
||||
* check the output of command `/charset` (on core buffer). You should see
|
||||
@@ -748,7 +748,7 @@ When I run WeeChat under gdb, there is error about threads, what can I do?
|
||||
When you run WeeChat under gdb, you may have this error:
|
||||
|
||||
----------------------------------------
|
||||
$ gdb /path/to/weechat-curses
|
||||
$ gdb /path/to/weechat
|
||||
(gdb) run
|
||||
[Thread debugging using libthread_db enabled]
|
||||
Cannot find new threads: generic error
|
||||
@@ -758,7 +758,7 @@ To fix that, you can run gdb with this command (replace path to libpthread and
|
||||
WeeChat with paths on your system):
|
||||
|
||||
----------------------------------------
|
||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses
|
||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
||||
(gdb) run
|
||||
----------------------------------------
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ A recommended terminal emulator for X (but not mandatory) is rxvt-unicode
|
||||
Run from your shell:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
$ weechat
|
||||
----------------------------------------
|
||||
|
||||
|
||||
|
||||
@@ -36,7 +36,9 @@ info, to know exactly where is problem in WeeChat.
|
||||
|
||||
If you're using the 'bash' shell, add following line to your `~/.bashrc`:
|
||||
|
||||
ulimit -c unlimited
|
||||
----------------------------------------
|
||||
ulimit -c unlimited
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[download]]
|
||||
@@ -57,48 +59,48 @@ Get and build sources
|
||||
|
||||
First create a directory, for example 'weechat-git':
|
||||
|
||||
---------------------
|
||||
----------------------------------------
|
||||
$ mkdir ~/weechat-git
|
||||
$ cd ~/weechat-git
|
||||
---------------------
|
||||
----------------------------------------
|
||||
|
||||
If you have git installed, you can just clone the git repository (recommended
|
||||
way):
|
||||
|
||||
--------------------------------------------
|
||||
----------------------------------------
|
||||
$ git clone git://git.sv.gnu.org/weechat.git
|
||||
$ cd weechat
|
||||
--------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
NOTE: Later, you can run "`git pull`" in this directory, to get deltas with
|
||||
the latest updates.
|
||||
|
||||
Otherwise you can download and unpack 'devel' package:
|
||||
|
||||
-----------------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ wget http://www.weechat.org/files/src/weechat-devel.tar.bz2
|
||||
$ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
-----------------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
To build sources, cmake is recommended:
|
||||
|
||||
--------------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DPREFIX=$HOME/weechat-git -DCMAKE_BUILD_TYPE=Debug
|
||||
$ cmake .. -DPREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
|
||||
$ make
|
||||
$ make install
|
||||
--------------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
If you don't have cmake, it's still possible to use autotools:
|
||||
|
||||
----------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=$HOME/weechat-git
|
||||
$ ./configure --prefix=$HOME/weechat-git WEECHAT_HOME=~/.weechat-dev
|
||||
$ make
|
||||
$ make install
|
||||
----------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
[[install_binary_package]]
|
||||
Install binary package
|
||||
@@ -121,7 +123,9 @@ version), with option `--dir`.
|
||||
|
||||
Command is:
|
||||
|
||||
~/weechat-git/bin/weechat-curses --dir ~/.weechat-dev
|
||||
----------------------------------------
|
||||
$ ~/weechat-git/bin/weechat
|
||||
----------------------------------------
|
||||
|
||||
If you're still awake you should see the familiar interface and brag about
|
||||
having the newest possible version of WeeChat. ;)
|
||||
|
||||
@@ -368,16 +368,16 @@ When WeeChat crashes, your system will create a file 'core' or 'core.12345'
|
||||
This file is created in directory where you have run WeeChat (this is *not*
|
||||
directory where WeeChat is installed!).
|
||||
|
||||
For example if 'weechat-curses' is installed in '/usr/bin/' and 'core' file is
|
||||
For example if 'weechat' is installed in '/usr/bin/' and 'core' file is
|
||||
in '/home/xxx/', then run gdb with this command:
|
||||
|
||||
----------------------------------------
|
||||
gdb /usr/bin/weechat-curses /home/xxx/core
|
||||
gdb /usr/bin/weechat /home/xxx/core
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
If you installed binary package 'weechat-dbg' (for example under Debian), then
|
||||
you can use this path for WeeChat binary: '/usr/lib/debug/usr/bin/weechat-curses'
|
||||
you can use this path for WeeChat binary: '/usr/lib/debug/usr/bin/weechat'
|
||||
|
||||
Then under gdb, use command `bt full` to display backtrace.
|
||||
You will see something like that:
|
||||
@@ -418,10 +418,10 @@ Debug a running WeeChat
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
To debug a running WeeChat (for example if WeeChat seems blocked), you can use
|
||||
gdb with process id (replace '12345' with PID of weechat-curses process):
|
||||
gdb with process id (replace '12345' with PID of weechat process):
|
||||
|
||||
----------------------------------------
|
||||
gdb /usr/bin/weechat-curses 12345
|
||||
gdb /usr/bin/weechat 12345
|
||||
----------------------------------------
|
||||
|
||||
Then like for a crash, use command `bt full`:
|
||||
@@ -445,7 +445,7 @@ include::cmdline_options.en.txt[]
|
||||
To start WeeChat, issue this command:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
$ weechat
|
||||
----------------------------------------
|
||||
|
||||
When you run WeeChat for the first time, a default configuration file is
|
||||
@@ -1344,7 +1344,7 @@ for colors in WeeChat:
|
||||
^(1)^ Even if your terminal supports more than 256 pairs, only 256 pairs can be
|
||||
used in WeeChat, because of a ncurses limitation.
|
||||
|
||||
You can run `weechat-curses --colors` or use command `/color` in WeeChat to
|
||||
You can run `weechat --colors` or use command `/color` in WeeChat to
|
||||
display limits for your environment.
|
||||
|
||||
Some recommended values for 'TERM' if you want 256 colors:
|
||||
@@ -1806,7 +1806,7 @@ Example to join '#weechat' and '#toto' on server 'irc.freenode.net' server,
|
||||
default port (6667), with nick 'nono':
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses irc://nono@irc.freenode.net/#weechat,#toto
|
||||
$ weechat irc://nono@irc.freenode.net/#weechat,#toto
|
||||
----------------------------------------
|
||||
|
||||
[[irc_options]]
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ install-doc:
|
||||
uninstall-hook: $(man_uninstall) $(doc_uninstall)
|
||||
|
||||
uninstall-man:
|
||||
$(RM) $(DESTDIR)$(mandir)/es/man1/weechat-curses.1
|
||||
$(RM) $(DESTDIR)$(mandir)/es/man1/weechat.1
|
||||
-rmdir $(DESTDIR)$(mandir)/es/man1
|
||||
|
||||
uninstall-doc:
|
||||
|
||||
@@ -15,7 +15,7 @@ los atajas de teclados predeterminados).
|
||||
Run from your shell:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
$ weechat
|
||||
----------------------------------------
|
||||
|
||||
|
||||
|
||||
@@ -20,15 +20,15 @@
|
||||
IF (ENABLE_MAN)
|
||||
# man page
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1
|
||||
COMMAND ${A2X_EXECUTABLE} ARGS -a lang=fr -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1.fr.txt
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
|
||||
COMMAND ${A2X_EXECUTABLE} ARGS -a lang=fr -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.fr.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1.fr.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.fr.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.txt
|
||||
COMMENT "Building weechat-curses.1 (fr)"
|
||||
COMMENT "Building weechat.1 (fr)"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-man-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1 DESTINATION ${MANDIR}/fr/man1)
|
||||
ADD_CUSTOM_TARGET(doc-man-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/fr/man1)
|
||||
ENDIF (ENABLE_MAN)
|
||||
|
||||
IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
|
||||
|
||||
+6
-6
@@ -21,7 +21,7 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat-curses.1.fr.txt \
|
||||
weechat.1.fr.txt \
|
||||
cmdline_options.fr.txt \
|
||||
weechat_user.fr.txt \
|
||||
weechat_plugin_api.fr.txt \
|
||||
@@ -33,7 +33,7 @@ EXTRA_DIST = CMakeLists.txt \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
|
||||
if MAN
|
||||
man_targets = weechat-curses.1
|
||||
man_targets = weechat.1
|
||||
man_install = install-man
|
||||
man_uninstall = uninstall-man
|
||||
endif
|
||||
@@ -50,8 +50,8 @@ endif
|
||||
all-local: $(man_targets) $(doc_targets)
|
||||
|
||||
# man page
|
||||
weechat-curses.1: weechat-curses.1.fr.txt cmdline_options.fr.txt
|
||||
$(A2X) -a lang=fr -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/fr/weechat-curses.1.fr.txt
|
||||
weechat.1: weechat.1.fr.txt cmdline_options.fr.txt
|
||||
$(A2X) -a lang=fr -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/fr/weechat.1.fr.txt
|
||||
|
||||
# user's guide
|
||||
weechat_user.fr.html: weechat_user.fr.txt cmdline_options.fr.txt $(wildcard autogen/user/*.txt)
|
||||
@@ -94,7 +94,7 @@ install-doc:
|
||||
uninstall-hook: $(man_uninstall) $(doc_uninstall)
|
||||
|
||||
uninstall-man:
|
||||
$(RM) $(DESTDIR)$(mandir)/fr/man1/weechat-curses.1
|
||||
$(RM) $(DESTDIR)$(mandir)/fr/man1/weechat.1
|
||||
-rmdir $(DESTDIR)$(mandir)/fr/man1
|
||||
|
||||
uninstall-doc:
|
||||
@@ -104,5 +104,5 @@ uninstall-doc:
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
-rm -f weechat-curses.1
|
||||
-rm -f weechat.1
|
||||
-rm -f *.html
|
||||
|
||||
@@ -680,7 +680,7 @@ Avec l'option "-quit", le processus est légèrement différent :
|
||||
3. décharger les extensions
|
||||
4. sauvegarder la configuration WeeChat
|
||||
5. quitter WeeChat
|
||||
Et plus tard vous pouvez restaurer la session avec la commande: weechat-curses --upgrade
|
||||
Et plus tard vous pouvez restaurer la session avec la commande: weechat --upgrade
|
||||
IMPORTANT: vous devez restaurer la session avec exactement la même configuration (fichiers *.conf).
|
||||
Il est également possible de restaurer la session WeeChat sur une autre machine si vous y copiez le contenu du répertoire "~/.weechat".
|
||||
........................................
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
WEECHAT-CURSES(1)
|
||||
=================
|
||||
WEECHAT(1)
|
||||
==========
|
||||
:doctype: manpage
|
||||
|
||||
NOM
|
||||
---
|
||||
|
||||
weechat-curses - le client de discussion extensible (version Curses)
|
||||
weechat - le client de discussion extensible
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
|
||||
[verse]
|
||||
'weechat-curses' [-a|--no-connect] [-d|--dir <répertoire>] [-p|--no-plugin] [-r|--run-command <commande>] [-s|--no-script] [--upgrade] [extension:option...]
|
||||
'weechat-curses' [-c|--colors]
|
||||
'weechat-curses' [-h|--help]
|
||||
'weechat-curses' [-k|--keys]
|
||||
'weechat-curses' [-l|--license]
|
||||
'weechat-curses' [-v|--version]
|
||||
'weechat' [-a|--no-connect] [-d|--dir <répertoire>] [-p|--no-plugin] [-r|--run-command <commande>] [-s|--no-script] [--upgrade] [extension:option...]
|
||||
'weechat' [-c|--colors]
|
||||
'weechat' [-h|--help]
|
||||
'weechat' [-k|--keys]
|
||||
'weechat' [-l|--license]
|
||||
'weechat' [-v|--version]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
@@ -80,9 +80,9 @@ 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 :
|
||||
|
||||
* vérifiez que weechat-curses est lié avec libncursesw (attention : nécessaire
|
||||
* vérifiez que weechat est lié avec libncursesw (attention : nécessaire
|
||||
sur beaucoup de distributions, mais pas toutes) :
|
||||
`ldd /chemin/vers/weechat-curses`
|
||||
`ldd /chemin/vers/weechat`
|
||||
* vérifiez que l'extension "Charset" est chargée avec la commande `/plugin`
|
||||
(s'il ne l'est pas, vous devez peut-être installer le paquet
|
||||
"weechat-plugins")
|
||||
@@ -777,7 +777,7 @@ Quand je lance WeeChat sous gdb, il y a une erreur à propos des threads, que pu
|
||||
Quand vous lancez WeeChat sous gdb, vous pouvez avoir cette erreur :
|
||||
|
||||
----------------------------------------
|
||||
$ gdb /path/to/weechat-curses
|
||||
$ gdb /path/to/weechat
|
||||
(gdb) run
|
||||
[Thread debugging using libthread_db enabled]
|
||||
Cannot find new threads: generic error
|
||||
@@ -787,7 +787,7 @@ Pour corriger ça, vous pouvez lancer gdb avec cette commande (remplacez le
|
||||
chemin vers libpthread et WeeChat avec les chemins sur votre système) :
|
||||
|
||||
----------------------------------------
|
||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses
|
||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
||||
(gdb) run
|
||||
----------------------------------------
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ touches par défaut).
|
||||
Lancer depuis votre shell :
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
$ weechat
|
||||
----------------------------------------
|
||||
|
||||
|
||||
|
||||
@@ -39,7 +39,9 @@ se situe dans WeeChat).
|
||||
|
||||
Si vous utilisez le shell 'bash', ajoutez cette ligne dans votre `~/.bashrc` :
|
||||
|
||||
ulimit -c unlimited
|
||||
----------------------------------------
|
||||
ulimit -c unlimited
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[download]]
|
||||
@@ -62,47 +64,47 @@ Obtenir et compiler les sources
|
||||
|
||||
Créez tout d'abord un répertoire, par exemple 'weechat-git' :
|
||||
|
||||
---------------------
|
||||
----------------------------------------
|
||||
$ mkdir ~/weechat-git
|
||||
$ cd ~/weechat-git
|
||||
---------------------
|
||||
----------------------------------------
|
||||
|
||||
Si vous avez git installé, vous pouvez cloner la base GIT (recommandé) :
|
||||
|
||||
--------------------------------------------
|
||||
----------------------------------------
|
||||
$ git clone git://git.sv.gnu.org/weechat.git
|
||||
$ cd weechat
|
||||
--------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
NOTE: Plus tard, vous pourrez utiliser la commande "`git pull`" dans ce répertoire
|
||||
pour obtenir juste les deltas avec la version d'aujourd'hui.
|
||||
|
||||
Sinon vous pouvez installer le paquet 'devel' :
|
||||
|
||||
-----------------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ wget http://www.weechat.org/files/src/weechat-devel.tar.bz2
|
||||
$ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
-----------------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
Pour compiler les sources, cmake est recommandé :
|
||||
|
||||
--------------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DPREFIX=$HOME/weechat-git -DCMAKE_BUILD_TYPE=Debug
|
||||
$ cmake .. -DPREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
|
||||
$ make
|
||||
$ make install
|
||||
--------------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
Si vous n'avez pas cmake, il est toujours possible d'utiliser les autotools :
|
||||
|
||||
-----------------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=$HOME/weechat-git
|
||||
$ ./configure --prefix=$HOME/weechat-git WEECHAT_HOME=~/.weechat-dev
|
||||
$ make
|
||||
$ make install
|
||||
-----------------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
[[install_binary_package]]
|
||||
Obtenir un paquet binaire
|
||||
@@ -125,7 +127,9 @@ stable, avec l'option `--dir`.
|
||||
|
||||
La commande est :
|
||||
|
||||
~/weechat-git/bin/weechat-curses --dir ~/.weechat-dev
|
||||
----------------------------------------
|
||||
$ ~/weechat-git/bin/weechat
|
||||
----------------------------------------
|
||||
|
||||
Si vous êtes encore éveillé, vous devriez voir une interface familière et
|
||||
pouvoir vous vanter d'utiliser la version la plus récente possible de WeeChat ;)
|
||||
|
||||
@@ -375,17 +375,17 @@ Lorsque WeeChat se plante, votre système génère un fichier 'core' ou
|
||||
Ce fichier est créé dans le répertoire où vous avez lancé WeeChat (ce n'est
|
||||
*pas* le répertoire où WeeChat est installé !).
|
||||
|
||||
Par exemple si 'weechat-curses' est installé dans '/usr/bin/' et que le fichier
|
||||
Par exemple si 'weechat' est installé dans '/usr/bin/' et que le fichier
|
||||
'core' est dans '/home/xxx/', alors lancez gdb avec cette commande :
|
||||
|
||||
----------------------------------------
|
||||
gdb /usr/bin/weechat-curses /home/xxx/core
|
||||
gdb /usr/bin/weechat /home/xxx/core
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Si vous avez installé le paquet binaire 'weechat-dbg' (par exemple sous Debian),
|
||||
alors vous pouvez utiliser ce chemin pour l'exécutable WeeChat :
|
||||
'/usr/lib/debug/usr/bin/weechat-curses'
|
||||
'/usr/lib/debug/usr/bin/weechat'
|
||||
|
||||
Puis sous gdb, utilisez la commande `bt full` pour afficher la trace.
|
||||
Vous verrez quelque chose comme ceci :
|
||||
@@ -427,10 +427,10 @@ Debug de WeeChat qui tourne
|
||||
|
||||
Pour déboguer WeeChat qui tourne (par exemple si WeeChat semble bloqué), vous
|
||||
pouvez utiliser gdb avec l'identifiant du processus (remplacez '12345' par le
|
||||
PID du processus weechat-curses) :
|
||||
PID du processus weechat) :
|
||||
|
||||
----------------------------------------
|
||||
gdb /usr/bin/weechat-curses 12345
|
||||
gdb /usr/bin/weechat 12345
|
||||
----------------------------------------
|
||||
|
||||
Ensuite comme pour un crash, utilisez la commande `bt full` :
|
||||
@@ -454,7 +454,7 @@ include::cmdline_options.fr.txt[]
|
||||
Pour lancer WeeChat, tapez cette commande :
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
$ weechat
|
||||
----------------------------------------
|
||||
|
||||
Lorsque vous lancez WeeChat pour la première fois, un fichier de configuration
|
||||
@@ -1380,7 +1380,7 @@ limites suivantes pour les couleurs dans WeeChat :
|
||||
^(1)^ Même si votre terminal supporte plus de 256 paires, seules 256 paires
|
||||
peuvent être utilisées dans WeeChat, en raison d'une limitation de ncurses.
|
||||
|
||||
Vous pouvez lancer `weechat-curses --colors` ou utiliser la commande `/color`
|
||||
Vous pouvez lancer `weechat --colors` ou utiliser la commande `/color`
|
||||
dans WeeChat pour afficher les limites de votre environnement.
|
||||
|
||||
Quelques valeurs recommandées pour 'TERM' si vous voulez 256 couleurs :
|
||||
@@ -1863,7 +1863,7 @@ Exemple pour rejoindre '#weechat' et '#toto' sur le serveur 'irc.freenode.net',
|
||||
port par défaut (6667), avec le pseudo 'nono' :
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses irc://nono@irc.freenode.net/#weechat,#toto
|
||||
$ weechat irc://nono@irc.freenode.net/#weechat,#toto
|
||||
----------------------------------------
|
||||
|
||||
[[irc_options]]
|
||||
|
||||
@@ -20,15 +20,15 @@
|
||||
IF (ENABLE_MAN)
|
||||
# man page
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1
|
||||
COMMAND ${A2X_EXECUTABLE} ARGS -a lang=it -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1.it.txt
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
|
||||
COMMAND ${A2X_EXECUTABLE} ARGS -a lang=it -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.it.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1.it.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.it.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.txt
|
||||
COMMENT "Building weechat-curses.1 (it)"
|
||||
COMMENT "Building weechat.1 (it)"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-man-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1 DESTINATION ${MANDIR}/it/man1)
|
||||
ADD_CUSTOM_TARGET(doc-man-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/it/man1)
|
||||
ENDIF (ENABLE_MAN)
|
||||
|
||||
IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
|
||||
|
||||
+6
-6
@@ -20,7 +20,7 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat-curses.1.it.txt \
|
||||
weechat.1.it.txt \
|
||||
cmdline_options.it.txt \
|
||||
weechat_user.it.txt \
|
||||
weechat_plugin_api.it.txt \
|
||||
@@ -32,7 +32,7 @@ EXTRA_DIST = CMakeLists.txt \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
|
||||
if MAN
|
||||
man_targets = weechat-curses.1
|
||||
man_targets = weechat.1
|
||||
man_install = install-man
|
||||
man_uninstall = uninstall-man
|
||||
endif
|
||||
@@ -49,8 +49,8 @@ endif
|
||||
all-local: $(man_targets) $(doc_targets)
|
||||
|
||||
# man page
|
||||
weechat-curses.1: weechat-curses.1.it.txt cmdline_options.it.txt
|
||||
$(A2X) -a lang=it -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/it/weechat-curses.1.it.txt
|
||||
weechat.1: weechat.1.it.txt cmdline_options.it.txt
|
||||
$(A2X) -a lang=it -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/it/weechat.1.it.txt
|
||||
|
||||
# user's guide
|
||||
weechat_user.it.html: weechat_user.it.txt cmdline_options.it.txt $(wildcard autogen/user/*.txt)
|
||||
@@ -93,7 +93,7 @@ install-doc:
|
||||
uninstall-hook: $(man_uninstall) $(doc_uninstall)
|
||||
|
||||
uninstall-man:
|
||||
$(RM) $(DESTDIR)$(mandir)/it/man1/weechat-curses.1
|
||||
$(RM) $(DESTDIR)$(mandir)/it/man1/weechat.1
|
||||
-rmdir $(DESTDIR)$(mandir)/it/man1
|
||||
|
||||
uninstall-doc:
|
||||
@@ -103,5 +103,5 @@ uninstall-doc:
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
-rm -f weechat-curses.1
|
||||
-rm -f weechat.1
|
||||
-rm -f *.html
|
||||
|
||||
@@ -680,7 +680,7 @@ With option "-quit", the process is slightly different:
|
||||
3. unload all plugins
|
||||
4. save WeeChat configuration
|
||||
5. quit WeeChat
|
||||
Then later you can restore session with command: weechat-curses --upgrade
|
||||
Then later you can restore session with command: weechat --upgrade
|
||||
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
|
||||
It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat".
|
||||
........................................
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
// TRANSLATION MISSING (WHOLE FILE)
|
||||
WEECHAT-CURSES(1)
|
||||
=================
|
||||
WEECHAT(1)
|
||||
==========
|
||||
:doctype: manpage
|
||||
|
||||
NAME
|
||||
----
|
||||
|
||||
weechat-curses - the extensible chat client (Curses version)
|
||||
weechat - the extensible chat client
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
|
||||
[verse]
|
||||
'weechat-curses' [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
'weechat-curses' [-c|--colors]
|
||||
'weechat-curses' [-h|--help]
|
||||
'weechat-curses' [-k|--keys]
|
||||
'weechat-curses' [-l|--license]
|
||||
'weechat-curses' [-v|--version]
|
||||
'weechat' [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
'weechat' [-c|--colors]
|
||||
'weechat' [-h|--help]
|
||||
'weechat' [-k|--keys]
|
||||
'weechat' [-l|--license]
|
||||
'weechat' [-v|--version]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
@@ -83,8 +83,8 @@ Non riesco a vedere alcuni caratteri con gli accenti, cosa posso fare?
|
||||
È un problema noto, per favore leggere con attenzione e verificare *OGNI*
|
||||
soluzione tra quelle elencate:
|
||||
|
||||
* verificare che weechat-curses abbia un link con libncursesw (attenzione:
|
||||
necessario su molte distribuzioni ma non tutte): `ldd /path/di/weechat-curses`
|
||||
* verificare che weechat abbia un link con libncursesw (attenzione:
|
||||
necessario su molte distribuzioni ma non tutte): `ldd /path/di/weechat`
|
||||
* verificare che il plugin "charset" sia caricato con il comando `plugin` (se non
|
||||
lo è, probabilmente è necessario il pacchetto "weechat-plugins")
|
||||
* verificare l'output del comando `/charset` (sul buffer core). Dovrebbero essere
|
||||
@@ -774,7 +774,7 @@ Quando viene eseguito WeeChat all'interno di gdb, potrebbe verificarsi
|
||||
questo errore:
|
||||
|
||||
----------------------------------------
|
||||
$ gdb /path/to/weechat-curses
|
||||
$ gdb /path/to/weechat
|
||||
(gdb) run
|
||||
[Thread debugging using libthread_db enabled]
|
||||
Cannot find new threads: generic error
|
||||
@@ -784,7 +784,7 @@ Per correggerlo, è possibile eseguire gdb con questo comando (sostituire il
|
||||
path di libpthread e WeeChat con i path del proprio sistema):
|
||||
|
||||
----------------------------------------
|
||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses
|
||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
||||
(gdb) run
|
||||
----------------------------------------
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ le scorciatoie da tastiera predefinite).
|
||||
Avviare dalla propria shell:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
$ weechat
|
||||
----------------------------------------
|
||||
|
||||
|
||||
|
||||
@@ -39,7 +39,9 @@ esattamente dove sia il problema in WeeChat.
|
||||
|
||||
Se si utilizza la shell 'bash', aggiungere la seguente riga al file `~/.bashrc`:
|
||||
|
||||
ulimit -c unlimited
|
||||
----------------------------------------
|
||||
ulimit -c unlimited
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[download]]
|
||||
@@ -61,47 +63,47 @@ Ottenere e compilare i sorgenti
|
||||
|
||||
Per prima cosa creare una directory, per esempio 'weechat-git':
|
||||
|
||||
---------------------
|
||||
----------------------------------------
|
||||
$ mkdir ~/weechat-git
|
||||
$ cd ~/weechat-git
|
||||
---------------------
|
||||
----------------------------------------
|
||||
|
||||
Se si ha git installato, si può clonare il deposito git (raccomandato):
|
||||
|
||||
--------------------------------------------
|
||||
----------------------------------------
|
||||
$ git clone git://git.sv.gnu.org/weechat.git
|
||||
$ cd weechat
|
||||
--------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
NOTA: In seguito, si può eseguire "`git pull`" in questa directory per
|
||||
ricevere gli ultimi aggiornamenti.
|
||||
|
||||
Altrimenti si può scaricare ed estrarre il pacchetto 'devel':
|
||||
|
||||
-----------------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ wget http://www.weechat.org/files/src/weechat-devel.tar.bz2
|
||||
$ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
-----------------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
Per compilare i sorgenti, si raccomanda cmake:
|
||||
|
||||
--------------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DPREFIX=$HOME/weechat-git -DCMAKE_BUILD_TYPE=Debug
|
||||
$ cmake .. -DPREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
|
||||
$ make
|
||||
$ make install
|
||||
--------------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
Se cmake non è installato, è ancora possibile usare gli autotools:
|
||||
|
||||
----------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=$HOME/weechat-git
|
||||
$ ./configure --prefix=$HOME/weechat-git WEECHAT_HOME=~/.weechat-dev
|
||||
$ make
|
||||
$ make install
|
||||
----------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
[[install_binary_package]]
|
||||
Installazione del pacchetto binario
|
||||
@@ -124,7 +126,9 @@ stabile), con l'opzione `--dir`.
|
||||
|
||||
Il comando è:
|
||||
|
||||
~/weechat-git/bin/weechat-curses --dir ~/.weechat-dev
|
||||
----------------------------------------
|
||||
$ ~/weechat-git/bin/weechat
|
||||
----------------------------------------
|
||||
|
||||
Se siete ancora svegli dovreste vedere un'interfaccia familiare e vantarvi del
|
||||
fatto di avere la versione più nuova possibile di WeeChat. ;)
|
||||
|
||||
@@ -386,17 +386,17 @@ In caso di errore di WeeChat, il sistema creerà un file 'core' oppure 'core.123
|
||||
Questo file viene creato nella directory in cui è in esecuzione WeeChat (e
|
||||
*non* la directory dove WeeChat è installato!).
|
||||
|
||||
Ad esempio, se 'weechat-curses' è installato in '/usr/bin/' ed il file 'core'
|
||||
Ad esempio, se 'weechat' è installato in '/usr/bin/' ed il file 'core'
|
||||
si trova in '/home/xxx/', allora eseguire gdb con questo comando:
|
||||
|
||||
----------------------------------------
|
||||
gdb /usr/bin/weechat-curses /home/xxx/core
|
||||
gdb /usr/bin/weechat /home/xxx/core
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Se è stato installato il pacchetto binario 'weechat-dbg' (ad esempio in Debian), è
|
||||
possibile usare questo path per il binario di WeeChat:
|
||||
'/usr/lib/debug/usr/bin/weechat-curses'
|
||||
'/usr/lib/debug/usr/bin/weechat'
|
||||
|
||||
All'interno di gdb, usare il comando `bt full` per visualizzare
|
||||
il backtrace. Verrà mostrato qualcosa di simile a questo:
|
||||
@@ -438,10 +438,10 @@ Debug di WeeChat durante l'esecuzione
|
||||
|
||||
Per eseguire il debug di un'istanza di WeeChat in esecuzione (ad esempio se
|
||||
WeeChat sembra sia bloccato), è possibile usare gdb con l'id del processo
|
||||
(sostituire '12345' con il PID del processo weechat-curses):
|
||||
(sostituire '12345' con il PID del processo weechat):
|
||||
|
||||
----------------------------------------
|
||||
gdb /usr/bin/weechat-curses 12345
|
||||
gdb /usr/bin/weechat 12345
|
||||
----------------------------------------
|
||||
|
||||
Poi, come per un crash, usare il comando `bt full`:
|
||||
@@ -465,7 +465,7 @@ include::cmdline_options.it.txt[]
|
||||
Per avviare WeeChat, digitare questo comando:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
$ weechat
|
||||
----------------------------------------
|
||||
|
||||
Alla prima esecuzione di WeeChat, viene creato un file di configurazione
|
||||
@@ -1378,7 +1378,7 @@ seguenti limiti per i colori in WeeChat:
|
||||
^(1)^ Anche se il terminale supporta più di 256 coppie, possono essere utilizzate
|
||||
solo 256 coppie in WeeChat, a causa di una limitazione di ncurses.
|
||||
|
||||
È possibile eseguire `weechat-curses --colors` o utilizzare il comando `/color` in
|
||||
È possibile eseguire `weechat --colors` o utilizzare il comando `/color` in
|
||||
WeeChat per visualizzare i limiti del proprio ambiente.
|
||||
|
||||
Alcuni valori raccomandati per 'TERM' se si desiderano 256 colori:
|
||||
@@ -1852,7 +1852,7 @@ Esempio per entrare in '#weechat' e '#tizio' sul server 'irc.freenode.net',
|
||||
porta predefinita (6667), con il nick 'caio':
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses irc://caio@irc.freenode.net/#weechat,#tizio
|
||||
$ weechat irc://caio@irc.freenode.net/#weechat,#tizio
|
||||
----------------------------------------
|
||||
|
||||
[[irc_options]]
|
||||
|
||||
@@ -20,15 +20,15 @@
|
||||
IF (ENABLE_MAN)
|
||||
# man page
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1
|
||||
COMMAND ${A2X_EXECUTABLE} ARGS -a lang=ja -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1.ja.txt
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
|
||||
COMMAND ${A2X_EXECUTABLE} ARGS -a lang=ja -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.ja.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1.ja.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.ja.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.txt
|
||||
COMMENT "Building weechat-curses.1 (ja)"
|
||||
COMMENT "Building weechat.1 (ja)"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-man-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat-curses.1 DESTINATION ${MANDIR}/ja/man1)
|
||||
ADD_CUSTOM_TARGET(doc-man-ja ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/ja/man1)
|
||||
ENDIF (ENABLE_MAN)
|
||||
|
||||
IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
|
||||
|
||||
+6
-6
@@ -20,7 +20,7 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat-curses.1.ja.txt \
|
||||
weechat.1.ja.txt \
|
||||
cmdline_options.ja.txt \
|
||||
weechat_user.ja.txt \
|
||||
weechat_scripting.ja.txt \
|
||||
@@ -31,7 +31,7 @@ EXTRA_DIST = CMakeLists.txt \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
|
||||
if MAN
|
||||
man_targets = weechat-curses.1
|
||||
man_targets = weechat.1
|
||||
man_install = install-man
|
||||
man_uninstall = uninstall-man
|
||||
endif
|
||||
@@ -47,8 +47,8 @@ endif
|
||||
all-local: $(man_targets) $(doc_targets)
|
||||
|
||||
# man page
|
||||
weechat-curses.1: weechat-curses.1.ja.txt cmdline_options.ja.txt
|
||||
$(A2X) -a lang=ja -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/ja/weechat-curses.1.ja.txt
|
||||
weechat.1: weechat.1.ja.txt cmdline_options.ja.txt
|
||||
$(A2X) -a lang=ja -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/ja/weechat.1.ja.txt
|
||||
|
||||
# user's guide
|
||||
weechat_user.ja.html: weechat_user.ja.txt cmdline_options.ja.txt $(wildcard autogen/user/*.txt)
|
||||
@@ -87,7 +87,7 @@ install-doc:
|
||||
uninstall-hook: $(man_uninstall) $(doc_uninstall)
|
||||
|
||||
uninstall-man:
|
||||
$(RM) $(DESTDIR)$(mandir)/ja/man1/weechat-curses.1
|
||||
$(RM) $(DESTDIR)$(mandir)/ja/man1/weechat.1
|
||||
-rmdir $(DESTDIR)$(mandir)/ja/man1
|
||||
|
||||
uninstall-doc:
|
||||
@@ -97,5 +97,5 @@ uninstall-doc:
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
-rm -f weechat-curses.1
|
||||
-rm -f weechat.1
|
||||
-rm -f *.html
|
||||
|
||||
@@ -680,7 +680,7 @@ With option "-quit", the process is slightly different:
|
||||
3. unload all plugins
|
||||
4. save WeeChat configuration
|
||||
5. quit WeeChat
|
||||
Then later you can restore session with command: weechat-curses --upgrade
|
||||
Then later you can restore session with command: weechat --upgrade
|
||||
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
|
||||
It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat".
|
||||
........................................
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
// TRANSLATION MISSING (WHOLE FILE)
|
||||
WEECHAT-CURSES(1)
|
||||
=================
|
||||
WEECHAT(1)
|
||||
==========
|
||||
:doctype: manpage
|
||||
|
||||
NAME
|
||||
----
|
||||
|
||||
weechat-curses - the extensible chat client (Curses version)
|
||||
weechat - the extensible chat client
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
|
||||
[verse]
|
||||
'weechat-curses' [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
'weechat-curses' [-c|--colors]
|
||||
'weechat-curses' [-h|--help]
|
||||
'weechat-curses' [-k|--keys]
|
||||
'weechat-curses' [-l|--license]
|
||||
'weechat-curses' [-v|--version]
|
||||
'weechat' [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
'weechat' [-c|--colors]
|
||||
'weechat' [-h|--help]
|
||||
'weechat' [-k|--keys]
|
||||
'weechat' [-l|--license]
|
||||
'weechat' [-v|--version]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
@@ -71,8 +71,8 @@ autotools を使って (cmake を使わずに) コンパイルする場合、
|
||||
|
||||
これは良くある問題です。以下の内容をよく読んで、*全ての* 解決策をチェックしてください:
|
||||
|
||||
* weechat-curses が libncursesw にリンクされていることの確認 (警告: 全てではありませんが、
|
||||
ほとんどのディストリビューションで必要です): `ldd /path/to/weechat-curses`
|
||||
* weechat が libncursesw にリンクされていることの確認 (警告: 全てではありませんが、
|
||||
ほとんどのディストリビューションで必要です): `ldd /path/to/weechat`
|
||||
* `/plugin` コマンドで "Charset" プラグインがロード済みであることの確認
|
||||
(ロードされていない場合、"weechat-plugins" パッケージが必要かもしれません) 。
|
||||
* `/charset` コマンドの出力を確認 (core バッファ上で)。
|
||||
@@ -698,7 +698,7 @@ OpenBSD では、プラグインファイル名の末尾が ".so.0.0" です (Li
|
||||
gdb で WeeChat を実行する場合、以下のエラーが出るかもしれません:
|
||||
|
||||
----------------------------------------
|
||||
$ gdb /path/to/weechat-curses
|
||||
$ gdb /path/to/weechat
|
||||
(gdb) run
|
||||
[Thread debugging using libthread_db enabled]
|
||||
Cannot find new threads: generic error
|
||||
@@ -708,7 +708,7 @@ Cannot find new threads: generic error
|
||||
(システム上の libpthread と WeeChat へのパスを変更):
|
||||
|
||||
----------------------------------------
|
||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses
|
||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
||||
(gdb) run
|
||||
----------------------------------------
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ X 用ターミナルエミュレータは rxvt-unicode を推奨します (UTF-8
|
||||
シェルから起動するには:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
$ weechat
|
||||
----------------------------------------
|
||||
|
||||
|
||||
|
||||
@@ -33,7 +33,9 @@ Linux の 'core' ファイルを有効にすることはとても役に立ちま
|
||||
|
||||
'bash' シェルを使っている場合、以下の行を `~/.bashrc` に追記してください:
|
||||
|
||||
ulimit -c unlimited
|
||||
----------------------------------------
|
||||
ulimit -c unlimited
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[download]]
|
||||
@@ -52,48 +54,48 @@ Linux の 'core' ファイルを有効にすることはとても役に立ちま
|
||||
|
||||
最初にディレクトリを作ってください、ここでは 'weechat-git':
|
||||
|
||||
---------------------
|
||||
----------------------------------------
|
||||
$ mkdir ~/weechat-git
|
||||
$ cd ~/weechat-git
|
||||
---------------------
|
||||
----------------------------------------
|
||||
|
||||
git がインストール済みの場合、git
|
||||
リポジトリを clone してください (推奨):
|
||||
|
||||
--------------------------------------------
|
||||
----------------------------------------
|
||||
$ git clone git://git.sv.gnu.org/weechat.git
|
||||
$ cd weechat
|
||||
--------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
注意: clone の後、このディレクトリ内で "`git pull`"
|
||||
を実行すれば、最新のアップデートとの差分が更新されます。
|
||||
|
||||
他の方法として 'devel' パッケージをダウンロードして展開する方法があります:
|
||||
|
||||
-----------------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ wget http://www.weechat.org/files/src/weechat-devel.tar.bz2
|
||||
$ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
-----------------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
ソースをビルドするには cmake を使うことを推奨します:
|
||||
|
||||
--------------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DPREFIX=$HOME/weechat-git -DCMAKE_BUILD_TYPE=Debug
|
||||
$ cmake .. -DPREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
|
||||
$ make
|
||||
$ make install
|
||||
--------------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
cmake が無い場合は autotools を使うことも可能です:
|
||||
|
||||
----------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=$HOME/weechat-git
|
||||
$ ./configure --prefix=$HOME/weechat-git WEECHAT_HOME=~/.weechat-dev
|
||||
$ make
|
||||
$ make install
|
||||
----------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
[[install_binary_package]]
|
||||
=== バイナリパッケージのインストール ===
|
||||
@@ -114,7 +116,9 @@ Linux ディストリビューション別に:
|
||||
|
||||
コマンド:
|
||||
|
||||
~/weechat-git/bin/weechat-curses --dir ~/.weechat-dev
|
||||
----------------------------------------
|
||||
$ ~/weechat-git/bin/weechat
|
||||
----------------------------------------
|
||||
|
||||
より万全を期すなら、上の方法を使って WeeChat
|
||||
の最新バージョンを使っていることを確認するべきです ;)
|
||||
|
||||
@@ -361,16 +361,16 @@ WeeChat がクラッシュすると、'core' または 'core.12345' ファイル
|
||||
このファイルは WeeChat を起動したディレクトリに作られます (これは
|
||||
WeeChat がインストールされているディレクトリでは*ありません*!)。
|
||||
|
||||
例えば、'weechat-curses' が '/usr/bin/' にインストールされ、'core' ファイルが
|
||||
例えば、'weechat' が '/usr/bin/' にインストールされ、'core' ファイルが
|
||||
'/home/xxx/' にある場合、以下のコマンドで gdb を起動してください:
|
||||
|
||||
----------------------------------------
|
||||
gdb /usr/bin/weechat-curses /home/xxx/core
|
||||
gdb /usr/bin/weechat /home/xxx/core
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
バイナリパッケージ 'weechat-dbg' をインストールした場合 (例えば Debian で)、WeeChat
|
||||
バイナリへのパスは '/usr/lib/debug/usr/bin/weechat-curses' のようになります。
|
||||
バイナリへのパスは '/usr/lib/debug/usr/bin/weechat' のようになります。
|
||||
|
||||
gdb の中で `bt full` コマンドを実行するとバックトレースが表示されます。
|
||||
以下のような出力が得られるはずです:
|
||||
@@ -410,10 +410,10 @@ Copying output to /tmp/crash.txt.
|
||||
==== 起動した WeeChat のデバッグ ====
|
||||
|
||||
起動している WeeChat をデバッグするには (例えば WeeChat がフリーズしているような場合)、gdb
|
||||
の引数にプロセス番号を与えて起動します ('12345' は weechat-curses プロセスの PID に変更してください):
|
||||
の引数にプロセス番号を与えて起動します ('12345' は weechat プロセスの PID に変更してください):
|
||||
|
||||
----------------------------------------
|
||||
gdb /usr/bin/weechat-curses 12345
|
||||
gdb /usr/bin/weechat 12345
|
||||
----------------------------------------
|
||||
|
||||
クラッシュが起きた場合と同様に、`bt full` コマンドを使ってください:
|
||||
@@ -435,7 +435,7 @@ include::cmdline_options.ja.txt[]
|
||||
WeeChat を起動させるには、以下コマンドを実行:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
$ weechat
|
||||
----------------------------------------
|
||||
|
||||
初めて WeeChat を起動する場合、デフォルトのオプションで設定ファイルが作成されます。
|
||||
@@ -1314,7 +1314,7 @@ WeeChat ではバーやチャットエリアにおけるテキスト表示に 25
|
||||
^(1)^ 端末が 256 ペア以上の表示をサポートしていても、WeeChat
|
||||
では ncurses の制限により 256 ペア以上の表示は行えません。
|
||||
|
||||
`weechat-curses --colors` を実行するか、`/color` コマンドをin WeeChat
|
||||
`weechat --colors` を実行するか、`/color` コマンドをin WeeChat
|
||||
の中で実行することで、色表示の制限を確認できます。
|
||||
|
||||
256 色を利用したい場合に推奨される 'TERM' 環境変数の値は:
|
||||
@@ -1753,7 +1753,7 @@ irc[6][s]://[nick[:password]@]irc.example.org[:port][/channel][,channel[...]]
|
||||
で稼働中の IRC サーバ上の '#weechat' と '#toto' チャンネルに参加する例:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses irc://nono@irc.freenode.net/#weechat,#toto
|
||||
$ weechat irc://nono@irc.freenode.net/#weechat,#toto
|
||||
----------------------------------------
|
||||
|
||||
[[irc_options]]
|
||||
|
||||
+1
-1
@@ -74,7 +74,7 @@ install-doc:
|
||||
uninstall-hook: $(man_uninstall) $(doc_uninstall)
|
||||
|
||||
uninstall-man:
|
||||
$(RM) $(DESTDIR)$(mandir)/pl/man1/weechat-curses.1
|
||||
$(RM) $(DESTDIR)$(mandir)/pl/man1/weechat.1
|
||||
-rmdir $(DESTDIR)$(mandir)/pl/man1
|
||||
|
||||
uninstall-doc:
|
||||
|
||||
@@ -81,8 +81,8 @@ Nie widzę niektórych znaków diakrytycznych, co mogę zrobić?
|
||||
|
||||
Jest to częsty problem, przeczytaj i sprawdź *WSZYSTKIE* poniższe rozwiązania:
|
||||
|
||||
* sprawdź czy weechat-curses jest zlinkowany z libncursesw (uwaga: wymagane na
|
||||
większości dystrybucji ale nie wszystkich): `ldd /ścieżka/do/weechat-curses`
|
||||
* sprawdź czy weechat jest zlinkowany z libncursesw (uwaga: wymagane na
|
||||
większości dystrybucji ale nie wszystkich): `ldd /ścieżka/do/weechat`
|
||||
* sprawdź czy wtyczka "Charset" jest załadowana za pomocą komendy `/plugin`
|
||||
(jeśli nie jest, to najprawdopodobniej potrzebujesz pakietu "weechat-plugins")
|
||||
* sprawdź wyjście komendy `/charset` (w głównym buforze). Powinieneś zobaczyć
|
||||
@@ -754,7 +754,7 @@ Kiedy uruchamiam WeeChat pod gdb dostaję komunikat o wątkach, co mogę z tym z
|
||||
Podczas uruchamiania WeeChat pod gdb, można spotkać się z takim błędem:
|
||||
|
||||
----------------------------------------
|
||||
$ gdb /scieżka/do/weechat-curses
|
||||
$ gdb /scieżka/do/weechat
|
||||
(gdb) run
|
||||
[Thread debugging using libthread_db enabled]
|
||||
Cannot find new threads: generic error
|
||||
@@ -764,7 +764,7 @@ Cannot find new threads: generic error
|
||||
WeeChat na właściwe dla naszego systemu):
|
||||
|
||||
----------------------------------------
|
||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /ścieżka/do/weechat-curses
|
||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /ścieżka/do/weechat
|
||||
(gdb) run
|
||||
----------------------------------------
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ klawiszowymi).
|
||||
Wywołaj z terminala:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
$ weechat
|
||||
----------------------------------------
|
||||
|
||||
|
||||
|
||||
@@ -36,7 +36,9 @@ pozwalające dokładnie zlokalizować błąd w WeeChat.
|
||||
|
||||
Jeśli korzystasz z powłoki 'bash', dodaj następującą linijkę do `~/.bashrc`:
|
||||
|
||||
ulimit -c unlimited
|
||||
----------------------------------------
|
||||
ulimit -c unlimited
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[download]]
|
||||
@@ -57,48 +59,48 @@ 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 sklonuj 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ć paczkę 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
|
||||
$ cmake .. -DPREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
|
||||
$ make
|
||||
$ make install
|
||||
--------------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
Jeśli nie posiadasz cmake, nadal jest możliwe użycie autotools:
|
||||
|
||||
----------------------------------------------------------
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=$HOME/weechat-git
|
||||
$ ./configure --prefix=$HOME/weechat-git WEECHAT_HOME=~/.weechat-dev
|
||||
$ make
|
||||
$ make install
|
||||
----------------------------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
[[install_binary_package]]
|
||||
Instalowanie pakietów binarnych
|
||||
@@ -121,7 +123,9 @@ za pomocą opcji `--dir`.
|
||||
|
||||
Komenda to:
|
||||
|
||||
~/weechat-git/bin/weechat-curses --dir ~/.weechat-dev
|
||||
----------------------------------------
|
||||
$ ~/weechat-git/bin/weechat
|
||||
----------------------------------------
|
||||
|
||||
Jeśli nadal nie śpisz powinieneś ujrzeć znajomy interfejs i chwalić się
|
||||
z posiadania najnowszej możliwej wersji WeeChat. ;)
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ install-doc:
|
||||
uninstall-hook: $(man_uninstall) $(doc_uninstall)
|
||||
|
||||
uninstall-man:
|
||||
$(RM) $(DESTDIR)$(mandir)/ru/man1/weechat-curses.1
|
||||
$(RM) $(DESTDIR)$(mandir)/ru/man1/weechat.1
|
||||
-rmdir $(DESTDIR)$(mandir)/ru/man1
|
||||
|
||||
uninstall-doc:
|
||||
|
||||
@@ -13,7 +13,7 @@ Sébastien Helleu <flashcode@flashtux.org>
|
||||
Run from your shell:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
$ weechat
|
||||
----------------------------------------
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user