LISTING FOR >spec>on>11/30/82>cdc713.ctl COMPILED BY Multics LISP Compiler, Version hc9.2, June 5, 1981 ON 11/30/82 1528.8 mst Tue IN BEHALF OF Holmstedt.SysMaint.a ;;; *********************************************************** ;;; * * ;;; * Copyright, (C) Honeywell Information Systems Inc., 1982 * ;;; * * ;;; * Copyright (c) 1978 by Massachusetts Institute of * ;;; * Technology and Honeywell Information Systems, Inc. * ;;; * * ;;; *********************************************************** ;;; ;;; ;;; CDC713 control package ;;; JJL, with help from BSG 08/12/79 from VISTAR ;;; (declare (special X Y screenheight screenlinelen)) (declare (special idel-lines-availablep idel-chars-availablep tty-type)) (declare (eval (read)))(setsyntax '/^ 'macro 'hatmac) (declare (eval (read)))(defun hatmac ()(- (tyi) 100)) ; Initialize terminal and terminal control package. (defun DCTL-init () (setq idel-lines-availablep nil idel-chars-availablep nil) (setq screenheight 16. screenlinelen 79.) (setq tty-type 'cdc713) (setq X 0 Y 0) (Rtyo ^Y)(Rtyo ^X)) ; Move terminal's cursor to desired position. (defun DCTL-position-cursor (x y) (cond ((and (= x X)(= y Y))) ((and (= x 0)(= y 0))(Rtyo ^Y)) ((and (= x 0)(= y Y))(Rtyo ^M)) (t (cond ((and (< x X)(> (- X x) x)) (cond ((and (< y Y)(> (- Y y) y)) (DCTL-position-cursor 0 0)) (t (DCTL-position-cursor 0 Y))))) (cond ((< X x) (do ex X (1+ ex)(= ex x)(Rtyo ^U))) ((< x X) (do ex x (1+ ex)(= ex X)(Rtyo ^H)))) (cond ((< Y y) (do wy Y (1+ wy)(= wy y)(Rtyo ^J))) ((< y Y) (do wy y (1+ wy)(= wy Y)(Rtyo ^Z)))))) (setq X x Y y)) ; Output string. (defun DCTL-display-char-string (string) (setq X (+ X (stringlength string))) (Rprinc string)) ; Clear to end of screen. (defun DCTL-clear-rest-of-screen () (Rtyo ^X)) ; Clear to end of line. (defun DCTL-kill-line () (Rtyo ^V)) Functions Defined Name Offset Offset Name DCTL-clear-rest-of-screen 272 0 DCTL-init DCTL-display-char-string 256 42 DCTL-position-cursor DCTL-init 0 256 DCTL-display-char-string DCTL-kill-line 302 272 DCTL-clear-rest-of-screen DCTL-position-cursor 42 302 DCTL-kill-line Functions Referenced DCTL-position-cursor Rprinc stringlength Rtyo ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved