mirror of
https://github.com/PDP-10/its.git
synced 2026-01-19 17:39:17 +00:00
12 KiB
Executable File
12 KiB
Executable File
!* -*-TECO-*-!
!~FILENAME~:! !LISPT Macros for use with TECO running as an Inferior Job to LISP.!
LISPT
!& Setup LISPT Library:! !S Assigns LISPT text sending macros to ^R commands.
Default setups:
.Z is a q-vector of macros used by LISPT
& LISPT Send Text to Superior :.Z(0)
^R LISPT DEFUN to LISP :.Z(1)
^R LISPT MACSYMA Commands :.Z(2)
^R LISPT Code - Meta-Z :.Z(3)
^R LISPT Rest - C-M-Z :.Z(4)
^R LISPT Buffered Text :.Z(5)
^R LISPT Region Deferred :.Z(6)
^R LISPT Return to DDT - ^_ :.Z(7)
LISPT COMMAND :.Z(8)
^R LISPT REGION TO LISP :.Z(9)
^R LISPT MARK CODE :.Z(10)
^R LISPT Mark DEFUN :.Z(11)
^R LISPT Mark MACSYMA Command :.Z(12)
pointer to *LISPT* buffer :.Z(13)
q-vector of macros for superior :.Z(14)
pointer to current receive buf. :.Z(15)
!
20*5 FS Q VECTOR U.Z
M.M &_LISPT_SEND_TEXT_TO_SUPERIOR U:.Z(0)
M.M ^R_LISPT_DEFUN_to_LISP U:.Z(1)
M.M ^R_LISPT_MACSYMA_COMMANDS U:.Z(2)
M.M ^R_LISPT_Code U:.Z(3)
M.M ^R_LISPT_Rest U:.Z(4)
M.M ^R_LISPT_Buffered_Text U:.Z(5)
M.M ^R_LISPT_Region_Deferred U:.Z(6)
M.M ^R_LISPT_Return_to_DDT U:.Z(7)
M.M &_LISPT_Command U:.Z(8)
M.M ^R_LISPT_Region_to_LISP U:.Z(9)
M.M ^R_LISPT_MARK_CODE U:.Z(10)
M.M ^R_LISPT_Mark_DEFUN U:.Z(11)
M.M ^R_LISPT_Mark_MACSYMA_Command U:.Z(12)
FS B CONS U:.Z(13)
20*5 FS Q VECTOR U:.Z(14)
FS B CONS U:.Z(15)
!* setup command dispatch table for requests from superior!
Q:.Z(14) [C -1[0 20 <:I* U:C(%0)> ]0 !* initialize all slots to null!
M.M &_LISPT_READ_JCL U:C(1)
M.M &_LISPT_EDIT_TEXT U:C(2)
M.M &_LISPT_Select_Write_Buffer U:C(3)
M.M &_LISPT_READ_TEXT U:C(4)
M.M &_LISPT_COMMAND_RECEIVER FS SUPERIOR
]C
!* These are usually wanted!
M.M ^R_LISPT_CODE U...Z
M.M ^R_LISPT_REST U..Z
M.M ^R_LISPT_Return_to_DDT U._
M.M ^R_LISPT_REGION_To_LISP U:.X()
M.M ^R_LISPT_MARK_CODE U:.X(
!~FILENAME~:! !LISPT Macros for use with TECO running as an Inferior Job to LISP.!
LISPT
!& Setup LISPT Library:! !S Assigns LISPT text sending macros to ^R commands.
Default setups:
.Z is a q-vector of macros used by LISPT
& LISPT Send Text to Superior :.Z(0)
^R LISPT DEFUN to LISP :.Z(1)
^R LISPT MACSYMA Commands :.Z(2)
^R LISPT Code - Meta-Z :.Z(3)
^R LISPT Rest - C-M-Z :.Z(4)
^R LISPT Buffered Text :.Z(5)
^R LISPT Region Deferred :.Z(6)
^R LISPT Return to DDT - ^_ :.Z(7)
LISPT COMMAND :.Z(8)
^R LISPT REGION TO LISP :.Z(9)
^R LISPT MARK CODE :.Z(10)
^R LISPT Mark DEFUN :.Z(11)
^R LISPT Mark MACSYMA Command :.Z(12)
pointer to *LISPT* buffer :.Z(13)
q-vector of macros for superior :.Z(14)
pointer to current receive buf. :.Z(15)
!
20*5 FS Q VECTOR U.Z
M.M &_LISPT_SEND_TEXT_TO_SUPERIOR U:.Z(0)
M.M ^R_LISPT_DEFUN_to_LISP U:.Z(1)
M.M ^R_LISPT_MACSYMA_COMMANDS U:.Z(2)
M.M ^R_LISPT_Code U:.Z(3)
M.M ^R_LISPT_Rest U:.Z(4)
M.M ^R_LISPT_Buffered_Text U:.Z(5)
M.M ^R_LISPT_Region_Deferred U:.Z(6)
M.M ^R_LISPT_Return_to_DDT U:.Z(7)
M.M &_LISPT_Command U:.Z(8)
M.M ^R_LISPT_Region_to_LISP U:.Z(9)
M.M ^R_LISPT_MARK_CODE U:.Z(10)
M.M ^R_LISPT_Mark_DEFUN U:.Z(11)
M.M ^R_LISPT_Mark_MACSYMA_Command U:.Z(12)
FS B CONS U:.Z(13)
20*5 FS Q VECTOR U:.Z(14)
FS B CONS U:.Z(15)
!* setup command dispatch table for requests from superior!
Q:.Z(14) [C -1[0 20 <:I* U:C(%0)> ]0 !* initialize all slots to null!
M.M &_LISPT_READ_JCL U:C(1)
M.M &_LISPT_EDIT_TEXT U:C(2)
M.M &_LISPT_Select_Write_Buffer U:C(3)
M.M &_LISPT_READ_TEXT U:C(4)
M.M &_LISPT_COMMAND_RECEIVER FS SUPERIOR
]C
!* These are usually wanted!
M.M ^R_LISPT_CODE U...Z
M.M ^R_LISPT_REST U..Z
M.M ^R_LISPT_Return_to_DDT U._
M.M ^R_LISPT_REGION_To_LISP U:.X()
M.M ^R_LISPT_MARK_CODE U:.X(