A forum for Spin users
You are not logged in.
Pages: 1
`-trigraph` is a gcc option to interpret 3-character sequences such s `??<` as something else. It has nothing to do with spin. I'd add spaces around the `??` to avoid this issue.
Either way, none of this will help you to
> non-deterministically read
because you will always receive the first matching message from the channel, at least according to the spin manpage on receive.
Finally returned to this on a new M2 Mac with macOS 12.6. To fix ispin I
- installed a newish version of tcl/tk via `brew install [email protected]`
- changed line 3 to `exec /opt/homebrew/opt/tcl-tk/bin/wish "$0" -- $*`
- changed button (and incidentally other) colours beginning in line 3470 by replacing anything "-bg $NBG -fg white" in that menu and anything "-bg $NBG -fg $NFG" with "-bg $NFG -fg $NBG"
The result is a total eyesore but the buttons are legible once again.
ispin used to work for me up to the change to Mojave (10.14.5). After the update, ispin appears to be somewhat broken in that buttons aren't rendered properly: they have no labels. This is independent of whether I use dark mode.
Any help fixing this would be appreciated.
With recent versions of Xcode, spin compiles from sources without any changes to the makefile. What is required though is to install command line tools form within Xcode as described here:
http://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_4_3.html
Mac OS nowadays comes with Tcl/Tk included. Older OS X versions may need to install Tcl/Tk, however, Tcl/Tk Aqua has not been maintained since 2009. It may be more appropriate to refer to http://www.tcl.tk/software/tcltk/ instead.
Following the advice to add "cd" somewhere early in ispin.tcl has the unfortunate consequence that ispin interprets relative paths for files to open from the command line relative to the user's home rather than the current working directory.
iSpin appears to ignore the "MSC:" prefix which made xspin show selected printf output in the MSC. I always liked that xspin feature since it helped me abuse the MSC for shared variable programs. Would it make sense to port it back to ispin?
Pages: 1