Linux build progress #2
Replies: 1 comment 1 reply
-
|
Hey, keeping it simple—this sounds exactly like a Canonical Mode vs. Raw Mode issue with the Linux terminal ( When you run locally ( You likely need to force the terminal into raw mode at startup when in door mode. In C on Linux, it usually looks something like this: struct termios raw;
tcgetattr(STDIN_FILENO, &raw);
raw.c_lflag &= ~(ICANON | ECHO); // Disable buffering and echo
tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);Also, double-check that Good luck with the port! Linux door logic can be a pain compared to Windows handles. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I spent the last few days adding compiler directives to the source and header files, and managed to successfully compile working Linux versions of the setup, umrc-bridge, and umrc-client programs on Linux Mint.
Problem is, umrc-client only seems to work properly in local (
-L) mode. For whatever reason, it isn't properly capturing input from the user when ran as a door. Looking into it further with my faithful testers. All other functionality works as expected, just like the current Windows build.Ideally, I'd like to understand this more before I commit any code changes, but I may go ahead and commit what I have and simply hold off on an updated release. That way, at least people who understand Linux better than I do could try their hand at compiling it themselves.
I'll post again in another day or two.
Beta Was this translation helpful? Give feedback.
All reactions