From: Jorgen Simonsen (
Date: Tue Nov 22 2011 - 03:55:02 CST

Hi all,

I have written a tcl script to analysis some properties from MD run
when I execute it in the following order like this

vmd -dispdev text

and then

source script.tcl

it works fine stops after 500 frames - if I put the commands into a
bash script and like this

vmd -dispdev text < script.tcl >p.log

it quits after 5 frames and not after 500 as supposed.

How to resolve this?