#include "config.h" #include "fvwmlib.h" #if HAVE_SYS_SELECT_H #include #endif #include #include #include #include #include #include #include #include #if HAVE_GETOPT_H #include #endif #include #include #include #include "../../fvwm/module.h" #ifndef HAVE_STRERROR extern char *sys_errlist[]; #define strerror(_e) (sys_errlist[_e]) #endif #define F_NAME ".FvwmCommand" #define MAX_COMMAND_SIZE 768 #define CMD_KILL_NOUNLINK "#@killme\n" #define CMD_CONNECT "#@connect" #define CMD_EXIT "#@exit\n" /* number of default arguments when invoked from fvwm2 */ #define FARGS 6 #define SOL sizeof( unsigned long ) #define MYVERSION "1.5"