A terminal multiple window manager
Linux Format|March 2021
You can’t use the mouse or run multiple windows in a text environment… unless you’re Shashank Sharma and know just the right tool for the job.
Shashank Sharma
A terminal multiple window manager

Terminal emulators and a text environment are quite different. For one, you don’t have the luxury of using a mouse on a text environment, and you can’t run launch multiple windows. Try one of your virtual terminals by pressing Alt+Ctrl+F1. The subject of this tutorial is Twin, which enables you to launch multiple windows in a text environment.

Twin (Textmode WINdow environment) is a window environment with mouse support and features a window manager and terminal emulator. It’s different from tmux, which enables you to split your terminal into different panes and perform a variety of different tasks in each. In a nutshell, Twin is no different than having multiple windows open simultaneously on a graphical desktop environment.

For those of you who worked with DOS, back in the 80s, and before the release of Windows, DESQview was quite a rage for a brief period of time. Users were able to run multiple windows at the same time. Twin brings the same functionality to your Linux distributions.

Getting started

You won’t find Twin in the software repositories of Linux distributions. This means that you must install it by compiling its source. First, there are a number of packages that you must install to ensure that Twin runs smoothly. Thankfully, all of its requirements can be installed using the software management tool on most modern desktop distributions.

You need to install the x11-dev, ncruses-dev, zlib-dev. xpm-dev and gpm-dev packages. The exact name of the package will vary depending on your distribution. For instance, on Ubuntu, you can install these packages with the following command:

sudo apt install libx11-dev libxpm-dev libncurses-dev zlib1g-dev gpm libgpm-dev

Denne historien er fra March 2021-utgaven av Linux Format.

Start din 7-dagers gratis prøveperiode på Magzter GOLD for å få tilgang til tusenvis av utvalgte premiumhistorier og 9000+ magasiner og aviser.

Denne historien er fra March 2021-utgaven av Linux Format.

Start din 7-dagers gratis prøveperiode på Magzter GOLD for å få tilgang til tusenvis av utvalgte premiumhistorier og 9000+ magasiner og aviser.

FLERE HISTORIER FRA LINUX FORMATSe alt
Create your first WebSocket service
Linux Format

Create your first WebSocket service

Mihalis Tsoukalos explains how to use the Go programming language to work with the WebSocket protocol.

time-read
9 mins  |
April 2023
Fantastic Mr Firefox
Linux Format

Fantastic Mr Firefox

Nick Peers takes a trip down memory lane to reveal the story behind the rise - and slight fall - of Mozilla's popular web browser.

time-read
9 mins  |
April 2023
Set up your terminal and email like it's 1983
Linux Format

Set up your terminal and email like it's 1983

Jump in the hot terminal time machine with Mats Tage Axelsson who emails from the command line using the latest technology.

time-read
8 mins  |
April 2023
Universal layer text effects with GIMP
Linux Format

Universal layer text effects with GIMP

Posters use them, films and presentations are hard to imagine without them: text effects. Attract attention with Karsten Günther and GIMP.

time-read
8 mins  |
April 2023
Jump to a federated social network
Linux Format

Jump to a federated social network

Nick Peers reveals how you can get up and running with this free, decentralised and non-profit alternative to Twitter.

time-read
9 mins  |
April 2023
Free our SOFTWARE!
Linux Format

Free our SOFTWARE!

Taking anything for granted is dangerous, so Jonni Bidwell and Mike Saunders revisit how the free software movement got started to help free us from proprietary tyranny!

time-read
4 mins  |
April 2023
Master RPI.GPIO
Linux Format

Master RPI.GPIO

Les Pounder goes back to the early days of the Raspberry Pi - and his career with this classic library! -

time-read
5 mins  |
April 2023
Waveshare Zero to Pi3
Linux Format

Waveshare Zero to Pi3

Transform your Pi Zero into a Pi 3, they promised Les Pounder, but it's more like adding on go-faster stripes.

time-read
2 mins  |
April 2023
The Best OPEN SOURCE Software Ever!
Linux Format

The Best OPEN SOURCE Software Ever!

In an attempt to trigger controversy, Michael Reed and Neil Mohr unequivocally state these are the greatest free software apps ever. Probably. We’re just trying to be helpful.

time-read
10+ mins  |
April 2023
Linux-Mandrake 7
Linux Format

Linux-Mandrake 7

Simplicity and a wide range of applications make this a great distribution for all Linux users.

time-read
2 mins  |
April 2023