Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 609 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  1414   Tue Sep 13 13:33:59 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.0-betaRe: Long lines in printout
Your problem is related with the fact that I changed the formatting from fixed font to proportional font ("ELCode"). This gives you three options:

  • Enter your elog entries in "plain" text, which brings you back to the old mode
  • Change the page setup of your browser. Mozilla Firefox has File/Page Setup/Shrink to fit page and left and right margin
  • Reduce the entry window via the config setting "Message width"
  1444   Mon Oct 10 19:22:51 2005 Warning Exaos LeeExaos.Lee@gmail.comBug reportMac OSX2.6.0-betaInstall error on MacOS X
Executing "make" on MacOS X is OK, but "make install" failed due to the following error:
/usr/bin/install -m 0755 -d /usr/local/bin /usr/local/sbin /usr/local/man/man1/ /usr/local/man/man8/
/usr/bin/install -m 0755 -o bin -g bin elog elconv /usr/local/bin
install: bin: Invalid argument
make: *** [install] Error 67

The reason is that the account "bin" and group "bin" are missing on MacOS X. I also found that the following lines in "Makefile" doesn't work:
ifeq ($(OSTYPE),darwin)
CC = cc
endif

I have fixed this problem. The diff of Makefile as following:
diff Makefile.darwin Makefile.origin
====================================
24,25d23
< BINOWNER = bin
< BINGROUP = bin
30,31d27
< OSTYPE = $(shell uname)
<
40,43d35
< ifeq ($(OSTYPE),Darwin)
< OSTYPE=darwin
< endif
<
46,47d37
< BINOWNER = root
< BINGROUP = admin
89,90c79,80
<       $(INSTALL) -m 0755 -o ${BINOWNER} -g ${BINGROUP} elog elconv $(DESTDIR)
<       $(INSTALL) -m 0755 -o ${BINOWNER} -g ${BINGROUP} elogd $(SDESTDIR)
---
>       $(INSTALL) -m 0755 -o bin -g bin elog elconv $(DESTDIR)
>       $(INSTALL) -m 0755 -o bin -g bin elogd $(SDESTDIR)


The modified Makefiles have been attached.
  1451   Thu Oct 13 10:56:29 2005 Reply Bertram Metzbmetz@sbs.comQuestionLinux2.6.0-betaRe: Long lines in printout
Hi Stefan,
I tried your suggestions with 'page shrinking' and 'message width', but they didn't help. What I do not understand is why this problem occurs only if the message text is formatted as plain text. The lines are printed correctly, if the text is formatted as EL code or as HTML.

It is of course possible to format new entries in EL code or HTML, but we have a lot of existing entries, which are formatted as plain text.

Kind regards,
Bertram
  1452   Thu Oct 13 11:19:09 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.0-betaRe: Long lines in printout
Ok, I found the problem. In the default.css file, you will find a section
.messagepre {
  font-family:'lucida console',courier,monospace;
  font-size:10pt;
}

Just go and delete the line with the font-size, this should fix your problem. If the font-size is fixed, the browser cannot resize the text to fit into your printing page. I still have problems with IE, but with Firefox it works fine if you select Shrink to fit page width on the page setup.
  1454   Thu Oct 13 13:27:02 2005 Reply Bertram Metzbmetz@sbs.comQuestionLinux2.6.0-betaRe: Long lines in printout
The lines are still cut, if printed on paper.
I played again with the 'message width' parameter, which actually the key parameter in my problem. I saw in the source, that the default value is now 112, but it was 76 in the elog version we'd used previously (V2.5.2). If I set 'message width' to 76 again, it works fine for new entries!
I wrote in the previous reply, that changing 'message width' didn't help. That seems to be the case for entries, which are re-submitted. For new entries it works.

Bertram
  1455   Thu Oct 13 13:51:55 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.0-betaRe: Long lines in printout

Bertram Metz wrote:
The lines are still cut, if printed on paper.


Are you sure? After you change the CSS file, you have to reload the page. I just tried with the very long entry from this thread and got in the Firefox preview window the picture which I attached. The font size of the text body is shrunk such that all lines (except the one very long line) fit on the paper.
  1458   Thu Oct 13 17:45:58 2005 Reply Bertram Metzbmetz@sbs.comQuestionLinux2.6.0-betaRe: Long lines in printout
You're right. I don't know what I've tested this afternoon Wink
Without the fixed font the text might get very small, if the line is too long.
I think we'll set 'message width' = 76.

Thanks a lot Stefan!
  1523   Mon Nov 21 11:49:52 2005 Warning Alex Halex@synergie-inf.comBug reportWindows2.6.0-betaUndesirable TAG { }
Hi, I'am using ELOG v2.6.0-beta1 on Windows 2000.
I'am using Conditional attributes and obtain in certain case undesirable {x} TAG.

Here is a part of my elog.cfg :
Options Client = ALL, Test one{2}, Test two{3}
#	 Test one
{2} Options Equipment = FWL0020, RT0015

#	 Test two
{3} Options Equipment = 

So when I'am using quick filter I have in the scroll box the { } TAG of my Client Option (See screenshots).
Is there any thinks to do for mask them ?
Thanks for answer.
ELOG V3.1.5-3fb85fa6