ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1555
|
Tue Dec 20 09:18:19 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Info | | SVN 1579 | Shell substitution, especially interesting for running online experiments |
Shell substitution has been introduced in an experimental state of the current SVN version of ELOG. It woks such that the subsititution list can contain $shell(<argument>) commands. The <argument> is passed to the shell of the operating system and the result is captured and subsituted. This is handy for online experiments, where one wants to pass information automatically to elog. Assume that there is a file /tmp/runnumber containing the current run number of the experiment. All one needs to put the current run number in an attribute "Run number" is the following line in the configuration file:
Preset Run number = $shell(cat /tmp/runnumber)
This subsitution works also for the main text body. Following option will put a calendar of the current month into the text body:
Preset text = $shell(cal)
note that shell subsitution works both on Windows and Unix, the "cat" and "cal" commands are however only present under Unix, but "cat" can be replaced with its Windows counterpart "type". |
1556
|
Tue Dec 20 11:17:17 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Info | | 2.6.0 | Howto insert screen dumps into an elog entry |
With the new ELCode tags, one can insert screen dumps pretty easy into elog entries. I personally use HoverSnap 0.8 under Windows, there are similar tools under Linux. HoverSnap puts a "Capture.jpg" file in a selectable directoy when you press PrintScreen, then you can instert this file with the button. Here is such a screendump example:
|
1557
|
Wed Dec 21 20:24:14 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | | ELOG V26b5 | Re: duplicate & presets |
> I'm (mis)using elog as a database. I like the fact that I can have presets for fields, but I also like the fact
> that I can make a duplicate of an entry. Now when I make a duplicate, all the fields get overwritten with the
> preset-value. Is there a way to get the preset-values only on entering a NEW reord and NOT on a duplicate ?
I fixed that in the SVN revision 1583. The fix will be contained in the upcoming version 2.6.1. |
1558
|
Wed Dec 21 20:39:52 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Info | | | Re: 2.6.0-bata5 |
Carl Shirey wrote: | Do you have 2.6.0-bata5 for linux as setup for RPM install. I was able to locate the version for windows but not for linux.
Thanks for your help. |
There is a 2.6.0 out by now. |
1560
|
Wed Dec 21 20:59:26 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Info | | | Re: Proxy question |
> I'm trying to run elog 2.6.0-beta4 under Apache 2.0. I follow the directions, and everything works fine, so my
> elog runs as
>
> http://grattalab3.stanford.edu/elog/
>
> running under port 8082, with the following lines in my httpd.conf file
>
> Redirect permanent /elog http://grattalab3.stanford.edu/elog
> ProxyPass /elog/ http://grattalab3.stanford.edu:8082/
>
> This machine has an alias, which is http://exo-elog.stanford.edu. My question is, how can I run elog so that
> when someone types in this name, it brings up my elog? I know that I can make a VirtualHost entry and put a
> redirect at the document root of that virtual host, but that seems clumsy. Can I just modify ProxyPass or add a
> Redirect statement somehow?
To my knowledge you need a VirtualHost entry, plus a "URL = http://exo-elog.stanford.edu" entry in elogd.cfg |
1561
|
Wed Dec 21 23:52:27 2005 |
| Mike | mlmoore@pella.com | Question | | 2.6.0 | Compile on Windows? |
What version of Visual Studio do you use for compile Elog on windows.
I have downloaded the Tar from svn and am having some errors, but then I've go VS.Net 2003. I wondering if this was done with 6.0?
thanks |
1562
|
Thu Dec 22 01:17:12 2005 |
| PJ Meyer | pjm@pjmeyer.org | Question | | 2.6 | New docs? |
Just looked at change log for 2.6
was wondering where the documentation for the new additions/changes is/are. |
1563
|
Thu Dec 22 08:53:43 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | | 2.6.0 | Re: Compile on Windows? |
Mike wrote: | What version of Visual Studio do you use for compile Elog on windows.
I have downloaded the Tar from svn and am having some errors, but then I've go VS.Net 2003. I wondering if this was done with 6.0? |
Right now I'm using VS.Net 2003, but you should be able to compile it with 6.0, except that you have to redo the project file, which might not be backwards compatible. An alternative is to use gcc under cygwin, which is a free alternative for windows. |