Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 140 of 807  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  1131   Mon May 9 11:30:07 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionAll Re: post box question
> is there any way to get a larger text box to type in when making a new post?
> the default box is rather small and you have to scroll up and down when
> making a new post or editing an existing one.

Message width = <number of characters>
Message height = <number of lines>
 
> can the normal text look like the html does without submitting it as html?

No. 
  1133   Mon May 9 13:12:26 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.5.8Re: elogd crashes on log out
> Since updating to version 2.5.8 we have been having problems with the elogd 
> service crashing whenever anyone attempts to log out. We are using stunnel 
> 4.09 on a Win 2k system.

This problem has finally been identified and fixed. Please download the newest
version 2.5.9-2 which contains this fix.
  1134   Mon May 9 14:46:54 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.5.9-1Re: How to remove email addresses from Guest Display?
> I would like to have the author email addresses listed only for users which
> have logged in, but not for guest users. In the elogd.cfg file I have:
> 
> Attributes = Author, Author Email, Category, Subject
> Guest Display = Author, Category, Subject, Text
> 
> But these attributes
> 
>   ID Date Author Author Email Category Subject Text
> 
> are shown also when visting the logbook as a guest. For the guests I would
> like to show only these attributes
> 
>   ID Date Author Category Subject Text
> 
> Any ideas what I am doing wrong or why this does not work?

Guest List Display = Author, Category, Subject, Text
      ^^^^

- Stefan
  1138   Mon May 9 20:47:02 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Other2.5.9Re: Version of GCC to use?
> What is the recommended version of gcc to use with elog 2.5.9?  I searched
> the discussion database but found nothing pertaining to this. 

Well, the same code compiles on gcc and on Visual C++ under Windows, so
hopefully there is no dependence on the gcc version (;-)

I use gcc 3.2.3 on Scientific Linux 3.03.
  1140   Mon May 9 20:55:36 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Other2.5.9Re: Version of GCC to use?
> I ask because I get a dependency that I did not have before with 2.5.3. 
> Compiling with my same 'ole gcc 2.95.2 I see that I now need mxml.h and
> strlcpy.h.  Trying to compile under gcc 3.4 results in all kinds of errors.

mxml.h and strlcpy.h are part of the elog tar ball. When untar'ed, they get copied
into a separate directory:

...
-rwxr-xr-x ritt/lke      15090 2005-05-09 13:09:54 elog-2.5.9/eloglang.japanese
-rwxr-xr-x ritt/lke      17587 2005-05-09 13:09:54 elog-2.5.9/eloglang.spanish
drwxr-xr-x ritt/lke          0 2005-05-09 13:09:54 mxml/
-rwxr-xr-x ritt/lke      45577 2005-05-09 13:09:54 mxml/mxml.c
-rwxr-xr-x ritt/lke       2198 2005-05-09 13:09:54 mxml/strlcpy.c
-rwxr-xr-x ritt/lke       4359 2005-05-09 13:09:54 mxml/mxml.h
-rwxr-xr-x ritt/lke        567 2005-05-09 13:09:54 mxml/strlcpy.h

I have right now no access to 3.4. Once I get it, I will address the errors
occuring there.
  1144   Mon May 9 21:17:29 2005 Agree Stefan Rittstefan.ritt@psi.chQuestionLinux | Other2.5.9Re: Version of GCC to use?
> Ok, now I see the issue - the tar extract created the mxml directory in the root (not
> under the created directory elog-2.5.9).  Is there a reason why these includes are not
> placed in the src dir like the regex.h/.c include?

Yes. I use these files in several other projects as well, and want to maintain only a
single copy. So I have

elogd-x.x.x/
elogd-x.x.x/src/
....
mxml/
mxml/strlcpy.h
mxml/strlcpy.c
mxml/mxml.c
mxml/mxml.c
...
other-project-x.x.x/
other-project-x.x.x/

So both elogd and "other-project" can use strlcpy.c and mxml.c. If I would copy it to
elogd-x.x.x/src and fix a bug there, "other-project" would use a separate copy and not
profit from the bug fix. So I would have to mainain verious copies of the same file, which
make things complicated. I compile everything also under windows, so I cannot use soft
links. If there is a better way of how to do it, please let me know.
  1145   Mon May 9 21:22:46 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Other2.5.9Re: Version of GCC to use?
[ritt@pc5082 /tmp]$ tar -xzvf elog-2.5.9-2.tar.gz
elog-2.5.9/
elog-2.5.9/doc/
elog-2.5.9/doc/adminguide.html
...
mxml/
mxml/mxml.c
mxml/strlcpy.c
mxml/mxml.h
mxml/strlcpy.h
[ritt@pc5082 /tmp]$ cd elog-2.5.9
[ritt@pc5082 elog-2.5.9]$ make
gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -o elog src/elog.c
gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -c -o regex.o src/regex.c
... skipping warnings ...
gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -c -o mxml.o ../mxml/mxml.c
gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -c -o strlcpy.o ../mxml/strlcpy.c
gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -I../mxml -o elogd src/elogd.c regex.o
mxml.o strlcpy.o
gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -o elconv src/elconv.c
[ritt@pc5082 elog-2.5.9]$

--------------
No undefined functions here. I guess you have an old Makefile? Just use the complete tar
package from the last version.
  1153   Wed May 18 19:52:41 2005 Reply Stefan Rittstefan.ritt@psi.chBug report ?Re: error message from this forum

Heiko Scheit wrote:
Just after submitting the last message, the following error message was displayed:

Error sending Email via "mailsend.psi.ch": malformed address: synergie-infcom>


Sombody used an invalid formed email address, like user<at>domain<dot>com, on which the SMTP server complained. I would like to note here that the email addresses registered in this forum are not published in any way, so there is no risk to get spam from that (except the normal elog notifications, which can be turned off easily).
ELOG V3.1.5-3fb85fa6