WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: perl pager  (Read 179 times)

Offline polikuo

  • Hero Member
  • *****
  • Posts: 509
perl pager
« on: April 08, 2021, 06:31:41 AM »
I can't go into details because of the wonderful server internal error that blocks me from the forum. perl should be re-configured, busybox less does not support -i -s -R options
« Last Edit: April 08, 2021, 06:41:53 AM by polikuo »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 9003
Re: perl pager
« Reply #1 on: April 08, 2021, 07:10:40 AM »
Hi polikuo
Busybox versions of commands don't always support all of their features. Install  less.tcz.

Offline polikuo

  • Hero Member
  • *****
  • Posts: 509
Re: perl pager
« Reply #2 on: April 08, 2021, 07:40:06 AM »
Hi polikuo
Busybox versions of commands don't always support all of their features. Install  less.tcz.

The point is, this may cause unwanted behavior

The path is set default to that configuration

Even if you do load less.tcz, you're still stuck with the busybox

I think it would be better to re-configure without path and options

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 9003
Re: perl pager
« Reply #3 on: April 08, 2021, 01:44:27 PM »
Hi polikuo
You are correct. I missed the hard coded path. It's possible that was just an oversight. All the other paths on that line
begin with  /usr/local/.  Maybe Juanito can provide some insight.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12991
Re: perl pager
« Reply #4 on: April 08, 2021, 10:49:46 PM »
The path was set to point to busybox less so that the less extension would not be needed - the "-isR" was a copy/paste from lfs.

I've never used the perl pager - does it work as expected if Config_heavy.pl is modified


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12991
Re: perl pager
« Reply #5 on: April 08, 2021, 10:58:14 PM »
Code: [Select]
/usr/local/lib/perl5/5.32/core_perl/Config_heavy.pl:pager='/usr/bin/less -isR'

Offline polikuo

  • Hero Member
  • *****
  • Posts: 509
Re: perl pager
« Reply #6 on: April 09, 2021, 01:44:28 AM »
I've never used the perl pager - does it work as expected if Config_heavy.pl is modified

Neither have I.

I was just practicing the art of building the tool chain and got concerned with that setting.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12991
Re: perl pager
« Reply #7 on: April 09, 2021, 02:53:19 AM »
I'd propose, subject to somebody testing the perl pager, that it is set to "/usr/bin/less" the next time the perl extension is built.