From: Nuno Ricardo Loureiro Ferreira (nunolf_at_ci.uc.pt)
Date: Wed Sep 20 2006 - 13:28:55 CDT

Hi Nels

Grace also works in batch mode. Instead of calling xmgrace, try the following:
exec gracebat $output_filename -hardcopy -hdevice EPS -printfile $output_filename.eps
No need to set the display variable ;-)

Best,
Nuno
  ----- Original Message -----
  From: tnels_at_sfu.ca
  To: vmd-l_at_ks.uiuc.edu
  Sent: Wednesday, September 20, 2006 6:47 PM
  Subject: vmd-l: problem with tcl script in text mode

  hello,

  My boss found me a fix for it:

  array set env {DISPLAY localhost:10.0}

  I guess the display needs to be on for the exec xmgrace call, I dont know why, but it works so I won't ask any questions.

  ------------------------------------------------------------
  Nels Thorsteinson
  Graduate Student
  CIHR Bioinformatics Training Program for Health Research
  ------------------------------------------------------------