I think all you need is a little perl script that takes your system input, wraps it with those two bits, and spits it out. Surely Linux can do this.
On Thu, Oct 1, 2015 at 7:45 AM, MPI <mpi...@gmail.com> wrote: > Hi Robert, > > Thanks. Jmol can take scripts or commands but this is not what I want. > > It would be very helpful if you can set up another flag to let Jmol > take a structure from a pipe like ' - ' in linux systems > > cat foo.pdb | jmol -FLAG - > > > Thank you very much. > > Dwey > > > > >Just wrap your system input with > > >load DATA "mydata" > >.... > >END "mydata" > > >I think that can be done using pipes, right? If not, I could set up a flag > for that. > > > > On Wed, Sep 30, 2015 at 3:05 PM, MPI <mpi...@gmail.com> wrote: > > > Hi Robert and Angel, > > > > Thansk for the hints. > > > > This is NOT what I am looking for. > > > > I want to pipe a structure input ( such as a pdb file, NOT script ) to > > Jmol. > > > > Jmol -I allows piping of "script" input from System.Input. > > > > But I am looking for piping of a structure input > > > > something like > > > > cat foo.pdb | jmol - > > > > > > Thanks, > > Dwey > > > > > > > > > > > > > > > > > -I,--input allow piping of input from > System.Input > > > > > > >see > > > > >java -jar Jmol.jar -h > > > > > > On Wed, Sep 30, 2015 at 1:07 PM, Angel Herr?ez <angel.herraez@...> > wrote: > > > > > Hi Dwey > > > > > > I have no experience with bash, but there used to be several batch > files > > > to start Jmol from command lines, maybe one of them gives you a hint. > > > > > > The files were included in the Jmol distribution package, before JSmol. > > > So you can either download an old version or go to the source, i.e. > > > https://sourceforge.net/p/jmol/code/HEAD/tree/trunk/Jmol/ > > > > > > "jmol" pr "jmol.sh" might be what you need? > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Jmol-users mailing list > > > Jmol-users@... > > > https://lists.sourceforge.net/lists/listinfo/jmol-users > > > > > > > > > > > > -- > > Robert M. Hanson > > Larson-Anderson Professor of Chemistry > > Chair, Department of Chemistry > > St. Olaf College > > Northfield, MN > > http://www.stolaf.edu/people/hansonr > > > > > > If nature does not answer first what we want, > > it is better to take what answer we get. > > > > -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Jmol-users mailing list > > Jmol-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jmol-users > > > > > > -- > Robert M. Hanson > Larson-Anderson Professor of Chemistry > Chair, Department of Chemistry > St. Olaf College > Northfield, MN > http://www.stolaf.edu/people/hansonr > > > If nature does not answer first what we want, > it is better to take what answer we get. > > -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > > ------------------------------------------------------------------------------ > _______________________________________________ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users > -- Robert M. Hanson Larson-Anderson Professor of Chemistry Chair, Department of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users