[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
SELinux Super Administrator Forum • Jets results - new tab or new window double-space fix!
Page 1 of 1

Jets results - new tab or new window double-space fix!

Posted: Thu May 25, 2017 1:11 pm
by micklang
Have you even right-clicked on a message url in 'new tab' or 'new window' and get presented with an ugly, double-spaced format? I think it's that way by default.

It's even uglier (and wasteful) when you print them out.

Here's how to fix that so that it displays/prints in single space:

cd /opt/j**x/cgi-bin

vi file.pl

Go down to line number 38 and insert a line after it with this syntax:

$response =~ s/\r//g # remove all ^M's so that it displays correctly in new tab.

This should exist just above this line:

close(F);

The next time you bring up a result, it'll be single-spaced!