OK, so I’m back to DVTM. So far the only compelling reason I found to use TMUX in stead of DVTM was the ability to copy and paste from the terminal which DVTM didn’t allow. At least, so I though.
To copy and paste, from and xterm or the console, press and hold SHIFT and block whatever needs to be copied. Once again, to paste, hold SHIFT and press the middle button. Voila!
There is absolutely nothing wrong with TMUX though. I suspect had I started of with it that’s where my preference would’ve stayed. DVTM is just too familiar now.
I know others have reviewed it as well, but I’m cautiously optimistic about this one.
TMUX provides much of the same functionality as dvtm shown earlier, however, it has a number of features that peaked my interest.
It sports the usual multiple panes, and they are adjustable. However, it allows me to block copy text which dvtm does not allow me (at least on my installation) to do. Below is a useful bar showing the active window.
For me being able to block copy is the most useful difference between the two. If someone knows how to enable that on dvtm please let me know. Other than that both window managers are excellent.
Small update to my VoIP setup. I discovered a brilliant initiative by Voxbone. iNum offers an international phone number not linked to any geographic location, in essence, a telephone number that should follow you anywhere in the world. I quote from their web site
iNum is an initiative launched by Voxbone, supplier of local telephone numbers to communications services providers and businesses worldwide. Voxbone is a privately held company with offices in Brussels, Singapore and Los Angeles. The iNum.net website aims to inform about the iNum initiative and its members and will centralize the communication between iNum members.
Of course I jumped at the opportunity and got my free number from one of the participating VoIP providers. In my case its Localphone. They offer the usual cheap local calls to most international destinations, cheap incoming numbers and free iNums. As with some other providers they will assign you a free iNum without a purchase.
So now I have two phone numbers incoming, one from TelfreeSA for local incoming calls from friends and family, iNum for all international calls and one outgoing through Rynga.
I was very surprised, all the VoIP providers I tested are able to call my iNum, not that I tested that many. Predictably, traditional telcos here do not honour the +883 5100 numbers and fail.
So, my numbers +27 87 750 6002 (SA number so don’t call if you don’t have above mentioned or similar cheap international calling plan) and +883 5100 904 4687 iNum.
Having struggled a bit with version 1 of my VoIP system I decided a new approach was in order. Keep in mind my requirements, somewhat expanded from the initial plan:
- I need to be available regardless of my location
- No roaming charges
- I would like my cellphone number in South-Africa to reach me where ever I might roam.
- Cheaper calls than the cell provider offers would be a bonus.
- Additional phones around the house would be great too.
The above meant version 1 would’ve been perfect if only I could get chan_mobile to reliably work for extended periods of time. Since I could not quickly stop at the office to restart the bluetooth link and disruption is not really acceptable I abandoned that approach.
I spun up a droplet at Digital Oceans. It is a very cost effective virtual server apparently running on KVM offering 512 MB (I know its not a lot) and 20 GB SSD drive. Because its a VM in KVM swap space is possible making this virtual server very useful for small web hosting, and running an Asterisk server.
At the moment it is hosting this web site, my Asterisk and also has a couple of console apps making mail, gtalk and skype available from any workstation with an ssh client.
My requirements above are met the following way.
- To be available regardless of my location I acquired a free VoIP number from FreetelSA. This is the local option to South-Africa. Telfree offers a similar service to the rest of the world however, at the moment their web site seems to be down.
- Obviously, no roaming charges apply to VoIP. All I need is a cheap 3G sim card in the country I operate in. If not available there must be wifi available somewhere.
- Having my cellphone number reach me in another country on my VoIP turns out to be easier than I expected. I have a positive balance of almost R2k on my phone atm so to help me burn through those all I need to do is forward my cellphone number to the local VoIP number when the phone is not reachable on the MTN network.
- Now the cheaper calls is not really a big concern as my phone contract is much bigger than I really need. However, the contract period ends in April so I’d like to have everything in place to reduce my telco costs. I found Rynga offering 120 freedays for every 10 euros purchased. The freedays offer free calls to landlines in most countries and for all other calls local tariffs to most countries competing very favourably with anything MTN or any other local telco can provide. In addition, once my phone number with MTN was verified calls through Rynga appear to come from my cellphone number.
- Additional phones around the house are a breeze with Asterisk as I can add as many sip accounts as I want. At the moment I have one analogue phone in my study, and one VoIP account for my cellphone. I can call between the phones and receive calls.
While I still enjoy playing with my X less system I also started to play with VoIP. I put together a VM with Asterisk earlier this year to replace the functionality that our VoIP provider was offering, mostly because it is way easier to manage ourselves than to keep asking for changes at the provider. And also, they charge per VoIP number and there really is no need for each and every one of our office phones to have its own number.
Having successfully completed this I decided I’d like VoIP for myself. Specifically, my wife and I are heading off to Europe for our 2nd anniversary in June and I would like to be able to stay in contact.
Asterisk is the obvious way to go. Version 1 of my VoIP server is illustrated below:
This works quite well. A cellphone with bluetooth is paired to the PC running Asterisk, employing chan_mobile, a plugin allowing the PC to act as a bluetooth headset for the phone. I roam all over the place with my cellphone using 3G from another operator and Sipdroid as my VoIP client.
Unfortunately, the bluetooth stack, or the chan_mobile module, is somewhat temperamental depending on the bluetooth and phone combination in use. I was most successful using my trusty old Samsung D500 with a Cambridge Silicon Radio bluetooth device. Since it kept losing its mind and generating static when I answer calls I eventually decided to abandon this project. It is just too unreliable for day to day use. It might be worth pursuing at a later stage to link my cellphone to my desk phone when at the office the way it is usually used. I did however manage to use it this way for a week as my work phone (although there were a couple of crisis that resulted in somewhat flared temperaments when I couldn’t hold calls reliably).
So far it’s been very easy. One of the big obstacles I have yet to overcome is the word processor. I haven’t even started to look at spreadsheets yet.
There are a number of candidates, most notably wordgrinder.
It doesn’t offer a lot in terms of word processing, but will be able to Italicize and underline your text. Not much more. It does however export to HTML and tex which is awesome. But no, no Microsoft or Openoffice support. Not even rich text formatting.
I looked at antiword and a couple of other programs, but so far, unless you’re willing to spend some time in tex or html you’re outta luck.
The big problem is collaborative work. Unfortunately, unlike my undergrad and postgrad studies, not everyone is willing to study what appears to be a programming language in order to edit documents.
So this is one of the major points where I got stuck with using the console, collaboration with my colleagues and clients. Most only understand MS Word, and fewer know of Openoffice and Libreoffice. Our office runs on Google drive, try explaining that to them…
So if you have any great tips on word processors, please share them, as I’d like to be able to move to the console completely, if only for a couple of days.
You’re probably like me, you read your news tidbits from RSS feeds. Everything from a potential item to be purchased from gumtree to local news.
I played with nrss and canto (both very good) but eventually settled on newsbeuter.
Posted in Linux
You’re all most likely familiar with pidgin. I jumped at the opportunity to go back to an old favourite. Before switching to *nix based systems in 1997 I enjoyed chatting with my on line friends on IRC. In later years I discovered pidgin. Now, using the console there is finch, pidgin for the console.
Not only can it connect you to gtalk, but with some cunning you will have skype in your console, no X required!
xvfb-run -n 0 -s “-screen 0 800x600x16″ /usr/bin/xterm &
The above script has since been refined but you get the gist of it. Start skype in a virtual frame buffer containing a tiny X. Connect to it with pidgin-skype via dbus and voila, instant skype in the console…
The above is used on a daily basis on my virtual server hosted somewhere abroad.
As it turns out, the old favourites still exist.
Pine, alphine and mutt. They’re still around and kicking. But unfortunately, they’re handicapped by the same problems as before. Easy to configure does not help if it seems to be aimed at machines hosting your mail server.