On-line tutorials under UNIX

mark at umcp-cs.UUCP mark at umcp-cs.UUCP
Mon Sep 5 12:31:31 AEST 1983


I wrote a program which sits between the user and the shell for
teaching people about editors.  It works by logging the
user in again through a pseudo-tty, so it could actually
be used to teach anything about unix from the ground up.
It is a trivial two-window interface, with the top window
for commands and the bottom window being the real terminal
(requires terminals with set-scrolling-region command).
It reads a script of things to present to the user, commands
to execute as if the user typed them, and sequences of
keystrokes which the user is REQUIRED to type (if the user
types the wrong key during one of these the command window
say something like: I expected you to type 'x', you typed
'y'.  Please type 'x'."

I would be happy to mail you the source (it is only about
100 lines of C, not counting the window interface which
is about another 300 lines of C).  
-- 
spoken:	mark weiser
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!mark
CSNet:	mark at umcp-cs
ARPA:	mark.umcp-cs at UDel-Relay



More information about the Comp.unix mailing list