--- /dev/null
+#! /usr/bin/kermit +
+
+take /etc/kermit/kermrc
+
+set exit on-disconnect on
+
+def GUESTDIR /mnt/guests
+if def \$(GUESTDIR) assign GUESTDIR \$(GUESTDIR)
+
+local guest
+if != \v(argc) 2 -
+ exit 1 Usage: GUEST [user/]guest
+assign guest \%1
+if not match {\m(guest)} */* -
+ assign guest \v(userid)/\m(guest)
+
+pipe nc -U \m(GUESTDIR)/\m(guest)/console
--- /dev/null
+;;; ---kermit---
+;;;
+;;; Configuration and definitions for Kermit.
+
+set escape-character ^]
+set terminal trigger KERMIT READY TO SERVE...
+
+;; If my terminal is UTF8 then try to use that consistently. This may not
+;; work, but in my world as it is it's quite likely to.
+local _lc_ctype
+if not def _lc_ctype if def \$(LC_ALL) assign _lc_ctype \$(LC_ALL)
+if not def _lc_ctype if def \$(LC_CTYPE) assign _lc_ctype \$(LC_CTYPE)
+if not def _lc_ctype if def \$(LANG) assign _lc_ctype \$(LANG)
+if match \m(_lc_ctype) *.utf8 {
+ set file character-set utf8
+ set terminal character-set utf8
+}
+
+;; Guest virtual consoles are frequently presented as Unix-domain sockets.
+def UNIX {
+ if < \v(argc) 1 -
+ end 1 Usage: UNIX socket
+ pipe nc -U \%1
+}
+
+;; Synchronize remote terminal size with local window.
+def syncwinsz output stty rows \v(rows) columns \v(cols)\13
guile
rcrc
toprc
+ kermrc
mc-ini:.mc/ini mc-panels.ini:.mc/panels.ini
aspell.conf
tclshrc:.tclshrc tclshrc:.wishrc
lesspipe.sh
start-ssh-agent
svnwrap
+ guest-console
hyperspec"
[ "$xstuff" ] && scripts="$scripts
xinitcmd