pdp6
pdp6 copied to clipboard
Running pdp6 emulator from script
I'd like to run the pdp6 emulator from a script, like this:
(cd .../pdp6/emu; ./pdp6 > pdp6.log 2>&1) &
This starts the program in the background, logging output to a file. However, in this case it will not open the SDL window to display the PDP-6 console.
Secondly, pdp6 shows a > prompt waiting for input. I'm not sure I need to enter a command or not to have the PDP-6 running?
It's the call to getline() in cmd.c that does this. I guess we don't want to run the cli thread when started as a background process.
See also https://github.com/PDP-10/its/issues/1583