Package: ranger
Version: 1.6.1-1
Severity: normal

Dear Maintainer,

When I try to open a file in a pager using rifle I get:

rifle -p1 foo
/usr/bin/sensible-pager: 3: /usr/bin/sensible-pager: Cannot fork

This also occurs when rifle is ran from inside ranger.

I investigated and it appears that in /usr/bin/rifle the DEFAULT_PAGER
is set to sensible-pager, which is then copied to PAGER since I do not
have PAGER set.  This results in rifle running a command similar to:

PAGER=/usr/bin/sensible-pager /usr/bin/sensible-pager foo

This results in an forking loop, as sensible-pager tries to launch the
pager listed in PAGER.

A workaround is always running rifle and ranger with PAGER set.

-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (900, 'stable'), (700, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages ranger depends on:
ii  python  2.7.9-1

Versions of packages ranger recommends:
ii  file            1:5.22+15-2
ii  python-chardet  2.3.0-1
ii  sudo            1.8.12-1
ii  w3m-img         0.5.3-19

Versions of packages ranger suggests:
ii  atool          0.39.0-3
ii  caca-utils     0.99.beta19-2
pn  highlight      <none>
ii  less           458-3
ii  poppler-utils  0.26.5-2
ii  w3m            0.5.3-19

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to