Text Mode
Introduction
Today is may seem strange, but the computer started in text mode only, and many of use are still using it like that. Contrary to popular belief, a text mode computer is completely usable. The purpose of this page is precisely to give a certain number of pointers as to what software to use for common tasks. If you want to work in several windows at the same time, that is also possible - see below.Text mode is the best way to reclaim any old hardware too feeble to run graphic mode. It can be an old 386, or a simple raspberry.
I work on unices, so this page basically assumes that. However, I switch between Linux, FreeBSD and NetBSD; to the best of my knowledge what is written here is valid on at least those 3 (unless otherwise specified) and hence most likely on most unices (certainly OpenBSD, DragonFly, etc).
Text editing
A lot of our time on the computer is spent writing, and there is a reason it is called text mode. After all, the best editor is the one that suits your need, whatever they might be. So no editor war here. Text editors ultimately fall into one of three categories: emacs, vi or wordstar (clone), in alphabetic order :-)- emacs basically does everything AND the proverbial kitchen sink. It may or may not be on the system.
- vi is the default editor on unix system, which is why it is my favorite. Once you know how to use it, you can go on any system: there will always be a vi available. That said, when available I go for vim, which is vi improved, and well, it lives up to its name.
- wordstar _THE_ wordstar clone is JOE. There is also something called WordTsar which I only mention for the aweful pun because afaik it only runs on linux and windows.
Text processing
By text processing, I mean changing the result of the text editing into something else.You will hear about troff and a2ps or ps2pdf, but these days the easiest is definitely pandoc which does dozens of formats, including markdown, doc, html or pdf.
Messaging
Another area which exploded with the computer before migrating to the phone is of course communication.- email: Let's start at the beginning: email. I use a combination of exim/fetchmail and alpine as a local editor.
mutt is the default on many linux systems, but I've been using pine (as it was before <insert long story here>), and so there.
- deltachat has a python text-mode client. which works quite well, even if many functionalities are missing.
- signal: the client is intuitively named gurk (!) (or gurk-rc on FreeBSD)
- telegram: deltachat has a bridge for telegram, so you can use that, or you can use nchat which works really well
- whatsapp: I don't do whatsapp, but nchat does signal, telegram and whatsapp. However, that's on linux only. On the *BSD, it only does telegram
- fediverse: plenty there: tut, toot, Mastui, mstdn, but tut is the king.
Browsing
- lynx, links(2),Elinks, w3m, hv3 are the usual suspects for html. Netrik has very few dependencies an compiles anywhere.
- offpunk is your go-to for gemini, but it also does the web and a lot more (gopher, etc)
Sound
- gst123 will happily play anything supported by the gstreamer library, ie flac, mp3, even mp4.
- ffmpeg: THE swiss army knife for anything sound or video. will transform pretty much any AV format into any other.
Misc
Multitasking is perfectly possible in text mode. The easiest way is just to use <alt>-<FctKey> and you open a new session. But there are many other ways.- screen has been around for a while and is one of my favorite. It allows you to detach the shell you're working in from the session. Most people today working on their own computers might not se the point, but I worked for years on big machines to which I connected (usually via a phone line), and the ability to quit a session and then resume it later was priceless. Imagine you launch a job that takes 3 days... I still use it today to launch background process like http server, etc.
- termux does basically the same thing and more. Much more recent, many more options.
- mc: mc is a clone of the norton commander of dos days. It gives the famous 2-panel interface and makes your life way easier in terms of moving files around or HD cleaning. Another good candidate is nnn.
I hope this brief list showed you you can perfectly work on machine with no graphical interface. Countless people still do it today, be it because they are working on remote machines with suboptimal connection conditions, or just because they decided to keep using that old machine until it dies :-)
[Top]
