pdp6 icon indicating copy to clipboard operation
pdp6 copied to clipboard

Running pdp6 emulator from script

Open larsbrinkhoff opened this issue 6 years ago • 2 comments

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?

larsbrinkhoff avatar Jan 15 '19 10:01 larsbrinkhoff

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.

aap avatar Jan 19 '19 10:01 aap

See also https://github.com/PDP-10/its/issues/1583

larsbrinkhoff avatar Apr 09 '19 08:04 larsbrinkhoff