问题
The user manual said that I need to
Get the source of xfig (xfig.3.2.5-alpha3.full.tar.gz) and gunzip and untar the file: Either do: gunzip -c xfig.3.2.5-alpha3.full.tar.gz | tar xvf - or gunzip xfig.3.2.5-alpha3.full.tar.gz tar xvf xfig.3.2.5-alpha3.full.tar
It also said that
There is a version of xfig ported to run on the MacIntosh under the Darwin port of XFree86.
But I didn't find how to setup the XFree86 and even the xfig since I am very new to either Mac OS or UNIX.
回答1:
The easiest way is probably to use a package manager like Macports, Fink, Homebrew etc.
For macports the steps are basically
- Install macports from the correct .dmg from here
- Install Xcode
- Update macports
sudo port selfupdate
- Check your shells have /opt/local/bin on the path before other directories
- Install the xfig port
sudo port install xfig
The other managers will have a similar set of instructions.
回答2:
When drawing a line in xfig, the right button is a cancel operation button. To end the line, you press the middle button. I'm not sure how you get a mac mouse to simulate the middle or the right button.
来源:https://stackoverflow.com/questions/11791976/how-to-setup-xfig-onto-a-mac-machine