https://github.com/rricharz/pidp11-2.11bsd/blob/master/Tek.pdf
https://github.com/rricharz/pidp11-2.11bsd/blob/master/Tek.odt
Tek4010 terminal emulator for Linux/X: https://github.com/rricharz/Tek4010
Other useful tools and guides for 2.11BSD: https://github.com/rricharz/pidp11-2.11bsd
Thanks Terri & Johnny.The horrible hack does start a 4010 window, but it wont display vector graphics. I just get blocks of text so I guess it is not going into graphics mode. I tried running the C files, cat on the plt files and running demo.sh
Following some of ChatGPT SWAGs, I've check on, e.g., hardware acceleration on? check. But I've now reached the point where I suspect human wisdom and experience will be far more helpful.Many thanks in advance - c.
Second, on the comment about telnet-accessible ports. You would normally
not try to setup a different tcp port for each serial port. While
doable, the syntax for that is more convoluted. But the normal is that
there is just the port you specified, and it's actually use for all the
serial ports.
Could someone point me to some documentation for this Tek emulator?
> > ; Set up the USB-to-serial ports on the RPi
> > set vh lines=16
> > set vh dhu
> > set vh nomodem
> > set vh enable
> > ;
> > ; Note that these are "shuffled" so the cabling matches the panel
> > attach vh line=0,connect=/dev/ttyUSB0
> > attach vh line=1,connect=/dev/ttyUSB1
> > attach vh line=2,connect=/dev/ttyUSB3
> > attach vh line=3,connect=/dev/ttyUSB2>
> Is there then a way to have the remaining 12 ports accessible via
> Telnet (this doesn't have to be on the frozen version of simh that the
> PiDP-11 uses - current simh or Open-simh answers are fine, too)?
If you enter SHOW VH, you should see an attach string which mentions ALL of the above attach commands.
If you start your attach commands with
attach vh 7676
(7676 or whatever tcp port you want telnet sessions to use) followed by the above additional attach commands you should get what you’re asking for. SHOW VH should confirm what is in effect.
If you enter SHOW VH, you should see an attach string which mentions ALL of the above attach commands.
If you start your attach commands with
attach vh 7676
(7676 or whatever tcp port you want telnet sessions to use) followed by the above additional attach commands you should get what you’re asking for. SHOW VH should confirm what is in effect.
Thanks. That was helpful. Now I see why it's consuming so much CPU, and
the idea behind the -fast switch.
But it also means this is easy to hook up to the PiDP-11, or any other
system, or anywhere else. Just run "screen" as the command, or start
your shell, or telnet somewhere, or even use ssh (the README.md file
really suggest some confusion on the part of the author). Running ssh is
no different than running telnet, except of course, whatever machine you
connect to also need to have an ssh server, which probably almost no old
system have...
Although in general I wouldn't recommend using a Tektronix terminal for
text processing. It's not very nice...
Terri, try adding "-am" as a switch to the attach for the terminals in
the simh ini file.
Basically:
attach -am vh 4000
And I just read through docs again. Apparently -am is only used the dz.
Why on earth the commands/flags differ between dz and dh is beyond me.
But see if that helps?
And I also downloaded and built tek4010 on my local machine just now, to
see a bit more what it is doing. And first of all, of all wonders, it
also tries to emulate the speed of serial ports. Which will work wonders
in combination with simh also trying to play that game.
But I also see what the main problem is. The code does the whole thing
wrong about how to create a subprocess and run commands. Instead of just
opening a pty and act like any normal program does, it creates pipes to
play/pretend it's a terminal. And shells, and some other programs, do
not want to play nicely with this. They expect there to be a controlling
terminal. This wouldn't be so hard to fix, but yecch!
ssh also don't like that there isn't a proper controlling terminal,
while telnet and rsh actually are stupid enough that it don't matter.
For any other program, it's the same problem/story.
So now I see what the actual problem is with this program.
For anyone who would want to fix this, it's two bits to it. One is to
just make the updating of the screen at a reasonable speed/interval, and
the other is to just open a pty instead of the crazy pipes the program
plays with.
> But it also means this is easy to hook up to the PiDP-11, or any other
> system, or anywhere else. Just run "screen" as the command, or start
> your shell, or telnet somewhere, or even use ssh (the README.md file
> really suggest some confusion on the part of the author). Running
> ssh is
> no different than running telnet, except of course, whatever machine
> you
> connect to also need to have an ssh server, which probably almost no
> old
> system have...
No pipes should be involved. The problem is exactly that a named pipe
(or two actually) are involved. The program should really just have
created a pty/tty pair, and used that for all interactions, and things
would just have worked.
Possibly also the lack of setting up stderr is a part of the problem. I
get the feeling whoever wrote that bit of code had no actual idea of how
it should be done, and just grabbed the first thing he could
find/invent/google, using all the wrong terms.
> The VT52 emulator is broken in a completely different way - you don't
> even see a window form, since it thinks there are no displays on the sys-
> tem:
>
> terry@spcpi2-host:~ $ /opt/pidp11/bin/vt52 bash pdp11
> SDL_CreateWindowAndRenderer() failed: No available displays
Do I even want to look at that one and see which way that one managed to
not do things right after I've seen tek4010?
> The tek4010 emulator is continually polling for events - essentially asking the display manager "Are we there yet?" as fast as it can - thousands of times a second.
That's a very questionable design, if you ask me... Why would anybody do that?
I think the answer is mostly "too many cooks". Which is sortof a side
effect of Oscar not being a software person himself, lots of people want
to help, and the level of knowledge between people vary...

And fully agree, of course, that there are many intrinsic pleasures in working / playing with these devices.Let me also reiterate my thanks for this discussion thread, as it has helped add a layer to my understanding of what's going on underneath the hood of the nice graphic display - i.e., code for the emulator that, shall we say, is not up to snuff. I've also learned more along the way about the relevant networking approaches, both within Raspian linux and 211BSD, and other possible sources of speed bottlenecks and performance problems.
I should also apologize - I was not having a particularly good week/weekend (as people who received direct email from me can certainly attest to)
...
I have so many projects going on that I refer to it as "juggling cats"
Then it's clearly time to inject a little humor to give a tiny bright spot for you and others that might be in a similar situation. :) If it's too soon, my apologies.
Clearly we need to have the regular which is harder "juggling cats" or "herding cats"? And what would a cat shepard be called anyway?
And should we worry about what we call it? Or are the individuals juggling cats, while the project managers are herding people that are juggling cats?
And why isn't the ASPCA involved and up in arms with all this questionable cat treatment occurring?

To view this discussion visit https://groups.google.com/d/msgid/pidp-11/SE1P216MB1447F2DC6C45C8EEB3D39FDAB16CA%40SE1P216MB1447.KORP216.PROD.OUTLOOK.COM.