Programming without internet in 1998: BASIC, gcc, Tcl/Tk and the RFCs from the SuSE Linux 5.3 CD

Programming without internet in 1998: BASIC, gcc, Tcl/Tk and the RFCs from the SuSE Linux 5.3 CD

🌐 Leer en español

In 1998, whoever installed Linux at home hardly ever had internet: if there was any, it came by modem and by the minute. That is why distributions put everything on the CD: compilers, interpreters, books, HOWTOs and even the RFCs. With SuSE Linux 5.3 (already installed and running KDE 1.0) we tried the exercise: programming only with what is on the CD.

Programming without internet: the Tk window, Visual Tcl, the LDP and RFC 2068, all from the CD
Programming without internet: the Tk window, Visual Tcl, the LDP and RFC 2068, all from the CD

BASIC, like on a Commodore

Bywater BASIC 2.10 (1993) is a classic console BASIC, with line numbers, LIST, RUN and SAVE. The program counts from 1998 to 2026 in steps of four.

Bywater BASIC Interpreter/Shell 2.10
Bywater BASIC Interpreter/Shell 2.10
The program with line numbers, LIST and RUN: 28 years later
The program with line numbers, LIST and RUN: 28 years later

C with the compiler of the era

A hello world that prints the compiler version: gcc 2.7.2.1. The executable, linked against libc5, is 3,979 bytes.

hola.c built with gcc 2.7.2.1
hola.c built with gcc 2.7.2.1

Windows with Tcl/Tk and Visual Tcl

To make windows without fighting Xlib or Motif, the fashion was Tcl/Tk (here Tcl 7.6 and Tk 4.2): a ten-line script, nothing to compile, opens a window with a button that answers «28 years later». And if you did not want to write the interface, Visual Tcl drew it: a widget palette, a new window and an attribute editor, Visual Basic style. The CD also carried SpecTcl (from Sun), XF and XForms with its designer.

The Tcl/Tk window: «Programado sin internet en S.u.S.E. Linux 5.3»
The Tcl/Tk window: «Programado sin internet en S.u.S.E. Linux 5.3»
The button answers: 28 years later
The button answers: 28 years later
Visual Tcl: the widget palette and the attribute editor
Visual Tcl: the widget palette and the attribute editor
Visual Tcl: a new window with its widgets
Visual Tcl: a new window with its widgets

The CD library

Without internet, documentation was the treasure: the whole Linux Documentation Project in HTML, the books in /usr/doc/Books (the programmer’s, system administrator’s and network guides, the GNU C library manual), HOWTOs in several formats and the RFC package up to number 2398. There is RFC 2068, HTTP/1.1 from January 1997: with it you could write a web server without ever having seen one.

The Linux Documentation Project, from the CD, in KFM
The Linux Documentation Project, from the CD, in KFM
RFC 2068, HTTP/1.1, in the terminal
RFC 2068, HTTP/1.1, in the terminal

What was not there: GAMBAS, the visual BASIC for Linux, born in 1999 and reaching 1.0 in 2004.

Did you have this CD or the magazine? Tell us in the Telegram group: Telegram group

This post is also on our social media:

YouTube

Enjoyed it? Follow us on social media

We post new things every week: don't miss them.

YouTubeFacebookXInstagramTelegram