Tag Archives: irc

ssh-chat: And a question for which I have no answer

About a six weeks ago I discovered ssh-chat, as a side note to a post on medium.com that asked, “Why aren’t we using SSH for everything?” A good question.

2015-02-16-6m47421-ssh-chat-01

Just to be clear, that is not me running ssh-chat. That is, I believe, me connecting via ssh to a system that is running ssh-chat. I can show you what it looks like when I connect to my own system running ssh-chat, but it’s not very exciting.

2015-02-16-6m47421-ssh-chat-02 2015-02-16-6m47421-ssh-chat-03

So I think the thing to remember here is, ssh-chat itself is the server-side application that allows others to connect via ssh and join the chat session. If you have ssh installed on your machine, you already have the client.

Most commands are what you might expect after working with things like irssi or weechat, with some omissions for joining channels and so forth. You can drop out of a session with CTRL+D, much like you might use to exit an ssh session anyway.

It’s very clever, although it might not satisfy you if you’re entrenched in another chat client. And needless to say, this is probably more interesting to people who host the chat, and not the people who connect to it. I wouldn’t look for it on Freenode any time soon.

I only see this in AUR, and considering it’s quite new (with updates within past weeks), it might be a while until it reaches more venerable distros. If you can get your hands on Go though, you should be able to build it yourself.

As for the original question … I haven’t got an answer. I am just a solitary pedestrian on the grand information highway. If everyone used it, I probably would too. Until then. … 😐

echat: Serverless chatter

I’m stuck again with a chat tool that I can’t really demonstrate because I don’t have the supporting network structure. This is echat:

2015-01-02-jsgqk71-echat

And that’s as much as I expect I’ll see from it. Judging by the home page, echat is designed to work in serverless environments, such as LANs or office networks. I see elsewhere that echat is intended for Vypress networks, and can interact with Windows- or other OS-based clients (I would expect no less).

A lot of that is completely foreign to me, and so I approach echat from a completely neutral angle. No, I can’t see it running at full speed, but I can see a few positive points that might make it work investigating:

  • Nice screen arrangement, and flexible size.
  • Decent man page, and enough onboard help to prevent instant floundering.
  • Good use of color.

Not exactly a ringing endorsement, but I can recognize standout traits where I see them.

You’ll have to set up echat with a Vypress network to see if it works as well as it promises. If you get that far into the mix with echat, please send us a proper screenshot, so we can all bask in the full force of it’s glory. πŸ˜€

hftirc: A little IRC in C

I don’t recall when or where I learned about hftirc. I usually try to make a note of the tipster who sends in a title, so it’s possible I found this one on my own.

hftirc is, as you might have inferred by the name (or by the title of this post) a small-scale IRC client for text-based environments.

2014-09-24-6m47421-hftirc

hftirc has a lot of small features that I like. I can see that it’s written in C (yes, I wrote that on purpose), and ps_mem.py says it will run on about 1.25Mb of memory. It has a traditional left-to-right arrangement, with the user list as a panel on the right. It seems to follow the traditional slash-command approach to IRC navigation, making it easy to adopt if you’re coming from one of the other big names in IRC.

The configuration file gives you a few more points to consider. hftirc works with color themes, and while the default is a little taxing, a few of them — especially the “white” theme — worked quite nice in terminals with white backgrounds.

You also have the ability to colorize individual nicknames, and to set a default channel that hftirc will jump straight into, as soon as it starts and connects.

hftirc doesn’t show any newer edits than three years ago, and I know some people consider that a sign of staleness and a good reason to avoid a program. I saw no reason to discount hftirc on those grounds; in any case, I doubt IRC is such an innovative technology that three years without maintenance is going to obsolete any working IRC client. 😐

As luck would have it, I can see now how and why I found hftirc: The author is also responsible for tty-clock, one of my favorite programs of the past decade. This just goes to show you, take the time to examine a whole portfolio. πŸ™‚

weechat: Word-of-mouth testimonials

weechat users have been biting their nails literally for years, waiting for this moment to roll around. Well, you can all stop e-mailing me about the wondrous goodness that is weechat: Your moment has come.

2014-06-21-6m47421-weechat-01 2014-06-21-6m47421-weechat-02

But now, after the long list of chat clients that have graced these pages, I’ll be honest and say I don’t quite recall what the hubbub was about.

