skip to navigation
skip to content

demoshell 0.1.0

Simplified Shell for Live Demos

demoshell is a simplified shell for live demonstrations. It always shows the command prompt at the top of the screen and pushes command output down instead of letting iscroll up.


POSIX shells print their output in such a way that it scrolls up and off the top of the screen because they are using tty semantics, which are based on hardware that used to literally print everything on a roll of paper that moved up through the machine and over the top.

It’s the 21st century. We don’t use paper-based terminals any more. While continuing to pretend we do is fine for day-to-day work, when we are giving live presentations it is not ideal because the most interesting thing you are doing is probably at the bottom of your screen during a live demo. That is the hardest part of the screen for people at the back of the room to see, because it is often blocked by other people’s heads.

demoshell avoids this problem by always keeping the command prompt at the top of the screen and showing the output of commands below, pushing older commands off of the bottom of the screen to make space for newer text.

Using demoshell

Install the shell with pip3 (it works best under Python 3):

$ pip3 install demoshell

Run demoshell:

$ demoshell

Run any shell command at the prompt:

$ ls


Use exit or Ctrl-D to leave the shell.

Use clear to clear the screen.

File Type Py Version Uploaded on Size
demoshell-0.1.0-py3-none-any.whl (md5, pgp) Python Wheel py3 2018-03-11 5KB
demoshell-0.1.0.tar.gz (md5, pgp) Source 2018-03-11 8KB