-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building on Windows with Cygwin/CygwinX #20
Comments
The define is <_ _ C Y G W I N _ _>, can't get it formatted properly. |
This sounds very interesting. I know that many users would want to use tek4010 with Windows. If
|
Performance is good, not a issue. Not very experienced Windows users likeley won't be happy with this, because the whole usage is more like working on a Linux command line terminal. Cygwin just provides a POSIX compatible environment on Windows systems, so that POSIX applications can be build and used. For building of course I had to install libgtk3-devel, same as on Linux systems. For running the package procps is needed, it provides pgrep/pkill. And dbus is needed too, GTK seems to use the Freedesktop message bus system. I just launched it with dbus-launch, should be added somewhere to the X11 startup scripts probably. IMHO this is usable for anyone with Linux experience only, who just has a Windows 10 machine handy and uses Cygwin anyway on the machine. |
Did not notice any dependencies in the notes: where are pgrep/pkill and dbus used? |
In tube.c pkill is executed in system(), which fails if the package is not installed. |
@mintty said: "The tube_quit function would not be used in such an integration case anyway, no problem." |
I've build Tek4010 on a Windows 10 system with Cygwin/CygwinX. For compiling a small change in tube.c was necessary, because FIONREAD is defined in another header file than under Linux:
...
...
#include <pwd.h>
#ifdef` CYGWIN
#include <sys/socket.h>
#endif
#include "main.h"
...
...
Here are screenshots from Tek4010 running with my virtual z80pack machines. The option -autoClear is a real nice addon and allows much easier usage of the terminal from a CP/M system.
The text was updated successfully, but these errors were encountered: