View Single Post
Old 25 April 2019, 12:39   #9
kolla
Banned
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,899
Quote:
Originally Posted by Niklas View Post
I'm not quite clear on how your setup works, but perhaps one difference (?) is that on A314 there is also a shared file system
I also have shared filesystem(s) (the pi is sharing various over NFS, amiga using ch_nfs to mount them), but that is not related to the RPi script. I suppose your shared filesystem does not depend on a TCP stack or anything, but is pretty much instantly available using a custom "scsi.device" or file system handler?

Quote:
so I can do the following from a CLI:

Code:
1.PiDisk:> pi pwd
/home/pi/a314share
1.PiDisk:> makedir test
1.PiDisk:> cd test
1.PiDisk:test> pi pwd
/home/pi/a314share/test
1.PiDisk:test> pi vc ../helloworld.c -o hello
1.PiDisk:test> hello
Hello World!
So the Linux command is invoked in the RPi directory corresponding to the PiDisk-directory that you are standing in. This is also seen in this screenshot (that also shows the workbench being remoted to a web browser): https://github.com/niklasekstrom/a31...b-compiler.png. Perhaps this is also handled by your script?
Not from my script, but since I mount my home directory on the pi, /home/kolla as "kolla:" on the Amiga, all you show above I do too

Quote:
Another thing that the pi command does is that if you are running an interactive program (for example midnight commander, using "pi mc") and then you resize the CLI window, then the pty terminal size on the RPi is also updated so that the drawing is adjusted to fit the new size (as seen in these two images: https://imagebin.ca/v/4eu4h8ip28fw https://imagebin.ca/v/4eu4r8A8hZtZ).
Very cool - this is much more interesting - and this is with the Amiga not even using a TCP-stack?

The rsh command I use is limited to firing off a command and print out the result - it is not interactive, and certainly does not deal with terminal emulation etc. For this I currently log in to the pi using telnet, though since Amiga console variant of "ANSI" is rather limited, I prefer using more compliant options, like AmTelnet, or Term via telser.device.
kolla is offline  
 
Page generated in 0.06045 seconds with 11 queries