From 0e66b833868a6a8530045db9002c1845f242e4ac Mon Sep 17 00:00:00 2001 From: Holger Paradies Date: Tue, 24 Dec 2013 10:13:21 +0100 Subject: kanotix-irc-1.0.0 --- kanotix-irc/debian/changelog | 188 ++++++++ kanotix-irc/debian/compat | 1 + kanotix-irc/debian/control | 14 + kanotix-irc/debian/copyright | 38 ++ kanotix-irc/debian/install | 4 + kanotix-irc/debian/kanotix-irc.manpages | 1 + kanotix-irc/debian/rules | 4 + kanotix-irc/docs/kanotix-irc.1 | 29 ++ kanotix-irc/hicolor/128x128/apps/kanotix-irc.png | Bin 0 -> 11282 bytes kanotix-irc/hicolor/16x16/apps/kanotix-irc.png | Bin 0 -> 828 bytes kanotix-irc/hicolor/22x22/apps/kanotix-irc.png | Bin 0 -> 1199 bytes kanotix-irc/hicolor/32x32/apps/kanotix-irc.png | Bin 0 -> 1807 bytes kanotix-irc/hicolor/48x48/apps/kanotix-irc.png | Bin 0 -> 3359 bytes kanotix-irc/hicolor/64x64/apps/kanotix-irc.png | Bin 0 -> 4758 bytes kanotix-irc/kanotix-irc | 473 +++++++++++++++++++++ kanotix-irc/skel/.kde/share/config/konversationrc | 210 +++++++++ .../skel/.kde/share/config/ksslcertificatemanager | 3 + kanotix-irc/skel/.weechat/icon_weechat32.png | Bin 0 -> 3068 bytes kanotix-irc/skel/.weechat/perl/autoload/sound.pl | 50 +++ .../skel/.weechat/python/autoload/executor.py | 96 +++++ kanotix-irc/skel/.weechat/weechat.rc | 369 ++++++++++++++++ kanotix-irc/skel/Desktop/kanotix-irc.desktop | 13 + 22 files changed, 1493 insertions(+) create mode 100644 kanotix-irc/debian/changelog create mode 100644 kanotix-irc/debian/compat create mode 100644 kanotix-irc/debian/control create mode 100644 kanotix-irc/debian/copyright create mode 100644 kanotix-irc/debian/install create mode 100644 kanotix-irc/debian/kanotix-irc.manpages create mode 100755 kanotix-irc/debian/rules create mode 100644 kanotix-irc/docs/kanotix-irc.1 create mode 100644 kanotix-irc/hicolor/128x128/apps/kanotix-irc.png create mode 100644 kanotix-irc/hicolor/16x16/apps/kanotix-irc.png create mode 100644 kanotix-irc/hicolor/22x22/apps/kanotix-irc.png create mode 100644 kanotix-irc/hicolor/32x32/apps/kanotix-irc.png create mode 100644 kanotix-irc/hicolor/48x48/apps/kanotix-irc.png create mode 100644 kanotix-irc/hicolor/64x64/apps/kanotix-irc.png create mode 100755 kanotix-irc/kanotix-irc create mode 100644 kanotix-irc/skel/.kde/share/config/konversationrc create mode 100644 kanotix-irc/skel/.kde/share/config/ksslcertificatemanager create mode 100644 kanotix-irc/skel/.weechat/icon_weechat32.png create mode 100755 kanotix-irc/skel/.weechat/perl/autoload/sound.pl create mode 100755 kanotix-irc/skel/.weechat/python/autoload/executor.py create mode 100644 kanotix-irc/skel/.weechat/weechat.rc create mode 100755 kanotix-irc/skel/Desktop/kanotix-irc.desktop diff --git a/kanotix-irc/debian/changelog b/kanotix-irc/debian/changelog new file mode 100644 index 0000000..77f3886 --- /dev/null +++ b/kanotix-irc/debian/changelog @@ -0,0 +1,188 @@ +kanotix-irc (1.0.0) unstable; urgency=low + + * Zenity support added by Jörg Schirottke + * moved .desktop to /usr/share/applications instead of applnk + * simplified .desktop to run also under LXDE + * added Categories section to .desktop file + * removed xchat2 preconfig and use tmp config instead + + -- Maximilian Gerhard Tue, 22 May 2012 01:57:55 +0200 + +kanotix-irc (0.2.22) unstable; urgency=low + + * replaced expired irc.freenode.net ssl cert + + -- Maximilian Gerhard Sat, 11 Feb 2012 01:07:46 +0100 + +kanotix-irc (0.2.21) unstable; urgency=low + + * fixed failed irssi ssl login + * deactivate ssl options if no ssl port is configured + + -- Maximilian Gerhard Sun, 11 Sep 2011 01:20:44 +0200 + +kanotix-irc (0.2.20) unstable; urgency=low + + * substitue $HOME with ~ in dcc path + * use x-www-browser instead mozilla-firefox as browser + * use ssl for identified logins + * accept ssl-cert permanent + * added simple manpage + + -- Maximilian Gerhard Fri, 01 Jul 2011 00:40:48 +0200 + +kanotix-irc (0.2.19) unstable; urgency=low + + * allow kdialog without Xdialog. + * KDE4 compatible desktop icon. + + -- Joerg Schirottke Mon, 07 Jun 2010 20:09:12 +0200 + +kanotix-irc (0.2.18) unstable; urgency=low + + * set ShowTrayIcon=true in konversationrc. + + -- Joerg Schirottke Fri, 7 Sep 2007 03:30:11 +0200 + +kanotix-irc (0.2.17) unstable; urgency=low + + * use size 10 instead 12 for konversation. + + -- Joerg Schirottke Tue, 5 Jun 2007 16:57:04 +0200 + +kanotix-irc (0.2.16) unstable; urgency=low + + * fix mktemp usage for irssi. + + -- Stefan Lippers-Hollmann Tue, 21 Nov 2006 16:35:29 +0100 + +kanotix-irc (0.2.15) unstable; urgency=low + + * use /infobash as common alias for hardware detection in irssi, suggest it. + + -- Stefan Lippers-Hollmann Sun, 19 Nov 2006 00:35:31 +0100 + +kanotix-irc (0.2.14) unstable; urgency=low + + * fix remaining bashisms, tested in bash, dash, pdksh and posh. + + -- Stefan Lippers-Hollmann Sun, 19 Nov 2006 00:10:05 +0100 + +kanotix-irc (0.2.13) unstable; urgency=low + + * use POSIX function definitions. + * fix insecure tempfile handling. + * use utf-8 for irssi. + + -- Stefan Lippers-Hollmann Sat, 18 Nov 2006 03:20:22 +0100 + +kanotix-irc (0.2.12) unstable; urgency=low + + * brown paper bag release, system integrity checks need the full path to + x-terminal-emulator. + + -- Stefan Lippers-Hollmann Sat, 18 Nov 2006 02:02:42 +0100 + +kanotix-irc (0.2.11) unstable; urgency=low + + * use generic x-terminal-emulator support instead of harcoded application, + thanks to x-un-i. + + -- Stefan Lippers-Hollmann Thu, 16 Nov 2006 22:45:27 +0100 + +kanotix-irc (0.2.10) unstable; urgency=low + + * fix useless bashisms. + + -- Stefan Lippers-Hollmann Thu, 9 Nov 2006 20:47:39 +0100 + +kanotix-irc (0.2.9) unstable; urgency=low + + * switch irssi to /etc/X11/xorg.conf. + + -- Stefan Lippers-Hollmann Fri, 3 Nov 2006 18:37:54 +0100 + +kanotix-irc (0.2.8) unstable; urgency=low + + * fix lintian errors. + + -- Stefan Lippers-Hollmann Wed, 1 Nov 2006 00:14:19 +0100 + +kanotix-irc (0.2.7) unstable; urgency=low + + * switch to utf-8. + * fix lintian errors. + * fix weechat presets. + + -- Stefan Lippers-Hollmann Wed, 1 Nov 2006 00:11:08 +0100 + +kanotix-irc (0.2.6) unstable; urgency=low + + * kanotix --> distro-defaults transition, thanks to x-un-i. + + -- Stefan Lippers-Hollmann Thu, 2 Mar 2006 02:19:25 +0100 + +kanotix-irc (0.2.5) unstable; urgency=low + + * update templates for konversation and weechat. + * remove cdbs auto-update feature. + * bump compat level to 5. + + -- Stefan Lippers-Hollmann Sun, 18 Dec 2005 14:04:21 +0100 + +kanotix-irc (0.2.4) unstable; urgency=low + + * use distro-defaults. + + -- Stefan Lippers-Hollmann Mon, 10 Oct 2005 22:56:16 +0200 + +kanotix-irc (0.2.3) unstable; urgency=low + + * increase font size for konversation. + + -- Stefan Lippers-Hollmann Tue, 6 Sep 2005 14:07:19 +0200 + +kanotix-irc (0.2.2) unstable; urgency=low + + * Replaces user-profile-kanotix (<< 0.6.47). + + -- Stefan Lippers-Hollmann Sun, 17 Jul 2005 01:26:20 +0200 + +kanotix-irc (0.2.1) unstable; urgency=low + + * konversation: increase font size. + * konversation: disable logging. + * weechat: add support + * weechat: add scripts and preconfig (contributed by mzilikazi). + * xchat2: add profile. + + -- Stefan Lippers-Hollmann Sat, 16 Jul 2005 23:53:37 +0200 + +kanotix-irc (0.2) unstable; urgency=low + + * add kdialog as preferred option. + * add konversation 0.18+ preconfig. + * remove testing clauses. + * abort if uid=1000 doesn't exist while being called as root. + * rewrite dialog wrapper. + + -- Stefan Lippers-Hollmann Sat, 16 Jul 2005 21:38:57 +0200 + +kanotix-irc (0.1.2) unstable; urgency=low + + * fix icon placement. + + -- Stefan Lippers-Hollmann Sat, 16 Jul 2005 17:34:03 +0200 + +kanotix-irc (0.1.1) unstable; urgency=low + + * major bugfixes. + + -- Stefan Lippers-Hollmann Sat, 16 Jul 2005 17:09:51 +0200 + +kanotix-irc (0.1) unstable; urgency=low + + * Initial Release. + + -- Stefan Lippers-Hollmann Sat, 16 Jul 2005 15:04:06 +0200 + diff --git a/kanotix-irc/debian/compat b/kanotix-irc/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/kanotix-irc/debian/compat @@ -0,0 +1 @@ +5 diff --git a/kanotix-irc/debian/control b/kanotix-irc/debian/control new file mode 100644 index 0000000..4733c0c --- /dev/null +++ b/kanotix-irc/debian/control @@ -0,0 +1,14 @@ +Source: kanotix-irc +Section: net +Priority: optional +Maintainer: Joerg Schirottke +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5.0.0) +Standards-Version: 3.7.2 + +Package: kanotix-irc +Architecture: all +Depends: dialog, irssi | irssi-text | bitchx | weechat-curses +Suggests: konversation (>> 0.18) | ksirc | xchat, kdialog | xdialog | zenity, python, distro-defaults, xterm | x-terminal-emulator, infobash +Description: Start a suitable IRC client to enter #kanotix + kanotix-irc provides an easy way to choose a nickname and to enter the + #kanotix irc channel. diff --git a/kanotix-irc/debian/copyright b/kanotix-irc/debian/copyright new file mode 100644 index 0000000..2abc04e --- /dev/null +++ b/kanotix-irc/debian/copyright @@ -0,0 +1,38 @@ +This work was packaged for Debian by: + + Stefan Lippers-Hollmann on Sat, 16 Jul 2005 15:02:47 +0200 + +Copyright: + + Copyright (C) 2003 Jörg Schirottke + Copyright (C) 2005 Stefan Lippers-Hollmann + Copyright (C) 2005 Michiel Lieuwe de Boer + Copyright (C) 2005 Sebastian Sariego B. (Konversation icon) + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + +On Debian systems, the complete text of the GNU General +Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +The Debian packaging is: + + Copyright (C) 2005 Stefan Lippers-Hollmann + Copyright (C) 2005 Jörg Schirottke + +you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. diff --git a/kanotix-irc/debian/install b/kanotix-irc/debian/install new file mode 100644 index 0000000..46cd90a --- /dev/null +++ b/kanotix-irc/debian/install @@ -0,0 +1,4 @@ +kanotix-irc usr/bin/ +skel etc/ +skel/Desktop/*.desktop usr/share/applications +hicolor usr/share/icons/ diff --git a/kanotix-irc/debian/kanotix-irc.manpages b/kanotix-irc/debian/kanotix-irc.manpages new file mode 100644 index 0000000..2dd6812 --- /dev/null +++ b/kanotix-irc/debian/kanotix-irc.manpages @@ -0,0 +1 @@ +docs/kanotix-irc.1 diff --git a/kanotix-irc/debian/rules b/kanotix-irc/debian/rules new file mode 100755 index 0000000..b092bdd --- /dev/null +++ b/kanotix-irc/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk + diff --git a/kanotix-irc/docs/kanotix-irc.1 b/kanotix-irc/docs/kanotix-irc.1 new file mode 100644 index 0000000..ba80189 --- /dev/null +++ b/kanotix-irc/docs/kanotix-irc.1 @@ -0,0 +1,29 @@ +.TH KANOTIX-IRC 1 "July 2, 2011" kanotix-irc "Linux User's Manual" +.SH NAME +kanotix-irc - a script to automaticly join Kanotix IRC channel + +.SH SYNOPSIS +.B KANOTIX-IRC + +.SH DESCRIPTION +\fBKanotix-irc\fR is a script to automaticly join Kanotix IRC channel. +It supports various IRC clients for tty usage or X11. + +.SH USAGE +\fBKanotix-irc\fR is a simple shell script. You can run it from shell or +use the desktop icon that was installed already by the package. + +.SH OPTIONS +No options available. + +.SH BUGS +To report a bug, please visit Kanotix forum at \fIhttp://kanotix.com/\fR and/or +report bugs to \fImaster@kanotix.com\fR + +.SH AUTHORS +.TP +.B 2003 Jörg Schirottke +.TP +.B 2005 Michiel Lieuwe de Boer +.TP +.B 2005-2006 Stefan Lippers-Hollmann diff --git a/kanotix-irc/hicolor/128x128/apps/kanotix-irc.png b/kanotix-irc/hicolor/128x128/apps/kanotix-irc.png new file mode 100644 index 0000000..387e964 Binary files /dev/null and b/kanotix-irc/hicolor/128x128/apps/kanotix-irc.png differ diff --git a/kanotix-irc/hicolor/16x16/apps/kanotix-irc.png b/kanotix-irc/hicolor/16x16/apps/kanotix-irc.png new file mode 100644 index 0000000..07db3b5 Binary files /dev/null and b/kanotix-irc/hicolor/16x16/apps/kanotix-irc.png differ diff --git a/kanotix-irc/hicolor/22x22/apps/kanotix-irc.png b/kanotix-irc/hicolor/22x22/apps/kanotix-irc.png new file mode 100644 index 0000000..8ee44f7 Binary files /dev/null and b/kanotix-irc/hicolor/22x22/apps/kanotix-irc.png differ diff --git a/kanotix-irc/hicolor/32x32/apps/kanotix-irc.png b/kanotix-irc/hicolor/32x32/apps/kanotix-irc.png new file mode 100644 index 0000000..b77f8dc Binary files /dev/null and b/kanotix-irc/hicolor/32x32/apps/kanotix-irc.png differ diff --git a/kanotix-irc/hicolor/48x48/apps/kanotix-irc.png b/kanotix-irc/hicolor/48x48/apps/kanotix-irc.png new file mode 100644 index 0000000..062789a Binary files /dev/null and b/kanotix-irc/hicolor/48x48/apps/kanotix-irc.png differ diff --git a/kanotix-irc/hicolor/64x64/apps/kanotix-irc.png b/kanotix-irc/hicolor/64x64/apps/kanotix-irc.png new file mode 100644 index 0000000..11d1c3f Binary files /dev/null and b/kanotix-irc/hicolor/64x64/apps/kanotix-irc.png differ diff --git a/kanotix-irc/kanotix-irc b/kanotix-irc/kanotix-irc new file mode 100755 index 0000000..a3afd32 --- /dev/null +++ b/kanotix-irc/kanotix-irc @@ -0,0 +1,473 @@ +#!/bin/sh +# Copyright (C) 2003 Jörg Schirottke +# Copyright (C) 2005 Michiel Lieuwe de Boer +# Copyright (C) 2005-2006 Stefan Lippers-Hollmann + +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# override tool behaviour through distro-defaults +FLL_IRC_SERVER="irc.freenode.net" +FLL_IRC_PORT="6667" +FLL_IRC_CHANNEL="#kanotix" +FLL_DISTRO_NAME="Kanotix" +[ -r /etc/default/distro ] && . /etc/default/distro + +# define user settings +NICK="Web-${FLL_DISTRO_NAME}$(mawk 'BEGIN{print int(1000 * rand())}')" +FALLBACK_USER="$(getent passwd 1000 | cut -d\: -f1)" +XTERM_OPT="-e" + + +# determine system status +DIALOG="$(which dialog)" || DIALOG="/usr/bin/dialog" +KDIALOG="$(which kdialog)" || KDIALOG="/usr/bin/kdialog" +XDIALOG="$(which Xdialog)" || XDIALOG="/usr/bin/Xdialog" +ZENITY="$(which zenity)" || ZENITY="/usr/bin/zenity" +MKTEMP="$(which mktemp)" || XTERMINAL="/bin/mktemp" +SU="$(which su)" || SU="/bin/su" +XTERMINAL="$(which x-terminal-emulator)" || XTERMINAL="/usr/bin/x-terminal-emulator" + +BITCHX="$(which bitchx)" || BITCHX="/usr/bin/bitchx" +IRSSI="$(which irssi)" || IRSSI="/usr/bin/irssi" +KSIRC="$(which ksirc)" || KSIRC="/usr/bin/ksirc" +KONVERSATION="$(which konversation)" || KONVERSATION="/usr/bin/konversation" +WEECHAT="$(which weechat-curses)" || WEECHAT="/usr/bin/weechat-curses" +XCHAT="$(which xchat)" || XCHAT="/usr/bin/xchat" + +# internal functions +inputbox() +{ + # inputbox title text width height [init] + TITLE="$1" + TEXT="$2" + WIDTH="$3" + HEIGHT="$4" + INIT="$5" + + if [ -n "$DISPLAY" ]; then + if [ -x "$KDIALOG" ]; then + "$KDIALOG" --title "$TITLE" --inputbox "$TEXT" "$INIT" + elif [ -x "$XDIALOG" ]; then + "$XDIALOG" --title "$TITLE" --inputbox "$TEXT" $HEIGHT $WIDTH "$INIT" + elif [ -x "$ZENITY" ]; then + "$ZENITY" --title="$TITLE" --entry --text="$TEXT" --entry-text="$INIT" + fi + else + "$DIALOG" --stdout --title "$TITLE" --inputbox "$TEXT" $HEIGHT $WIDTH "$INIT" + fi +} + +kanotix_irssi() +{ + TERM_TYPE="utf-8" + #TERM_TYPE="8bit" + IRSSICFG="$($MKTEMP -dp /tmp/ .irssi-XXXXXXXXXX)" + + CTCPS=0 + if [ -e /etc/kanotix-version ]; then + QUITMSG="$(< /etc/kanotix-version) | http://www.kanotix.com" + else + QUITMSG="http://www.kanotix.com" + fi + + cat <<_EOF_ >"$IRSSICFG/config" +servers = ( + { + address = "$FLL_IRC_SERVER"; + chatnet = "freenode"; + port = "$FLL_IRC_PORT"; + autoconnect = "yes"; +_EOF_ + # if ssl port configured then add ssl options + if [ $FLL_IRC_PORT = "7000" ]; then + cat <<_EOF_ >>"$IRSSICFG/config" + use_ssl = "yes"; + ssl_verify = "yes"; + ssl_capath = "/etc/ssl/certs"; +_EOF_ + fi + cat <<_EOF_ >>"$IRSSICFG/config" + } +); + +chatnets = { + freenode = { + type = "IRC"; + max_kicks = "4"; + max_modes = "4"; + max_msgs = "1"; + max_whois = "1"; + }; +}; + +channels = ( + { name = "#kanotix"; chatnet = "freenode"; autojoin = "yes"; } +); +_EOF_ + + # See also special kanotix aliases in here, like "/IBS", "/IBV", "/IB", "/GFX", "/SND", and "/X" + cat <<"_EOF_" >>"$IRSSICFG/config" +aliases = { + J = "join"; + WJOIN = "join -window"; + WQUERY = "query -window"; + LEAVE = "part"; + BYE = "quit"; + EXIT = "quit"; + SIGNOFF = "quit"; + DESCRIBE = "action"; + DATE = "time"; + HOST = "userhost"; + LAST = "lastlog"; + SAY = "msg *"; + WI = "whois"; + WII = "whois $0 $0"; + WW = "whowas"; + W = "who"; + N = "names"; + M = "msg"; + T = "topic"; + C = "clear"; + CL = "clear"; + K = "kick"; + KB = "kickban"; + KN = "knockout"; + BANS = "ban"; + B = "ban"; + MUB = "unban *"; + UB = "unban"; + IG = "ignore"; + UNIG = "unignore"; + SB = "scrollback"; + UMODE = "mode $N"; + WC = "window close"; + WN = "window new hide"; + SV = "say Irssi $J ($V) - http://irssi.org/"; + GOTO = "sb goto"; + CHAT = "dcc chat"; + RUN = "SCRIPT LOAD"; + UPTIME = "eval exec - expr `date +%s` - \\$F | awk '{print \"Irssi uptime: \"int(\\\\\\$1/3600/24)\"d \"int(\\\\\\$1/3600%24)\"h \"int(\\\\\\$1/60%60)\"m \"int(\\\\\\$1%60)\"s\" }'"; + CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi"; + SBAR = "STATUSBAR"; + INVITELIST = "mode $C +I"; + Q = "QUERY"; + QUIT = "foreach window /part;/quit"; + INFOBASH = "/exec -o infobash $*"; + X = "QUIT"; +}; + +statusbar = { + # formats: + # when using {templates}, the template is shown only if it's argument isn't + # empty unless no argument is given. for example {sb} is printed always, + # but {sb $T} is printed only if $T isn't empty. + + items = { + # start/end text in statusbars + barstart = "{sbstart}"; + barend = "{sbend}"; + + topicbarstart = "{topicsbstart}"; + topicbarend = "{topicsbend}"; + + # treated "normally", you could change the time/user name to whatever + time = "{sb $Z}"; + user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}"; + + # treated specially .. window is printed with non-empty windows, + # window_empty is printed with empty windows + window = "{sb $winref:$itemname{sbmode $M}}"; + window_empty = "{sb $winref{sbservertag $tag}}"; + prompt = "{prompt $[.15]itemname}"; + prompt_empty = "{prompt $winname}"; + topic = " $topic"; + topic_empty = " Irssi v$J - http://irssi.org/help/"; + + # all of these treated specially, they're only displayed when needed + lag = "{sb Lag: $0-}"; + act = "{sb Act: $0-}"; + more = "-- more --"; + }; + + # there's two type of statusbars. root statusbars are either at the top + # of the screen or at the bottom of the screen. window statusbars are at + # the top/bottom of each split window in screen. + default = { + # the "default statusbar" to be displayed at the bottom of the window. + # contains all the normal items. + window = { + disabled = "no"; + + # window, root + type = "window"; + # top, bottom + placement = "bottom"; + # number + position = "1"; + # active, inactive, always + visible = "active"; + + # list of items in statusbar in the display order + items = { + barstart = { priority = "100"; }; + time = { }; + user = { }; + window = { }; + window_empty = { }; + lag = { priority = "-1"; }; + act = { priority = "10"; }; + more = { priority = "-1"; alignment = "right"; }; + barend = { priority = "100"; alignment = "right"; }; + }; + }; + + # statusbar to use in inactive split windows + window_inact = { + type = "window"; + placement = "bottom"; + position = "1"; + visible = "inactive"; + items = { + barstart = { priority = "100"; }; + window = { }; + window_empty = { }; + more = { priority = "-1"; alignment = "right"; }; + barend = { priority = "100"; alignment = "right"; }; + }; + }; + + # we treat input line as yet another statusbar :) It's possible to + # add other items before or after the input line item. + prompt = { + type = "root"; + placement = "bottom"; + # we want to be at the bottom always + position = "100"; + visible = "always"; + items = { + prompt = { priority = "-1"; }; + prompt_empty = { priority = "-1"; }; + # treated specially, this is the real input line. + input = { priority = "10"; }; + }; + }; + + # topicbar + topic = { + type = "root"; + placement = "top"; + position = "1"; + visible = "always"; + items = { + topicbarstart = { priority = "100"; }; + topic = { }; + topic_empty = { }; + topicbarend = { priority = "100"; alignment = "right"; }; + }; + }; + }; +}; +_EOF_ + + cat <<_EOF_ >>"$IRSSICFG/config" +settings = { + core = { + real_name = "Kanotix user"; + user_name = "kanotix"; + nick = "$NICK"; + quit_message = "$QUITMSG"; + }; + + "irc/core" = { part_message = "$QUITMSG"; }; + + "irc/dcc" = { + dcc_upload_path = "/tmp"; + dcc_download_path = "/tmp"; + dcc_autoget = "no"; + dcc_autochat_masks = "*"; + dcc_autoget_masks = "= *"; + }; + "fe-text" = { term_type = "$TERM_TYPE"; }; + "fe-common/core" = { completion_char = ","; }; + +}; +logs = { }; + +windows = { + 2 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "$FLL_IRC_CHANNEL"; + tag = "freenode"; + } + ); + }; + 1 = { immortal = "yes"; name = "(status)"; level = "ALL"; }; +}; +mainwindows = { 2 = { first_line = "1"; lines = "47"; }; }; +_EOF_ + + [ "$CTCPS" -eq 0 ] && echo 'ignores = ( { level = "CTCPS"; } );' >>"$IRSSICFG/config" + + "$IRSSI" --home="$IRSSICFG" + RETC="$?" + rm -rf "$IRSSICFG" + [ "$RETC" -ne 0 ] && return 127 || exit 0 +} + +kanotix_xchat() +{ + XCHATCFG="$($MKTEMP -dp /tmp/ .xchat2-XXXXXXXXXX)" + + cat <<_EOF_ >"$XCHATCFG/servlist_.conf" +N=FreeNode +J=#kanotix +E=UTF-8 (Unicode) +F=63 +_EOF_ + # if ssl port configured then add ssl options + if [ $FLL_IRC_PORT = "7000" ]; then + cat <<_EOF_ >>"$XCHATCFG/servlist_.conf" +D=1 +_EOF_ + else + cat <<_EOF_ >>"$XCHATCFG/servlist_.conf" +D=0 +_EOF_ + fi + cat <<_EOF_ >>"$XCHATCFG/servlist_.conf" +S=irc.freenode.net/$FLL_IRC_PORT +S=irc.freenode.net/+7000 +_EOF_ + + cat <<_EOF_ >"$XCHATCFG/xchat.conf" +gui_join_dialog = 0 +gui_slist_select = 0 +gui_slist_skip = 1 +irc_nick1 = $NICK +irc_nick2 = ${NICK}_ +irc_nick3 = ${NICK}__ +_EOF_ + + cat <<_EOF_ >"$XCHATCFG/commands.conf" +NAME cmd +CMD exec -o &2 +_EOF_ + + "$XCHAT" -d "$XCHATCFG" + RETC="$?" + rm -rf "$XCHATCFG" + [ "$RETC" -ne 0 ] && return 127 || exit 0 +} + +############################################################################## +# int main(void); # +############################################################################## + +# yes, this stuff is elementary +if [ -z "$DISPLAY" ]; then + for i in "$DIALOG" "$SU"; do + if [ ! -x "$i" ]; then + echo "$i: missing, terminate abnormally" + exit 999 + fi + done +else + for i in "$DIALOG" "$XTERMINAL" "$SU"; do + if [ ! -x "$i" ]; then + echo "$i: missing, terminate abnormally" + exit 998 + fi + done + if ! [ -x "$XDIALOG" -o -x "$KDIALOG" -o -x "$ZENITY" ]; then + echo "$XDIALOG, $KDIALOG and $ZENITY are missing, terminate abnormally" + exit 998 + fi +fi + +if [ "$1" = "--tty" ]; then + DISPLAY="" +fi + +# are you insane? +if [ "`id -u`" = "0" ]; then + echo "ROOOOOOOOOOOOT has landed!" + echo "" + echo "Don't ever call any IRC client as root" + + if [ -z "$FALLBACK" ]; then + # yes, you deserve it - and I'm to lazy to enhance kanotix-su's features ;) + echo "Employ fallback and start IRC as $FALLBACK_USER." + if [ -n "$DISPLAY" ]; then + exec $XTERMINAL $XTERM_OPT $SU -c "$0 --tty" "$FALLBACK_USER" + else + exec $SU -c "$0 --tty" "$FALLBACK_USER" + fi + else + exit 996 + fi + + if [ "`id -u`" = "0" ]; then + echo "you had your chance, I'm not going to start any IRC client as root" + exit 997 + fi +fi + +# choose your nick +NICK=$(inputbox "${FLL_DISTRO_NAME} IRC Chat" "Choose your nick" 50 10 "$NICK") || exit 0 + +# try to start your irc client +if [ -z "$DISPLAY" ]; then + # tty + if [ -x "$IRSSI" ]; then + kanotix_irssi + exit "$?" + fi + + [ -x "$WEECHAT" ] && \ + exec $WEECHAT "irc://$NICK@$FLL_IRC_SERVER:$FLL_IRC_PORT/$FLL_IRC_CHANNEL" + + [ -x "$BITCHX" ] && \ + exec "$BITCHX" -c "$FLL_IRC_CHANNEL" -n "$NICK" +else + # X11 + if [ -x "$KONVERSATION" ]; then + if [ $FLL_IRC_PORT = "7000" ]; then + exec "$KONVERSATION" --server "$FLL_IRC_SERVER" --ssl --port "$FLL_IRC_PORT" --channel "$FLL_IRC_CHANNEL" --nick "$NICK" + else + exec "$KONVERSATION" --server "$FLL_IRC_SERVER" --port "$FLL_IRC_PORT" --channel "$FLL_IRC_CHANNEL" --nick "$NICK" + fi + fi + + [ -x "$KSIRC" ] && \ + exec "$KSIRC" --server "$FLL_IRC_SERVER" --channel "$FLL_IRC_CHANNEL" --nick "$NICK" + + if [ -x "$XCHAT" ]; then + kanotix_xchat + exit "$?" + fi + + # nasty fallback, but well - it works ;) + exec $XTERMINAL $XTERM_OPT $0 --tty +fi + +# Oops... +echo "ERROR: failed to start any suitable IRC Client" +for i in "$DIALOG" "$XDIALOG" "$BITCHX" "$IRSSI" "$KSIRC" "$KONVERSATION" "$WEECHAT" "$XCHAT"; do + if [ -x "$i" ]; then + echo "$i: found." + else + echo "$i: NOT found." + fi +done + diff --git a/kanotix-irc/skel/.kde/share/config/konversationrc b/kanotix-irc/skel/.kde/share/config/konversationrc new file mode 100644 index 0000000..692132a --- /dev/null +++ b/kanotix-irc/skel/.kde/share/config/konversationrc @@ -0,0 +1,210 @@ +[$Version] +update_info=konversation.upd:0.14-mainwindow,konversation.upd:0.17-versionreply,konversation.upd:0.18-lagtimeout + +[Appearance] +AutoUserhost=false +BackgroundImage= +CloseButtonsAlignRight=false +CloseButtonsOnTabs=false +FilterColorCodes=false +FocusNewQueries=false +IRCColors=#ffffff,#000000,#000080,#008000,#ff0000,#a52a2a,#800080,#ff8000,#808000,#00ff00,#008080,#00ffff,#0000ff,#ffc0cb,#a0a0a0,#c0c0c0 +ListFont=Bitstream Vera Sans,10,-1,5,50,0,0,0,0,0 +Margin=3 +NickColors=#e90e7f,#8e55e9,#b30e0e,#18b33c,#58adb3,#9e54b3,#0fb39a,#3176b3,#000000 +ParagraphSpacing=2 +ShowDate=false +ShowModeButtons=true +ShowNicknameBox=true +ShowQuickButtons=true +ShowRememberLineInAllWindows=false +ShowTabBarCloseButton=true +ShowTopic=true +Spacing=2 +TextFont=Bitstream Vera Sans Mono,10,-1,5,50,0,0,0,0,0 +TimestampFormat=hh:mm:ss +Timestamping=true +UseBoldNicks=false +UseColoredNicks=true +UseLiteralModes=false +UseParagraphSpacing=false +UseSpacing=false + +[Button List] +Button0=Op,/OP %u%n +Button1=DeOp,/DEOP %u%n +Button2=WhoIs,/WHOIS %s,%%u%n +Button3=Version,/CTCP %s,%%u VERSION%n +Button4=Kick,/KICK %u%n +Button5=Ban,/BAN %u%n +Button6=Part,/PART %c bus error%n +Button7=Quit,/QUIT core dumped.%n + +[Channel 0] +Name=#kanotix +Password= + +[DCC Settings] +AddPartner=false +AutoGet=false +AutoResume=false +BufferSize=8192 +ChatPortsFirst=0 +ChatPortsLast=0 +CreateFolder=true +FastSend=true +IPv4Fallback=false +IPv4FallbackInterface=eth0 +MethodToGetOwnIp=1 +SendPortsFirst=0 +SendPortsLast=0 +SendTimeout=120 +SpecificChatPorts=false +SpecificOwnIp=0.0.0.0 +SpecificSendPorts=false + +[Flags] +AutoReconnect=true +AutoRejoin=true +AutojoinOnInvite=false +BlinkingTabs=false +BringToFront=true +DisableExpansion=false +FixedMOTD=false +HideUnimportantEvents=false +InputFieldsBackgroundColor=true +Log=false +LogFollowsNick=true +LowerLog=true +ReconnectCount=10 +ShowServerList=false + +[General Options] +AutoWhoContinuousEnabled=true +AutoWhoContinuousInterval=90 +AutoWhoNicksLimit=200 +Beep=false +ClickableNicks=true +CommandChar=/ +CustomVersionReply= +CustomVersionReplyEnabled=false +DisableNotifyWhileAway=false +LogfileBufferSize=100 +LogfileReaderGeometry=500,300 +MaximumLag=180 +MultilineEditGeometry=-1,-1 +NicknameGeometry=-1,-1 +NicksOnlineGeometry=-1,-1 +NotifyDoubleClickAction=/WHOIS %u%n +RawLog=false +RedirectServerAndAppMsgToStatusPane=false +ScrollbackMax=1000 +ServerWindowMenuBarStatus=true +ShowBackgroundImage=false +ShowRealNames=false +ShowTrayIcon=true +SystrayOnly=false +TrayNotify=true +TrayNotifyOnlyOwnNick=true + +[Highlight List] +HighlightNick=true +HighlightNickColor=ff0000 +HighlightOwnLines=false +HighlightOwnLinesColor=ff0000 +HighlightSoundsEnabled=true + +[Message Text Colors] +ActionMessage=0000ff +AlternateBackground=ffffff +BacklogMessage=aaaaaa +ChannelMessage=000000 +CommandMessage=960096 +LinkMessage=0000ff +QueryMessage=0000ff +ServerMessage=91640a +TextViewBackground=ffffff +Time=709070 + +[Nick Completion] +CaseSensitive=false +Mode=0 +SuffixMiddle=\s +SuffixStart=:\s + +[Notification Messages] +ChannelListNoServerSelected=true +ChannelListWarning=true +ClearLogfileQuestion=true +CloseQueryAfterIgnore=true +HideMenuBarWarning=true +Invitation=true +LargePaste=true +QuitServerTab=true +RemoveDCCReceivedFile=true +ResumeTransfer=true +SaveLogfileNote=true + +[Notify List] +NotifyDelay=5 +OnStartup=false +UseNotify=true + +[OSD] +Alignment=0 +OSDBackgroundColor=#000000 +OSDDrawShadow=false +OSDDuration=3000 +OSDFont=xft,10,-1,5,50,0,0,0,0,0 +OSDScreen=0 +OSDTextColor=#000000 +OSDUseCustomColors=false +OffsetX=30 +OffsetY=50 +ShowChannel=false +ShowChannelEvent=false +ShowOwnNick=true +ShowQuery=false +UseOSD=true + +[Open-with settings] +CompletionMode=5 + +[Path Settings] +DccPath=~/dccrecv +LogfilePath=~/.kde/share/apps/konversation/logs + +[Server 0] +Port=7000 +SSLEnabled=true +Server=irc.freenode.org + +[ServerGroup 0] +AutoConnect=true +AutoJoinChannels=Channel 0 +ConnectCommands= +EnableNotifications=true +Group= +Name=Freenode +ServerList=Server 0 + +[Sort Nicknames] +AdminValue=1 +HalfopValue=8 +NoRightsValue=32 +OperatorValue=4 +OwnerValue=2 +SortByStatus=true +SortCaseInsensitive=true +VoiceValue=16 + +[Themes] +EmotIconTheme=Default +EnableEmotIcons=false +IconTheme=square +IconThemeIndex=5 +IconThemeName=square + +[Web Browser Settings] +UseKdeDefault=true +WebBrowserCmd=x-www-browser '%u' diff --git a/kanotix-irc/skel/.kde/share/config/ksslcertificatemanager b/kanotix-irc/skel/.kde/share/config/ksslcertificatemanager new file mode 100644 index 0000000..c5a9666 --- /dev/null +++ b/kanotix-irc/skel/.kde/share/config/ksslcertificatemanager @@ -0,0 +1,3 @@ +[ab91d820b35ab1b452d73e201cf120e9] +CertificatePEM=-----BEGIN CERTIFICATE-----\nMIIE2zCCA8OgAwIBAgIQXxSUEBKLDnE22E2iQaDjSTANBgkqhkiG9w0BAQUFADBB\nMQswCQYDVQQGEwJGUjESMBAGA1UEChMJR0FOREkgU0FTMR4wHAYDVQQDExVHYW5k\naSBTdGFuZGFyZCBTU0wgQ0EwHhcNMTIwMTE1MDAwMDAwWhcNMTMwMTE0MjM1OTU5\nWjBiMSEwHwYDVQQLExhEb21haW4gQ29udHJvbCBWYWxpZGF0ZWQxJDAiBgNVBAsT\nG0dhbmRpIFN0YW5kYXJkIFdpbGRjYXJkIFNTTDEXMBUGA1UEAxQOKi5mcmVlbm9k\nZS5uZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDc4/3OwWZiKIuZ\nZXJSiJNbP43eK7Cg9L20B1+eAUdgV1/f3GMoHB5byOYp3esmY9W/g7ItzSygtpGt\nr5UhHR85jT4X1r2Z9WzUy3kSPhG5fmK8Lb/gVRtcHs4x2fhWaJUrFYQ1rpgsYwGy\nDauoYe9/FSxt92cduI32ohxOhfDqGivIrHCGmruenb3JhyufXkBEm7qWRSS8Sbj+\nJjodGgo6kJx1UVmJmBpW4Toauv+0N33YmeLrRSfiQkJGuwApnzDJHmzOWQ6+FgMx\n7BDBbcqdX23xJhHlUKG7Z7LgK+12W8dowBitkZ611E0hzZjZ4AUKTSSj5hIE3VDm\nyHppuTJDAgMBAAGjggGsMIIBqDAfBgNVHSMEGDAWgBS2qP+iqC/Qps1LsWjz51AQ\nMad5ITAdBgNVHQ4EFgQUYjfUPL/ZwpnzKD7byu7zs8hzsDwwDgYDVR0PAQH/BAQD\nAgWgMAwGA1UdEwEB/wQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMC\nMFYGA1UdIARPME0wSwYLKwYBBAGyMQECAhowPDA6BggrBgEFBQcCARYuaHR0cDov\nL3d3dy5nYW5kaS5uZXQvY29udHJhY3RzL2ZyL3NzbC9jcHMvcGRmLzA8BgNVHR8E\nNTAzMDGgL6AthitodHRwOi8vY3JsLmdhbmRpLm5ldC9HYW5kaVN0YW5kYXJkU1NM\nQ0EuY3JsMGoGCCsGAQUFBwEBBF4wXDA3BggrBgEFBQcwAoYraHR0cDovL2NydC5n\nYW5kaS5uZXQvR2FuZGlTdGFuZGFyZFNTTENBLmNydDAhBggrBgEFBQcwAYYVaHR0\ncDovL29jc3AuZ2FuZGkubmV0MCcGA1UdEQQgMB6CDiouZnJlZW5vZGUubmV0ggxm\ncmVlbm9kZS5uZXQwDQYJKoZIhvcNAQEFBQADggEBAJfakB1U97ngh70pIVENke8M\nZQuqTRlx2POQTBZhbpsDU14nGxcuUvSzK8sHMwNWuYJFL3LOb5PTCmvlcTSS2zgu\n05Q4yNwMQvtWS4sGG4Sn6iW0sqsswADUHkhCXWlRvrX0m8lKkoulP1/UGxqdmVDz\nzt7w+QZyKChO8qEXK82AsXizBP7gwOZh2gyZWO0k+XA5zU6iYHuWHCUMvc9z7Cql\nHxzZSi0omEwfEs9N2TqHtqwMP8NBe0Bdh3cO2XcH9EKURnmb4gy/V0uSRhc/nFhi\nieUu/uD5jWqfR59Po4Md2xs736CCIdzgQGzmV253tsaKVbEE2vNWx219WDoky1A=\n-----END CERTIFICATE-----\n +irc.freenode.org=ExpireUTC 2012-02-10T20:39:12,HostNameMismatch diff --git a/kanotix-irc/skel/.weechat/icon_weechat32.png b/kanotix-irc/skel/.weechat/icon_weechat32.png new file mode 100644 index 0000000..01b0ab9 Binary files /dev/null and b/kanotix-irc/skel/.weechat/icon_weechat32.png differ diff --git a/kanotix-irc/skel/.weechat/perl/autoload/sound.pl b/kanotix-irc/skel/.weechat/perl/autoload/sound.pl new file mode 100755 index 0000000..ee6749c --- /dev/null +++ b/kanotix-irc/skel/.weechat/perl/autoload/sound.pl @@ -0,0 +1,50 @@ +#!/usr/bin/perl +## ============================================================================= +## sound.pl (c) February 2005 by FlashCode +## Updated on 2005-06-04 by FlashCode +## Perl script for WeeChat. +## +## Play a sound when highlighted/private msg, or for ctcp sound event +## You have to configure $sound_cmd_highlight and $sound_cmd_ctcp below. +## ============================================================================= +my $version = "0.2"; +my $sound_cmd_highlight = "esdplay ~/highlight_sound.wav >/dev/null 2>&1 &"; +my $sound_cmd_ctcp = "esdplay \$filename >/dev/null 2>&1 &"; +weechat::register ("Sound", $version, "", "Sound for highlights/privates & CTCP sound events"); + +weechat::add_message_handler("PRIVMSG", "sound"); +weechat::add_command_handler ("sound", sound_cmd); + +sub sound +{ + $server = $_[0]; + if ($_[1] =~ /(.*) PRIVMSG (.*)/) + { + my $host = $1; + my $msg = $2; + if ($host ne "localhost") + { + system($sound_cmd_highlight) if (index($msg, weechat::get_info("nick", $server)) != -1); + if ($msg =~ /\001SOUND ([^ ]*)\001/) + { + my $filename = $1; + my $command = $sound_cmd_ctcp; + $command =~ s/(\$\w+)/$1/gee; + system($command); + } + } + } + return 0; +} + +sub sound_cmd +{ + if ($#_ == 1) + { + my $filename = $_[1].".wav"; + my $command = $sound_cmd_ctcp; + $command =~ s/(\$\w+)/$1/gee; + system($command); + weechat::command("PRIVMSG ".weechat::get_info("channel")." :\001SOUND $filename\001") if (@_); + } +} diff --git a/kanotix-irc/skel/.weechat/python/autoload/executor.py b/kanotix-irc/skel/.weechat/python/autoload/executor.py new file mode 100755 index 0000000..996e450 --- /dev/null +++ b/kanotix-irc/skel/.weechat/python/autoload/executor.py @@ -0,0 +1,96 @@ +import weechat, string, popen2 + +EX_NAME="Executor" +EX_VERSION="0.1" + +weechat.register (EX_NAME, EX_VERSION, "", "Execute system commands in Weechat") +weechat.add_command_handler("exec", "exmain") + +def exexec(cmd): + proc = popen2.Popen3(cmd, True) + status = proc.wait() + results = [] + if status == 0: + results = proc.fromchild.readlines() + else: + results = proc.childerr.readlines() + return status, results + +def excmdbuf(args): + status, results = exexec(string.join(args, " ")) + if status == 0: + weechat.prnt("-[" + EX_NAME + "]- command `" + string.join(args, " ") + "` sucessfully launched") + for line in results: + weechat.prnt(string.rstrip(line, '\n')) + else: + weechat.prnt("-[" + EX_NAME + "]- an error occured while running command `" + string.join(args, " ") + "`") + for line in results: + weechat.prnt(string.rstrip(line, '\n')) + +def excmdchan(args): + status, results = exexec(string.join(args, " ")) + if status == 0: + weechat.prnt("-[" + EX_NAME + "]- command `" + string.join(args, " ") + "` sucessfully launched") + for line in results: + weechat.command(string.rstrip(line, '\n')) + else: + weechat.prnt("-[" + EX_NAME + "]- an error occured while running command `" + string.join(args, " ") + "`") + for line in results: + weechat.prnt(string.rstrip(line, '\n')) + + +def exchdir(args): + newdir = "." + if args == []: + if os.environ.has_key('HOME'): + newdir = os.environ['HOME'] + else: + newdir = args[0] + try: + os.chdir(newdir) + except: + weechat.prnt("-[" + EX_NAME + "]- an error occured while running command `cd " + newdir + "`") + else: + weechat.prnt("-[" + EX_NAME + "]- command `cd " + newdir + "` sucessfully launched") + + +def exhelp(): + weechat.prnt("") + weechat.prnt("-[" + EX_NAME + "]- (help)") + weechat.prnt("") + weechat.prnt(" Usage : ") + weechat.prnt(" /exec :") + weechat.prnt(" -> display this help") + weechat.prnt(" /url %command% :") + weechat.prnt(" -> display result of %command% in the current buffer") + weechat.prnt(" /url -o %command% :") + weechat.prnt(" -> display result of %command% in the current channel") + weechat.prnt("") + +def exmain(server, args): + largs = string.split(args, " ") + + #strip spaces + while '' in largs: + largs.remove('') + while ' ' in largs: + largs.remove(' ') + + if len(largs) == 0: + exhelp() + else: + if len(largs) == 1: + if largs[0] == '-o': + exhelp() + elif largs[0] == 'cd': + exchdir([]) + else: + excmdbuf(largs) + else: + if largs[0] == '-o': + excmdchan(largs[1:]) + elif largs[0] == 'cd': + exchdir(largs[1:]) + else: + excmdbuf(largs) + diff --git a/kanotix-irc/skel/.weechat/weechat.rc b/kanotix-irc/skel/.weechat/weechat.rc new file mode 100644 index 0000000..c131a20 --- /dev/null +++ b/kanotix-irc/skel/.weechat/weechat.rc @@ -0,0 +1,369 @@ +# +# WeeChat configuration file, created by WeeChat v0.1.6 on Sun Dec 18 12:59:16 2005 +# WARNING! Be careful when editing this file, WeeChat writes this file when exiting. +# + +[look] +look_set_title=on +look_startup_logo=on +look_startup_version=on +look_weechat_slogan=the geekest IRC client! +look_charset_decode_iso=ISO-8859-1 +look_charset_decode_utf=UTF-8 +look_charset_encode=UTF-8 +look_charset_internal=ISO-8859-1 +look_one_server_buffer=off +look_buffer_timestamp=[%H:%M:%S] +look_color_nicks=on +look_color_nicks_number=10 +look_color_actions=on +look_nicklist=on +look_nicklist_position=right +look_nicklist_min_size=0 +look_nicklist_max_size=0 +look_no_nickname=-cmd- +look_nickmode=on +look_nickmode_empty=off +look_nick_completor=: +look_nick_completion_ignore=[]- +look_infobar=on +look_infobar_timestamp=%A, %B %d %Y +look_infobar_seconds=on +look_infobar_delay_highlight=7 +look_hotlist_names_count=3 +look_hotlist_names_level=12 +look_hotlist_names_length=0 +look_day_change=on +look_day_change_timestamp=%a, %d %b %Y + +[colors] +col_real_white=off +col_title=default +col_title_bg=blue +col_chat=default +col_chat_time=default +col_chat_time_sep=brown +col_chat_prefix1=lightcyan +col_chat_prefix2=white +col_chat_server=brown +col_chat_join=lightgreen +col_chat_part=lightred +col_chat_nick=lightcyan +col_chat_host=cyan +col_chat_channel=white +col_chat_dark=green +col_chat_highlight=yellow +col_chat_bg=default +col_status=default +col_status_delimiters=cyan +col_status_channel=white +col_status_data_msg=yellow +col_status_private=lightmagenta +col_status_highlight=lightred +col_status_data_other=default +col_status_more=white +col_status_bg=blue +col_infobar=black +col_infobar_delimiters=blue +col_infobar_highlight=white +col_infobar_bg=cyan +col_input=default +col_input_channel=white +col_input_nick=lightgreen +col_input_delimiters=cyan +col_input_bg=default +col_nick=default +col_nick_away=cyan +col_nick_chanowner=lightgreen +col_nick_chanadmin=lightgreen +col_nick_op=lightgreen +col_nick_halfop=lightmagenta +col_nick_voice=yellow +col_nick_more=lightmagenta +col_nick_sep=blue +col_nick_self=white +col_nick_color1=cyan +col_nick_color2=magenta +col_nick_color3=green +col_nick_color4=brown +col_nick_color5=lightblue +col_nick_color6=default +col_nick_color7=lightcyan +col_nick_color8=lightmagenta +col_nick_color9=lightgreen +col_nick_color10=blue +col_nick_private=default +col_nick_bg=default +col_chat_dcc_selected=white +col_dcc_waiting=lightcyan +col_dcc_connecting=yellow +col_dcc_active=lightblue +col_dcc_done=lightgreen +col_dcc_failed=lightred +col_dcc_aborted=lightred + +[history] +history_max_lines=4096 +history_max_commands=100 + +[log] +log_auto_server=off +log_auto_channel=off +log_auto_private=off +log_plugin_msg=off +log_path=~/.weechat/logs/ +log_timestamp=%Y %b %d %H:%M:%S +log_hide_nickserv_pwd=on + +[irc] +irc_display_away=on +irc_default_msg_away=away +irc_default_msg_part=WeeChat %v +irc_default_msg_quit=WeeChat %v +irc_notice_as_pv=off +irc_away_check=0 +irc_lag_check=60 +irc_lag_min_show=1 +irc_lag_disconnect=5 +irc_fifo_pipe=off +irc_highlight= +irc_colors_receive=on +irc_colors_send=on + +[dcc] +dcc_auto_accept_files=off +dcc_auto_accept_chats=off +dcc_timeout=300 +dcc_blocksize=65536 +dcc_port_range= +dcc_own_ip= +dcc_download_path=~ +dcc_upload_path=~ +dcc_convert_spaces=on +dcc_auto_rename=on +dcc_auto_resume=on + +[proxy] +proxy_use=off +proxy_type=http +proxy_ipv6=off +proxy_address= +proxy_port=3128 +proxy_username= +proxy_password= + +[plugins] +plugins_path=~/.weechat/plugins +plugins_autoload=* +plugins_extension=.so + +[keys] +ctrl-?=backspace +meta-0=/buffer 10 +meta-1=/buffer 1 +meta-2=/buffer 2 +meta-3=/buffer 3 +meta-4=/buffer 4 +meta-5=/buffer 5 +meta-6=/buffer 6 +meta-7=/buffer 7 +meta-8=/buffer 8 +meta-9=/buffer 9 +meta2-15~=/buffer -1 +meta2-17~=/buffer +1 +meta2-18~=/window -1 +meta2-19~=/window +1 +meta2-1~=home +meta2-21~=infobar_clear +meta2-23~=nick_page_up +meta2-24~=nick_page_down +meta2-3~=delete +meta2-4~=end +meta2-5~=page_up +meta2-6~=page_down +meta2-7~=home +meta2-8~=end +meta2-A=up +meta2-B=down +meta2-C=right +meta2-D=left +meta2-F=end +meta2-H=home +meta-meta2-1~=nick_beginning +meta-meta2-4~=nick_end +meta-meta2-C=/buffer +1 +meta-meta2-D=/buffer -1 +meta-a=jump_smart +meta-b=previous_word +meta-d=delete_next_word +meta-f=next_word +meta-h=hotlist_clear +meta-j01=/buffer 1 +meta-j02=/buffer 2 +meta-j03=/buffer 3 +meta-j04=/buffer 4 +meta-j05=/buffer 5 +meta-j06=/buffer 6 +meta-j07=/buffer 7 +meta-j08=/buffer 8 +meta-j09=/buffer 9 +meta-j10=/buffer 10 +meta-j11=/buffer 11 +meta-j12=/buffer 12 +meta-j13=/buffer 13 +meta-j14=/buffer 14 +meta-j15=/buffer 15 +meta-j16=/buffer 16 +meta-j17=/buffer 17 +meta-j18=/buffer 18 +meta-j19=/buffer 19 +meta-j20=/buffer 20 +meta-j21=/buffer 21 +meta-j22=/buffer 22 +meta-j23=/buffer 23 +meta-j24=/buffer 24 +meta-j25=/buffer 25 +meta-j26=/buffer 26 +meta-j27=/buffer 27 +meta-j28=/buffer 28 +meta-j29=/buffer 29 +meta-j30=/buffer 30 +meta-j31=/buffer 31 +meta-j32=/buffer 32 +meta-j33=/buffer 33 +meta-j34=/buffer 34 +meta-j35=/buffer 35 +meta-j36=/buffer 36 +meta-j37=/buffer 37 +meta-j38=/buffer 38 +meta-j39=/buffer 39 +meta-j40=/buffer 40 +meta-j41=/buffer 41 +meta-j42=/buffer 42 +meta-j43=/buffer 43 +meta-j44=/buffer 44 +meta-j45=/buffer 45 +meta-j46=/buffer 46 +meta-j47=/buffer 47 +meta-j48=/buffer 48 +meta-j49=/buffer 49 +meta-j50=/buffer 50 +meta-j51=/buffer 51 +meta-j52=/buffer 52 +meta-j53=/buffer 53 +meta-j54=/buffer 54 +meta-j55=/buffer 55 +meta-j56=/buffer 56 +meta-j57=/buffer 57 +meta-j58=/buffer 58 +meta-j59=/buffer 59 +meta-j60=/buffer 60 +meta-j61=/buffer 61 +meta-j62=/buffer 62 +meta-j63=/buffer 63 +meta-j64=/buffer 64 +meta-j65=/buffer 65 +meta-j66=/buffer 66 +meta-j67=/buffer 67 +meta-j68=/buffer 68 +meta-j69=/buffer 69 +meta-j70=/buffer 70 +meta-j71=/buffer 71 +meta-j72=/buffer 72 +meta-j73=/buffer 73 +meta-j74=/buffer 74 +meta-j75=/buffer 75 +meta-j76=/buffer 76 +meta-j77=/buffer 77 +meta-j78=/buffer 78 +meta-j79=/buffer 79 +meta-j80=/buffer 80 +meta-j81=/buffer 81 +meta-j82=/buffer 82 +meta-j83=/buffer 83 +meta-j84=/buffer 84 +meta-j85=/buffer 85 +meta-j86=/buffer 86 +meta-j87=/buffer 87 +meta-j88=/buffer 88 +meta-j89=/buffer 89 +meta-j90=/buffer 90 +meta-j91=/buffer 91 +meta-j92=/buffer 92 +meta-j93=/buffer 93 +meta-j94=/buffer 94 +meta-j95=/buffer 95 +meta-j96=/buffer 96 +meta-j97=/buffer 97 +meta-j98=/buffer 98 +meta-j99=/buffer 99 +meta-jmeta-d=jump_dcc +meta-jmeta-l=jump_last_buffer +meta-jmeta-s=jump_server +meta-jmeta-x=jump_next_server +meta-k=grab_key +meta-Oa=up_global +meta-Ob=down_global +meta-Oc=next_word +meta-Od=previous_word +meta-r=delete_line +meta-s=switch_server +ctrl-A=home +ctrl-E=end +ctrl-H=backspace +ctrl-I=tab +ctrl-J=return +ctrl-K=delete_end_line +ctrl-L=refresh +ctrl-M=return +ctrl-T=transpose_chars +ctrl-U=delete_beginning_line +ctrl-W=delete_previous_word +ctrl-Y=clipboard_paste + +[alias] +BYE=quit +C=clear +CHAT=dcc chat +CL=clear +CLOSE=buffer close +EXIT=quit +J=join +K=kick +KB=kickban +LEAVE=part +M=msg +MUB=unban * +N=names +Q=query +SAY=msg * +SIGNOFF=quit +T=topic +UB=unban +W=who +WC=part +WI=whois +WW=whowas + +[ignore] + +[server] +server_name=freenode +server_autoconnect=on +server_autoreconnect=on +server_autoreconnect_delay=30 +server_address=irc.freenode.net +server_port=6667 +server_ipv6=off +server_ssl=off +server_password= +server_nick1=kanotix +server_nick2=kanotix1 +server_nick3=kanotix3 +server_username=kanotix user +server_realname=kanotix user +server_command= +server_command_delay=0 +server_autojoin=kanotix +server_autorejoin=on +server_notify_levels= diff --git a/kanotix-irc/skel/Desktop/kanotix-irc.desktop b/kanotix-irc/skel/Desktop/kanotix-irc.desktop new file mode 100755 index 0000000..b322613 --- /dev/null +++ b/kanotix-irc/skel/Desktop/kanotix-irc.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=IRC Chat #kanotix +Comment=Freenode IRC channel #kanotix +GenericName=IRC Chat #kanotix +X-GNOME-FullName=IRC Chat #kanotix +Exec=kanotix-irc +Terminal=false +X-MultipleArgs=false +Type=Application +Icon=kanotix-irc +Categories=Network; +StartupNotify=true -- cgit v1.0