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

Add host terminfo as a fallback #1194

Merged
merged 2 commits into from
Feb 15, 2024
Merged

Conversation

sandorex
Copy link
Contributor

@sandorex sandorex commented Feb 7, 2024

This should allow the user to use a modern terminal without installing anything additional inside the container itself but it will still prioritize terminfo from the container

This should allow the user to use a modern terminal without installing anything
additional inside the container itself
@89luca89
Copy link
Owner

Hi @sandorex

I think we can avoid the mount, and just do

--env \"TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo\"

Host's rootfs is mounted inside /run/host so we could use that

@sandorex
Copy link
Contributor Author

I think we can avoid the mount, and just do

--env \"TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo\"

Host's rootfs is mounted inside /run/host so we could use that

True, i forgot rootfs mount cannot be disabled ill change it in a second

@89luca89
Copy link
Owner

Thanks a lot @sandorex !

@89luca89 89luca89 merged commit 0f124f3 into 89luca89:main Feb 15, 2024
@sandorex sandorex deleted the terminfo-host branch March 9, 2024 11:52
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

Successfully merging this pull request may close these issues.

2 participants