Using NEURON under UNIX/Linux

How do I compile mod files under UNIX/Linux?

 Read this. A useful tip : keep related mod files in the same directory as the hoc files that need them.

My computer has a small display. How can I change the typeface size used by NEURON's GUI?

In /usr/local/nrn/share/nrn/lib/nrn.defaults change 
   *font: *helvetica-medium-r-normal*--14* 
to 
   // *font: *helvetica-medium-r-normal*--14* 
   *font: *-helvetica-medium-r-*-*-*-100-* 
and in /usr/local/iv/share/app-defaults/InterViews change 
   *font: fixed 
to 
   // *font: fixed 
   *font: *-helvetica-medium-r-*-*-*-100-* 
   *MenuItem*font: *-helvetica-medium-r-*-*-*-100-* 
   *MenuBar*font: *-helvetica-medium-r-*-*-*-100-* 
These sizes work well on an 800x600 laptop LCD; other sizes may be better for your hardware. It may be necessary to install the 75 DPI XWindow fonts in order to have a sufficient selection of typefaces and sizes.

My program foo.hoc doesn't use graphics. How do I start it so that there is no GUI? That will allow me to log onto a computer via ssh, use nohup to start a process, log off, and the process continues.

If foo.hoc needs only the mechanisms that are built into NEURON, then instead of typing 
   nrngui foo.hoc
just type 
   nrniv foo.hoc
If foo.hoc needs something you compiled from mod files, you'll need to type
   i686/special foo.hoc
The "special" shell script launches nrniv with an argument that causes dynamic loading of the shared object that nrnivmodl created from your mod files.
An aside : The nrngui shell script not only makes nrniv load the nrngui.hoc file (which loads the GUI library and starts the NEURONMainMenu) -- it also checks to see if there is a i686/special (under Linux), and if so, executes that shell script instead of nrniv.