Skip to content

3615 Videotex design system

MINITEL

The look, the feel and the protocol of the French Minitel, as a design system: an 8×10 bitmap font with Videotex mosaics, eight-colour tokens, 40-column layouts, CSS components, and a faithful Videotex terminal with a WebGL CRT and a 1200-baud modem.

Live terminal. Click it and type: 1…6 Suite Retour

1

Tokens

Eight colours in the Videotex attribute order. On a monochrome Minitel they become grey levels: the whole kit re-skins itself. Try it on this page.

Everything snaps to the character cell: --mt-col × --mt-row, one 8×10 glyph. Mosaic strokes are a half cell wide and a third of a row tall.

2

Type

One pixel font, four Videotex sizes. Pure CSS: font-stretch picks the double-width and double-height faces.

.mt-normalNormale
.mt-dhDouble hauteur
.mt-dwLargeur
.mt-dsTaille
!"#$%&'()*+,-./0123456789:;<=>?
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
`abcdefghijklmnopqrstuvwxyz{|}~
àâäçéèêëîïôöùûüÿœ ÀÂÇÉÈÊËÎÔÙÛ «»°£§±÷×€
←↑→↓ ▶◀▲▼ •·… ♥ ✓ ■ █▌▐▀▄ ░▒▓
🬀🬁🬂🬃🬄🬅🬆🬇🬈🬉🬊🬋🬌🬍🬎🬏🬐🬑🬒🬓▌🬔🬕🬖🬗🬘🬙🬚🬛🬜🬝
🬞🬟🬠🬡🬢🬣🬤🬥🬦🬧▐🬨🬩🬪🬫🬬🬭🬮🬯🬰🬱🬲🬳🬴🬵🬶🬷🬸🬹🬺🬻█
🬀🬁🬂🬃🬄🬅🬆🬇🬈🬉🬊🬋🬌🬍🬎🬏🬐🬑🬒🬓▌🬔🬕🬖🬗🬘🬙🬚🬛🬜🬝

The 64 mosaic characters are Unicode's Symbols for Legacy Computing sextants, so mosaic art stays real, selectable text. The second set uses the separated shape.

3

Components

A 40×25 page grid you place things on like a Videotex server would, and components for regular fluid pages. This screen is plain HTML and CSS — select the text.

3615 METEOC
METEO
3615 METEO
France entière
Prévisions du jeudi 25
  1. Aujourd'hui12°
  2. Demain15°
  3. Carte de France
  4. Bulletin marine
19°
Nice
Votre choixpuisEnvoi
4

Terminal

A Videotex decoder that follows the STUM1B: serial attributes, G0/G1/G2 sets, repetition, row 0, CSI and PRO sequences. It draws at the Minitel's native 320×250 and a WebGL shader does the tube.

// A page, built with the writer
import { Page }
  from './src/js/index.js';

const page = new Page()
  .clear()
  .header({ title: 'Météo',
            code: 'METEO' })
  .menu(["Aujourd'hui", 'Demain',
         'Carte de France'])
  .bigText(16, 24, '19°',
           { color: 'green' })
  .prompt();

page.bytes();  // for a real Minitel
terminal.write(page); // 1200 bd
5

Services

Write a Télétel service as an async function. The session echoes what users type, handles fields and function keys, and the same code can drive a real Minitel over Web Serial.

export default {
  code: 'HELLO',
  async run(session) {
    session.write(new Page().clear()
      .header({ title: 'Bonjour' })
      .print(10, 3, 'Nom :'));

    const { key, value } =
      await session.input({
        row: 10, col: 9, length: 20,
      });

    if (key === 'ENVOI') {
      session.write(new Page()
        .print(14, 3, `Salut ${value}`,
          { size: 'double' }));
    }
  },
};
3615

The demo network ships nine services, from the mosaic weather map to a snake game at sextant resolution.

6

Demos

7

Get started

No build step. One stylesheet, one optional module.

<!-- CSS: tokens, components, fonts -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/bob6664569/minitel@master/src/css/minitel.css">

<!-- Custom elements: terminal, device, keyboard, mosaics -->
<script type="module" src="https://cdn.jsdelivr.net/gh/bob6664569/minitel@master/src/js/elements/index.js"></script>

<body class="mt" data-mt-theme="color">
  <header class="mt-header">
    <span class="mt-header__code">3615 HELLO</span>
    <h1 class="mt-header__title">Bonjour</h1>
  </header>
  <mt-minitel></mt-minitel>
</body>