Re: How to enforce line breaks in plain text entries?, posted by Andreas Luedeke on Wed Apr 27 14:15:19 2016
|
> We use ELOG for our accelerator operation logbooks. As part of the shift handover every shift prints out all
> entries made during the shift and files the printouts. If one entry in the shift was plain text without
> appropriate linebreaks (like this one), then this screws up the printout: the whole window is scaled to the
> width of this line and either the printout is cut off at the right side, or the whole content is scaled down to
> very tiny scale, which makes it unreadable.
>
> Is there a way to enforce line breaks in plain text entries?
Obviously there is: this logbook does add line breaks?!?
Maybe it is only a problem with entries made by the "elog" command?
I'll find it out and re-post.
Cheers
Andreas |
Re: How to enforce line breaks in plain text entries?, posted by Andreas Luedeke on Wed Apr 27 14:36:42 2016
|
> > We use ELOG for our accelerator operation logbooks. As part of the shift handover every shift prints out all
> > entries made during the shift and files the printouts. If one entry in the shift was plain text without
> > appropriate linebreaks (like this one), then this screws up the printout: the whole window is scaled to the
> > width of this line and either the printout is cut off at the right side, or the whole content is scaled down to
> > very tiny scale, which makes it unreadable.
> >
> > Is there a way to enforce line breaks in plain text entries?
>
> Obviously there is: this logbook does add line breaks?!?
>
> Maybe it is only a problem with entries made by the "elog" command?
> I'll find it out and re-post.
>
> Cheers
> Andreas
Okay, I found two ways to add very long lines:
- if the very long line does not contain a space then this will screw the printout.
- if the line has been added as plain text using the elog command, there will be no line breaks added.
It would be nice if the elog command would have an option to break lines to a maximum line length.
But for the moment I'll just modify the applications that make use of the elog command. |
Re: How to enforce line breaks in plain text entries?, posted by Stefan Ritt on Wed Apr 27 14:39:28 2016
|
> > We use ELOG for our accelerator operation logbooks. As part of the shift handover every shift prints out all
> > entries made during the shift and files the printouts. If one entry in the shift was plain text without
> > appropriate linebreaks (like this one), then this screws up the printout: the whole window is scaled to the
> > width of this line and either the printout is cut off at the right side, or the whole content is scaled down to
> > very tiny scale, which makes it unreadable.
> >
> > Is there a way to enforce line breaks in plain text entries?
>
> Obviously there is: this logbook does add line breaks?!?
>
> Maybe it is only a problem with entries made by the "elog" command?
> I'll find it out and re-post.
>
> Cheers
> Andreas
Yepp, this is a (missing) feature of the elog command. Can you pre-process your messages outside of it, or do I have to add code to elog to do that?
Stefan |
Escape character [ or ] doesn't work within [url], posted by Don on Fri Jul 15 19:46:26 2016
|
Here is the problem:
[url=http://example.com?arrays[]=v1&arrays[]=v2]click here[/url]
How can I escape [] inside url tag?
\[\] seems not working. |
Re: Escape character [ or ] doesn't work within [url], posted by Andreas Luedeke on Mon Jul 18 23:37:22 2016
|
The URL encoding of ']' as '%5D' appears to work:
[url=http://example.com?arrays[%5D=v1&arrays[%5D=v2]click here[/url]
Cheers, Andreas
Don wrote: |
Here is the problem:
[url=http://example.com?arrays[]=v1&arrays[]=v2]click here[/url]
How can I escape [] inside url tag?
\[\] seems not working.
|
|
Re: Escape character [ or ] doesn't work within [url], posted by Don on Tue Jul 19 21:08:08 2016
|
Andreas Luedeke wrote: |
The URL encoding of ']' as '%5D' appears to work:
[url=http://example.com?arrays[%5D=v1&arrays[%5D=v2]click here[/url]
Cheers, Andreas
Don wrote: |
Here is the problem:
[url=http://example.com?arrays[]=v1&arrays[]=v2]click here[/url]
How can I escape [] inside url tag?
\[\] seems not working.
|
|
That tweak works!
Thanks |
New elog version 3.1.2, posted by Stefan Ritt on Mon Sep 5 10:31:02 2016
|
A new version 3.1.2 of elog has been released today and can be retrieved through the normal download section. Since it fixes some vulnerabilities, it is recommended to update to this version.
Stefan |
Reset a user's password, posted by Val Schmidt on Fri Oct 28 16:30:36 2016
|
Is it possible for an administator to reset a user's password?
Thanks,
Val |