Files
sermo-bbs/sermo.rb
T
2026-06-05 20:33:20 +02:00

22 lines
689 B
Ruby

# frozen_string_literal: true
require 'bbs'
require_relative 'lib/sermo/sermo_os'
# SERMO-BBS — a telnet server that drops every caller into a simulated Margittai
# machine from the Neumatronic universe: it runs the dual-architecture
# power-on, loads SERMO („a Szó"), and leaves you at a green-phosphor prompt
# you can either command (digital side) or simply talk to (the Lapis-ACP).
BBS.configure do |config|
config.port = (ENV['BBS_PORT'] || 2323).to_i
config.mouse = false
config.idle_seconds = (ENV['BBS_IDLE'] || 900).to_i
end
# A caller's whole session is just the simulated machine.
BBS.config.flow = BBS::Flow.define do
os Sermo::OS
end
BBS.start