It's serial debugging day!

I need to get at least one of these teletypes working over RS-232 with UNIX V4 and V7 in SIMH. The SIMH docs are notoriously bad. Help would be appreciated.

#retrocomputing #vintagecomputing

@thalia uh are they multiplying
@elb You've connected your terminals to modern machines, right? What setup do you use on the Linux side for your 707 (or other RS-232 terminals)?

@thalia I have. And the answer is ... complicated. It's very hard to connect the caps-only Teletypes to modern Linux machines, because modern versions of getty (and maybe the Linux terminal driver?) no longer support case conversion. You can use older Linux distributions (perhaps which virtual machines) to achieve this; certainly up through the mid-2000s this was still supported.

1/

@thalia The Silent 703 is easier. I have a symlink on one of my machines from /etc/systemd/system/getty.target.wants/[email protected] to /etc/systemd/system/[email protected], and it Just Works for serial logins at 9600 baud (which the VT100 on that port is configured for). Other baud rates require editing the config file; copy that file and change the agetty command line (for the Silent 703, use /sbin/agetty 300 %I ti703).

2/

@thalia I didn't reply to the SIMH question because I don't rightly remember, but I don't recall it being difficult once I figured it out. You will certainly need to be in the dialout group on Debian-derived distros (or whatever passes for that on your distro), and you need to edit the simh configuration. I want to say it's something like SET DLI1 SERIAL=/dev/ttyS0, but I don't remember for sure.

3/

@thalia I know I had to read quite a few different bits of SIMH documentation, and I don't think the hints were in the PDP11 documentation at all. It turns out the PDP11 serial port stuff delegates almost all of the work to core SIMH functionality that actually supports more options than the PDP11 stuff seems to indicate. Look around in SHOW SERIAL, HELP ATTACH, SET DLI, etc. and see what you can find. I also think some of the help strings were wrong?

I realize this is not super helpful.

4/

@thalia I vaguely recall that the PiDP-11 Pi OS images had some .ini files that were helpful to me in this quest.

Final note -- your other bane will be parity! For connecting to Linux directly, agetty has no parity configuration and CLAIMS to figure it out on its own, but it's not very good at it. It can matter what key you hit first!

5/5