3 ms·
Is it possible to run sam without loading a graphics layer? As far as I know one cannot run Plan9 in "VGA text mode". If trying run sam on an OS other than Pl
by pwdisswordfish2 6y ago
Is it possible to run sam without loading a graphics layer? As far as I know one cannot run Plan9 in "VGA text mode". If trying run sam on an OS other than Plan9, does sam require a graphics layer, e.g., X11? Last I checked, it does. If this has changed, I am interested.
- marttt 6y agoIndeed, the Plan9 ecosystem itself (including its Linux port, plan9port) is heavily built around GUI and a mouse. Sam alone, however, can be compiled for command line only, without X11 support under Linux. This has been done in the 9base package: https://git.suckless.org/9base/file/sam/Makefile.html https://git.suckless.org/9base/file/sam/Makefile.html https://tools.suckless.org/9base/ https://tools.suckless.org/9base/ There is also an updated Linux version of Sam alone, without any other P9 tools. I suppose this should also be trivial to build without X11 support: https://github.com/deadpixi/sam/ https://github.com/deadpixi/sam/
- pwdisswordfish2 6y agoI will investigate this. Thank you for setting me straight. The discussion of this GUI dependency came up years ago on HN and someone who worked at Bell Labs now at Google basically said, in so many words, "sam without the mouse is not sam".
- marttt 6y agoVery interesting, I was not aware of this. I see what he/she meant, but I would add "sam without the mouse is not sam, but it is still superior to ed in many ways". :) A link to that discussion would be great (if you manage to find it).