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

dit: render issues (ncurses) #40305

Closed
davidak opened this issue May 10, 2018 · 7 comments
Closed

dit: render issues (ncurses) #40305

davidak opened this issue May 10, 2018 · 7 comments

Comments

@davidak
Copy link
Member

davidak commented May 10, 2018

Issue description

I noticed that the output get's corrupted when i used PAGE-UP und PAGE-DOWN to navigate through files. Then sometimes characters stay on the display where other should be...

https://asciinema.org/a/V0gEYXLSzOQuJ05PtFicGPCAk

visible at 0:32 and 3:56.

@matthiasbeyer is that similar to #29355?

here is my upstream bugreport: hishamhm/dit#30

the maintainer asks:

I've had htop users in the past who had similar weird problems when their libncurses version did not match the version of their ncurses headers. Do you happen to have multiple ncurses versions installed?

i think with nix, only the specified dependencies should be visible to the application, right?

for htop, we don't have any special fixes. https://github.com/NixOS/nixpkgs/blob/release-18.03/pkgs/tools/system/htop/default.nix

Steps to reproduce

  1. open text file in dit
  2. scroll und and down

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.14.39, NixOS, 18.03.132275.2352d46904d (Impala)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.0.1
  • channels(davidak): ""
  • channels(root): "nixos-18.03.132275.2352d46904d, nixos-hardware, unstable-18.09pre133640.ea145b68a01"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
@matthiasbeyer
Copy link
Contributor

This could be the same as in #29355 - but I am not sure. I'd suggest to try to build dit with another ncurses version compiled in and reconfirm the issue...

@davidak davidak changed the title dit: corrupted output (ncurses) dit: render issues (ncurses) May 12, 2018
@davidak
Copy link
Member Author

davidak commented May 12, 2018

@matthiasbeyer no difference.

I'm using NixOS 18.03, which has ncurses-6.0-20171125 and install dit from master, what has ncurses-6.1.

So could it be possible that the "libncurses version did not match the version of the ncurses headers." because dit uses the system version instead of the one specified as dependency?

@matthiasbeyer
Copy link
Contributor

So could it be possible that the "libncurses version did not match the version of the ncurses headers." because dit uses the system version instead of the one specified as dependency?

No. Nix is there to prevent exactly this. I don't know how to go on, sorry. And I am leaving for a sabatical tomorrow, so I guess someone else has to help you. Sorry!

@davidak
Copy link
Member Author

davidak commented May 12, 2018

@matthiasbeyer no problem. have a great time!

@vcunat
Copy link
Member

vcunat commented May 12, 2018

Some other ncurses stuff is broken for me but works inside plain xterm.

@c0bw3b
Copy link
Contributor

c0bw3b commented Dec 6, 2018

@davidak still an issue on 18.09 with newer ncurses? i.e. 6.1

@davidak
Copy link
Member Author

davidak commented Feb 11, 2019

@c0bw3b i was not able to reproduce it in a quick test. Thanks for the reminder.

I use micro now.


  • system: "x86_64-linux"
  • host os: Linux 4.14.97, NixOS, 18.09.2132.109a28ab954 (Jellyfish)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.1.3
  • channels(root): "nixos-18.09.2132.109a28ab954, nixos-hardware, nixos-unstable-19.03pre168781.929cc78363e"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

@davidak davidak closed this as completed Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants