supdup
supdup copied to clipboard
Community maintained SUPDUP client for Unix
FWIW, this (#23 and #22) breaks on OpenBSD. Mostly due to the fact that -lresolv doesn't exist there (nor on some other BSDs), normally these days the libresolv stuff is...
```c supdup.c: 1417: strcpy(myloc,loc); /* save */ ``` ```c #ifdef __OpenBSD__ strlcpy(myloc,loc, sizeof(myloc)); /* save */ #else strcpy(myloc,loc); /* save */ #endif /* __OpenBSD__ */ ``` ~`strlcpy` is [widely supported](https://sourceware.org/glibc/wiki/strlcpy)...
* [supdupd.c, line 1238, col 17](https://github.com/PDP-10/supdup/blob/a7683e14034f5efb5cf9c53a9303af8971fce4e7/supdupd.c#L1238): _warning_: The result of the left shift is undefined because the left operand is negative `[core.UndefinedBinaryOperatorResult]` ``` count = -((-1
See [RFC 746](https://tools.ietf.org/html/rfc746), *The SUPDUP Graphics Extension*.
I noticed that both the Knight and Stanford keyboards has Ƶ rather than Z. And the Knight TV font also uses this form. So in a way it would be...
Maybe an extension to send Unicode characters? UTF-8 might not fit well with the SUPDUP protocol. I have an actual application in mind: A Swedish adventure game. PDP-10/its#659
This supdup implementation could be enhanced to accept the SIGWINCH signal when the terminal size changes. But I'm not sure there's a way in the SUPDUP protocol to send this...