“wee” to me, is a word that means small or tiny, and so perhaps weechat is a good deal smaller than the garden-variety irssi?

Not according to the ancient and revered ps_mem.py script. In fact, it’s quite the opposite situation at a cold start.

kmandla@6m47421: ~/temp$ sudo python ps_mem.py 
[sudo] password for kmandla: 
 Private  +   Shared  =  RAM used	Program 
...
  1.5 MiB +   1.1 MiB =   2.6 MiB	bash (4)
  2.0 MiB +   1.0 MiB =   3.0 MiB	irssi
  3.4 MiB + 610.5 KiB =   4.0 MiB	mc
...
 10.8 MiB +   2.3 MiB =  13.1 MiB	openbox
 14.2 MiB +   1.0 MiB =  15.2 MiB	weechat
 46.1 MiB + -23103.5 KiB =  23.5 MiB	Xorg
...
---------------------------------
                        497.6 MiB
=================================

(I abbreviated a little bit there, just to save widescreen visitors the pain of constant scrolling. πŸ˜† )

So if memory profile is not the appeal, is it extensibility? The list of features on the weechat site is quite lengthy, and some of them — like vertical splits and spellchecking — are appealing even to me.

If it’s not that, then there’s only one thing that I can see outright that might swing me over to weechat, if I were mired in irssi … more color. πŸ˜‰ πŸ˜€

But I’ll let you decide. Chat clients have reached a saturation point, and unless you need something extremely specific, many of them seem to be duplicating efforts. To my untrained eye, that is.

That does mean you have plenty to choose from though. And having a choice is always a good thing. πŸ˜‰

tinyirc: A contender in the ultralight division

If you can see your way through all the mis-coded characters in this screenshot, you’ll have a pretty good image of tinyirc.

2014-05-28-jk7h5f1-tinyirc

tinyirc is well within the same bracket as sic and ii, handling the job of IRC client with a fraction of the resources of some others.

tinyirc also has a much more sparse approach, when compared to things like irssi or even rhapsody. Your user name and the target server are both added as command line parameters, although I daresay you could connect to another after tinyirc starts up.

And what you see above is about all the interface I could find. If there is a way to customize that, or add color or different readouts, I missed the memo.

tinyirc, as you might have guessed from the screenshot, is available in Debian and its derivatives, but is not in Arch or AUR … and my attempts to build it from svn yielded errors.

That shouldn’t dissuade you from trying to build it though; I have a tendency to run things a little light, and that occasionally causes hiccups. πŸ˜‰

sic: Thusly was it written

I honestly have a hard time finding fault with anything that filters down from the geniuses at suckless.org. sic is another example.

2014-04-23-6m47421-sic

For a sparse Internet chat application, you can’t get much closer to the bone than sic. Well, there is ii, from the same crew, and it’s potentially sparser. But for a singular application, to the best of my knowledge sic is as-yet unbeaten.

As you can see there, sic doesn’t pretty things up. Join a channel and it’s all spilled into one stream. For some people that might be an information overload, but if you dislike switching windows (like me), it’s heaven.

sic doesn’t do a lot of things. It doesn’t have the pre-installed script-like features of scrollz, or the newb-friendly window-like interface of rhapsody. sic just does what sic does, and any more than that is frivolity. πŸ‘Ώ

I like that, strangely enough. I am torn sometimes between ultra-sparse tools like sic, and clean and complete applications like rhapsody. I think that tries to suggest something about the duality of man. πŸ˜‰

sic is in Arch and Debian, and as it appeals to those with minimalistic inclinations, that shouldn’t surprise you.

A final note: The conversion of hyperlinks you see in the screenshot is not part of sic. That’s a nifty trick for rxvt-unicode that the godlike Arch wiki taught me. πŸ˜€

scrollz: Fast, friendly and light

The man page for scrollz told me a lot more about it than I had written in my notes.

2014-04-19-j05sdg1-scrollz

A lot more than was on the home page either, although to be fair, there seem to be some domain redirection issues there. 😐

scrollz is written in C, and I’m a fan of most any program that can trace its heritage back to C … mostly because they seem to run faster and lighter than most other software. You can see that in things like cmus, mcplay, ctorrent and some others.

