index.md - sites - public wiki contents of suckless.org
 (HTM) git clone git://git.suckless.org/sites
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       index.md (4379B)
       ---
            1 Multitail + Vim
            2 ---------------
            3 To make ii a bit more comfortable, use it in combination with the multitail
            4 program and for example with vim. Run vim in the server directory and use key
            5 mapping like:
            6 
            7         map w1 :.w >>\\#ii/in<cr>
            8         map w2 :.w >>\\#wmii/in<cr>
            9 
           10 to post to channels. Thanks to Matthias Kopfermann for this hint.
           11 
           12 Another cool thing is to use it with splitvt so you have multitail windows on
           13 top and for example four lines of vim at the bottom.
           14 
           15 There is also a blog post which describes the whole configuration:
           16 [http://nion.modprobe.de/blog/archives/440-Using-the-ii-irc-client.html](http://nion.modprobe.de/blog/archives/440-Using-the-ii-irc-client.html)
           17 
           18 Popup Chat Windows
           19 ------------------
           20 You can also try [pcw](http://bitbucket.org/emg/pcw) which will (by default)
           21 open a new terminal for each channel you join. On startup, and after receiving
           22 SIGUSR1, pcw will open a terminal for every channel you are already in. By
           23 default it depends on [srw](http://bitbucket.org/emg/srw) as a line editing
           24 wrapper. Just run 'pcw ~/irc' (or whichever directory you have ii using) then
           25 start up ii. Note that closing a terminal does not exit the channel. If that
           26 channel receives a new message the terminal will open again. To leave the
           27 channel you must first '/l' and then close the window. (the combination of pcw
           28 + ii + bitlbee let me stop using pidgin :-D)
           29 
           30 Web frontend
           31 ------------
           32 phpii is a simple web frontend for ii. You can see a demo of it and download
           33 the php source here: [phpii
           34 homepage](http://yogan.meinungsverstaerker.de/phpii)
           35 
           36 iii
           37 ---
           38 [iii](https://github.com/c00kiemon5ter/iii) (maybe interactive ii, or
           39 something) is a collection of shell scripts to produce a cli frontend to ii.
           40 iii looks like a "normal" irc client (ie irssi), working on top of ii.
           41 
           42 It features connections to multiple servers and autojoin of channels,
           43 auto-reconnect to servers and channels on network failure, autocompletion
           44 through rlwrap, formatted and colored output etc.
           45 
           46 It can be used directly in the command line, or like pcw spawning terminals for
           47 each channel, or inside a dedicated tmux session.
           48 
           49 Read the readme file, and do not hesitate to ask c00kiemon5ter for help on
           50 freenode and oftc.
           51 
           52 iil
           53 ---
           54 The [iil](http://chiselapp.com/user/onys/repository/iil/home) (short for
           55 iiless) is fast viewer/reader for ii irc client, using your shell and less.
           56 
           57 uii
           58 ---
           59 [uii](https://github.com/erlehmann/uii) (usable irc it) is a set of shell
           60 scripts that provides readline support, uses inotify to monitor channels and
           61 pops up notifications.
           62 
           63 im-scripts
           64 ----------
           65 [im-scripts](http://github.com/gravicappa/im-scripts) is a set of sh-scripts
           66 for convenient use of ii and ji.
           67 
           68 wii
           69 ---
           70 [wii](http://github.com/younix/wii) is a simple web frontend for ii.
           71 It just uses HTML, java-script and shell-script.
           72 
           73 xii
           74 ---
           75 [xii](http://github.com/younix/xii) is a simple X11 frontend for ii.
           76 It is written in plain C based on Xaw and Xt library.
           77 
           78 hysteria
           79 --------
           80 [hysteria](http://git.2f30.org/hysteria/) is another set of scripts
           81 (mostly shell) which provide support for highlighting, autojoining, etc.
           82 
           83 lchat
           84 -----
           85 [lchat](https://github.com/younix/lchat) is a line oriented terminal font-end.
           86 
           87 yaic
           88 ----
           89 [Yet Another Ii Client](https://github.com/cemkeylan/yaic) is a shell script
           90 for ii with channel switching, proper line folding, and pretty formatting.
           91 
           92 TLS/SSL
           93 -------
           94 To connect to a TLS/SSL encrypted channel, it is possible to use the [SSL
           95 patch](/ii/patches/ssl) or a proxy:
           96 
           97 [stunnel](https://www.stunnel.org/) is a proxy for an unencrypted TCP
           98 connection to TLS:
           99 
          100 In `/etc/stunnel/stunnel.conf`:
          101 
          102         [irc.oftc.net]
          103         accept = 127.0.0.1:<your-port>
          104         connect = irc.oftc.net:6697
          105 
          106 [inetd](http://man.openbsd.org/inetd) listens on multiple TCP ports and can
          107 connect a program standard input and output to a TCP socket.
          108 
          109 This enables it to act as a simple proxy using any command line TLS client,
          110 such as [openssl s_client](http://man.openbsd.org/openssl#S_CLIENT),
          111 [brssl client](https://bearssl.org/gitweb/?p=BearSSL;a=blob;f=tools/brssl.c;h=91372b09f42149a503f9d13db0b78cf0a123611e;hb=HEAD#l43),
          112 nc -ssl, socat... or any other:
          113 
          114 In `/etc/inetd.conf`:
          115 
          116         /tmp/irc.oftc.net        stream        unix        nowait        nobody        /usr/bin/openssl        openssl s_client -quiet -connect irc.oftc.net:6697
          117 
          118 Then a proxy should be available as an unix socket for ii to connect to:
          119 
          120         ii -s irc.oftc.net -u /tmp/irc.oftc.net