Category : Modula II Source Code
Archive   : PCKERM.ZIP
Filename : PCKERMIT.MOD

 
Output of file : PCKERMIT.MOD contained in archive : PCKERM.ZIP
(* Brian Anderson *)

MODULE PCKermit;

FROM Break IMPORT
DisableBreak, EnableBreak;

FROM Terminal IMPORT
WriteString, WriteLn, Read;

FROM Shell IMPORT
dispOpts, Options, Dir, Connect, eXit, MainHelp;

FROM PAD IMPORT
Send, Receive;


VAR
Quit : BOOLEAN;
ch : CHAR;


BEGIN (* main program *)
DisableBreak; (* don't recognize Control-C *)
WriteLn; WriteLn;
WriteString ("Welcome to PCKermit -- Mainframe to Micro Communications");
WriteLn;
dispOpts;
Quit := FALSE;
REPEAT
WriteLn; WriteLn;
WriteString ("PCKermit [O, C, D, S, R, X, ?]: ");
LOOP
Read (ch);
CASE CAP (ch) OF
'O' : Options; EXIT;
| 'C' : Connect; EXIT;
| 'D' : Dir; EXIT;
| 'S' : Send; EXIT;
| 'R' : Receive; EXIT;
| 'X' : eXit (Quit); EXIT;
| '?' : MainHelp; EXIT;
ELSE
(* ignore *)
END;
END;
UNTIL Quit;
EnableBreak;
END PCKermit.

  3 Responses to “Category : Modula II Source Code
Archive   : PCKERM.ZIP
Filename : PCKERMIT.MOD

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/