DIRECTORY Commander, PlumbCommandsCommon, Rope; TermCommandImpl: CEDAR PROGRAM IMPORTS Commander, PlumbCommandsCommon ~ { TermCommandProc: Commander.CommandProc ~ { RETURN PlumbCommandsCommon.PlumbAndTermCommand[ cmd, TRUE]; }; Commander.Register[ key: "Term", proc: TermCommandProc, doc: "run a Unix process with standard streams connected to a terminal emulator -E => exec the command, -T => pass -t tty and -p pty arguments to command, -W => wait for the command to complete, -term name => the kind of terminal to emulate (default: SunConsole), &rest => command to hand to a shell (default: LocalShell)."]; }. Μ TermCommandImpl.mesa Copyright Σ 1990, 1992 by Xerox Corporation. All rights reserved. Norman Adams, March 13, 1990 3:22 pm PST. PROC [cmd: Handle] RETURNS [result: REF _ NIL, msg: ROPE _ NIL] Κ5–(cedarcode) style•NewlineDelimiter ™™Jšœ Οeœ7™BIcode™+J™—šΟk ˜ –0 bp restIndentšœ%˜%K˜——šΟnœžœžœ˜–0 bp restIndentšž˜K–0 bp restIndentšœ˜—K˜K˜šΟbœ˜*Kš žœžœ žœžœžœžœ™?Kšžœ/žœ˜;K˜K˜—šœ˜Kšœ ˜ Kšœ˜KšœΛ˜Λ—K˜Kšœ˜K˜——…—tu