Groups | Search | Server Info | Login | Register
Groups > comp.emulators.apple2 > #3900
| Date | 2024-02-10 14:32 -0600 |
|---|---|
| From | Hugh Hood <hughhood@earthlink.net> |
| Subject | Re: KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console |
| Newsgroups | comp.emulators.apple2 |
| References | <SrudnYKgUcnMTBX4nZ2dnZfqnPednZ2d@earthlink.com> <SLWdnd4cwNgbtCn4nZ2dnZfqn_SdnZ2d@earthlink.com> |
| Message-ID | <ia-cnTkFWbTpQFr4nZ2dnZfqnPSdnZ2d@earthlink.com> (permalink) |
In what I think is my final post on this topic, I've simplified greatly the method I use with KEGS when accessing the Windows 10 cygwin64 BASH shell from either ProTERM 3.1 or Spectrum. This provides both a login prompt and if successful, full access to the BASH shell on the host machine. It requires both an installation of 'socat' and 'cygwin64' (plus BASH). On KEGS, your preferred serial port is set to remote IP '127.0.0.1' and port as being '7778'. The port number can be anything, but it is best to keep it as something other applications will not use. Save the following command as a .bat file: (I call it 'startbash.bat') ******************************************************************* socat.exe TCP4-LISTEN:7778,fork EXEC:"C\:\/cygwin64\/bin\/login.exe",pty,login,setsid,stderr ******************************************************************* Note that is all one line. Just run 'startbash.bat' (or just enter the line into the command prompt window) either before or after starting KEGS, and when you're done with it, just go to the command prompt window and hit ctrl-c to end it. I suppose you also could do this as a startup item and just keep it hidden. Again, this is for Windows. For KEGS from MacOS just run socat as a daemon as Blake Patterson documented in order to access the bash shell from ProTERM 3.1 or Spectrum. Hugh Hood
Back to comp.emulators.apple2 | Previous | Next — Previous in thread | Find similar
KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console Hugh Hood <hughhood@earthlink.net> - 2023-12-24 18:48 -0600
Re: KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console Speccie <someone@somewhere.com> - 2023-12-25 08:40 +0000
Re: KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console Hugh Hood <hughhood@earthlink.net> - 2023-12-26 11:28 -0600
Re: KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console Speccie <someone@somewhere.com> - 2023-12-27 07:59 +0000
Re: KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console Speccie <someone@somewhere.com> - 2023-12-27 09:56 +0000
Re: KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console Hugh Hood <hughhood@earthlink.net> - 2023-12-27 21:16 -0600
Re: KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console Speccie <someone@somewhere.com> - 2023-12-28 08:14 +0000
Re: KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console Hugh Hood <hughhood@earthlink.net> - 2024-01-26 15:52 -0600
Re: KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console Hugh Hood <hughhood@earthlink.net> - 2024-02-10 14:32 -0600
csiph-web