View gist:19c55030f757ab761ce575861d469fd9
klange@luka master ~/P/w/toaru-nih$ util/ --make apps/panel.c [04/17 22:43:21]
base/bin/panel: apps/panel.c base/usr/include/toaru/yutani.h base/usr/include/toaru/drawstring.h base/usr/include/toaru/hashmap.h base/usr/include/toaru/graphics.h base/usr/include/toaru/pex.h base/usr/include/toaru/list.h base/usr/include/toaru/kbd.h base/usr/include/toaru/pthread.h | base/lib/ base/lib/ base/lib/ base/lib/ base/lib/ base/lib/ base/lib/ base/lib/ $(LC)
$(CC) $(CFLAGS) -o $@ $< -ltoaru_yutani -ltoaru_drawstring -ltoaru_hashmap -ltoaru_graphics -ltoaru_pex -ltoaru_list -ltoaru_kbd -ltoaru_pthread
klange@luka master ~/P/w/toaru-nih$ touch apps/panel.c

Note: This article is a work-in-progress.

From Boot to HTTP: A Line-by-Line Analysis

A few years ago I did a talk about ToaruOS in which I traced through the system and explained how typing in a terminal worked at each layer. ToaruOS has changed a lot since then, and the slides from that talk have become outdated. Additionally, the level of detail to which a 40-minute talk can delve is limited, but an article can go much deeper. With the recent development of ToaruOS-NIH, a completely in-house distribution of ToaruOS with all code under the NCSA license, I figured it was time to approach that challenge again.


This article is a followup to my talk at Yelp, which itself was inspired by an article that posed the following question:

class Foo(object):
a = 1
f = Foo()
f.a = 3
g = Foo()
print g.a, f.a, Foo.a # 1 3 1
Foo.a = 4
h = Foo()
print g.a, f.a, h.a, Foo.a # 4 3 4 4
View output
$ wine ./winedetect.exe
Running Wine 1.8.7 under Linux 4.9.0-4-amd64.
# encoding: utf-8
from bdflib import reader
import sys
with open('knxt.bdf','r') as f:
font = reader.read_bdf(f)
import sys
import os
import termios
import tty
from fswait import fswait
telnet_mode = False
i = 1
View gist:04537adb9ee46e60d50e2d3026f1a1f7
Found the following certs:
Certificate Name:
Expiry Date: 2017-11-13 07:54:00+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/
Private Key Path: /etc/letsencrypt/live/
Certificate Name:
Expiry Date: 2017-11-13 00:24:00+00:00 (VALID: 89 days)
set -v
qemu-system-x86_64 -cdrom toaruos.iso -m 1G -M accel=kvm:tcg -soundhw ac97 -vnc :0 &
sleep 3
xvncviewer -Shared :0 &
View gist:6fc2b99ce0392cfc403b53c15f96e354
│ ├─ata.ko
│ ├─debug_shell.ko
│ ├─vmware.ko
│ ├─ataold.ko
│ ├─zero.ko
│ ├─xtest.ko
│ ├─ac97.ko
│ ├─vgalog.ko
│ ├─packetfs.ko