[COOT] How to quit from Coot script

2010-07-08 Thread Ian Stokes-Rees
I have just written my first Coot script, but I cannot get Coot to exit when 
the script completes.  I have tried variations of:

nothing
(exit)
(exit 1)
(quit)
(quit 1)

but I always end up at the coot prompt.  My script consists of about 6 lines 
which run just fine and output a bit to the terminal as they progress. When 
they finish, I am stuck with:

coot

Annoyingly from the prompt the (quit) command works fine.  In contrast, (exit) 
produces an error (something about display not found, since this is on a server 
with ssh-only access), and then dumps back to bash.

I need to embed the call to coot in another script, so it should exit when done 
to allow the wrapping script to continue.

I am calling my script like this:

$ coot --no-graphics -s foo.scm

I am sure there is an easy solution to this, however my review of the coot docs 
and some experimentation has not revealed the results.

TIA for any pointers.

Ian


Re: [COOT] How to quit from Coot script

2010-07-08 Thread Paul Emsley

On 08/07/10 06:50, Ian Stokes-Rees wrote:

I have just written my first Coot script, but I cannot get Coot to exit when 
the script completes.  I have tried variations of:

nothing
(exit)
(exit 1)
(quit)
(quit 1)

but I always end up at the coot prompt.  My script consists of about 6 lines 
which run just fine and output a bit to the terminal as they progress. When 
they finish, I am stuck with:
   


(coot-real-exit 0)


[COOT] Coot for RedHat linux

2010-07-08 Thread Young-Jin Cho
My current working computer is installed as Red Hat linux OS. Even I don't know 
what kind of computer is, but almost sure it is not a 64bit.  I was trying to 
install newest version of coot: one of main reason, I cannot download 'PDB  
Map using EDS' from PDB bank via coot.
One question is if there is alternative way to view the density map from the 
PDB bank on coot.  If not, how can I find a proper version of coot that can 
enable me to see the map and pdb file from the PDB bank.

With big thanks in advance.