mirror of
https://github.com/PDP-10/its.git
synced 2026-03-02 09:56:20 +00:00
Improve MACSYMA build script.
After typing (todo) or (todoi), wait for the string ") \r" to appear. This signals the end of of a list printed right before reading new input from the console.
This commit is contained in:
@@ -82,15 +82,16 @@ proc build_macsyma_portion {} {
|
||||
respond "302615" "(load \"libmax;module\")"
|
||||
respond "303351" "(load \"libmax;maxmac\")"
|
||||
expect "307161"
|
||||
send "(todo)"
|
||||
expect "(todo)"
|
||||
sleep 10
|
||||
send "(todoi)"
|
||||
sleep 10
|
||||
expect "(todoi)"
|
||||
sleep 10
|
||||
send "(mapcan "
|
||||
expect "(mapcan "
|
||||
type "(todo)"
|
||||
expect ") \r"
|
||||
type "(todoi)"
|
||||
expect {
|
||||
") \r" {
|
||||
}
|
||||
"NIL" {
|
||||
}
|
||||
}
|
||||
type "(mapcan "
|
||||
type "#'(lambda (x) (cond ((not (memq x\r"
|
||||
type "'(SETS TRANSS MTREE TRHOOK EDLM)\r"
|
||||
type ")) (doit x)))) (append todo todoi))"
|
||||
|
||||
Reference in New Issue
Block a user