Comments (13)
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.
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.
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.
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.
@debarshiray should i make a separate issue about this? Since my issue isn't fixed by installing a locale package.
from toolbox.
Did you try dnf -y swap glibc-minimal-langpack glibc-all-langpacks
from #60?
from toolbox.
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.
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.
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.
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.
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.
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.
This is now fixed in Podman 1.5.0.
from toolbox.
Related Issues (20)
- List supported toolbox images
- Cannot access mounted drive with fuse outside of toolbox
- Xwayland broken in toolbox containers HOT 1
- Add distribution: Ubuntu 24.04 LTS HOT 2
- can't start ubuntu (useradd: UID is not unique) HOT 1
- systemd (255.6-1) breaks dependency
- Missing locales on Arch Linux guest HOT 3
- Can't resolve host `toolbox` inside `fedora-toolbox:40` container HOT 4
- Isolate $HOME directory via snapshot and overlay
- Can't enter fedora 40 toolbx: Failed to bind /etc/machine-id HOT 24
- run0 Allows execution on HOT 6
- Gstreamer unable to find plugins in toolbox
- Fish Shell Completions
- toolbox can't source path HOT 2
- Unable to run fzf through flatpak-spawn
- Fedora 39 Image doesn't build
- profile.d/toolbox.sh doesn't take into account TERMINFO_DIRS HOT 3
- Cannot get terminal window size inside toolbox via TIOCGWINSZ ioctl
- Hostname changing causes unexpected issues. HOT 3
- Visual bugs on my bash shell inside toolbox.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toolbox.