Re: [dwm] ii best practices

From: pancake <pancake_AT_youterm.com>
Date: Wed, 2 Apr 2008 11:35:51 +0200 (CEST)

i think scrollz already have this.

> "Anselm R. Garbe" <arg_AT_suckless.org> wrote:
>
>> On Tue, Apr 01, 2008 at 03:24:44PM +0200, Matthias-Christian Ott wrote:
>> > I want to start using ii for irc. What discouraged me from doing so
>> was
>> > a proper input method. Currently I know 2 methods to effectively input
>> > text to ii: vim and dinput. I don't like both for some reason.
>> > Do you have any best practices for using ii?
>>
>> echo(1), I'm not using ii but sic, but I usually create a fifo
>> for sending input to sic using echo or sometimes cat(1), if I plan
>> to have longer conversations than the usual hello.
>
> But this would require me to write something like each time I want to
> send something to the channel:
>
> $ echo 'Hello' > fifo
> # or
> $ cat > fifo
> Hello^D
>
> Of course you could do:
> $ while true; do cat > fifo; done
>
> But what about this:
>
> +---------------------------+
> | |
> | urxvt |
> | tail -f fifo |
> | |
> | |
> |...........................|
> | input |
> +---------------------------+
>
> The basic idea is to embedd the urxvt window in another window which also
> embedds an input window. The input window could be urxvt running a small
> programme or small X11 programme reading input and writing to the fifo.
> This is much nicer for tiling and feels more like an irc client.
> You could do this with screen of course.
>
> Any other ideas?
>
> Regards
> Matthias-Christian
>
>
Received on Wed Apr 02 2008 - 11:35:46 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:29:35 UTC