Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 726 of 808  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  66392   Fri Jun 12 16:59:18 2009 Question W.KosterW.Koster@rug.nlQuestionLinuxV2.7.6-219wrapping long lines in config file
Greetings,

I was wondering, is it possible to wrap lines in the config file ? 

I have to add a dropdown lost which is kinda long and typing everything on one line will make ik kinda unreadable.
Somehow wrapping the line so each entry will get on a separate line would make it much better readable. (which
makes less errors).

W.
 
  66397   Mon Jun 15 12:57:17 2009 Reply W.KosterW.Koster@rug.nlQuestionLinuxV2.7.6-219Re: wrapping long lines in config file

Stefan Ritt wrote:

What I do is to use an editor with automatic wrapping functions, like the free PSPad editor. It nicely wraps line and indicates that:



Hmmm... I have to use vi and was hoping an \ at the end of the line (before the LF) would be supported.
  148   Fri Nov 1 13:33:01 2002 Entry Willem KosterW.Koster@rc.rug.nlRequest  wrapping of text in edit field
I noticed a long url got hard-wrapped when I entered a long one, I patched 
the source code. I don't know if this was done intentionally, otherwise you 
might want to change this also.

diff elogd.c elogd.c.org 
4468c4468
<     rsprintf("<textarea rows=20 cols=%d wrap=soft name=Text>", width);
---
>     rsprintf("<textarea rows=20 cols=%d wrap=hard name=Text>", width);

BTW, why is the editor window 20 rows by 76 columns ?
(20 is fixed in the source code, but 76 is the width-variable that is set 
hard to:

  /* set textarea width */
  width = 76;

Now I don't like both parameters. 20 is too long for my display (1024x768) 
and 76 is too short. Something dynamically would be cool, but a parameter 
somewhere in a config file would also be acceptable. (just a thought, makes 
it easier to upgrade)
  149   Fri Nov 1 13:39:41 2002 Entry Willem KosterW.Koster@rc.rug.nlRequest  New ELOG entry
When I make a new entry I get an email with 

   subject: New ELOG entry

But when I or someone else changes an entry I also get an email with a 

   subject: New ELOG entry

I would prefer to see "Changed" , "Edited", or "Updated". This is beyond my 
programming capabilities so I enter this request.
  156   Thu Nov 14 12:04:09 2002 Question Willem KosterW.Koster@rc.rug.nl   Compiling elog-2.2.2 in Solaris 8
On our:
   SunOS operator 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10

I get:

% make
gcc -g -O -o elog elog.c 
Undefined                       first referenced
 symbol                             in file
socket                              /var/tmp/ccgK4x1V.o
recv                                /var/tmp/ccgK4x1V.o
gethostbyname                       /var/tmp/ccgK4x1V.o
send                                /var/tmp/ccgK4x1V.o
gethostbyaddr                       /var/tmp/ccgK4x1V.o
connect                             /var/tmp/ccgK4x1V.o
ld: fatal: Symbol referencing errors. No output written to elog
collect2: ld returned 1 exit status
make: *** [elog] Error 1


I have no idea what is going on here
  157   Thu Nov 14 12:16:49 2002 Question Willem KosterW.Koster@rc.rug.nl   Show all entries made by ME ?
In my bottom.html file I have:

<A Href="host/Forum/?mode=summary&reverse=1&npp=10&Status=Open">Open</A> 
<A Href="host/Forum/?mode=threaded&reverse=1&npp=10&Status=
Open">(Threaded)</A> /                                                   
  <A Href="host/Forum/?mode=summary&reverse=1&npp=10&Status=C
losed">Closed</A> /  
<A Href="host/Forum/?mode=summary&reverse=1&npp=10">All</A>
<A Href="host/Forum/?mode=threaded&reverse=1&npp=10">(threaded)</A> 
tickets.

This sort of implements some of the buttons you have in your whishlist.

This works, because it is the same for all users, now what I would like 
is to add some sort of linke that will "show all entries from ME". I 
could do this on a per user basis, but that's not what I want, Something 
general with $user would be preferable.

Something like:

http://midas.psi.ch/elogdemo/Forum/?mode=threaded&reverse=1&npp=8&Author=$user

Is this possible ?
  158   Thu Nov 14 13:00:24 2002 Idea Willem KosterW.Koster@rc.rug.nl   Re: Compiling elog-2.2.2 in Solaris 8
From: http://elog.sourceforge.net/

Solaris

It was reported by Martin Huber that under Solaris 7 following command must 
be used to compile elog:

gcc -L/usr/lib/ -ldl -lresolv -lm -ldl -lnsl -lsocket elogd.c -o elogd

It was also reported that the keep-alive mechanism is not working under some 
Solaris systems, so you need to start the elogd server with the "-k" flag to 
turn keep-alives off. 



Yep... does the job.
(even with 2.2.2 under Sol 8)
  159   Tue Nov 19 14:11:11 2002 Reply Willem KosterW.Koster@rc.rug.nlQuestion  Re: elog reaction is very slow
We had the same problem here. What worked in our case was:

Traffic to port 113 (identd) was blocked. Because the server didn't give any
response at all there was a time-out to which we were waiting.  Opening up
the 113 port significantly speeded things up. Even when no ident-deamon was
running on the system. (it now gets an immediate no deamon running msg, and
can go on with it's processing instead of having to wait for a time-out)
ELOG V3.1.5-3fb85fa6