Looks great! However, I would advise against the CC=cc... lines in the makefiles. They break badly when I execute the commonly-done `make CC=my_compiler`. In particular, the Makefile in sam/sam has this: CC=cc $(SYSFLAGS) Which obviously breaks when I set CC to a custom compiler. Can't SYSFLAGS be added to CFLAGS instead? On Thu, Feb 5, 2015 at 10:22 AM, Rob King wrote: > Hello everyone, > I don't know how much interest there'd be, but if anyone ever needs > to run sam standalone on *nix (that is, without plan9port), there's a > standalone version available. It's based on the original port to X11 > back in the 80s released by Lucent in 1989 or so. > > There aren't any dependencies other than Xlib/Xft, and it comes with > scalable font support, a much improved B shell command (handles multiple > instances of sam, and even better can be invoked on any machine involved > in a sam -r session, even the remote one), and a few other changes. > > So yeah, it's not sam on Plan 9, but I have to use Linux on my work > machines and can't install plan9port on them, so...there ya go. It > should work on other *nix systems too, but I don't have any to try it > out on. The code isn't pretty; I just hacked on it until I got it > working the way I wanted to, but it's been stable enough for me. > > The source is at http://www.deadpixi.com/an-updated-version-of-sam > > Please let me know if you have any questions. > > Rob > > > -- Ryan If anybody ever asks me why I prefer C++ to C, my answer will be simple: "It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was nul-terminated." Personal reality distortion fields are immune to contradictory evidence. - srean Check out my website: http://kirbyfan64.github.io/