Appreciate all the ideas here. I'll see if I can get anywhere with the idea of using either CloudT or VirtualT's socket interface.
-George On Tue, Dec 23, 2025 at 2:10 AM Joshua O'Keefe <[email protected]> wrote: > On Dec 22, 2025, at 9:56 PM, Kenneth Pettit <[email protected]> wrote: > If you want to try it, it *might* work on Windows as is (I don't know, > haven't used Windows for 15 years or so). On linux in src/remote.cpp I had > to add code to strip any trailing \r\n in the process command function > prior to assigning to 'cmd' variable, then it started working: > > std::string process_command(ServerSocket& sock, char *sockdata, int len, > int console=FALSE) > { > ... > > while (sockdata[len-1] == '\r' || sockdata[len-1] == '\n') > sockdata[--len] = 0; > > std::string cmd = sockdata; > ... > } > > > A big thank you, Ken, for the snippet. I've committed it to my repo just > to keep things up to date. I have no reasonable way to test this under > Windows myself — setting up some kind of build environment under WINE is > way down the 'round to it list — but if nothing else I'll hang on to this > fix. > >
