1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-16 16:28:40 +00:00

Work around a Mac OS X/BSD bug requiring expect to send two \0 characters in a row.

This commit is contained in:
Derek Peschel 2019-05-21 11:00:27 -07:00
parent acdd4231cb
commit 38d6fac012

View File

@ -1439,7 +1439,10 @@ respond "*" ":stinkr\r"
respond "=" "x c/clib\r"
respond "=" "l sysen2/oinit.stk\r"
respond "=" "o sys3/ts.oinit\r"
respond "=" "\0"
# Use the ^_ octal-input feature of ITS to send \0. The space ends the
# octal digits without ITS passing it through to the program. Using octal
# input works around Mac OS X and BSD which require literal \0s to be doubled.
respond "=" "\0370 "
expect ":KILL"
# Versatec spooler