2025-06-20 15:50:57 I wonder if there's a TK out there that sets up a socket, and you can bidirectionally receive events from the window and draw to it by issuing commands. 2025-06-20 15:51:50 I guess that's a terminal 2025-06-20 15:56:41 this is basically what is going on with a X Server / X Client, right? 2025-06-20 15:56:48 but using packets 2025-06-20 15:59:19 the sockets are in /tmp/.X11-unix 2025-06-20 16:08:58 No idea 2025-06-20 16:10:46 You are right but since you're running functions in C I didn't think it was doing that 2025-06-20 16:15:38 nmz: well, to try to more directly answer your question, I'd say one option you could look at would be send and receiving commands to an intermediary common lisp mcclim program 2025-06-20 16:16:16 you could send and receive sexps for the interface actions and events 2025-06-20 16:19:12 I know in the past I've had Emacs communicating with a lisp environment over a unix socket, I think it was common lisp 2025-06-20 16:19:53 mcclim provides a lispy interface to graphical interfaces 2025-06-20 16:20:32 What problem are you trying to solve? 2025-06-20 16:23:45 Having to use butt ugly C to write a GUI 2025-06-20 16:49:38 Not* 2025-06-20 16:50:00 I was also wondering if you could write a GUI using shellscript and how would you go about doing that 2025-06-20 22:52:59 nmz: historically that was not a thing you could do 2025-06-20 22:53:09 13:50 < nmz> I wonder if there's a TK out there that sets up a socket, and you can bidirectionally receive events from the window and draw to it by issuing commands. 2025-06-20 22:53:35 this sounds kind of like stdg: https://github.com/calebwin/stdg "stdg" provides #graphics from shell scripts (or anything else that can do text on stdin and stdout) with a simplified PostScript-like command language — but supporting interactivity! Just 1kloc of #Rust. #smallisbeautiful 2025-06-20 22:56:41 unjust also wrote a thing called glaze.c where the idea was to just present a file on the screen: https://gist.github.com/jhswartz/a1a3a9d53bf3d16edfa824ebb1b45070 2025-06-20 22:56:50 I think that's an approach that has real promise 2025-06-20 23:00:00 yeah, "just" 1kloc of rust, + 845 lines of the lockfile 2025-06-20 23:07:03 haha 2025-06-20 23:07:22 the kids are not all right