[OS X TeX] MF display variable

Justin C. Walker justin at mac.com
Sat Aug 4 18:29:58 EDT 2007

On Aug 4, 2007, at 13:21 , Steve Peter wrote:

> I'm back in my periodic MetaFont interest phase, but on a different  
> machine from the last time. Now, on my MacBook Pro, when I attempt  
> to run mf, I get
> hrothgar:~/Documents/Art/FontDevelopment/MetaFont speter$ mf io
> This is METAFONT, Version 2.71828 (Web2C 7.5.6)
> (io.mf
> The letter O [79]Error: Can't open display:

This is just a guess, since I'm unfamiliar with this program, but the  
error message often means the program is looking for an X display.   
You can check this by repeating the command with the environment  
variable DISPLAY defined.  For example, start up the X window  
program, and in an xterm, type "mf io".

Alternatively, with the X server running, you can type something like
   "DISPLAY=:0.0 mf io"
in a ('bash') terminal window.


Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
If you're not confused,
You're not paying attention

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the MacOSX-TeX mailing list