Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] pagination in exported apps doesn't work #1572

Open
scarf005 opened this issue Sep 28, 2024 · 1 comment
Open

[Error] pagination in exported apps doesn't work #1572

scarf005 opened this issue Sep 28, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed wait-on-user waiting for a reply

Comments

@scarf005
Copy link

Describe the bug

pagination does not work for every single CLI programs including less, delta and https://github.com/sharkdp/bat.

To Reproduce

$ distrobox create --verbose --image archlinux:latest --name arch-distrobox-repro
$ distrobox enter arch-distrobox-repro 
$ distrobox-export --bin $(which less)
$ exit
$ uname | ~/.local/bin/less
Linux

Expected behavior

  • pagination in ~/.local/bin/less works the same as /usr/bin/less.
  • pagination in exported apps works.

Logs

distrobox-create.log
distrobox-enter.log
podman.txt

Desktop (please complete the following information):

  • Are you using podman, docker or lilipod? podman
  • Which version or podman, docker or lilipod? podman version 5.2.2
  • Which version of distrobox? distrobox: 1.7.2.1
  • Which host distribution? Fedora Linux 40 (kinoite)
  • How did you install distrobox? built-in

Additional context
Add any other context about the problem here.

@scarf005 scarf005 added the bug Something isn't working label Sep 28, 2024
@89luca89
Copy link
Owner

This is probably because less inside a pipe uses the main process' pts, in this case it is not possible

This needs further investigation, more help is needed

@89luca89 89luca89 added help wanted Extra attention is needed wait-on-user waiting for a reply labels Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed wait-on-user waiting for a reply
Projects
None yet
Development

No branches or pull requests

2 participants