Artifact 4df47c5bd62a9da55922ce2bfe2e614293e92959a174287d3f9b1f2893df8c21:
- File
psl-1983/3-1/nmode/set-terminal-9836.sl
— part of check-in
[eb17ceb7f6]
at
2020-04-21 19:40:01
on branch master
— Add Reduce 3.0 to the historical section of the archive, and some more
files relating to version sof PSL from the early 1980s. Thanks are due to
Paul McJones and Nelson Beebe for these, as well as to all the original
authors.git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/historical@5328 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1293) [annotate] [blame] [check-ins using] [more...]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Set-Terminal-9836.SL (9836 Version) % % Author: Alan Snyder % Hewlett-Packard/CRC % Date: 27 December 1982 % % This file contains functions that set NMODE's terminal. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (BothTimes (load objects)) % External variables used here: (fluid '(nmode-terminal nmode-other-terminal)) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Terminal Selection Functions: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (de nmode-default-terminal () (nmode-set-terminal) ) (de nmode-set-terminal () (or nmode-terminal (ensure-terminal-type '9836-alpha)) (or nmode-other-terminal (ensure-other-terminal-type '9836-color)) ) (de ensure-terminal-type (type) (cond ((or (null nmode-terminal) (not (eq type (object-type nmode-terminal)))) (setf nmode-terminal (make-instance type)) (nmode-new-terminal) ))) (de ensure-other-terminal-type (type) (cond ((or (null nmode-other-terminal) (not (eq type (object-type nmode-other-terminal)))) (setf nmode-other-terminal (make-instance type)) (nmode-new-terminal) )))