start sea server even remotely over ssh

this works on neutron instruments (account equal host)
and on linse-c
This commit is contained in:
2025-06-10 16:39:49 +02:00
parent 3e53005b92
commit bc33026b2c
6 changed files with 47 additions and 25 deletions

View File

@ -15,6 +15,7 @@
#include <sys/stat.h>
#include "instr_hosts.h"
#include "utils.h"
QPoint firstPos;
@ -27,17 +28,6 @@ const char *instr;
//char prefinstr[64]="";
char frominstr[128];
char *strtoupper(const char *str) {
static char buf[128];
int i;
for (i = 0; i < 127; i++) {
if (str[i] == 0) break;
buf[i] = toupper(str[i]);
}
buf[i] = 0;
return buf;
}
const char *fullinstr(const char *host, const char *instr) {
static char buf[128];
if (strncasecmp(host, instr, strlen(instr)) == 0) {