mirror of
https://github.com/weechat/weechat.git
synced 2026-06-15 23:54:46 +02:00
Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7d5dc53cd9 | |||
| e086bc44f5 | |||
| 8738196b68 | |||
| f072eb8d78 | |||
| 03ffd396a4 | |||
| 2efad93220 | |||
| 349251feb1 | |||
| 0834286843 | |||
| 4245641767 | |||
| 359253f610 | |||
| b82a887f2a | |||
| cecbad1803 | |||
| 9fac350b3f | |||
| fa931b46eb | |||
| e6723bb5a8 | |||
| dcebdd6a55 | |||
| 186a465575 | |||
| c6c485df43 |
+1
-1
@@ -16,7 +16,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
|
||||
|
||||
[[v2.8]]
|
||||
== Version 2.8 (under dev)
|
||||
== Version 2.8 (2020-03-29)
|
||||
|
||||
New features::
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
||||
|
||||
|
||||
[[v2.8]]
|
||||
== Version 2.8 (under dev)
|
||||
== Version 2.8 (2020-03-29)
|
||||
|
||||
[[v2.8_auto_connection_to_servers]]
|
||||
=== Auto connection to servers
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
| tcl | tcl_version | Version des verwendeten Interpreters | -
|
||||
|
||||
| weechat | auto_connect | 1 if automatic connection to servers is enabled, 0 if it has been disabled by the user (option "-a" or "--no-connect") | -
|
||||
| weechat | auto_connect | 1, falls die automatische Verbindung zu Servern aktiviert ist, 0, wenn sie vom Benutzer deaktiviert wurde (Option "-a" oder "--no-connect") | -
|
||||
|
||||
| weechat | charset_internal | Interner WeeChat Zeichensatz | -
|
||||
|
||||
|
||||
@@ -531,6 +531,87 @@ Der bracketed paste Modus kann wie folgt deaktiviert werden:
|
||||
/set weechat.look.paste_bracketed off
|
||||
----
|
||||
|
||||
[[small_terminal]]
|
||||
=== Wie kann ich die Anzeige bei sehr kleinen Terminalgrößen (wie 80 x 25) optimieren, um keinen Platz zu verschwenden?
|
||||
|
||||
Sie können die seitlichen Bars (Buflist und Nicklist) entfernen und das Zeitformat im Buffer anpassen,
|
||||
sodass nur Stunden und Sekunden angezeigt werden. Die Ausrichtung von Nachrichten sollte deaktiviert
|
||||
und der Präfix/Suffix für Nicks gesetzt werden:
|
||||
|
||||
----
|
||||
/set buflist.look.enabled off
|
||||
/bar hide nicklist
|
||||
/set weechat.look.buffer_time_format "%H:%M"
|
||||
/set weechat.look.prefix_align none
|
||||
/set weechat.look.align_end_of_lines prefix
|
||||
/set weechat.look.nick_suffix ">"
|
||||
/set weechat.look.nick_prefix "<"
|
||||
----
|
||||
|
||||
Terminal 80x25, mit Standardkonfiguration:
|
||||
|
||||
....
|
||||
┌────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.local │Welcome on WeeChat channel! │
|
||||
│ weechat │16:27:16 --> | FlashCode (~flashcode@localhost) │@FlashCode│
|
||||
│2. #weechat│ | has joined #weechat │ bob │
|
||||
│ │16:27:16 -- | Mode #weechat [+nt] by hades.arpa │ │
|
||||
│ │16:27:16 -- | Channel #weechat: 1 nick (1 op, 0 │ │
|
||||
│ │ | voices, 0 normals) │ │
|
||||
│ │16:27:18 -- | Channel created on Sun, 22 Mar │ │
|
||||
│ │ | 2020 16:27:16 │ │
|
||||
│ │17:02:28 --> | bob (~bob_user@localhost) has │ │
|
||||
│ │ | joined #weechat │ │
|
||||
│ │17:03:12 @FlashCode | hi bob, you're the first user │ │
|
||||
│ │ | here, welcome on the WeeChat │ │
|
||||
│ │ | support channel! │ │
|
||||
│ │17:03:33 bob | hi FlashCode │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[17:04] [2] [irc/local] 2:#weechat(+nt){2} │
|
||||
│ │[@FlashCode(i)] █ │
|
||||
└────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
Terminal 80x25, nach obiger Anpassung:
|
||||
|
||||
....
|
||||
┌────────────────────────────────────────────────────────────────────────────────┐
|
||||
│Welcome on WeeChat channel! │
|
||||
│16:27 --> FlashCode (~flashcode@localhost) has joined #weechat │
|
||||
│16:27 -- Mode #weechat [+nt] by hades.arpa │
|
||||
│16:27 -- Channel #weechat: 1 nick (1 op, 0 voices, 0 normals) │
|
||||
│16:27 -- Channel created on Sun, 22 Mar 2020 16:27:16 │
|
||||
│17:02 --> bob (~bob_user@localhost) has joined #weechat │
|
||||
│17:03 <@FlashCode> hi bob, you're the first user here, welcome on the WeeChat │
|
||||
│ support channel! │
|
||||
│17:03 <bob> hi FlashCode │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│[17:04] [2] [irc/local] 2:#weechat(+nt){2} │
|
||||
│[@FlashCode(i)] █ │
|
||||
└────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[key_bindings]]
|
||||
== Tastaturbelegung
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ h1,h2,h3,h4,h5 {
|
||||
.literalblock pre {
|
||||
font-family: monospace, 'Courier New', Courier;
|
||||
line-height: normal;
|
||||
font-size: .95em;
|
||||
}
|
||||
kbd {
|
||||
font-size: .9em;
|
||||
|
||||
@@ -492,6 +492,87 @@ You can just disable bracketed paste mode:
|
||||
/set weechat.look.paste_bracketed off
|
||||
----
|
||||
|
||||
[[small_terminal]]
|
||||
=== How can I customize display for very small terminal size (like 80x25), to not waste space?
|
||||
|
||||
You can remove side bars (buflist and nicklist), change time format to display
|
||||
only hours and seconds, disable alignment of messages and set a char for nick
|
||||
prefix/suffix:
|
||||
|
||||
----
|
||||
/set buflist.look.enabled off
|
||||
/bar hide nicklist
|
||||
/set weechat.look.buffer_time_format "%H:%M"
|
||||
/set weechat.look.prefix_align none
|
||||
/set weechat.look.align_end_of_lines prefix
|
||||
/set weechat.look.nick_suffix ">"
|
||||
/set weechat.look.nick_prefix "<"
|
||||
----
|
||||
|
||||
Terminal 80x25, with default configuration:
|
||||
|
||||
....
|
||||
┌────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.local │Welcome on WeeChat channel! │
|
||||
│ weechat │16:27:16 --> | FlashCode (~flashcode@localhost) │@FlashCode│
|
||||
│2. #weechat│ | has joined #weechat │ bob │
|
||||
│ │16:27:16 -- | Mode #weechat [+nt] by hades.arpa │ │
|
||||
│ │16:27:16 -- | Channel #weechat: 1 nick (1 op, 0 │ │
|
||||
│ │ | voices, 0 normals) │ │
|
||||
│ │16:27:18 -- | Channel created on Sun, 22 Mar │ │
|
||||
│ │ | 2020 16:27:16 │ │
|
||||
│ │17:02:28 --> | bob (~bob_user@localhost) has │ │
|
||||
│ │ | joined #weechat │ │
|
||||
│ │17:03:12 @FlashCode | hi bob, you're the first user │ │
|
||||
│ │ | here, welcome on the WeeChat │ │
|
||||
│ │ | support channel! │ │
|
||||
│ │17:03:33 bob | hi FlashCode │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[17:04] [2] [irc/local] 2:#weechat(+nt){2} │
|
||||
│ │[@FlashCode(i)] █ │
|
||||
└────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
Terminal 80x25, after changes:
|
||||
|
||||
....
|
||||
┌────────────────────────────────────────────────────────────────────────────────┐
|
||||
│Welcome on WeeChat channel! │
|
||||
│16:27 --> FlashCode (~flashcode@localhost) has joined #weechat │
|
||||
│16:27 -- Mode #weechat [+nt] by hades.arpa │
|
||||
│16:27 -- Channel #weechat: 1 nick (1 op, 0 voices, 0 normals) │
|
||||
│16:27 -- Channel created on Sun, 22 Mar 2020 16:27:16 │
|
||||
│17:02 --> bob (~bob_user@localhost) has joined #weechat │
|
||||
│17:03 <@FlashCode> hi bob, you're the first user here, welcome on the WeeChat │
|
||||
│ support channel! │
|
||||
│17:03 <bob> hi FlashCode │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│[17:04] [2] [irc/local] 2:#weechat(+nt){2} │
|
||||
│[@FlashCode(i)] █ │
|
||||
└────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[key_bindings]]
|
||||
== Key bindings
|
||||
|
||||
|
||||
@@ -512,6 +512,87 @@ Vous pouvez simplement désactiver le mode "bracketed paste" :
|
||||
/set weechat.look.paste_bracketed off
|
||||
----
|
||||
|
||||
[[small_terminal]]
|
||||
=== Comment puis-je personnaliser l'affichage pour un tout petit terminal (comme 80x25), pour ne pas perdre de place ?
|
||||
|
||||
Vous pouvez retirer les barres latérales (buflist et nicklist), changer le format
|
||||
de l'heure pour n'afficher que les heures et les secondes, désactiver l'alignement
|
||||
des messages et définir un caractère de préfixe/suffixe pour les pseudos :
|
||||
|
||||
----
|
||||
/set buflist.look.enabled off
|
||||
/bar hide nicklist
|
||||
/set weechat.look.buffer_time_format "%H:%M"
|
||||
/set weechat.look.prefix_align none
|
||||
/set weechat.look.align_end_of_lines prefix
|
||||
/set weechat.look.nick_suffix ">"
|
||||
/set weechat.look.nick_prefix "<"
|
||||
----
|
||||
|
||||
Terminal 80x25, avec la configuration par défaut :
|
||||
|
||||
....
|
||||
┌────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.local │Welcome on WeeChat channel! │
|
||||
│ weechat │16:27:16 --> | FlashCode (~flashcode@localhost) │@FlashCode│
|
||||
│2. #weechat│ | has joined #weechat │ bob │
|
||||
│ │16:27:16 -- | Mode #weechat [+nt] by hades.arpa │ │
|
||||
│ │16:27:16 -- | Channel #weechat: 1 nick (1 op, 0 │ │
|
||||
│ │ | voices, 0 normals) │ │
|
||||
│ │16:27:18 -- | Channel created on Sun, 22 Mar │ │
|
||||
│ │ | 2020 16:27:16 │ │
|
||||
│ │17:02:28 --> | bob (~bob_user@localhost) has │ │
|
||||
│ │ | joined #weechat │ │
|
||||
│ │17:03:12 @FlashCode | hi bob, you're the first user │ │
|
||||
│ │ | here, welcome on the WeeChat │ │
|
||||
│ │ | support channel! │ │
|
||||
│ │17:03:33 bob | hi FlashCode │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[17:04] [2] [irc/local] 2:#weechat(+nt){2} │
|
||||
│ │[@FlashCode(i)] █ │
|
||||
└────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
Terminal 80x25, après les changements :
|
||||
|
||||
....
|
||||
┌────────────────────────────────────────────────────────────────────────────────┐
|
||||
│Welcome on WeeChat channel! │
|
||||
│16:27 --> FlashCode (~flashcode@localhost) has joined #weechat │
|
||||
│16:27 -- Mode #weechat [+nt] by hades.arpa │
|
||||
│16:27 -- Channel #weechat: 1 nick (1 op, 0 voices, 0 normals) │
|
||||
│16:27 -- Channel created on Sun, 22 Mar 2020 16:27:16 │
|
||||
│17:02 --> bob (~bob_user@localhost) has joined #weechat │
|
||||
│17:03 <@FlashCode> hi bob, you're the first user here, welcome on the WeeChat │
|
||||
│ support channel! │
|
||||
│17:03 <bob> hi FlashCode │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│[17:04] [2] [irc/local] 2:#weechat(+nt){2} │
|
||||
│[@FlashCode(i)] █ │
|
||||
└────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[key_bindings]]
|
||||
== Raccourcis clavier
|
||||
|
||||
|
||||
@@ -544,6 +544,91 @@ You can just disable bracketed paste mode:
|
||||
/set weechat.look.paste_bracketed off
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[small_terminal]]
|
||||
=== How can I customize display for very small terminal size (like 80x25), to not waste space?
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can remove side bars (buflist and nicklist), change time format to display
|
||||
only hours and seconds, disable alignment of messages and set a char for nick
|
||||
prefix/suffix:
|
||||
|
||||
----
|
||||
/set buflist.look.enabled off
|
||||
/bar hide nicklist
|
||||
/set weechat.look.buffer_time_format "%H:%M"
|
||||
/set weechat.look.prefix_align none
|
||||
/set weechat.look.align_end_of_lines prefix
|
||||
/set weechat.look.nick_suffix ">"
|
||||
/set weechat.look.nick_prefix "<"
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Terminal 80x25, with default configuration:
|
||||
|
||||
....
|
||||
┌────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.local │Welcome on WeeChat channel! │
|
||||
│ weechat │16:27:16 --> | FlashCode (~flashcode@localhost) │@FlashCode│
|
||||
│2. #weechat│ | has joined #weechat │ bob │
|
||||
│ │16:27:16 -- | Mode #weechat [+nt] by hades.arpa │ │
|
||||
│ │16:27:16 -- | Channel #weechat: 1 nick (1 op, 0 │ │
|
||||
│ │ | voices, 0 normals) │ │
|
||||
│ │16:27:18 -- | Channel created on Sun, 22 Mar │ │
|
||||
│ │ | 2020 16:27:16 │ │
|
||||
│ │17:02:28 --> | bob (~bob_user@localhost) has │ │
|
||||
│ │ | joined #weechat │ │
|
||||
│ │17:03:12 @FlashCode | hi bob, you're the first user │ │
|
||||
│ │ | here, welcome on the WeeChat │ │
|
||||
│ │ | support channel! │ │
|
||||
│ │17:03:33 bob | hi FlashCode │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[17:04] [2] [irc/local] 2:#weechat(+nt){2} │
|
||||
│ │[@FlashCode(i)] █ │
|
||||
└────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Terminal 80x25, after changes:
|
||||
|
||||
....
|
||||
┌────────────────────────────────────────────────────────────────────────────────┐
|
||||
│Welcome on WeeChat channel! │
|
||||
│16:27 --> FlashCode (~flashcode@localhost) has joined #weechat │
|
||||
│16:27 -- Mode #weechat [+nt] by hades.arpa │
|
||||
│16:27 -- Channel #weechat: 1 nick (1 op, 0 voices, 0 normals) │
|
||||
│16:27 -- Channel created on Sun, 22 Mar 2020 16:27:16 │
|
||||
│17:02 --> bob (~bob_user@localhost) has joined #weechat │
|
||||
│17:03 <@FlashCode> hi bob, you're the first user here, welcome on the WeeChat │
|
||||
│ support channel! │
|
||||
│17:03 <bob> hi FlashCode │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│[17:04] [2] [irc/local] 2:#weechat(+nt){2} │
|
||||
│[@FlashCode(i)] █ │
|
||||
└────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[key_bindings]]
|
||||
== Associazioni dei tasti
|
||||
|
||||
|
||||
@@ -491,6 +491,91 @@ scrreen
|
||||
/set weechat.look.paste_bracketed off
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[small_terminal]]
|
||||
=== How can I customize display for very small terminal size (like 80x25), to not waste space?
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can remove side bars (buflist and nicklist), change time format to display
|
||||
only hours and seconds, disable alignment of messages and set a char for nick
|
||||
prefix/suffix:
|
||||
|
||||
----
|
||||
/set buflist.look.enabled off
|
||||
/bar hide nicklist
|
||||
/set weechat.look.buffer_time_format "%H:%M"
|
||||
/set weechat.look.prefix_align none
|
||||
/set weechat.look.align_end_of_lines prefix
|
||||
/set weechat.look.nick_suffix ">"
|
||||
/set weechat.look.nick_prefix "<"
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Terminal 80x25, with default configuration:
|
||||
|
||||
....
|
||||
┌────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.local │Welcome on WeeChat channel! │
|
||||
│ weechat │16:27:16 --> | FlashCode (~flashcode@localhost) │@FlashCode│
|
||||
│2. #weechat│ | has joined #weechat │ bob │
|
||||
│ │16:27:16 -- | Mode #weechat [+nt] by hades.arpa │ │
|
||||
│ │16:27:16 -- | Channel #weechat: 1 nick (1 op, 0 │ │
|
||||
│ │ | voices, 0 normals) │ │
|
||||
│ │16:27:18 -- | Channel created on Sun, 22 Mar │ │
|
||||
│ │ | 2020 16:27:16 │ │
|
||||
│ │17:02:28 --> | bob (~bob_user@localhost) has │ │
|
||||
│ │ | joined #weechat │ │
|
||||
│ │17:03:12 @FlashCode | hi bob, you're the first user │ │
|
||||
│ │ | here, welcome on the WeeChat │ │
|
||||
│ │ | support channel! │ │
|
||||
│ │17:03:33 bob | hi FlashCode │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[17:04] [2] [irc/local] 2:#weechat(+nt){2} │
|
||||
│ │[@FlashCode(i)] █ │
|
||||
└────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Terminal 80x25, after changes:
|
||||
|
||||
....
|
||||
┌────────────────────────────────────────────────────────────────────────────────┐
|
||||
│Welcome on WeeChat channel! │
|
||||
│16:27 --> FlashCode (~flashcode@localhost) has joined #weechat │
|
||||
│16:27 -- Mode #weechat [+nt] by hades.arpa │
|
||||
│16:27 -- Channel #weechat: 1 nick (1 op, 0 voices, 0 normals) │
|
||||
│16:27 -- Channel created on Sun, 22 Mar 2020 16:27:16 │
|
||||
│17:02 --> bob (~bob_user@localhost) has joined #weechat │
|
||||
│17:03 <@FlashCode> hi bob, you're the first user here, welcome on the WeeChat │
|
||||
│ support channel! │
|
||||
│17:03 <bob> hi FlashCode │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│[17:04] [2] [irc/local] 2:#weechat(+nt){2} │
|
||||
│[@FlashCode(i)] █ │
|
||||
└────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[key_bindings]]
|
||||
== キー割り当て
|
||||
|
||||
|
||||
@@ -499,6 +499,91 @@ Możesz po prostu wyłączyć tą opcję:
|
||||
/set weechat.look.paste_bracketed off
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[small_terminal]]
|
||||
=== How can I customize display for very small terminal size (like 80x25), to not waste space?
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can remove side bars (buflist and nicklist), change time format to display
|
||||
only hours and seconds, disable alignment of messages and set a char for nick
|
||||
prefix/suffix:
|
||||
|
||||
----
|
||||
/set buflist.look.enabled off
|
||||
/bar hide nicklist
|
||||
/set weechat.look.buffer_time_format "%H:%M"
|
||||
/set weechat.look.prefix_align none
|
||||
/set weechat.look.align_end_of_lines prefix
|
||||
/set weechat.look.nick_suffix ">"
|
||||
/set weechat.look.nick_prefix "<"
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Terminal 80x25, with default configuration:
|
||||
|
||||
....
|
||||
┌────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.local │Welcome on WeeChat channel! │
|
||||
│ weechat │16:27:16 --> | FlashCode (~flashcode@localhost) │@FlashCode│
|
||||
│2. #weechat│ | has joined #weechat │ bob │
|
||||
│ │16:27:16 -- | Mode #weechat [+nt] by hades.arpa │ │
|
||||
│ │16:27:16 -- | Channel #weechat: 1 nick (1 op, 0 │ │
|
||||
│ │ | voices, 0 normals) │ │
|
||||
│ │16:27:18 -- | Channel created on Sun, 22 Mar │ │
|
||||
│ │ | 2020 16:27:16 │ │
|
||||
│ │17:02:28 --> | bob (~bob_user@localhost) has │ │
|
||||
│ │ | joined #weechat │ │
|
||||
│ │17:03:12 @FlashCode | hi bob, you're the first user │ │
|
||||
│ │ | here, welcome on the WeeChat │ │
|
||||
│ │ | support channel! │ │
|
||||
│ │17:03:33 bob | hi FlashCode │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[17:04] [2] [irc/local] 2:#weechat(+nt){2} │
|
||||
│ │[@FlashCode(i)] █ │
|
||||
└────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Terminal 80x25, after changes:
|
||||
|
||||
....
|
||||
┌────────────────────────────────────────────────────────────────────────────────┐
|
||||
│Welcome on WeeChat channel! │
|
||||
│16:27 --> FlashCode (~flashcode@localhost) has joined #weechat │
|
||||
│16:27 -- Mode #weechat [+nt] by hades.arpa │
|
||||
│16:27 -- Channel #weechat: 1 nick (1 op, 0 voices, 0 normals) │
|
||||
│16:27 -- Channel created on Sun, 22 Mar 2020 16:27:16 │
|
||||
│17:02 --> bob (~bob_user@localhost) has joined #weechat │
|
||||
│17:03 <@FlashCode> hi bob, you're the first user here, welcome on the WeeChat │
|
||||
│ support channel! │
|
||||
│17:03 <bob> hi FlashCode │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│[17:04] [2] [irc/local] 2:#weechat(+nt){2} │
|
||||
│[@FlashCode(i)] █ │
|
||||
└────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[key_bindings]]
|
||||
== Przypisania klawiszy
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-03-20 12:21+0100\n"
|
||||
"PO-Revision-Date: 2020-03-14 21:11+0100\n"
|
||||
"PO-Revision-Date: 2020-03-22 14:08+0100\n"
|
||||
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
|
||||
"Language-Team: German <kde-i18n-de@kde.org>\n"
|
||||
"Language: de\n"
|
||||
@@ -12058,6 +12058,8 @@ msgid ""
|
||||
"1 if automatic connection to servers is enabled, 0 if it has been disabled "
|
||||
"by the user (option \"-a\" or \"--no-connect\")"
|
||||
msgstr ""
|
||||
"1, falls die automatische Verbindung zu Servern aktiviert ist, 0, wenn sie "
|
||||
"vom Benutzer deaktiviert wurde (Option \"-a\" oder \"--no-connect\")"
|
||||
|
||||
msgid "terminal charset"
|
||||
msgstr "Terminal Zeichensatz"
|
||||
|
||||
+5
-4
@@ -202,7 +202,7 @@ calc_format_result (double value, char *result, int max_size)
|
||||
i = strlen (result) - 1;
|
||||
while (i >= 0)
|
||||
{
|
||||
if (!isdigit (result[i]) && (result[i] != '-'))
|
||||
if (!isdigit ((unsigned char)result[i]) && (result[i] != '-'))
|
||||
{
|
||||
result[i] = '\0';
|
||||
break;
|
||||
@@ -282,7 +282,7 @@ calc_expression (const char *expr)
|
||||
arraylist_add (list_ops, ptr_operator);
|
||||
last_symbol = CALC_SYMBOL_PARENTHESIS_OPEN;
|
||||
}
|
||||
else if (isdigit (expr[i]) || (expr[i] == '.')
|
||||
else if (isdigit ((unsigned char)expr[i]) || (expr[i] == '.')
|
||||
|| ((expr[i] == '-')
|
||||
&& ((last_symbol == CALC_SYMBOL_NONE)
|
||||
|| (last_symbol == CALC_SYMBOL_PARENTHESIS_OPEN)
|
||||
@@ -296,7 +296,8 @@ calc_expression (const char *expr)
|
||||
factor = -1;
|
||||
i++;
|
||||
}
|
||||
while (expr[i] && (isdigit (expr[i]) || (expr[i] == '.')))
|
||||
while (expr[i]
|
||||
&& (isdigit ((unsigned char)expr[i]) || (expr[i] == '.')))
|
||||
{
|
||||
if (expr[i] == '.')
|
||||
{
|
||||
@@ -347,7 +348,7 @@ calc_expression (const char *expr)
|
||||
i2 = i + 1;
|
||||
while (expr[i2] && (expr[i2] != ' ') && (expr[i2] != '(')
|
||||
&& (expr[i2] != ')') && (expr[i2] != '.')
|
||||
&& (expr[i2] != '-') && !isdigit (expr[i2]))
|
||||
&& (expr[i2] != '-') && !isdigit ((unsigned char)expr[i2]))
|
||||
{
|
||||
i2++;
|
||||
}
|
||||
|
||||
@@ -1322,7 +1322,6 @@ irc_channel_join_smart_filtered_unmask (struct t_irc_channel *channel,
|
||||
weechat_hashtable_remove (channel->join_smart_filtered, nick);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Rejoins a channel (for example after kick).
|
||||
*/
|
||||
|
||||
@@ -446,7 +446,6 @@ irc_message_convert_charset (const char *message, int pos_start,
|
||||
return msg_result;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Gets nick from host in an IRC message.
|
||||
*/
|
||||
|
||||
@@ -70,7 +70,6 @@ irc_msgbuffer_get_option (struct t_irc_server *server, const char *message)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Gets target for IRC message.
|
||||
*
|
||||
|
||||
+122
-122
@@ -199,6 +199,125 @@ irc_protocol_nick_address (struct t_irc_server *server,
|
||||
return string;
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns hashtable with tags for an IRC message.
|
||||
*
|
||||
* Example:
|
||||
* if tags == "aaa=bbb;ccc;example.com/ddd=eee",
|
||||
* hashtable will have following keys/values:
|
||||
* "aaa" => "bbb"
|
||||
* "ccc" => NULL
|
||||
* "example.com/ddd" => "eee"
|
||||
*/
|
||||
|
||||
struct t_hashtable *
|
||||
irc_protocol_get_message_tags (const char *tags)
|
||||
{
|
||||
struct t_hashtable *hashtable;
|
||||
char **items, *pos, *key;
|
||||
int num_items, i;
|
||||
|
||||
if (!tags || !tags[0])
|
||||
return NULL;
|
||||
|
||||
hashtable = weechat_hashtable_new (32,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
NULL, NULL);
|
||||
if (!hashtable)
|
||||
return NULL;
|
||||
|
||||
items = weechat_string_split (tags, ";", NULL,
|
||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||
0, &num_items);
|
||||
if (items)
|
||||
{
|
||||
for (i = 0; i < num_items; i++)
|
||||
{
|
||||
pos = strchr (items[i], '=');
|
||||
if (pos)
|
||||
{
|
||||
/* format: "tag=value" */
|
||||
key = weechat_strndup (items[i], pos - items[i]);
|
||||
if (key)
|
||||
{
|
||||
weechat_hashtable_set (hashtable, key, pos + 1);
|
||||
free (key);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* format: "tag" */
|
||||
weechat_hashtable_set (hashtable, items[i], NULL);
|
||||
}
|
||||
}
|
||||
weechat_string_free_split (items);
|
||||
}
|
||||
|
||||
return hashtable;
|
||||
}
|
||||
|
||||
/*
|
||||
* Parses date/time received in a "time" tag.
|
||||
*
|
||||
* Returns value of time (timestamp), 0 if error.
|
||||
*/
|
||||
|
||||
time_t
|
||||
irc_protocol_parse_time (const char *time)
|
||||
{
|
||||
time_t time_value, time_msg, time_gm, time_local;
|
||||
struct tm tm_date, tm_date_gm, tm_date_local;
|
||||
long value;
|
||||
char *time2, *pos, *error;
|
||||
|
||||
if (!time || !time[0])
|
||||
return 0;
|
||||
|
||||
time_value = 0;
|
||||
|
||||
if (strchr (time, '-'))
|
||||
{
|
||||
/* date is with ISO 8601 format: "2012-11-24T07:41:02.018Z" */
|
||||
/* initialize structure, because strptime does not do it */
|
||||
memset (&tm_date, 0, sizeof (struct tm));
|
||||
if (strptime (time, "%Y-%m-%dT%H:%M:%S", &tm_date))
|
||||
{
|
||||
if (tm_date.tm_year > 0)
|
||||
{
|
||||
time_msg = mktime (&tm_date);
|
||||
gmtime_r (&time_msg, &tm_date_gm);
|
||||
localtime_r (&time_msg, &tm_date_local);
|
||||
time_gm = mktime (&tm_date_gm);
|
||||
time_local = mktime (&tm_date_local);
|
||||
time_value = mktime (&tm_date_local) + (time_local - time_gm);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* date is with timestamp format: "1353403519.478" */
|
||||
time2 = strdup (time);
|
||||
if (time2)
|
||||
{
|
||||
pos = strchr (time2, '.');
|
||||
if (pos)
|
||||
pos[0] = '\0';
|
||||
pos = strchr (time2, ',');
|
||||
if (pos)
|
||||
pos[0] = '\0';
|
||||
value = strtol (time2, &error, 10);
|
||||
if (error && !error[0] && (value >= 0))
|
||||
time_value = (int)value;
|
||||
free (time2);
|
||||
}
|
||||
}
|
||||
|
||||
return time_value;
|
||||
}
|
||||
|
||||
/*
|
||||
* Callback for the IRC message "ACCOUNT": account info about a nick
|
||||
* (with capability "account-notify").
|
||||
@@ -1742,6 +1861,7 @@ IRC_PROTOCOL_CALLBACK(nick)
|
||||
* NOTICE AUTH :*** Looking up your hostname...
|
||||
* :nick!user@host NOTICE mynick :notice text
|
||||
* :nick!user@host NOTICE #channel :notice text
|
||||
* :nick!user@host NOTICE @#channel :notice text for channel ops
|
||||
*/
|
||||
|
||||
IRC_PROTOCOL_CALLBACK(notice)
|
||||
@@ -2227,6 +2347,7 @@ IRC_PROTOCOL_CALLBACK(pong)
|
||||
*
|
||||
* Message looks like:
|
||||
* :nick!user@host PRIVMSG #channel :message for channel here
|
||||
* :nick!user@host PRIVMSG @#channel :message for channel ops here
|
||||
* :nick!user@host PRIVMSG mynick :message for private here
|
||||
* :nick!user@host PRIVMSG #channel :\01ACTION is testing action\01
|
||||
* :nick!user@host PRIVMSG mynick :\01ACTION is testing action\01
|
||||
@@ -2806,7 +2927,7 @@ IRC_PROTOCOL_CALLBACK(wallops)
|
||||
}
|
||||
|
||||
/*
|
||||
* Callback for the IRC message "001": connected to irc server.
|
||||
* Callback for the IRC message "001": connected to IRC server.
|
||||
*
|
||||
* Message looks like:
|
||||
* :server 001 mynick :Welcome to the dancer-ircd Network
|
||||
@@ -5736,7 +5857,6 @@ IRC_PROTOCOL_CALLBACK(470)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
old_channel_lower = strdup (argv[3]);
|
||||
if (old_channel_lower)
|
||||
{
|
||||
@@ -6185,7 +6305,6 @@ IRC_PROTOCOL_CALLBACK(901)
|
||||
*
|
||||
* Messages look like:
|
||||
* :server 903 nick :SASL authentication successful
|
||||
* :server 904 nick :SASL authentication failed
|
||||
*/
|
||||
|
||||
IRC_PROTOCOL_CALLBACK(sasl_end_ok)
|
||||
@@ -6231,125 +6350,6 @@ IRC_PROTOCOL_CALLBACK(sasl_end_fail)
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns hashtable with tags for an IRC message.
|
||||
*
|
||||
* Example:
|
||||
* if tags == "aaa=bbb;ccc;example.com/ddd=eee",
|
||||
* hashtable will have following keys/values:
|
||||
* "aaa" => "bbb"
|
||||
* "ccc" => NULL
|
||||
* "example.com/ddd" => "eee"
|
||||
*/
|
||||
|
||||
struct t_hashtable *
|
||||
irc_protocol_get_message_tags (const char *tags)
|
||||
{
|
||||
struct t_hashtable *hashtable;
|
||||
char **items, *pos, *key;
|
||||
int num_items, i;
|
||||
|
||||
if (!tags || !tags[0])
|
||||
return NULL;
|
||||
|
||||
hashtable = weechat_hashtable_new (32,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
NULL, NULL);
|
||||
if (!hashtable)
|
||||
return NULL;
|
||||
|
||||
items = weechat_string_split (tags, ";", NULL,
|
||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||
0, &num_items);
|
||||
if (items)
|
||||
{
|
||||
for (i = 0; i < num_items; i++)
|
||||
{
|
||||
pos = strchr (items[i], '=');
|
||||
if (pos)
|
||||
{
|
||||
/* format: "tag=value" */
|
||||
key = weechat_strndup (items[i], pos - items[i]);
|
||||
if (key)
|
||||
{
|
||||
weechat_hashtable_set (hashtable, key, pos + 1);
|
||||
free (key);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* format: "tag" */
|
||||
weechat_hashtable_set (hashtable, items[i], NULL);
|
||||
}
|
||||
}
|
||||
weechat_string_free_split (items);
|
||||
}
|
||||
|
||||
return hashtable;
|
||||
}
|
||||
|
||||
/*
|
||||
* Parses date/time received in a "time" tag.
|
||||
*
|
||||
* Returns value of time (timestamp), 0 if error.
|
||||
*/
|
||||
|
||||
time_t
|
||||
irc_protocol_parse_time (const char *time)
|
||||
{
|
||||
time_t time_value, time_msg, time_gm, time_local;
|
||||
struct tm tm_date, tm_date_gm, tm_date_local;
|
||||
long value;
|
||||
char *time2, *pos, *error;
|
||||
|
||||
if (!time || !time[0])
|
||||
return 0;
|
||||
|
||||
time_value = 0;
|
||||
|
||||
if (strchr (time, '-'))
|
||||
{
|
||||
/* date is with ISO 8601 format: "2012-11-24T07:41:02.018Z" */
|
||||
/* initialize structure, because strptime does not do it */
|
||||
memset (&tm_date, 0, sizeof (struct tm));
|
||||
if (strptime (time, "%Y-%m-%dT%H:%M:%S", &tm_date))
|
||||
{
|
||||
if (tm_date.tm_year > 0)
|
||||
{
|
||||
time_msg = mktime (&tm_date);
|
||||
gmtime_r (&time_msg, &tm_date_gm);
|
||||
localtime_r (&time_msg, &tm_date_local);
|
||||
time_gm = mktime (&tm_date_gm);
|
||||
time_local = mktime (&tm_date_local);
|
||||
time_value = mktime (&tm_date_local) + (time_local - time_gm);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* date is with timestamp format: "1353403519.478" */
|
||||
time2 = strdup (time);
|
||||
if (time2)
|
||||
{
|
||||
pos = strchr (time2, '.');
|
||||
if (pos)
|
||||
pos[0] = '\0';
|
||||
pos = strchr (time2, ',');
|
||||
if (pos)
|
||||
pos[0] = '\0';
|
||||
value = strtol (time2, &error, 10);
|
||||
if (error && !error[0] && (value >= 0))
|
||||
time_value = (int)value;
|
||||
free (time2);
|
||||
}
|
||||
}
|
||||
|
||||
return time_value;
|
||||
}
|
||||
|
||||
/*
|
||||
* Executes action when an IRC message is received.
|
||||
*
|
||||
|
||||
@@ -353,7 +353,6 @@ irc_raw_refresh (int clear)
|
||||
irc_raw_set_title ();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Opens IRC raw buffer.
|
||||
*/
|
||||
@@ -424,7 +423,6 @@ irc_raw_filter_options (const char *filter)
|
||||
irc_raw_refresh (1);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Frees a raw message and removes it from list.
|
||||
*/
|
||||
|
||||
@@ -662,7 +662,6 @@ irc_server_set_addresses (struct t_irc_server *server, const char *addresses)
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Sets index of current address for server.
|
||||
*/
|
||||
@@ -3060,7 +3059,6 @@ irc_server_msgq_flush ()
|
||||
|
||||
msg_decoded = NULL;
|
||||
|
||||
|
||||
switch (IRC_SERVER_OPTION_INTEGER(irc_recv_msgq->server,
|
||||
IRC_SERVER_OPTION_CHARSET_MESSAGE))
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -32,9 +32,9 @@
|
||||
# devel-patch the patch version of devel (e.g. 2 for version 1.4.2)
|
||||
#
|
||||
|
||||
WEECHAT_STABLE=2.7.1
|
||||
WEECHAT_STABLE=2.8
|
||||
WEECHAT_DEVEL=2.8
|
||||
WEECHAT_DEVEL_FULL=2.8-rc1
|
||||
WEECHAT_DEVEL_FULL=2.8
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
echo >&2 "Syntax: $0 stable|devel|devel-full|devel-major|devel-minor|devel-patch"
|
||||
|
||||
+5
-1
@@ -23,7 +23,7 @@
|
||||
#
|
||||
|
||||
%define name weechat
|
||||
%define version 2.7
|
||||
%define version 2.8
|
||||
%define release 1
|
||||
|
||||
Name: %{name}
|
||||
@@ -82,6 +82,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_prefix}/share/icons/hicolor/512x512/apps/weechat.png
|
||||
|
||||
%changelog
|
||||
* Sun Mar 29 2020 Sébastien Helleu <flashcode@flashtux.org> 2.8-1
|
||||
- Released version 2.8
|
||||
* Thu Feb 20 2020 Sébastien Helleu <flashcode@flashtux.org> 2.7.1-1
|
||||
- Released version 2.7.1
|
||||
* Sun Dec 08 2019 Sébastien Helleu <flashcode@flashtux.org> 2.7-1
|
||||
- Released version 2.7
|
||||
* Sun Sep 08 2019 Sébastien Helleu <flashcode@flashtux.org> 2.6-1
|
||||
|
||||
Reference in New Issue
Block a user