scrollz also boasts that it carries a lot of the features seen in IRC scripts as part of its internal structure. I am afraid I’m not enough of an IRC fan to know what those scripts are, or why they’re so great.

The features also include Blowfish encryption — which I can see the reason for — special features for IRC operators, user-friendly nick and channel completion, and some other things.

The user-friendly completion sticks out in my mind, after years of working with irssi and after only recently jumping ship to rhapsody. It’s nice to have an application prompt you for your nickname rather than just spit demeaning errors at you, and expect you to know how to fix the situation.

Egads, am I shifting back to the graphical side? 😯

Not likely. But it does mean that scrollz — kind of in the same way as rhapsody, but to a lesser degree — seems to have a less staid approach.

And I will mention that I like the status bar that scrollz employs. That, on top of a gilded tmux or screen status line would be another geek trophy.

For the moment I’m still enraptured by rhapsody, and my efforts to build scrollz in Arch were less-than-fruitful (it says I “must get working getaddrinfo()” … whatever that means). I will keep it in mind though, for future adventures

rhapsody: A menu-driven interface for IRC

It’s fun to me, to find new toys in the endless catalogues of available software.

For example, irssi is the de facto gold standard for text-only chat sessions. I have no complaints about that. But there are alternatives, a lot of which I’ve skimmed past on these pages. For the most part though, they seem to follow irssi’s lead.

But irssi’s style isn’t necessarily the best. There’s always room for improvement. So along comes rhapsody, which takes the same idea and recasts it as a menu-driven console application, rather than relying wholly on user-entered commands.

2014-04-01-lv-r1fz6-rhapsody

The greatest differences are probably obvious from watching that short movie. Where irssi and many of its cohorts expect the user to send through commands a la /connect and /join, rhapsody handles much of that through drop-down menus.

Just in that little flair, I find I like rhapsody much better than irssi. irssi has its charms and I’ve taken a lot of time to learn it, but it seems that what I’ve always been looking for was something like rhapsody.

Sorry. I just always prefer a console application that keeps the drop-down menu approach. To each his own, no?

I know, everybody has those scripts and irssi perks they like. I’m fine with that. I’m just not enough of a chat user to care if they’re available in rhapsody or not.

And I suppose it should be mentioned that rhapsody’s last release was 2005. If that matters to you, so long as a program works.

rhapsody is not in Debian but is in AUR … but the AUR version will take a little kicking to get it working, or you’ll end up with a 0.00Mb install size. It’s worth it, trust me. πŸ˜‰

profanity: An XMPP client for the console, irssi-style

I like the looks of profanity, which is a console-based jabber client that follows the style of irssi.

2014-03-14-lv-r1fz6-profanity

Now, I’m not such a huge fan of irssi that anything that comes along and has a faint resemblance is going to win a pat on the back from me.

profanity has a clean feel and obvious style to it, particularly after working with irssi, and that makes it easy to pick up.

That, and a terse user’s guide and a snazzy home page, are all bonuses in my book. The fact that it’s written in C and could probably stay afloat on a leftover Pentium is another.

I’ve run across enough instant messengers in the past year to know that some of them are quite flexible, and some are quite complex.

profanity needed no more than a nudge from me and my password to get me online and working, as you can see.

I have said it many times, but it bears repeating: A chat client is only of interest if it supports the service you subscribe to.

So perhaps this particular program will only appeal to a slender portion of the listening audience. But even if that doesn’t include you, it’s worth taking a look at. It does a lot of things right.

naim: Not quite due diligence

I’m stuck in that conundrum again, where I have a messenger that I hope to mention here, but I don’t have an account for its particular service.

2014-01-29-lv-r1fz6-naim

That’s naim, which I believe should hook up to Aim, the chat service that very proudly touts its 17-year heritage on its website.

Be that as it may, in the past 17 years I’ve never gotten an Aim account. I’d do so now, but the last time I opened an account just to show a client, I never went back to it. And for all I know, it has been expunged as inactive.

All that is immaterial. I’m willing to assume naim works as promised, and give it bonus points for color. πŸ˜‰

But short of actually connecting and using it, I’m afraid that’s as close as I can get.

The sad part is, I know there are more toys like this coming in the N section. So there will be more untestables. πŸ˜•

P.S., I should mention that installing naim gives you nicq, nirc and nlily as well, so depending on your network, this might be the tool for you.