Comment by anthk

6 days ago

Again, don't confuse the shell (command line interpreter) with a terminal with escape codes and the like. Check how 9font does it, you get the rc shell and a few more languages with a REPL (lua ports and the like) inside a graphical window, not by emulating a VT220 terminal running the shell inside. You can freely resize the 9front's rio window manager's windows running rc (or anything else, even games, graphical browsers, images, video players...), copy, paste, cut the text, save the history, grep the contents of a window's text itself and tons more.

You are confusing the unix terminal model with specific terminals. The TTY concept doesn't mandate an 80x24 text only device. Outside of applications that specifically rely upon the existence of a directly addressable grid of characters, Unix TTYs and PTYs would work perfectly fine in a mathematica notebook style interface.

  • 9front went further; you don't need to care about TTY's and PTY's any more except for the 'vt' tool which was made OFC to connect to Unix terminals and to run some legacy software thru APE/NPE (minimal POSIX compat modules).

    The core concept of Unix weren't the terminals, but text, pipes and the orthogonal composability. rc under 9front doesn't need a terminal emulating some DEC hardware crudely. You get a shell not bound to sizes. Scripts run in the same way, but with superior editing capabilities.