Hi
On 2023-04-12 21:17, David Conners wrote:
> I'm definitely not on the console.
Ok. Sorry for making that assumption.
> The serial terminal is connected to the host device /dev/ttyUSB0 which
> is linked into the dz as per the boot.ini and shows up as /dev/tty01 inBSD
>
> your experience on dz matches mine (8 bit clean on input only).
Yeah. In a way, it would seem you might actually have had more success
if it was on the console.
This really seems to be something broken in simh. I even turned out
various debugging, and no output to the dz happens at all for characters
with the high bit set. So it would seem they get dropped in some more
core part of simh. Looking around a bit, but haven't found any smoking
gun so far.
I have this simple file that I showed before. If I do stty -pass8, the
characters are output as expected, but with the high bit stripped.
If I do stty pass8 before cat:ting the file, *nothing* comes out, and
it's almost as if simh stalls the terminal line for some time. Takes
quite a few seconds before I get the shell prompt again.
Mark, this seems such an easy thing to reproduce. Could you try it.
My file looks like this:
simh:/home/bqt> od -c test
0000000 344 366 345 \n
0000004
simh:/home/bqt>
And if I cat it on a dz line (connected to a telnet port), I get "edv"
if I don't have pass8, but get nothing if I do have pass8.
I should be getting "äöå" if I have latin-1 charset.
Hmm... Is there some clever utf-8 parsing going on in there??? Obviously
there shouldn't be. The bytes should be written to the DZ registers, and
that's the end of it, but it appears not to happen.
Johnny