(TL note: nareshov's diary)

Posts Tagged ‘irc

On how weechat handled a downloading file

with 4 comments

Something really interesting happened on one my workstations which had this weechat IRC client running on it.

Weechat is this irssi-based IRC client for use on a Linux console. The features page lists certain interesting ones and while I first chose it over irssi, the compelling reason was proper proxy support (authenticated ones). I had little idea on how the “FIFO pipe for remote control” would be helpful- until this happened this morning:

I’m usually connected to the Freenode and Rizon networks. Rizon is primarily the japanese-animation/drama hub for various fansubbing groups. Mostly used for co-ordinating among fansubbers and providing XDCC leech bots. So, here I was, leeching an episode off of a particular bot, and not realising that the download had completed, I moved (mv) the file from the default download location (~/.weechat/dcc) to the approriate directory (~/Backups/Videos/Film). This I did, on another console within screen, I switched back (C-a C-a) to the console where weechat was running and was surprised to see that the file I thought had completely downloaded still going down around 98%. Shocked, I `ls -l ~/Backups/Videos/Film` and get even more shocked to see that the file-size of this moved file had grown a bit. What was happening here? When my disk is out of space and a download breaks due to that, I’d see a “broken pipe” message in the log window, so what happened here, I think, is what they mean by “FIFO pipe for remote control”. Even after I had moved an incomplete, currently downloading file to a new location, the download continued without any usually expected re-actions one would see with software on Windows or software such as LinuxDC++ (locked files).

That was an interesting experience and an interesting feature I’d love to see in more software. Good job, weechat. Copy-pasting off a weechat window is sort of stupid, though, owing to the nicklist on the right and fancier formatting. Overall, it’s been good.

Written by Naresh

November 25, 2008 at 8:28 am

Of IRC clients and GUI toolkits.

with 3 comments

Seriously guys, I don’t understand how some of you out there love mIRC. I couldn’t figure out how to *read* the /topic without having to rejoin the channel =.=

I’ve been using irssi for a long time now (along with its best buddy, screen), for some reason, I’ve had to use mIRC for a couple of days and I’d never want to use it ever again.

Well, thought I’d try one of my first IRC clients that ever worked with HTTP proxy firewalls (such as Squid) – XChat. I downloaded the free version for windows (google “xchat silverex download”) and was up and felt nostalgic in few minutes. No more fail with Japanese encoding and glitch-free copy-paste in Unicode.

But then, I wanted to tweak around with the fonts and sizes a little:

Notice that there are no “units” for the font-sizes. 12 what? Rupees? >_>
Also, notice the placement of the “OK” “Cancel” buttons in the frontmost window and its parent window.
That’s what I call fail.

Written by Naresh

September 2, 2008 at 6:31 pm