Re: [M100] Dockerized TPDD access to storage server

2020-03-13 Thread John R. Hogerhuis
On Fri, Mar 13, 2020 at 4:59 PM Joshua O'Keefe wrote: > On Fri, Mar 13, 2020 at 4:14 PM Jim Anderson wrote: > >> I'm really unclear on what this gets you vs. just leaving LaddieAlpha >> running in a screen session or whatnot. >> > > As a pretty old school UNIX guy myself, it took me quite a long

Re: [M100] Dockerized TPDD access to storage server

2020-03-13 Thread Joshua O'Keefe
On Fri, Mar 13, 2020 at 4:14 PM Jim Anderson wrote: > I'm really unclear on what this gets you vs. just leaving LaddieAlpha > running in a screen session or whatnot. > As a pretty old school UNIX guy myself, it took me quite a long while to warm up to the benefits of containerization. In the sp

Re: [M100] Dockerized TPDD access to storage server

2020-03-13 Thread Jim Anderson
> -Original Message- > > $ docker run -d --name "laddiealpha" --device=/dev/ttyUSB0 - > v"$HOME/model100":/mnt frolvlad/alpine-mono sh -c "cd /mnt/stash && apk > add setpriv && setpriv --reuid $UID --regid $UID --clear-groups mono > /mnt/LaddieAlpha.EXE /dev/ttyUSB0 6" > > > 5. Enjoy! >

Re: [M100] Dockerized TPDD access to storage server

2020-03-12 Thread Joshua O'Keefe
> On Mar 11, 2020, at 5:50 PM, Joshua O'Keefe wrote: > > 4. The magic: Amending this to include my tweak to make sure the LaddieAlpha process runs as "you" rather than as root or your docker user. I had left it out in my previous message. $ docker run -d --name "laddiealpha" --device=/d

Re: [M100] Dockerized TPDD access to storage server

2020-03-11 Thread Joshua O'Keefe
> On Mar 11, 2020, at 6:15 PM, John R. Hogerhuis wrote: > > The reason I chose c# is it gives me full portability across windows, osx and > Linux. And I confirmed it even runs on a raspberry pi. So it's not too heavy. Me being set in my ways should in no way reflect on your toolchain choices

Re: [M100] Dockerized TPDD access to storage server

2020-03-11 Thread John R. Hogerhuis
I think I just apt-get install mono-complete or something like that. Even old moldy versions work because it was designed for compatibility with .net 2.0 originally. The reason I chose c# is it gives me full portability across windows, osx and Linux. And I confirmed it even runs on a raspberry pi.

Re: [M100] Dockerized TPDD access to storage server

2020-03-11 Thread Tom Wilson
That's a good idea... I use a NUC as a storage server. I will set up a LaddieAlpha instance on the NUC. Between the cable on the USB serial interface and the 6 foot null modem cable I've got (Fry's had a female DB25 to male DE9 null modem cable. Handy.), I have like 18 feet of cord... that will re

[M100] Dockerized TPDD access to storage server

2020-03-11 Thread Joshua O'Keefe
I finally got around to playing with LaddieAlpha today. I had been putting it off and sticking to dlplus as the runtime requirement for Mono was a bit off-putting for a UNIX bigot like myself. But eventually I wanted access to directories. I like to leave my TPDD emulator up and running at all t