Git Product home page Git Product logo

Comments (13)

debarshiray avatar debarshiray commented on September 13, 2024

I have heard about glitches in Emacs, but I don't think tmux was involved and I don't know if it's the same problem as the one you have reported here. Needs debugging.

from toolbox.

victortoso avatar victortoso commented on September 13, 2024

If I run fedora-toolbox enter > tmux > tig, I can reproduce glitches very easily by browsing commits;
If I run tmux > fedora-toolbox > tig, I can't reproduce glitches (or they don't come so easily)

Let me know how can I help, no real knowledge on how to debug this.

from toolbox.

mildred avatar mildred commented on September 13, 2024

I had vim and less rendering issues (I was not using tmux) with fedora-toolbox, and I found out it was due to locale settings not being set properly within the toolbox.

Just run locale within the toolbox, and see if there are any errors showing. Installing a locale package fixed the problem in my case. See #60

from toolbox.

Frederik-Baetens avatar Frederik-Baetens commented on September 13, 2024

Hmm, i have similar issues, where output from ls will still partially remain in vim. example (look for the tablr and ui on the 5th line)

Running locale gives no errors for me, since i'm the english locale

from toolbox.

Frederik-Baetens avatar Frederik-Baetens commented on September 13, 2024

@debarshiray should i make a separate issue about this? Since my issue isn't fixed by installing a locale package.

from toolbox.

debarshiray avatar debarshiray commented on September 13, 2024

Did you try dnf -y swap glibc-minimal-langpack glibc-all-langpacks from #60?

from toolbox.

Frederik-Baetens avatar Frederik-Baetens commented on September 13, 2024

I have tried that now, and that doesn't fix my issue, so i think that my issue is a different one from this.

I also never had the error output when running locale.

from toolbox.

Frederik-Baetens avatar Frederik-Baetens commented on September 13, 2024

Can you reproduce this? Just open a tmux in toolbox, split vertically, type ls a few times, and then type clear, you will see this glitch.

from toolbox.

kamalmarhubi avatar kamalmarhubi commented on September 13, 2024

I had opened a related issue against tmux, but after further experimentation I think this is more likely a toolbox/podman issue. My repro is very simple:

Steps to reproduce:

  • start tmux with no config inside a toolbox container
  • produce any output, eg seq 10
  • create a new vertical pane

At this point, some output from the seq 10 command disappears.

from toolbox.

debarshiray avatar debarshiray commented on September 13, 2024

Ok, thanks for continuing to dig into it and following up!

I am not very surprised of the possibility of this being a Toolbox or Podman problem. However, I don't understand what that problem is. It's likely that somebody with a deeper understanding of terminals will be able to figure this out much easier than me.

from toolbox.

debarshiray avatar debarshiray commented on September 13, 2024

Looks like there's a difference between the various ways in which one can get an interactive shell inside a container with Podman.

This doesn't display the glitch when splitting horizontally with ctrl+b % in tmux:

$ podman run --env TERM=$TERM --rm -it registry.fedoraproject.org/f30/fedora-toolbox:30 /bin/bash

This is what Toolbox uses, and it does show the glitch:

$ podman create --name foo registry.fedoraproject.org/f30/fedora-toolbox:30 sleep +Inf
$ podman start foo
$ podman exec --env TERM=$TERM -it foo /bin/bash

from toolbox.

mildred avatar mildred commented on September 13, 2024

I can reproduce this on recent toolboxes with no tmux (just neovim). The langpack fix I found earlier does not work any more as the locale is no longer shared between the host and the toolbox (I get the default en_US.UTF-8 locale)

from toolbox.

debarshiray avatar debarshiray commented on September 13, 2024

This is now fixed in Podman 1.5.0.

from toolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.