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

Discussions on Python, Bash, Perl, etc.
Post Reply
micklang
Posts: 10
Joined: Wed May 17, 2017 11:27 pm
Location: London, UK
Contact:

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

Post by micklang » Thu May 25, 2017 1:11 pm

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!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest