From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Oct 02 2002 - 13:18:51 CDT

Hi,

> Date: 2 Oct 2002 14:10:16 -0400
> Subject: Re: Native OSX VMD version for 10.2
> From: "tom" <keyes_at_bu.edu>
>
> Hi All,
> The OS X bundle seems to work on my powerbook after upgrading to OS10.2.
> However I can't change the size of the display - dragging it produces a
> larger window but the extra area is blank white space and the display stays
> the same.

Yes, this is a bug in the current version VMD, and is likely caused by
a problem with FLTK, though we're in the process of talking to the FLTK
developers to figure out if its our code or theirs still....

> Perhaps I can change it in the vmd startup script, but with the
> 'bundle' I'm not sure where that is. In VMD.app/Contents/Resources there's
> vmd.sh that sets a default window size but I edited it with no effect.
> Setting the VMDSCRSIZE by hand has no effect.

There's a special VMDSCRSIZE setting in the startup script now that
is only used by MacOS X bundle installs. You'll find it here:

case *Rhapsody*:
case *Darwin*:
  if ($?TMPDIR == "0" ) then
    setenv TMPDIR /tmp
  endif
  set ARCH=MACOSX
  set VMD_WINTERM=xterm
  set VMD_WINOPTS='-sb -sl 1000 -e'
  ## Override default window size and position
  setenv VMDSCRPOS "400 200"
  setenv VMDSCRSIZE "512 512"
breaksw

> I assume that
> /usr/local/bin/vmd, which I have not deleted, is now out of the picture.

Yes, that is no longer relevant.

> So, how do I change the display size?

Modify the special MacOS X section of the startup script rather than
the all-platform settings. Let us know if you still need help.
With any luck we'll get this resizing problem fixed in the next few weeks.

Thanks,
  John Stone
  vmd_at_ks.uiuc.edu

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349              
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078