# frozen_string_literal: true require 'bbs' require_relative 'lib/sermo/dos' # SERMO-BBS — a telnet server that drops every caller into a simulated PC: # it boots, loads SERMO-DOS, and leaves you at a C:\> prompt you can talk to. 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::DOS end BBS.start